中文
文档
Console
Console 模型

Console 模型

通过 OpenCode Console 使用精选编程模型、按量计费方案与统一 API 接入。

OpenCode Console 提供一份经过 OpenCode 团队实测与验证的模型清单。登录账号、充值额度并获取 API 密钥,即可在 OpenCode 或其他编程代理中使用这些模型。

Console 在 OpenCode 中的使用方式与其他任何提供商完全相同。它是完全可选的,你也可以自由改用任意其他提供商。如需包含固定额度的订阅方案,请参阅 OpenCode Console。

使用方式

  1. 登录 Console (opens in a new tab),填写计费信息并充值额度,随后复制你的 API 密钥。

  2. 在 TUI 中运行 /connect,选择 OpenCode 按量付费提供商,并粘贴你的 API 密钥:

    /connect
  3. 运行 /models 查看可用模型并选择其中一个:

    /models

费用按每次请求实时扣除,你可以随时为账号充值额度。

端点

你也可以通过以下 API 端点直接调用这些模型。免费层聊天模型仅限在 OpenCode 内使用;在其他客户端中请使用付费模型。

下表列出了每个模型的原生 API,但所有文本模型同时也支持通过其他协议调用,Console 会自动完成协议转换。完整端点列表请参阅客户端集成 Base URL。

