← Back to Changelog

Feature Added

Released: 2026-03-18

### What changed? In v1.x, our SDK used a custom implementation that caused compatibility issues with some tools — most notably **Zod parsing errors** and **empty responses** in OpenCode. We've completely rewritten the SDK as a thin wrapper over the official `@ai-sdk/openai-compatible` package, guaranteeing compatibility across the ecosystem. ### What you need to do **Nothing** — the API is unchanged. Just update: ```bash npm install @apertis/ai-sdk-provider@latest ``` `OpenCode` users You can now use our SDK directly in your OpenCode config: ```json { "provider": { "apertis": { "npm": "@apertis/ai-sdk-provider", "options": { "apiKey": "your_apertis_api_key" }, "models": { "claude-opus-4-6": { "name": "Claude Opus 4.6" }, "claude-sonnet-4-6": { "name": "Claude Sonnet 4.6" } } } } } ``` ### Key improvements - Works with AI SDK v5+ (previously required v6+) - Zero Zod parsing errors - Zero streaming issues - Simplified and battle-tested codebase ### Full documentation: - Installation: https://docs.apertis.ai/installation/opencode - GitHub: https://github.com/apertis-ai/apertis-sdk - NPM: https://www.npmjs.com/package/@apertis/ai-sdk-provider As always, get your [API key](https://apertis.ai/token) or [subscription keys](https://apertis.ai/setting?tab=apikeys) to use all supported coding tools! Happy Building.