Console 模型
通过 OpenCode Console 使用精选编程模型、按量计费方案与统一 API 接入。
OpenCode Console 提供一份经过 OpenCode 团队实测与验证的模型清单。登录账号、充值额度并获取 API 密钥,即可在 OpenCode 或其他编程代理中使用这些模型。
Console 在 OpenCode 中的使用方式与其他任何提供商完全相同。它是完全可选的,你也可以自由改用任意其他提供商。如需包含固定额度的订阅方案,请参阅 OpenCode Console。
使用方式
-
登录 Console (opens in a new tab),填写计费信息并充值额度,随后复制你的 API 密钥。
-
在 TUI 中运行
/connect,选择 OpenCode 按量付费提供商,并粘贴你的 API 密钥:/connect -
运行
/models查看可用模型并选择其中一个:/models
费用按每次请求实时扣除,你可以随时为账号充值额度。
端点
你也可以通过以下 API 端点直接调用这些模型。免费层聊天模型仅限在 OpenCode 内使用;在其他客户端中请使用付费模型。
下表列出了每个模型的原生 API,但所有文本模型同时也支持通过其他协议调用,Console 会自动完成协议转换。完整端点列表请参阅客户端集成 Base 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 |
| 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 |
| 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有关响应中的每个字段以及包含工作区自有提供商的 Console 列表,请参阅模型列表 API。
Jev
Jev 是由 TypeSafe AI 打造的 System One 模型,专注于高速、结构化决策。它不生成自由文本,而是根据带类型约束的问题评估 state,并直接返回可供代码消费的值与概率。它支持是非判断(noul)、多选分类(choice)以及基于评分量表的打分(score)。
使用你的 OpenCode Console 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 文档 (opens in a new tab)。
GPT 6 Luna Decision 与 Gemini Decision 1
gpt-6-luna-decision 和 gemini-decision-1 在同一端点上接受与 Jev 相同的 System One 请求格式。你可以在 state 中以对话分片形式(image_url、input_audio、video_url、file)传入图片、音频、视频和 PDF。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> 选择。请使用 Console 密钥调用其原生 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 方案或免费层内。请使用 Console 密钥调用 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按相同顺序为每个输入返回一个向量。dimensions可在支持该参数的模型(如text-embedding-3-small)上截断向量维度。encoding_format: "base64"会以 Base64 编码而非浮点数数组返回向量。- 每条输入都必须位于模型的上下文窗口限制以内。
- 响应会像其他推理请求一样返回
usage.cost,详见费用明细。
不同模型生成的向量空间不可直接比较,因此请务必使用同一模型对文档和查询进行向量化。工作区已接入的自有提供商会在 /embeddings 端点上提供其自身的嵌入模型。
定价
Console 采用按量计费模式。以下价格除特别标注按张计费的图像模型外,均为**每百万 Token(1M tokens)**单价:
| 模型 | 输入 | 输出 | 缓存读取 | 缓存写入 |
|---|---|---|---|---|
| Big Pickle | 免费 | 免费 | 免费 | - |
| Tidepool 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 (限时 4 折) | - | |||
| Kimi K2.7 Code | $0.95 | $4.00 | $0.19 | - |
| 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 (限时 5 折) | - | |||
| 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 (限时 4 折) | - | |||
| 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 (限时 5 折) | - | |||
| Gemini 4 Argon (限时 5 折) | - | |||
| Gemini 4 Hydrogen | $1.50 | $7.50 | $0.075 | - |
| Gemini 3.8 Flash (限时 5 折) | - | |||
| Gemini 3.7 Flash (限时 5 折) | - | |||
| Gemini 3.6 Flash (限时 5 折) | - | |||
| 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: 5 折优惠有效期至 2026 年 11 月 30 日。
Gemini 3.8 Flash、Gemini 3.7 Flash 与 Gemini 3.6 Flash: 5 折优惠有效期至 2026 年 12 月 31 日。
你可能会在用量历史中看到 Haiku、Nano 或 Flash 等低成本模型,OpenCode 会使用它们自动生成会话标题。
注意: 每次充值额度将附加 4.6% + $0.31 的支付通道手续费;除此以外我们不收取任何额外加价。
图像模型定价
| 模型 | 价格 | 说明 |
|---|---|---|
| GPT Image 2.5 Sunburst | $1.00 / 张 | 另加每百万输入/输出 Token $8 / $30,以及每百万缓存输入 Token $2。 |
| Nano Banana 2.1 | 每百万 Token $1.50 / $7.50 / $30.00 | 分别为输入 / 文本输出 / 图像输出。1K 图像约 $0.034,2K 约 $0.050,4K 约 $0.113。 |
| Grok Imagine Image 2.0 | $0.04 / 张 | 每张输入图像 $0.01;提高画质与分辨率会使输出单价上升至 $0.05–$0.08。 |
向量嵌入定价
向量嵌入模型仅按输入 Token 计费,以下均为每百万 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 上限时免费的灰度模型,团队在此期间收集反馈以改进模型。
- 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:免费期间收集的数据将被留存并用于改进模型。
- Iceman Free:免费期间收集的数据将被留存并用于改进模型。
- Flint 40B Free:免费期间收集的数据可能用于改进模型,数据留存期为 30 天。
- Nemotron 3.5 Lightning Free(NVIDIA 免费端点):仅限试用——请勿提交个人或机密数据。你的使用记录将出于安全目的及改进 NVIDIA 产品与服务而被记录;用于改进目的的会话日志不与你的身份或任何持久标识符关联。有关数据处理的更多信息,请参阅隐私政策 (opens in a new tab)。使用该端点即表示你同意我们收集、记录并使用此类信息,并同意遵守 NVIDIA API 试用服务条款 (opens in a new tab)。
- Nemotron 3.5 Super VL Free(NVIDIA 免费端点):仅限试用——请勿提交个人或机密数据。你的使用记录将出于安全目的及改进 NVIDIA 产品与服务而被记录;用于改进目的的会话日志不与你的身份或任何持久标识符关联。有关数据处理的更多信息,请参阅隐私政策 (opens in a new tab)。使用该端点即表示你同意我们收集、记录并使用此类信息,并同意遵守 NVIDIA API 试用服务条款 (opens in a new tab)。
- OpenAI API:根据 OpenAI 数据政策 (opens in a new tab),请求数据留存 30 天。
- Anthropic API:根据 Anthropic 数据政策 (opens in a new tab),请求数据留存 30 天。
- Mistral API:提示词与其他输入不用于训练,数据按照 Mistral 数据留存政策 (opens in a new tab)留存。
- Google API:根据 Google Gemini API 条款 (opens in a new tab),请求数据最多留存 55 天用于滥用监测。
- xAI API:根据 xAI 隐私政策 (opens in a new tab),请求数据留存 30 天。
- Beam Free:提示词与其他输入不用于训练,出于安全原因数据留存 30 天。
订阅模型的隐私政策请参阅 Go 隐私说明。
团队使用
你可以通过工作区与团队共享 Console 模型。所有者与管理员可以邀请成员、在 Models 标签页控制启用的模型、设置预算,以及接入自有提供商。
背景
市面上可供选择的模型众多,但真正适合作为编程代理的寥寥无几。同时,不同提供商的配置、性能和输出质量参差不齐,通过 OpenRouter 等网关调用同一模型时表现也可能存在差异。
提示: 我们实测并筛选出了一批在 OpenCode 中表现出色的模型与提供商组合。
为了构建这份目录,我们完成了以下工作:
- 实测精选模型,并与各模型团队深入沟通最佳运行配置。
- 与底层提供商协作,确保模型以正确的方式提供服务。
- 对每一组“模型 / 提供商”组合进行基准测试,最终形成值得信赖的推荐列表。
Console 正是一个为你提供这些精选模型接入能力的 AI 网关。
目标
我们打造 Console 旨在实现以下目标:
- 基准测试:甄选最适合编程代理的顶尖模型与提供商。
- 最高质量:提供高质量推理服务,绝不暗中降级或路由至低价劣质供应商。
- 透明让利:按成本价提供服务并同步传递降价红利,仅收取覆盖支付成本的手续费。
- 无厂商锁定:你可以在任意编程代理中使用 Console,也可以在 OpenCode 中自由使用其他提供商。