模型模型 ID端点AI SDK 包
GPT 6.2 Astragpt-6.2-astrahttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 6.2 Solgpt-6.2-solhttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 6 Astragpt-6-astrahttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 6 Solgpt-6-solhttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 6.1 Solgpt-6.1-solhttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 6 Lunagpt-6-lunahttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.6 Solgpt-5.6-solhttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.6 Terragpt-5.6-terrahttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.6 Lunagpt-5.6-lunahttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.5gpt-5.5https://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.5 Progpt-5.5-prohttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.4gpt-5.4https://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.4 Progpt-5.4-prohttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.4 Minigpt-5.4-minihttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.4 Nanogpt-5.4-nanohttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.3 Codexgpt-5.3-codexhttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.3 Codex Sparkgpt-5.3-codex-sparkhttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.2gpt-5.2https://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.2 Codexgpt-5.2-codexhttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.1gpt-5.1https://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.1 Codexgpt-5.1-codexhttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.1 Codex Maxgpt-5.1-codex-maxhttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5.1 Codex Minigpt-5.1-codex-minihttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5gpt-5https://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5 Codexgpt-5-codexhttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
GPT 5 Nanogpt-5-nanohttps://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
Claude Fable 5.2claude-fable-5-2https://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Claude Fable 5.1claude-fable-5-1https://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Claude Fable 5claude-fable-5https://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Claude Opus 5.5claude-opus-5-5https://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Claude Opus 5claude-opus-5https://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Claude Opus 4.8claude-opus-4-8https://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Claude Opus 4.7claude-opus-4-7https://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Claude Opus 4.6claude-opus-4-6https://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Claude Opus 4.5claude-opus-4-5https://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Claude Sonnet 5.5claude-sonnet-5-5https://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Claude Sonnet 5claude-sonnet-5https://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Claude Sonnet 4.6claude-sonnet-4-6https://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Claude Sonnet 4.5claude-sonnet-4-5https://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Claude Haiku 5.5claude-haiku-5-5https://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Claude Haiku 4.5claude-haiku-4-5https://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Gemini 4 Neongemini-4-neonhttps://opencode.ai/inference/google/v1beta/models/gemini-4-neon@ai-sdk/google
Gemini 4 Carbongemini-4-carbonhttps://opencode.ai/inference/google/v1beta/models/gemini-4-carbon@ai-sdk/google
Gemini 4 Argongemini-4-argonhttps://opencode.ai/inference/google/v1beta/models/gemini-4-argon@ai-sdk/google
Gemini 4 Hydrogengemini-4-hydrogenhttps://opencode.ai/inference/google/v1beta/models/gemini-4-hydrogen@ai-sdk/google
Gemini 3.8 Flashgemini-3.8-flashhttps://opencode.ai/inference/google/v1beta/models/gemini-3.8-flash@ai-sdk/google
Gemini 3.7 Flashgemini-3.7-flashhttps://opencode.ai/inference/google/v1beta/models/gemini-3.7-flash@ai-sdk/google
Gemini 3.6 Flashgemini-3.6-flashhttps://opencode.ai/inference/google/v1beta/models/gemini-3.6-flash@ai-sdk/google
Gemini 3.5 Flashgemini-3.5-flashhttps://opencode.ai/inference/google/v1beta/models/gemini-3.5-flash@ai-sdk/google
Gemini 3.5 Flash Litegemini-3.5-flash-litehttps://opencode.ai/inference/google/v1beta/models/gemini-3.5-flash-lite@ai-sdk/google
Grok 4.7grok-4.7https://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
Grok 4.6grok-4.6https://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
Grok 4.5grok-4.5https://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
Grok Build 0.1grok-build-0.1https://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
Muse Ember 1.0muse-ember-1.0https://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
Muse Wonder 1.0muse-wonder-1.0https://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
Muse Spark 1.3muse-spark-1.3https://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
Muse Spark 1.2muse-spark-1.2https://opencode.ai/inference/openai/v1/responses@ai-sdk/openai
Qwen3.8 Maxqwen3.8-maxhttps://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
Qwen3.8 Flashqwen3.8-flashhttps://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Qwen3.6 Plusqwen3.6-plushttps://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
Qwen3.5 Plusqwen3.5-plushttps://opencode.ai/inference/anthropic/v1/messages@ai-sdk/anthropic
DeepSeek V4.1 Flashdeepseek-v4.1-flashhttps://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
DeepSeek V4 Prodeepseek-v4-prohttps://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
MiniMax M3minimax-m3https://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
MiniMax M2.7minimax-m2.7https://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
MiniMax M2.5minimax-m2.5https://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
GLM 5.3 Flashglm-5.3-flashhttps://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
GLM 5.3glm-5.3https://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
Kimi K2.5kimi-k2.5https://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
Kimi K2.6kimi-k2.6https://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
Kimi K2.7 Codekimi-k2.7-codehttps://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
Kimi K3kimi-k3https://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
Mistral Large 4mistral-large-4https://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
GPT 6 Luna Decisiongpt-6-luna-decisionhttps://opencode.ai/inference/systemone/v1/systemone-
Gemini Decision 1gemini-decision-1https://opencode.ai/inference/systemone/v1/systemone-
Jev 1.14jev-1.14https://opencode.ai/inference/systemone/v1/systemone-
Jev 1.13jev-1.13https://opencode.ai/inference/systemone/v1/systemone-
Jev 1.13 Freejev-1.13-freehttps://opencode.ai/inference/systemone/v1/systemone-
GPT Image 2.5 Sunburstgpt-image-2.5-sunbursthttps://opencode.ai/inference/openai/v1/images/generations@ai-sdk/openai
Nano Banana 2.1gemini-nano-banana-2.1https://opencode.ai/inference/google/v1beta/models/gemini-nano-banana-2.1:generateContent@ai-sdk/google
Grok Imagine Image 2.0grok-imagine-image-2.0https://opencode.ai/inference/xai/v1/images/generations@ai-sdk/xai
text-embedding-3-smalltext-embedding-3-smallhttps://opencode.ai/inference/openai/v1/embeddings@ai-sdk/openai-compatible
text-embedding-3-largetext-embedding-3-largehttps://opencode.ai/inference/openai/v1/embeddings@ai-sdk/openai-compatible
Gemini Embedding 2gemini-embedding-2https://opencode.ai/inference/openai/v1/embeddings@ai-sdk/openai-compatible
Gemini Embedding 001gemini-embedding-001https://opencode.ai/inference/openai/v1/embeddings@ai-sdk/openai-compatible
Codestral Embedcodestral-embedhttps://opencode.ai/inference/openai/v1/embeddings@ai-sdk/openai-compatible
Mistral Embedmistral-embedhttps://opencode.ai/inference/openai/v1/embeddings@ai-sdk/openai-compatible
Embed 5 Procohere-embed-v5-prohttps://opencode.ai/inference/openai/v1/embeddings@ai-sdk/openai-compatible
Embed 5 Fastcohere-embed-v5-fasthttps://opencode.ai/inference/openai/v1/embeddings@ai-sdk/openai-compatible
voyage-4voyage-4https://opencode.ai/inference/openai/v1/embeddings@ai-sdk/openai-compatible
voyage-code-4voyage-code-4https://opencode.ai/inference/openai/v1/embeddings@ai-sdk/openai-compatible
Qwen3 Embedding 8Bqwen3-embedding-8bhttps://opencode.ai/inference/openai/v1/embeddings@ai-sdk/openai-compatible
BGE M3bge-m3https://opencode.ai/inference/openai/v1/embeddings@ai-sdk/openai-compatible
Big Picklebig-picklehttps://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
Tidepool Alpha Freetidepool-alpha-freehttps://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
Iceman Freeiceman-freehttps://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
DeepSeek V4.1 Flash Freedeepseek-v4.1-flash-freehttps://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
Beam Freebeam-freehttps://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
Flint 40B Freeflint-40b-freehttps://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
Hy4 flash Freehy4-flash-freehttps://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
MiMo-V2.6-Flash Freemimo-v2.6-flash-freehttps://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
Nemotron 3.5 Lightning Freenemotron-3.5-lightning-freehttps://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible
Nemotron 3.5 Super VL Freenemotron-3.5-super-vl-freehttps://opencode.ai/inference/openai/v1/chat/completions@ai-sdk/openai-compatible

