OpenCode v1.3.12: Prompt Caching & Azure Fixes
OpenCode v1.3.12 adds prompt caching for Google Vertex Anthropic and fixes Azure provider configuration after the AI SDK v6 migration.
TL;DR
- Prompt caching and cache token tracking now enabled for Google Vertex Anthropic
- Azure provider options fixed after AI SDK v6 migration
- Plugin replace slots no longer mount content multiple times
New
- Prompt caching for Google Vertex Anthropic — Cache tokens are now tracked, reducing redundant API calls and lowering costs on Vertex deployments.
Fixed
- Azure provider options — Configuration now forwards correctly following the AI SDK v6 migration.
- Plugin replace slots — Fixed duplicate content mounting in the TUI.
Update with: npm install opencode@1.3.12
Source: OpenCode