- Providers
- OpenCode Zen
Gateway
OpenCode Zen
OpenCode Zen is a Gateway provider with 53 models across 53 offerings.
Access
- API base URL
- https://opencode.ai/zen/v1
- SDK
- @ai-sdk/openai-compatible
- Environment variables
- OPENCODE_API_KEY
Models
53 of 53 model versions
| Model | Organization | Family | Provider model ID | Protocol | Streaming | Context | Max output | Input | Output | Reasoning | Tool call | Structured | Temperature | Weights | Pricing | Released | Updated | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Claude Opus 5 anthropic/claude-opus-5 | Anthropic | Claude | claude-opus-5 | Openai chat | Yes | 1M | 128K | TextImageDocument | Text | Yes | Yes | -No | -No | Closed | input $5/M · cache read $0.5/M output $25/M · cache write $6.25/M | 2026-07-24 | 2026-07-24 | |
| Gemini 3.5 Flash Lite google/gemini-3.5-flash-lite | Gemini | gemini-3.5-flash-lite | Openai chat | Yes | 1M | 66K | TextImageVideoAudioDocument | Text | Yes | Yes | Yes | Yes | Closed | input $0.3/M · cache read $0.03/M output $2.5/M | 2026-07-21 | 2026-07-21 | ||
| Gemini 3.6 Flash google/gemini-3.6-flash | Gemini | gemini-3.6-flash | Openai chat | Yes | 1M | 66K | TextImageVideoAudioDocument | Text | Yes | Yes | Yes | Yes | Closed | input $1.5/M · cache read $0.15/M output $7.5/M | 2026-07-21 | 2026-07-21 | ||
| Kimi K3 moonshotai/kimi-k3 | Moonshot AI | Kimi | kimi-k3 | Openai chat | Yes | 1M | 131K | TextImageVideo | Text | Yes | Yes | Yes | -No | Open weight | input $3/M · cache read $0.3/M output $15/M | 2026-07-16 | 2026-07-30 | |
| GPT-5.6 Luna openai/gpt-5.6-luna | OpenAI | GPT | gpt-5.6-luna | Openai chat | Yes | 1.1M | 128K | TextImageDocument | Text | Yes | Yes | Yes | -No | Closed | input $0.2/M · cache read $0.02/M output $1.2/M · cache write $0.25/M | 2026-07-09 | 2026-07-09 | |
| GPT-5.6 Sol openai/gpt-5.6-sol | OpenAI | GPT | gpt-5.6-sol | Openai chat | Yes | 1.1M | 128K | TextImageDocument | Text | Yes | Yes | Yes | -No | Closed | input $5/M · cache read $0.5/M output $30/M · cache write $6.25/M | 2026-07-09 | 2026-07-09 | |
| GPT-5.6 Terra openai/gpt-5.6-terra | OpenAI | GPT | gpt-5.6-terra | Openai chat | Yes | 1.1M | 128K | TextImageDocument | Text | Yes | Yes | Yes | -No | Closed | input $2.5/M · cache read $0.25/M output $15/M · cache write $3.125/M | 2026-07-09 | 2026-07-09 | |
| Grok 4.5 xai/grok-4.5 | xAI | Grok | grok-4.5 | Openai chat | Yes | 500K | 500K | TextImageDocument | Text | Yes | Yes | Yes | Yes | Closed | input $2/M · cache read $0.5/M output $6/M | 2026-07-08 | 2026-07-08 | |
| Claude Sonnet 5 anthropic/claude-sonnet-5 | Anthropic | Claude | claude-sonnet-5 | Openai chat | Yes | 1M | 128K | TextImageDocument | Text | Yes | Yes | -No | -No | Closed | input $2/M · cache read $0.2/M output $10/M · cache write $2.5/M | 2026-06-30 | 2026-07-01 | |
| GLM-5.2 zhipuai/glm-5.2 | Zhipu AI | GLM | glm-5.2 | Openai chat | Yes | 1M | 131K | Text | Text | Yes | Yes | Yes | Yes | Open weight | input $1.4/M · cache read $0.26/M output $4.4/M | 2026-06-13 | 2026-07-22 | |
| Kimi K2.7 Code moonshotai/kimi-k2.7-code | Moonshot AI | Kimi | kimi-k2.7-code | Openai chat | Yes | 262K | 262K | TextImageVideo | Text | Yes | Yes | Yes | -No | Open weight | input $0.95/M · cache read $0.19/M output $4/M | 2026-06-12 | 2026-07-22 | |
| Claude Fable 5 anthropic/claude-fable-5 | Anthropic | Claude | claude-fable-5 | Openai chat | Yes | 1M | 128K | TextImageDocument | Text | Yes | Yes | -No | -No | Closed | input $10/M · cache read $1/M output $50/M · cache write $12.5/M | 2026-06-09 | 2026-06-11 | |
| MiniMax-M3 minimax/minimax-m3 | MiniMax | Minimax | minimax-m3 | Openai chat | Yes | 512K | 128K | TextImageVideo | Text | Yes | Yes | -No | Yes | Open weight | input $0.3/M · cache read $0.06/M output $1.2/M | 2026-06-01 | 2026-07-31 | |
| Claude Opus 4.8 anthropic/claude-opus-4-8 | Anthropic | Claude | claude-opus-4-8 | Openai chat | Yes | 1M | 128K | TextImageDocument | Text | Yes | Yes | -No | -No | Closed | input $5/M · cache read $0.5/M output $25/M · cache write $6.25/M | 2026-05-28 | 2026-06-11 | |
| Gemini 3.5 Flash google/gemini-3.5-flash | Gemini | gemini-3.5-flash | Openai chat | Yes | 1M | 66K | TextImageVideoAudioDocument | Text | Yes | Yes | Yes | Yes | Closed | input $1.5/M · cache read $0.15/M output $9/M | 2026-05-19 | 2026-06-11 | ||
| DeepSeek V4 Flash deepseek/deepseek-v4-flash | DeepSeek | DeepSeek | deepseek-v4-flash | Openai chat | Yes | 1M | 384K | Text | Text | Yes | Yes | Yes | Yes | Open weight | input $0.14/M · cache read $0.028/M output $0.28/M | 2026-04-24 | 2026-07-31 | |
| DeepSeek V4 Pro deepseek/deepseek-v4-pro | DeepSeek | DeepSeek | deepseek-v4-pro | Openai chat | Yes | 1M | 384K | Text | Text | Yes | Yes | Yes | Yes | Open weight | input $1.74/M · cache read $0.145/M output $3.84/M | 2026-04-24 | 2026-07-22 | |
| GPT-5.5 openai/gpt-5.5 | OpenAI | GPT | gpt-5.5 | Openai chat | Yes | 1.1M | 128K | TextImageDocument | Text | Yes | Yes | Yes | -No | Closed | input $5/M · cache read $0.5/M output $30/M | 2026-04-23 | 2026-04-24 | |
| GPT-5.5 Pro openai/gpt-5.5-pro | OpenAI | GPT | gpt-5.5-pro | Openai chat | Yes | 1.1M | 128K | TextImageDocument | Text | Yes | Yes | Yes | -No | Closed | input $30/M · cache read $30/M output $180/M | 2026-04-23 | 2026-04-24 | |
| Kimi K2.6 moonshotai/kimi-k2.6 | Moonshot AI | Kimi | kimi-k2.6 | Openai chat | Yes | 262K | 262K | TextImageVideo | Text | Yes | Yes | Yes | Yes | Open weight | input $0.95/M · cache read $0.16/M output $4/M | 2026-04-21 | 2026-07-22 | |
| Claude Opus 4.7 anthropic/claude-opus-4-7 | Anthropic | Claude | claude-opus-4-7 | Openai chat | Yes | 1M | 128K | TextImageDocument | Text | Yes | Yes | -No | -No | Closed | input $5/M · cache read $0.5/M output $25/M · cache write $6.25/M | 2026-04-16 | 2026-06-11 | |
| Grok Build 0.1 xai/grok-build-0.1 | xAI | Grok Build | grok-build-0.1 | Openai chat | Yes | 256K | 256K | TextImageDocument | Text | Yes | Yes | Yes | Yes | Closed | input $1/M · cache read $0.2/M output $2/M | 2026-04-16 | 2026-06-11 | |
| GLM-5.1 zhipuai/glm-5.1 | Zhipu AI | GLM | glm-5.1 | Openai chat | Yes | 200K | 131K | Text | Text | Yes | Yes | Yes | Yes | Open weight | input $1.4/M · cache read $0.26/M output $4.4/M | 2026-04-07 | 2026-07-22 | |
| Qwen3.6 Plus alibaba/qwen3.6-plus | Alibaba | Qwen | qwen3.6-plus | Openai chat | Yes | 1M | 66K | TextImageVideo | Text | Yes | Yes | Yes | Yes | Closed | input $0.5/M · cache read $0.05/M output $3/M · cache write $0.625/M | 2026-04-02 | 2026-07-22 | |
| MiniMax-M2.7 minimax/minimax-m2.7 | MiniMax | Minimax | minimax-m2.7 | Openai chat | Yes | 205K | 131K | Text | Text | Yes | Yes | -No | Yes | Open weight | input $0.3/M · cache read $0.06/M output $1.2/M | 2026-03-18 | 2026-07-22 | |
| GPT-5.4 mini openai/gpt-5.4-mini | OpenAI | GPT | gpt-5.4-mini | Openai chat | Yes | 400K | 128K | TextImage | Text | Yes | Yes | Yes | -No | Closed | input $0.75/M · cache read $0.075/M output $4.5/M | 2026-03-17 | 2026-03-20 | |
| GPT-5.4 nano openai/gpt-5.4-nano | OpenAI | GPT | gpt-5.4-nano | Openai chat | Yes | 400K | 128K | TextImage | Text | Yes | Yes | Yes | -No | Closed | input $0.2/M · cache read $0.02/M output $1.25/M | 2026-03-17 | 2026-03-20 | |
| GPT-5.4 openai/gpt-5.4 | OpenAI | GPT | gpt-5.4 | Openai chat | Yes | 1.1M | 128K | TextImageDocument | Text | Yes | Yes | Yes | -No | Closed | input $2.5/M · cache read $0.25/M output $15/M | 2026-03-05 | 2026-03-20 | |
| GPT-5.4 Pro openai/gpt-5.4-pro | OpenAI | GPT | gpt-5.4-pro | Openai chat | Yes | 1.1M | 128K | TextImage | Text | Yes | Yes | -No | -No | Closed | input $30/M · cache read $30/M output $180/M | 2026-03-05 | 2026-03-20 | |
| Claude Sonnet 4.6 anthropic/claude-sonnet-4-6 | Anthropic | Claude | claude-sonnet-4-6 | Openai chat | Yes | 1M | 64K | TextImageDocument | Text | Yes | Yes | -No | Yes | Closed | input $3/M · cache read $0.3/M output $15/M · cache write $3.75/M | 2026-02-17 | 2026-06-11 | |
| Qwen3.5 Plus alibaba/qwen3.5-plus | Alibaba | Qwen | qwen3.5-plus | Openai chat | Yes | 1M | 66K | TextImageVideo | Text | Yes | Yes | -No | Yes | Closed | input $0.2/M · cache read $0.02/M output $1.2/M · cache write $0.25/M | 2026-02-16 | 2026-02-16 | |
| GLM-5 zhipuai/glm-5 | Zhipu AI | GLM | glm-5 | Openai chat | Yes | 205K | 131K | Text | Text | Yes | Yes | Yes | Yes | Open weight | input $1/M · cache read $0.2/M output $3.2/M | 2026-02-12 | 2026-07-22 | |
| MiniMax-M2.5 minimax/minimax-m2.5 | MiniMax | Minimax | minimax-m2.5 | Openai chat | Yes | 205K | 131K | Text | Text | Yes | Yes | -No | Yes | Open weight | input $0.3/M · cache read $0.06/M output $1.2/M | 2026-02-12 | 2026-04-16 | |
| Claude Opus 4.6 anthropic/claude-opus-4-6 | Anthropic | Claude | claude-opus-4-6 | Openai chat | Yes | 1M | 128K | TextImageDocument | Text | Yes | Yes | -No | Yes | Closed | input $5/M · cache read $0.5/M output $25/M · cache write $6.25/M | 2026-02-05 | 2026-07-17 | |
| GPT-5.3 Codex openai/gpt-5.3-codex | OpenAI | GPT | gpt-5.3-codex | Openai chat | Yes | 400K | 128K | TextImageDocument | Text | Yes | Yes | Yes | -No | Closed | input $1.75/M · cache read $0.175/M output $14/M | 2026-02-05 | 2026-03-20 | |
| Kimi K2.5 moonshotai/kimi-k2.5 | Moonshot AI | Kimi | kimi-k2.5 | Openai chat | Yes | 262K | 262K | TextImageVideo | Text | Yes | Yes | Yes | -No | Open weight | input $0.6/M · cache read $0.08/M output $3/M | 2026-01 | 2026-07-22 | |
| MiniMax-M2.1 minimax/minimax-m2.1 | MiniMax | Minimax | minimax-m2.1 | Openai chat | Yes | 205K | 131K | Text | Text | Yes | Yes | -No | Yes | Open weight | input $0.3/M · cache read $0.1/M output $1.2/M | 2025-12-23 | 2026-01-01 | |
| GLM-4.7 zhipuai/glm-4.7 | Zhipu AI | GLM | glm-4.7 | Openai chat | Yes | 205K | 131K | Text | Text | Yes | Yes | Yes | Yes | Open weight | input $0.6/M · cache read $0.1/M output $2.2/M | 2025-12-22 | 2025-12-23 | |
| GPT-5.2 openai/gpt-5.2 | OpenAI | GPT | gpt-5.2 | Openai chat | Yes | 400K | 128K | TextImage | Text | Yes | Yes | Yes | -No | Closed | input $1.75/M · cache read $0.175/M output $14/M | 2025-12-11 | 2026-01-01 | |
| GPT-5.2 Codex openai/gpt-5.2-codex | OpenAI | GPT | gpt-5.2-codex | Openai chat | Yes | 400K | 128K | TextImageDocument | Text | Yes | Yes | Yes | -No | Closed | input $1.75/M · cache read $0.175/M output $14/M | 2025-12-11 | 2026-01-15 | |
| GPT-5.1 openai/gpt-5.1 | OpenAI | GPT | gpt-5.1 | Openai chat | Yes | 400K | 128K | TextImage | Text | Yes | Yes | Yes | -No | Closed | input $1.07/M · cache read $0.107/M output $8.5/M | 2025-11-13 | 2026-02-01 | |
| GPT-5.1 Codex openai/gpt-5.1-codex | OpenAI | GPT | gpt-5.1-codex | Openai chat | Yes | 400K | 128K | TextImage | Text | Yes | Yes | Yes | -No | Closed | input $1.07/M · cache read $0.107/M output $8.5/M | 2025-11-13 | 2026-01-01 | |
| GPT-5.1 Codex Max openai/gpt-5.1-codex-max | OpenAI | GPT | gpt-5.1-codex-max | Openai chat | Yes | 400K | 128K | TextImage | Text | Yes | Yes | Yes | -No | Closed | input $1.25/M · cache read $0.125/M output $10/M | 2025-11-13 | 2026-01-01 | |
| GPT-5.1 Codex mini openai/gpt-5.1-codex-mini | OpenAI | GPT | gpt-5.1-codex-mini | Openai chat | Yes | 400K | 128K | TextImage | Text | Yes | Yes | Yes | -No | Closed | input $0.25/M · cache read $0.025/M output $2/M | 2025-11-13 | 2026-01-01 | |
| Kimi K2 Thinking moonshotai/kimi-k2-thinking | Moonshot AI | Kimi | kimi-k2-thinking | Openai chat | Yes | 262K | 262K | Text | Text | Yes | Yes | -No | Yes | Open weight | input $0.4/M · cache read $0.4/M output $2.5/M | 2025-11-06 | 2026-06-29 | |
| Claude Opus 4.5 anthropic/claude-opus-4-5-20251101 | Anthropic | Claude | claude-opus-4-5 | Openai chat | Yes | 200K | 64K | TextImageDocument | Text | Yes | Yes | -No | Yes | Closed | input $5/M · cache read $0.5/M output $25/M · cache write $6.25/M | 2025-11-01 | 2026-06-11 | |
| Claude Haiku 4.5 anthropic/claude-haiku-4-5-20251001 | Anthropic | Claude | claude-haiku-4-5 | Openai chat | Yes | 200K | 64K | TextImageDocument | Text | Yes | Yes | -No | Yes | Closed | input $1/M · cache read $0.1/M output $5/M · cache write $1.25/M | 2025-10-15 | 2026-01-01 | |
| GLM-4.6 zhipuai/glm-4.6 | Zhipu AI | GLM | glm-4.6 | Openai chat | Yes | 205K | 131K | Text | Text | Yes | Yes | Yes | Yes | Open weight | input $0.6/M · cache read $0.1/M output $2.2/M | 2025-09-30 | 2025-11-13 | |
| Claude Sonnet 4.5 anthropic/claude-sonnet-4-5-20250929 | Anthropic | Claude | claude-sonnet-4-5 | Openai chat | Yes | 200K | 64K | TextImageDocument | Text | Yes | Yes | -No | Yes | Closed | input $3/M · cache read $0.3/M output $15/M · cache write $3.75/M | 2025-09-29 | 2026-06-11 | |
| GPT-5-Codex openai/gpt-5-codex | OpenAI | GPT | gpt-5-codex | Openai chat | Yes | 400K | 128K | TextImage | Text | Yes | Yes | Yes | -No | Closed | input $1.07/M · cache read $0.107/M output $8.5/M | 2025-09-15 | 2026-01-01 | |
| GPT-5 openai/gpt-5 | OpenAI | GPT | gpt-5 | Openai chat | Yes | 400K | 128K | TextImage | Text | Yes | Yes | Yes | -No | Closed | input $1.07/M · cache read $0.107/M output $8.5/M | 2025-08-07 | 2025-09-19 | |
| GPT-5 Nano openai/gpt-5-nano | OpenAI | GPT | gpt-5-nano | Openai chat | Yes | 400K | 128K | TextImage | Text | Yes | Yes | Yes | -No | Closed | input $0.05/M · cache read $0.005/M output $0.4/M | 2025-08-07 | 2026-01-01 | |
| Claude Opus 4.1 anthropic/claude-opus-4-1-20250805 | Anthropic | Claude | claude-opus-4-1 | Openai chat | Yes | 200K | 32K | TextImageDocument | Text | Yes | Yes | -No | Yes | Closed | input $15/M · cache read $1.5/M output $75/M · cache write $18.75/M | 2025-08-05 | 2026-01-01 |