上述 AI SDK 包适用于直接调用端点的应用程序。在 OpenCode 中选择模型时,请使用 opencode/<model-id> 格式:

opencode.jsonc
{
  "$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 折)$1.40 $0.56$4.40 $1.76$0.26 $0.104-
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 折)$1.36 $0.68$4.18 $2.09$0.14 $0.07-
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 折)$0.30 $0.12$1.20 $0.48$0.006 $0.0024-
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 折)$4.00 $2.00$20.00 $10.00$0.20 $0.10-
Gemini 4 Argon (限时 5 折)$4.00 $2.00$20.00 $10.00$0.20 $0.10-
Gemini 4 Hydrogen$1.50$7.50$0.075-
Gemini 3.8 Flash (限时 5 折)$1.50 $0.75$7.50 $3.75$0.15 $0.075-
Gemini 3.7 Flash (限时 5 折)$1.50 $0.75$7.50 $3.75$0.15 $0.075-
Gemini 3.6 Flash (限时 5 折)$1.50 $0.75$7.50 $3.75$0.15 $0.075-
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.02026 年 11 月 22 日
GLM 5.22026 年 11 月 19 日
GLM 5.12026 年 11 月 19 日
Gemini 3.1 Pro2026 年 11 月 17 日
Gemini 3 Flash2026 年 11 月 17 日
DeepSeek V4 Flash2026 年 10 月 26 日
GPT 5.2 Codex2026 年 7 月 23 日
GPT 5.1 Codex2026 年 7 月 23 日
GPT 5.1 Codex Max2026 年 7 月 23 日
GPT 5.1 Codex Mini2026 年 7 月 23 日
GPT 5 Codex2026 年 7 月 23 日
Claude Opus 4.12026 年 8 月 5 日
Claude Sonnet 42026 年 6 月 15 日
Claude Haiku 3.52026 年 2 月 16 日
Gemini 3 Pro2026 年 3 月 9 日
MiniMax M2.52026 年 8 月 5 日
MiniMax M2.12026 年 3 月 15 日
GLM 52026 年 5 月 14 日
GLM 4.72026 年 3 月 15 日
GLM 4.62026 年 3 月 15 日
Kimi K2.52026 年 8 月 5 日
Kimi K2 Thinking2026 年 3 月 6 日
Kimi K22026 年 3 月 6 日
Qwen3 Coder 480B2026 年 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 中表现出色的模型与提供商组合。

为了构建这份目录,我们完成了以下工作:

  1. 实测精选模型,并与各模型团队深入沟通最佳运行配置。
  2. 与底层提供商协作,确保模型以正确的方式提供服务。
  3. 对每一组“模型 / 提供商”组合进行基准测试,最终形成值得信赖的推荐列表。

Console 正是一个为你提供这些精选模型接入能力的 AI 网关。

目标

我们打造 Console 旨在实现以下目标:

  1. 基准测试:甄选最适合编程代理的顶尖模型与提供商。
  2. 最高质量:提供高质量推理服务,绝不暗中降级或路由至低价劣质供应商。
  3. 透明让利:按成本价提供服务并同步传递降价红利,仅收取覆盖支付成本的手续费。
  4. 无厂商锁定:你可以在任意编程代理中使用 Console,也可以在 OpenCode 中自由使用其他提供商。