OpenCode
Credit
17 models · 9 Providers
Overview
API base
https://opencode.aiEnv vars
OPENCODE_API_KEYWebsite
Docs
—
Auth
API Key
OpenAI compatible
Pricing
Retail
Region
Global
Status
Operational
Updated
2026-08-20
Features
Open source
AI coding
Free quota
Free quota (exact amount to verify)
Open-source AI coding tool; free quota per the official site.
Providers (9)
Models offered (17)
| Model | ID | Context | Max output | Price ($/1M tokens) | Reasoning | Tool call | Structured | Available on |
|---|---|---|---|---|---|---|---|---|
| GPT-5.1 | openai/gpt-5.1 | 400K | 128K | — | 1 | |||
| GPT-5.2 Codex | openai/gpt-5.2-codex | 400K | 128K | — | 1 | |||
| GPT-5.6 Sol | openai/gpt-5.6-sol | 1.1M | 128K | — | 2 | |||
| Claude Sonnet 4.6 | anthropic/claude-sonnet-4.6 | 1M | 64K | — | ? | 1 | ||
| Claude Opus 4.8 | anthropic/claude-opus-4.8 | 1M | 128K | — | ? | 2 | ||
| Claude Opus 5 | anthropic/claude-opus-5 | 1M | 128K | — | ? | 2 | ||
| DeepSeek V4 Flash | deepseek/deepseek-v4-flash | 1M | 384K | — | 2 | |||
| DeepSeek V4 Pro | deepseek/deepseek-v4-pro | 1M | 384K | — | 2 | |||
| Gemini 3.1 Pro Preview | google/gemini-3.1-pro-preview | 1M | 66K | — | 1 | |||
| GLM-4.7 | zhipu/glm-4.7 | 205K | 131K | — | ? | 1 | ||
| GLM-5.2 | zhipu/glm-5.2 | 1M | 131K | — | 2 | |||
| Qwen3.6 Plus | qwen/qwen3.6-plus | 1M | 66K | — | ? | 1 | ||
| Kimi K2.5 | moonshot/kimi-k2.5 | 262K | 262K | — | 2 | |||
| Kimi K2.6 | moonshot/kimi-k2.6 | 262K | 262K | — | 2 | |||
| MiniMax-M3 | minimax/MiniMax-M3 | 1M | 512K | — | ? | 1 | ||
| Grok 4.5 | xai/grok-4.5 | 500K | 500K | — | 1 | |||
| Grok 4.6 | xai/grok-4.6 | 500K | 500K | — | 1 |