控制台模型
OpenCode 控制台提供一份经过 OpenCode 团队测试和验证的模型列表。登录、充值额度并获取 API 密钥,即可在 OpenCode 或其他编程 agent 中使用这些模型。
控制台在 OpenCode 中的用法与其他提供商相同。它完全是可选的,你也可以改用任何其他提供商。如果想要包含用量的订阅,请参阅 OpenCode Go。
-
登录 控制台,添加账单信息和额度,然后复制你的 API 密钥。
-
在 TUI 中运行
/connect,选择 OpenCode 按量付费提供商,然后粘贴 API 密钥。/connect -
运行
/models查看可用模型并选择一个。/models
费用按请求收取,你还可以为账号充值额度。
你也可以通过以下 API 端点直接访问这些模型。免费层级对话模型只能在 OpenCode 中使用;其他客户端请使用付费模型或 Go。
每个模型都以其原生 API 列出,但所有文本模型也能通过控制台转换的其他 API 使用。完整列表请参阅基础 URL。
| 模型 | 模型 ID | 端点 | AI SDK 包 |
|---|---|---|---|
| GPT 6.2 Astra | gpt-6.2-astra | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 6.2 Sol | gpt-6.2-sol | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 6 Astra | gpt-6-astra | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 6 Sol | gpt-6-sol | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 6.1 Sol | gpt-6.1-sol | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 6 Luna | gpt-6-luna | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.6 Sol | gpt-5.6-sol | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.6 Terra | gpt-5.6-terra | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.6 Luna | gpt-5.6-luna | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.5 | gpt-5.5 | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.5 Pro | gpt-5.5-pro | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.4 | gpt-5.4 | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.4 Pro | gpt-5.4-pro | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.4 Mini | gpt-5.4-mini | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.4 Nano | gpt-5.4-nano | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.3 Codex | gpt-5.3-codex | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.3 Codex Spark | gpt-5.3-codex-spark | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.2 | gpt-5.2 | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.2 Codex | gpt-5.2-codex | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.1 | gpt-5.1 | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.1 Codex | gpt-5.1-codex | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.1 Codex Max | gpt-5.1-codex-max | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5.1 Codex Mini | gpt-5.1-codex-mini | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5 | gpt-5 | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5 Codex | gpt-5-codex | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| GPT 5 Nano | gpt-5-nano | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| Claude Fable 5.2 | claude-fable-5-2 | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Claude Fable 5.1 | claude-fable-5-1 | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Claude Fable 5 | claude-fable-5 | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Claude Opus 5.5 | claude-opus-5-5 | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Claude Opus 5 | claude-opus-5 | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Claude Opus 4.8 | claude-opus-4-8 | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Claude Opus 4.7 | claude-opus-4-7 | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Claude Opus 4.6 | claude-opus-4-6 | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Claude Opus 4.5 | claude-opus-4-5 | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Claude Sonnet 5.5 | claude-sonnet-5-5 | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Claude Sonnet 5 | claude-sonnet-5 | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Claude Sonnet 4.6 | claude-sonnet-4-6 | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Claude Sonnet 4.5 | claude-sonnet-4-5 | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Claude Haiku 5.5 | claude-haiku-5-5 | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Claude Haiku 4.5 | claude-haiku-4-5 | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Gemini 4 Neon | gemini-4-neon | https://opencode.ai/inference/google/v1beta/models/gemini-4-neon | @ai-sdk/google |
| Gemini 4 Carbon | gemini-4-carbon | https://opencode.ai/inference/google/v1beta/models/gemini-4-carbon | @ai-sdk/google |
| Gemini 4 Argon | gemini-4-argon | https://opencode.ai/inference/google/v1beta/models/gemini-4-argon | @ai-sdk/google |
| Gemini 4 Hydrogen | gemini-4-hydrogen | https://opencode.ai/inference/google/v1beta/models/gemini-4-hydrogen | @ai-sdk/google |
| Gemini 3.8 Flash | gemini-3.8-flash | https://opencode.ai/inference/google/v1beta/models/gemini-3.8-flash | @ai-sdk/google |
| Gemini 3.7 Flash | gemini-3.7-flash | https://opencode.ai/inference/google/v1beta/models/gemini-3.7-flash | @ai-sdk/google |
| Gemini 3.6 Flash | gemini-3.6-flash | https://opencode.ai/inference/google/v1beta/models/gemini-3.6-flash | @ai-sdk/google |
| Gemini 3.5 Flash | gemini-3.5-flash | https://opencode.ai/inference/google/v1beta/models/gemini-3.5-flash | @ai-sdk/google |
| Gemini 3.5 Flash Lite | gemini-3.5-flash-lite | https://opencode.ai/inference/google/v1beta/models/gemini-3.5-flash-lite | @ai-sdk/google |
| Grok 4.7 | grok-4.7 | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| Grok 4.6 | grok-4.6 | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| Grok 4.5 | grok-4.5 | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| Grok Build 0.1 | grok-build-0.1 | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| Muse Ember 1.0 | muse-ember-1.0 | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| Muse Wonder 1.0 | muse-wonder-1.0 | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| Muse Spark 1.3 | muse-spark-1.3 | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| Muse Spark 1.2 | muse-spark-1.2 | https://opencode.ai/inference/openai/v1/responses | @ai-sdk/openai |
| Qwen3.8 Max | qwen3.8-max | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| Qwen3.8 Flash | qwen3.8-flash | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Qwen3.6 Plus | qwen3.6-plus | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| Qwen3.5 Plus | qwen3.5-plus | https://opencode.ai/inference/anthropic/v1/messages | @ai-sdk/anthropic |
| DeepSeek V4.1 Flash | deepseek-v4.1-flash | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| DeepSeek V4 Pro | deepseek-v4-pro | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| MiniMax M3 | minimax-m3 | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| MiniMax M2.7 | minimax-m2.7 | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| MiniMax M2.5 | minimax-m2.5 | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| GLM 5.3 Flash | glm-5.3-flash | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| GLM 5.3 | glm-5.3 | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| Kimi K2.5 | kimi-k2.5 | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| Kimi K2.6 | kimi-k2.6 | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| Kimi K2.7 Code | kimi-k2.7-code | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| Kimi K3 | kimi-k3 | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| Kimi K3.1 Pro | kimi-k3.1-pro | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| Mistral Large 4 | mistral-large-4 | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| GPT 6 Luna Decision | gpt-6-luna-decision | https://opencode.ai/inference/systemone/v1/systemone | - |
| Gemini Decision 1 | gemini-decision-1 | https://opencode.ai/inference/systemone/v1/systemone | - |
| Jev 1.14 | jev-1.14 | https://opencode.ai/inference/systemone/v1/systemone | - |
| Jev 1.13 | jev-1.13 | https://opencode.ai/inference/systemone/v1/systemone | - |
| Jev 1.13 Free | jev-1.13-free | https://opencode.ai/inference/systemone/v1/systemone | - |
| GPT Image 2.5 Sunburst | gpt-image-2.5-sunburst | https://opencode.ai/inference/openai/v1/images/generations | @ai-sdk/openai |
| Nano Banana 2.1 | gemini-nano-banana-2.1 | https://opencode.ai/inference/google/v1beta/models/gemini-nano-banana-2.1:generateContent | @ai-sdk/google |
| Grok Imagine Image 2.0 | grok-imagine-image-2.0 | https://opencode.ai/inference/xai/v1/images/generations | @ai-sdk/xai |
| text-embedding-3-small | text-embedding-3-small | https://opencode.ai/inference/openai/v1/embeddings | @ai-sdk/openai-compatible |
| text-embedding-3-large | text-embedding-3-large | https://opencode.ai/inference/openai/v1/embeddings | @ai-sdk/openai-compatible |
| Gemini Embedding 2 | gemini-embedding-2 | https://opencode.ai/inference/openai/v1/embeddings | @ai-sdk/openai-compatible |
| Gemini Embedding 001 | gemini-embedding-001 | https://opencode.ai/inference/openai/v1/embeddings | @ai-sdk/openai-compatible |
| Codestral Embed | codestral-embed | https://opencode.ai/inference/openai/v1/embeddings | @ai-sdk/openai-compatible |
| Mistral Embed | mistral-embed | https://opencode.ai/inference/openai/v1/embeddings | @ai-sdk/openai-compatible |
| Embed 5 Pro | cohere-embed-v5-pro | https://opencode.ai/inference/openai/v1/embeddings | @ai-sdk/openai-compatible |
| Embed 5 Fast | cohere-embed-v5-fast | https://opencode.ai/inference/openai/v1/embeddings | @ai-sdk/openai-compatible |
| voyage-4 | voyage-4 | https://opencode.ai/inference/openai/v1/embeddings | @ai-sdk/openai-compatible |
| voyage-code-4 | voyage-code-4 | https://opencode.ai/inference/openai/v1/embeddings | @ai-sdk/openai-compatible |
| Qwen3 Embedding 8B | qwen3-embedding-8b | https://opencode.ai/inference/openai/v1/embeddings | @ai-sdk/openai-compatible |
| BGE M3 | bge-m3 | https://opencode.ai/inference/openai/v1/embeddings | @ai-sdk/openai-compatible |
| Big Pickle | big-pickle | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| Tidepool Alpha Free | tidepool-alpha-free | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| Seaglass Alpha Free | seaglass-alpha-free | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| Iceman Free | iceman-free | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| DeepSeek V4.1 Flash Free | deepseek-v4.1-flash-free | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| Beam Free | beam-free | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| Flint 40B Free | flint-40b-free | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| Hy4 flash Free | hy4-flash-free | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| MiMo-V2.6-Flash Free | mimo-v2.6-flash-free | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| Nemotron 3.5 Lightning Free | nemotron-3.5-lightning-free | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
| Nemotron 3.5 Super VL Free | nemotron-3.5-super-vl-free | https://opencode.ai/inference/openai/v1/chat/completions | @ai-sdk/openai-compatible |
这些 AI SDK 包适用于直接调用端点的应用。要在 OpenCode 中选择模型,请使用 opencode/<model-id> 格式:
{
"$schema": "https://opencode.ai/config.json",
"model": "opencode/gpt-6.1-sol",
}从模型端点获取可用模型及其元数据的完整列表:
curl https://opencode.ai/inference/v1/models关于响应中的每个字段,以及包含工作区已连接提供商的控制台模型列表,请参阅模型列表 API。
Jev 是 TypeSafe AI 的 System One 模型,用于快速做出结构化决策。它不生成文本,而是根据有类型定义的问题评估 state,返回代码可以直接使用的值和概率。它支持是/否(noul)、多选(choice)和基于评分标准(score)的问题。
使用 OpenCode 控制台 API 密钥调用 https://opencode.ai/inference/systemone/v1/systemone 端点。以下示例检查一个支持请求是否紧急:
curl https://opencode.ai/inference/systemone/v1/systemone \
-H "Authorization: Bearer $OPENCODE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "jev-1.14",
"state": "My payments have failed for three days and I am losing sales. Please help now.",
"questions": {
"is_urgent": {
"type": "noul",
"instructions": "Does this request require urgent attention?"
}
}
}'可以在一个请求中提出多个问题。Jev 会并行评估,并在对应的问题 ID 下返回每个答案:
curl https://opencode.ai/inference/systemone/v1/systemone \
-H "Authorization: Bearer $OPENCODE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "jev-1.14",
"state": "My order arrived late and the item is damaged. I want a refund.",
"questions": {
"department": {
"type": "choice",
"instructions": "Which team should handle this request?",
"criteria": {
"returns": "Refunds, exchanges, or damaged items",
"shipping": "Delivery delays or lost packages",
"billing": "Charges, invoices, or payment problems"
}
},
"frustration": {
"type": "score",
"instructions": "How frustrated is the customer?",
"criteria": ["Calm", "Frustrated", "Very angry"]
}
}
}'使用 jev-1.13-free 可以使用限时免费的模型,它运行 Jev 1.13。问题类型和响应字段的详情请参阅 TypeSafe AI 文档。
gpt-6-luna-decision 和 gemini-decision-1 在同一端点上接受与 Jev 相同的 System One 请求。请在 state 中以聊天消息 part 的形式传入图片、音频、视频和 PDF(image_url、input_audio、video_url、file)。GPT 6 Luna Decision 接受文本和图片;Gemini Decision 1 还接受音频、视频和 PDF。
curl https://opencode.ai/inference/systemone/v1/systemone \
-H "Authorization: Bearer $OPENCODE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-decision-1",
"state": "I was charged twice for my order.",
"questions": {
"refund": {
"type": "noul",
"instructions": "Is this a refund request?"
}
}
}'gpt-image-2.5-sunburst、gemini-nano-banana-2.1 和 grok-imagine-image-2.0 可以生成和编辑图片。它们不是对话模型,因此不会出现在 /models 或模型端点中,opencode/<model-id> 也无法选择它们。请使用控制台密钥在它们的原生 API 上调用,或者通过设置 experimental.image_generate.model(例如 opencode/gpt-image-2.5-sunburst),让 OpenCode 的 generate_image 工具使用图片模型。
curl https://opencode.ai/inference/openai/v1/images/generations \
-H "Authorization: Bearer $OPENCODE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2.5-sunburst",
"prompt": "A mountain at sunrise",
"size": "1024x1024"
}'Google 使用其原生的 contents 和 generationConfig,xAI 使用其原生选项,例如 resolution 和 quality。OpenAI Images 和 xAI Images 还支持通过 /images/edits 编辑图片。
text-embedding-3-small、qwen3-embedding-8b 以及上表中的其他嵌入模型会把文本转换为向量。OpenCode 不会用它们做对话,因此它们永远不会出现在 /models 中,免费层级也不包含它们。Go 包含其中的一部分。请使用控制台密钥在 OpenAI 的 Embeddings API 上调用它们。
curl https://opencode.ai/inference/openai/v1/embeddings \
-H "Authorization: Bearer $OPENCODE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "text-embedding-3-small",
"input": ["hello world", "goodbye"]
}'input接受字符串或字符串数组。data会按相同顺序为每个输入返回一个向量。- 在支持该功能的模型(例如
text-embedding-3-small)上,dimensions可以缩短向量。 encoding_format: "base64"会返回 base64 编码的向量,而不是浮点数。- 每个输入都必须能放入模型的上下文窗口。
- 响应会像其他推理请求一样报告
usage.cost。请参阅费用。
不同模型的向量无法比较,因此请使用同一个模型嵌入文档和查询。已连接的提供商会在 /embeddings 上提供其自己的嵌入模型。
控制台采用按量付费。以下价格均为每 1M token,图片模型在注明时按图片计费。
| 模型 | 输入 | 输出 | 缓存读取 | 缓存写入 |
|---|---|---|---|---|
| Big Pickle | 免费 | 免费 | 免费 | - |
| Tidepool Alpha Free | 免费 | 免费 | 免费 | - |
| Seaglass Alpha Free | 免费 | 免费 | 免费 | - |
| Iceman Free | 免费 | 免费 | 免费 | - |
| DeepSeek V4.1 Flash Free | 免费 | 免费 | 免费 | - |
| Beam Free | 免费 | 免费 | 免费 | - |
| Flint 40B Free | 免费 | 免费 | 免费 | - |
| Hy4 flash Free | 免费 | 免费 | 免费 | - |
| MiMo-V2.6-Flash Free | 免费 | 免费 | 免费 | - |
| Nemotron 3.5 Lightning Free | 免费 | 免费 | 免费 | - |
| Nemotron 3.5 Super VL Free | 免费 | 免费 | 免费 | - |
| Jev 1.13 Free | 免费 | 免费 | - | - |
| Jev 1.14 | $0.042 | 免费 | - | - |
| Jev 1.13 | $0.042 | 免费 | - | - |
| Gemini Decision 1 | $0.10 | 免费 | - | - |
| GPT 6 Luna Decision (≤ 272K tokens) | $0.10 | 免费 | $0.01 | $0.125 |
| GPT 6 Luna Decision (> 272K tokens) | $0.20 | 免费 | $0.02 | $0.25 |
| MiniMax M3 | $0.30 | $1.20 | $0.06 | - |
| MiniMax M2.7 | $0.30 | $1.20 | $0.06 | - |
| MiniMax M2.5 | $0.30 | $1.20 | $0.06 | - |
| GLM 5.3 Flash | $0.15 | $0.50 | $0.03 | - |
| GLM 5.3 (60% off) | - | |||
| Kimi K2.7 Code | $0.95 | $4.00 | $0.19 | - |
| Kimi K3.1 Pro | $2.00 | $10.00 | $0.20 | $2.00 |
| Kimi K3 | $3.00 | $15.00 | $0.30 | $3.00 |
| Kimi K2.6 | $0.95 | $4.00 | $0.16 | - |
| Kimi K2.5 | $0.60 | $3.00 | $0.10 | - |
| Mistral Large 4 (50% off) | - | |||
| Qwen3.8 Max | $2.00 | $6.00 | $0.25 | $2.50 |
| Qwen3.8 Flash | $0.15 | $0.47 | $0.016 | $0.20 |
| Qwen3.6 Plus | $0.50 | $3.00 | $0.05 | $0.625 |
| Qwen3.5 Plus | $0.20 | $1.20 | $0.02 | $0.25 |
| DeepSeek V4.1 Flash (60% off) | - | |||
| DeepSeek V4 Pro | $1.74 | $3.48 | $0.145 | - |
| Claude Fable 5.2 | $8.00 | $40.00 | $0.20 | $10.00 |
| Claude Fable 5.1 | $10.00 | $50.00 | $0.25 | $12.50 |
| Claude Fable 5 | $10.00 | $50.00 | $1.00 | $12.50 |
| Claude Opus 5.5 | $4.00 | $20.00 | $0.20 | $5.00 |
| Claude Opus 5 | $5.00 | $25.00 | $0.50 | $6.25 |
| Claude Opus 4.8 | $5.00 | $25.00 | $0.50 | $6.25 |
| Claude Opus 4.7 | $5.00 | $25.00 | $0.50 | $6.25 |
| Claude Opus 4.6 | $5.00 | $25.00 | $0.50 | $6.25 |
| Claude Opus 4.5 | $5.00 | $25.00 | $0.50 | $6.25 |
| Claude Sonnet 5.5 | $2.00 | $10.00 | $0.10 | $2.50 |
| Claude Sonnet 5 | $2.00 | $10.00 | $0.20 | $2.50 |
| Claude Sonnet 4.6 | $3.00 | $15.00 | $0.30 | $3.75 |
| Claude Sonnet 4.5 (≤ 200K tokens) | $3.00 | $15.00 | $0.30 | $3.75 |
| Claude Sonnet 4.5 (> 200K tokens) | $6.00 | $22.50 | $0.60 | $7.50 |
| Claude Haiku 5.5 (≤ 100K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| Claude Haiku 5.5 (> 100K tokens) | $0.50 | $2.50 | $0.05 | $0.625 |
| Claude Haiku 4.5 | $1.00 | $5.00 | $0.10 | $1.25 |
| Gemini 4 Neon | $3.00 | $15.00 | $0.15 | - |
| Gemini 4 Carbon (50% off) | - | |||
| Gemini 4 Argon (50% off) | - | |||
| Gemini 4 Hydrogen | $1.50 | $7.50 | $0.075 | - |
| Gemini 3.8 Flash (50% off) | - | |||
| Gemini 3.7 Flash (50% off) | - | |||
| Gemini 3.6 Flash (50% off) | - | |||
| Gemini 3.5 Flash | $1.50 | $9.00 | $0.15 | - |
| Gemini 3.5 Flash Lite | $0.30 | $2.50 | $0.03 | - |
| Grok 4.7 (≤ 200K tokens) | $2.00 | $6.00 | $0.50 | - |
| Grok 4.7 (> 200K tokens) | $4.00 | $12.00 | $1.00 | - |
| Grok 4.6 (≤ 200K tokens) | $2.00 | $6.00 | $0.50 | - |
| Grok 4.6 (> 200K tokens) | $4.00 | $12.00 | $1.00 | - |
| Grok 4.5 (≤ 200K tokens) | $2.00 | $6.00 | $0.30 | - |
| Grok 4.5 (> 200K tokens) | $4.00 | $12.00 | $0.60 | - |
| Grok Build 0.1 | $1.00 | $2.00 | $0.20 | - |
| Muse Ember 1.0 (≤ 200K tokens) | $0.10 | $0.50 | $0.004 | - |
| Muse Ember 1.0 (> 200K tokens) | $0.30 | $1.50 | $0.012 | - |
| Muse Wonder 1.0 | $4.00 | $20.00 | $0.20 | - |
| Muse Spark 1.3 | $1.25 | $4.25 | $0.15 | - |
| Muse Spark 1.2 | $1.25 | $4.25 | $0.15 | - |
| GPT 6.2 Astra (≤ 272K tokens) | $8.00 | $40.00 | $0.40 | $10.00 |
| GPT 6.2 Astra (> 272K tokens) | $16.00 | $60.00 | $0.80 | $20.00 |
| GPT 6.2 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.2 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Astra (≤ 272K tokens) | $10.00 | $50.00 | $1.00 | $12.50 |
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
| GPT 5.6 Sol (> 272K tokens) | $8.00 | $30.00 | $0.80 | $10.00 |
| GPT 5.6 Terra (≤ 272K tokens) | $2.00 | $12.00 | $0.20 | $2.50 |
| GPT 5.6 Terra (> 272K tokens) | $4.00 | $18.00 | $0.40 | $5.00 |
| GPT 5.6 Luna (≤ 272K tokens) | $0.20 | $1.20 | $0.02 | $0.25 |
| GPT 5.6 Luna (> 272K tokens) | $0.40 | $1.80 | $0.04 | $0.50 |
| GPT 5.5 (≤ 272K tokens) | $5.00 | $30.00 | $0.50 | - |
| GPT 5.5 (> 272K tokens) | $10.00 | $45.00 | $1.00 | - |
| GPT 5.5 Pro | $30.00 | $180.00 | $30.00 | - |
| GPT 5.4 (≤ 272K tokens) | $2.50 | $15.00 | $0.25 | - |
| GPT 5.4 (> 272K tokens) | $5.00 | $22.50 | $0.50 | - |
| GPT 5.4 Pro | $30.00 | $180.00 | $30.00 | - |
| GPT 5.4 Mini | $0.75 | $4.50 | $0.075 | - |
| GPT 5.4 Nano | $0.20 | $1.25 | $0.02 | - |
| GPT 5.3 Codex Spark | $1.75 | $14.00 | $0.175 | - |
| GPT 5.3 Codex | $1.75 | $14.00 | $0.175 | - |
| GPT 5.2 | $1.75 | $14.00 | $0.175 | - |
| GPT 5.2 Codex | $1.75 | $14.00 | $0.175 | - |
| GPT 5.1 | $1.07 | $8.50 | $0.107 | - |
| GPT 5.1 Codex | $1.07 | $8.50 | $0.107 | - |
| GPT 5.1 Codex Max | $1.25 | $10.00 | $0.125 | - |
| GPT 5.1 Codex Mini | $0.25 | $2.00 | $0.025 | - |
| GPT 5 | $1.07 | $8.50 | $0.107 | - |
| GPT 5 Codex | $1.07 | $8.50 | $0.107 | - |
| GPT 5 Nano | $0.05 | $0.40 | $0.005 | - |
Gemini 4 Carbon 和 Gemini 4 Argon: 50% 折扣有效期至 2026 年 11 月 30 日。
Gemini 3.8 Flash、Gemini 3.7 Flash 和 Gemini 3.6 Flash: 50% 折扣有效期至 2026 年 12 月 31 日。
你可能会在用量历史中看到 低成本模型,例如 Haiku、Nano 或 Flash。OpenCode 使用这些模型生成会话标题。
| 模型 | 价格 | 说明 |
|---|---|---|
| GPT Image 2.5 Sunburst | $1.00 / 张 | 另加每 1M 输入/输出 token $8 / $30,以及每 1M 缓存输入 token $2。 |
| Nano Banana 2.1 | $1.50 / $7.50 / $30.00 每 1M token | 输入 / 文本输出 / 图片输出。约每 1K 图片 $0.034,每 2K 图片 $0.050,每 4K 图片 $0.113。 |
| Grok Imagine Image 2.0 | $0.04 / 张 | 每张输入图片 $0.01;质量和分辨率可能使输出价格升至 $0.05–$0.08。 |
嵌入模型只对输入 token 收费。价格为每 1M token。
| 模型 | 输入 |
|---|---|
| text-embedding-3-small | $0.02 |
| text-embedding-3-large | $0.13 |
| Gemini Embedding 2 | $0.20 |
| Gemini Embedding 001 | $0.15 |
| Codestral Embed | $0.15 |
| Mistral Embed | $0.10 |
| Embed 5 Pro | $0.12 |
| Embed 5 Fast | $0.08 |
| voyage-4 | $0.06 |
| voyage-code-4 | $0.12 |
| Qwen3 Embedding 8B | $0.01 |
| BGE M3 | $0.01 |
- DeepSeek V4.1 Flash Free 限时在 OpenCode 上免费。其提供商遵循零留存政策,不使用你的数据训练模型。
- MiMo-V2.6-Flash Free 限时在 OpenCode 上提供。团队会利用这段时间收集反馈。
- Nemotron 3.5 Lightning Free 限时在 OpenCode 上提供。团队会利用这段时间收集反馈并改进模型。
- Nemotron 3.5 Super VL Free 限时在 OpenCode 上提供。团队会利用这段时间收集反馈并改进模型。
- Big Pickle 是一款隐身模型,限时在 OpenCode 上免费。团队会利用这段时间收集反馈并改进模型。
- Tidepool Alpha Free 是一款隐身模型,限时在 OpenCode 上免费。团队会利用这段时间收集反馈并改进模型。
- Seaglass Alpha Free 是一款隐身模型,限时在 OpenCode 上免费。团队会利用这段时间收集反馈并改进模型。
- Iceman Free 是一款隐身模型,限时在 OpenCode 上免费。团队会利用这段时间收集反馈并改进模型。
- Beam Free 限时在 OpenCode 上免费。其提供商不会使用你的数据训练模型,并出于安全原因保留 30 天。该模型不在以下国家或地区提供:安哥拉、白俄罗斯、柬埔寨、中国(包括香港和澳门)、古巴、刚果民主共和国、赤道几内亚、伊朗、伊拉克、老挝、利比亚、尼日利亚、朝鲜、俄罗斯、叙利亚、土库曼斯坦、乌兹别克斯坦、委内瑞拉,以及乌克兰的克里米亚、顿涅茨克和卢甘斯克地区。
- Flint 40B Free 限时在 OpenCode 上免费。团队会利用这段时间收集反馈并改进模型。
- Hy4 flash Free 限时在 OpenCode 上免费。其提供商遵循零留存政策,不使用你的数据训练模型。
- Jev 1.13 Free 限时在 OpenCode 上提供。
要在 OpenCode 中隐藏免费模型,请设置 OPENCODE_DISABLE_FREE_MODELS=1。请参阅免费模型。
如有任何问题,请联系我们。
自动充值会在余额不足时购买额度,预算会限制工作区和每位成员的每月支出。
| 模型 | 弃用日期 |
|---|---|
| LongCat-2.0 | 2026 年 11 月 22 日 |
| GLM 5.2 | 2026 年 11 月 19 日 |
| GLM 5.1 | 2026 年 11 月 19 日 |
| Gemini 3.1 Pro | 2026 年 11 月 17 日 |
| Gemini 3 Flash | 2026 年 11 月 17 日 |
| DeepSeek V4 Flash | 2026 年 10 月 26 日 |
| GPT 5.2 Codex | 2026 年 7 月 23 日 |
| GPT 5.1 Codex | 2026 年 7 月 23 日 |
| GPT 5.1 Codex Max | 2026 年 7 月 23 日 |
| GPT 5.1 Codex Mini | 2026 年 7 月 23 日 |
| GPT 5 Codex | 2026 年 7 月 23 日 |
| Claude Opus 4.1 | 2026 年 8 月 5 日 |
| Claude Sonnet 4 | 2026 年 6 月 15 日 |
| Claude Haiku 3.5 | 2026 年 2 月 16 日 |
| Gemini 3 Pro | 2026 年 3 月 9 日 |
| MiniMax M2.5 | 2026 年 8 月 5 日 |
| MiniMax M2.1 | 2026 年 3 月 15 日 |
| GLM 5 | 2026 年 5 月 14 日 |
| GLM 4.7 | 2026 年 3 月 15 日 |
| GLM 4.6 | 2026 年 3 月 15 日 |
| Kimi K2.5 | 2026 年 8 月 5 日 |
| Kimi K2 Thinking | 2026 年 3 月 6 日 |
| Kimi K2 | 2026 年 3 月 6 日 |
| Qwen3 Coder 480B | 2026 年 2 月 6 日 |
我们的所有模型都托管在美国和欧盟。我们的提供商遵循零留存政策,不使用你的数据训练模型,以下情况除外:
- Big Pickle:在免费期间,收集的数据可能会用于改进模型。
- Tidepool Alpha Free:在免费期间,收集的数据会被保留并用于改进模型。
- Seaglass Alpha Free:在免费期间,收集的数据会被保留并用于改进模型。
- Iceman Free:在免费期间,收集的数据会被保留并用于改进模型。
- Flint 40B Free:在免费期间,收集的数据可能会用于改进模型。数据会保留 30 天。
- Nemotron 3.5 Lightning Free(NVIDIA 免费端点):仅供试用,请勿提交个人或机密数据。你的使用会被记录,用于安全目的以及改进 NVIDIA 产品和服务。用于改进的会话日志数据不会与你的身份或任何持久标识符关联。有关我们数据处理实践的更多信息,请参阅我们的隐私政策。使用此端点即表示你同意我们收集、记录和使用此类信息,并同意 NVIDIA API 试用服务条款。
- Nemotron 3.5 Super VL Free(NVIDIA 免费端点):仅供试用,请勿提交个人或机密数据。你的使用会被记录,用于安全目的以及改进 NVIDIA 产品和服务。用于改进的会话日志数据不会与你的身份或任何持久标识符关联。有关我们数据处理实践的更多信息,请参阅我们的隐私政策。使用此端点即表示你同意我们收集、记录和使用此类信息,并同意 NVIDIA API 试用服务条款。
- OpenAI API:请求会根据 OpenAI 的数据政策保留 30 天。
- Anthropic API:请求会根据 Anthropic 的数据政策保留 30 天。
- Mistral API:提示词和其他输入不会用于训练。数据会按照 Mistral 的数据保留政策保留。
- Google API:请求最多保留 55 天,用于滥用监控,依据 Google 的 Gemini API 条款。
- xAI API:请求会根据 xAI 隐私政策保留 30 天。
- Beam Free:提示词和其他输入不会用于训练。出于安全原因,数据会保留 30 天。
订阅模型的隐私说明请参阅 Go 隐私。
你可以在工作区中与团队共享控制台模型。所有者和管理员可以邀请成员、在 Models 标签页中选择启用哪些模型、设置预算,以及接入自有提供商。
可用的模型很多,但真正适合作为编程 agent 的只有少数几个。不同提供商在配置、性能和质量上也各不相同,因此通过 OpenRouter 这类网关访问的模型,表现可能有所不同。
为了建立这份目录,我们:
- 测试了一组精选模型,并与各模型团队交流了最佳运行方式。
- 与提供商合作,确保模型能够正确提供服务。
- 对每个模型/提供商组合做基准测试,整理出一份我们愿意推荐的列表。
控制台是一个 AI 网关,让你可以使用这些模型。
我们构建控制台的目标是:
- 为编程 agent 基准测试出最好的模型和提供商。
- 提供最高质量的选项,不降低性能,也不路由到更便宜的提供商。
- 按成本价销售,把降价回馈给你,只加收覆盖支付手续费的部分。
- 不锁定:可以在任何编程 agent 中使用控制台,也可以在 OpenCode 中使用其他提供商。