套餐从opencode go 换到 CommandCode GOAT

看到最近冉冉升起的CommandCode GOAT,听说比opencode的go套餐还要划算,支持的模型更多,额度更大。

看了一下官方的表格, deepseek-v4-flash-vision 是原价,而且60美元额度。
opencode go 这个月调整后,deepseek模型给不到60美元额度了,非常不能用。

正好我明天要续费opencodego了。评估一下,要么买一个月试试。

主要顾虑:

  1. 隐私保护:是否零数据留存
  2. 是否兼容paseo接入
  3. 是否兼容CodexBar合并看用量

隐私

privacy: https://commandcode.ai/docs/resources/security

他必须买goat 即10美元以上套餐才提供api接入的方式。
ZDR政策: https://commandcode.ai/docs/resources/zdr

goat 套餐并不是所有模型保证零数据留存,这一点不像Opencode Go套餐那么透明。

要零数据留存ZDR的化,要求每个请求带一个 x-cmd-zdr: 1 请求头,这个也能在配置里解决。

Paseo接入❌

查了一下Paseo目前不支持CommandCode。
所以只能继续用opencode接入GOAT的API ,然后paseo里维持使用opencode。
也好,这样也省得再去配openviking、搜索mcp等接入了。
所以,问题的重点就是解决,opencode 接入 GOAT api调用。
API调用方面,CommandCode GOAT套餐或更高都是支持API调用的。✅

CodexBar兼容✅

CodexBar可真顶,各种套餐都能直接查看用量。
直接就支持CommandCode。

配置opencode接入 GOAT套餐

过程不复杂,就两步:/connect 存 key + 在 opencode.json 里声明 provider。

唯一的小坑是

第一步:/connect 录入 API Key

在 opencode 里运行:

/connect

Other provider,录入 provider 名 goat,粘贴 API Key 回车。

Key 会存到 ~/.local/share/opencode/auth.json(权限 600,仅当前用户可读),opencode 自动把它作为 Authorization: Bearer <key> 带上,不需要写进 opencode.json,避免密钥进 git。

第二步:配置 opencode.json

在全局配置 ~/.config/opencode/opencode.json(项目级 .opencode/opencode.json 同理)加一个goat的 provider:

{
  "provider": {
    "goat": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "goat",
      "options": {
        "baseURL": "https://api.commandcode.ai/provider/v1"
      },
      "models": {
        "deepseek/deepseek-v4-flash-vision-exp": {
          "name": "deepseek-v4-flash-vision-exp",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "deepseek/deepseek-v4-flash":{
          "name":"deepseek-v4-flash",
          "limit":
          {
            "context": 1000000,
            "output": 262144
          }
        },
        "z-ai/glm-5.3-flash":{
          "name":"glm-5.3-flash",
          "limit":
          {
            "context": 1000000,
            "output": 262144
          }
        }
      }
    }
  }
}

要点:

  • npm@ai-sdk/openai-compatible,CommandCode 提供 OpenAI 兼容接口
  • baseURL 填 provider 网关地址(不是模型名)
  • models 的 key 是 API 侧完整模型 ID deepseek/deepseek-v4-flash-vision-explimit 按套餐给的上下文/输出上限填
  • 改完重启 opencode 生效(配置只在启动时加载,不热更新)

可选:zdr 自定义请求头

goat 套餐官方要求每个请求带 x-cmd-zdr: 1。opencode 会把 provider 的 options 原样透传给 @ai-sdk/openai-compatible 构造器,而它原生支持 headers,所以直接写:

"options": {
  "baseURL": "https://api.commandcode.ai/provider/v1",
  "headers": {
    "x-cmd-zdr": "1"
  }
}

这个头会随每个请求发出,和 /connect 存的 key 互不冲突。已实测生效。

验证

重启 opencode 后 /models 切到 goat/deepseek/deepseek-v4-flash-vision-exp 发一句话,能正常回复就是全套就位了。

发现deepseek-v4-flash-vision-exp居然不是zdr的upstream????

好吧,那只能关闭zdr使用了。

平时不用vision-exp模型。
测了ds-v4-flash和glm-5.3-flash都是支持zdr的。

我也就导入这三个模型用用。
commandcode goat套餐里的GLM-5.3-flash比opencode Go给的用量大。

完善一下配置

现在用Command Code的GOAT套餐在opencode里用,opencode没有默认官方支持这个供应商。
这导致我现在OpenCode里面是手动配置的模型,前面只配置了3个模型。

现在想要把所有的都配置上。

关于ZDR,还要做一轮完整的检测,看看哪些模型是支持ZDR的。

然后还要把已经退订了的opencode go和一大堆乱七八糟的历史遗留provider选项删掉——从auth.json里删。

清理auth.json:

/Users/rhett/.local/share/opencode/auth.json 手动用sublime清理一下,以前乱七八糟的太多了。

配置所有可用模型

curl https://api.commandcode.ai/provider/v1/models > ~/Downloads/goat-models.json

读取所有可用的模型。

需要提取成可用的配置,补充到 /Users/rhett/.config/opencode/opencode.json 里的goat的provider里。

zdr判定是写一个脚本 ,用类似

curl https://api.commandcode.ai/provider/v1/chat/completions \
  -H "Authorization: Bearer <CMD_API_KEY>" \
  -H "Content-Type: application/json" \
  -H "x-cmd-zdr: 1" \
  -d '{
    "model": "deepseek/deepseek-v4-flash",
    "messages": [{"role": "user", "content": "Write a haiku about race conditions."}]
  }'

的做法,
根据官方说法:

 if a model has no ZDR-capable upstream the request fails with a 422 (cmd_zdr_no_providers) rather than falling back to a non-ZDR provider.

把每个模型过过去,看看接口哪些会返回422错误,就知道哪些模型不安全了。

ZDR检测脚本

#!/bin/bash
# ZDR 支持检测脚本:遍历 goat-models.json 中所有模型,检测是否支持 ZDR
# 判定规则:带 x-cmd-zdr:1 请求返回 422 cmd_zdr_no_providers => 不支持 ZDR(不安全)
#             返回 200 => 支持 ZDR
# 用法: bash check-zdr.sh

set -u

API_KEY="user_5NNqepzcPpbuusKVXmAzV3mgSe5zmNpttPV9TTryCyzuT7PnmQhxn9HKZHHAwbT6zCzJvKEqNXPvquLeNa8g1u2x"
BASE_URL="https://api.commandcode.ai/provider/v1/chat/completions"
MODELS_FILE="$HOME/Downloads/goat-models.json"
OUT_FILE="$HOME/Downloads/zdr-result.txt"

# 读取所有模型 id
MODELS=()
while IFS= read -r line; do
  MODELS+=("$line")
done < <(python3 -c "
import json
with open('$MODELS_FILE') as f:
    data = json.load(f)
for m in data['data']:
    print(m['id'])
")

echo "共 ${#MODELS[@]} 个模型,开始 ZDR 检测..." >&2
echo "共 ${#MODELS[@]} 个模型" > "$OUT_FILE"

SUPPORT=()
NOT_SUPPORT=()

for model in "${MODELS[@]}"; do
  resp=$(curl -s -o /tmp/zdr-body.json -w "%{http_code}" \
    "$BASE_URL" \
    -H "Authorization: Bearer $API_KEY" \
    -H "Content-Type: application/json" \
    -H "x-cmd-zdr: 1" \
    -d "{
      \"model\": \"$model\",
      \"messages\": [{\"role\": \"user\", \"content\": \"Say OK\"}],
      \"max_tokens\": 8
    }")
  code=$resp
  if [ "$code" = "200" ]; then
    SUPPORT+=("$model")
    echo "ZDR ✓  $model" | tee -a "$OUT_FILE"
  elif [ "$code" = "422" ]; then
    NOT_SUPPORT+=("$model")
    echo "ZDR ✗  $model (422)" | tee -a "$OUT_FILE"
  else
    NOT_SUPPORT+=("$model")
    echo "ZDR ?  $model (HTTP $code) $(cat /tmp/zdr-body.json | head -c 120)" | tee -a "$OUT_FILE"
  fi
  sleep 0.2
done

echo "" >> "$OUT_FILE"
echo "===== 汇总 =====" >> "$OUT_FILE"
echo "支持 ZDR: ${#SUPPORT[@]} 个" >> "$OUT_FILE"
for m in "${SUPPORT[@]}"; do echo "  ✓ $m" >> "$OUT_FILE"; done
echo "不支持/未知: ${#NOT_SUPPORT[@]} 个" >> "$OUT_FILE"
for m in "${NOT_SUPPORT[@]}"; do echo "  ✗ $m" >> "$OUT_FILE"; done

echo "" >&2
echo "完成!结果写入: $OUT_FILE" >&2

ZDR检测结果

共 61 个模型
ZDR ?  claude-sonnet-5 (HTTP 400) {"error":{"message":"Model \"claude-sonnet-5\" must be called via /provider/v1/messages (Anthropic Messages shape).","ty
ZDR ?  claude-sonnet-4-6 (HTTP 400) {"error":{"message":"Model \"claude-sonnet-4-6\" must be called via /provider/v1/messages (Anthropic Messages shape).","
ZDR ?  claude-fable-5 (HTTP 400) {"error":{"message":"Model \"claude-fable-5\" must be called via /provider/v1/messages (Anthropic Messages shape).","typ
ZDR ?  claude-opus-5 (HTTP 400) {"error":{"message":"Model \"claude-opus-5\" must be called via /provider/v1/messages (Anthropic Messages shape).","type
ZDR ?  claude-opus-4-8 (HTTP 400) {"error":{"message":"Model \"claude-opus-4-8\" must be called via /provider/v1/messages (Anthropic Messages shape).","ty
ZDR ?  claude-opus-4-7 (HTTP 400) {"error":{"message":"Model \"claude-opus-4-7\" must be called via /provider/v1/messages (Anthropic Messages shape).","ty
ZDR ?  claude-haiku-4-5-20251001 (HTTP 400) {"error":{"message":"Model \"claude-haiku-4-5-20251001\" must be called via /provider/v1/messages (Anthropic Messages sh
ZDR ?  gpt-5.6-sol (HTTP 400) {"error":{"message":"{\"error\":{\"message\":\"Invalid 'max_output_tokens': integer below minimum value. Expected a valu
ZDR ?  gpt-5.6-terra (HTTP 403) {"error":{"message":"MODEL_NOT_IN_PLAN: GPT-5.6 Terra available in Pro and above plans or extra on demand usage","type":
ZDR ?  gpt-5.6-luna (HTTP 403) {"error":{"message":"Authentication failed. Please check your credentials.","type":"permission_error"}}
ZDR ?  gpt-5.5 (HTTP 403) {"error":{"message":"MODEL_NOT_IN_PLAN: GPT-5.5 available in Pro and above plans or extra on demand usage","type":"permi
ZDR ?  gpt-5.4 (HTTP 403) {"error":{"message":"MODEL_NOT_IN_PLAN: GPT-5.4 available in Pro and above plans or extra on demand usage","type":"permi
ZDR ?  gpt-5.3-codex (HTTP 403) {"error":{"message":"MODEL_NOT_IN_PLAN: GPT-5.3 Codex available in Pro and above plans or extra on demand usage","type":
ZDR ?  gpt-5.4-mini (HTTP 403) {"error":{"message":"MODEL_NOT_IN_PLAN: GPT-5.4 Mini available in Pro and above plans or extra on demand usage","type":"
ZDR ✓  deepseek/deepseek-v4-pro
ZDR ✓  deepseek/deepseek-v4-flash
ZDR ✗  deepseek/deepseek-v4-flash-vision-exp (422)
ZDR ✓  deepseek/deepseek-v4-flash-fast
ZDR ✓  moonshotai/Kimi-K3
ZDR ✓  moonshotai/Kimi-K2.7-Code
ZDR ✓  moonshotai/Kimi-K2.7-Code-Highspeed
ZDR ✓  moonshotai/Kimi-K2.6
ZDR ✓  moonshotai/Kimi-K2.5
ZDR ✓  z-ai/glm-5.3-flash
ZDR ✓  zai-org/GLM-5.3
ZDR ✓  zai-org/GLM-5.2
ZDR ✓  zai-org/GLM-5.2-Fast
ZDR ✓  zai-org/GLM-5.1
ZDR ✓  zai-org/GLM-5
ZDR ✓  MiniMaxAI/MiniMax-M3
ZDR ✓  MiniMaxAI/MiniMax-M2.7
ZDR ✓  MiniMaxAI/MiniMax-M2.5
ZDR ✓  xiaomi/mimo-v2.5-pro
ZDR ✓  xiaomi/mimo-v2.5
ZDR ✓  Qwen/Qwen3.8-Max
ZDR ✓  Qwen/Qwen3.8-27B
ZDR ✗  Qwen/Qwen3.8-Flash (422)
ZDR ✓  Qwen/Qwen3.7-Max
ZDR ✓  Qwen/Qwen3.7-Plus
ZDR ✓  Qwen/Qwen3.7-Flash
ZDR ✓  Qwen/Qwen3.6-Max-Preview
ZDR ✓  Qwen/Qwen3.6-Plus
ZDR ✗  stepfun/Step-3.7-Flash (422)
ZDR ✓  stepfun/Step-3.5-Flash
ZDR ✓  tencent/hy3-paid
ZDR ✓  tencent/hy4-preview
ZDR ?  google/gemini-3.7-flash (HTTP 403) {"error":{"message":"Authentication failed. Please check your credentials.","type":"permission_error"}}
ZDR ?  google/gemini-3.6-flash (HTTP 403) {"error":{"message":"MODEL_NOT_IN_PLAN: Gemini 3.6 Flash available in Pro and above plans or extra on demand usage","typ
ZDR ?  google/gemini-3.5-flash (HTTP 403) {"error":{"message":"MODEL_NOT_IN_PLAN: Gemini 3.5 Flash available in Pro and above plans or extra on demand usage","typ
ZDR ?  google/gemini-3.5-flash-lite (HTTP 403) {"error":{"message":"MODEL_NOT_IN_PLAN: Gemini 3.5 Flash Lite available in Pro and above plans or extra on demand usage"
ZDR ?  google/gemini-3.1-flash-lite (HTTP 403) {"error":{"message":"MODEL_NOT_IN_PLAN: Gemini 3.1 Flash Lite available in Pro and above plans or extra on demand usage"
ZDR ?  sakana/fugu-ultra (HTTP 403) {"error":{"message":"MODEL_NOT_IN_PLAN: Fugu Ultra available in Provider and above plans or extra on demand usage","type
ZDR ✓  nvidia/nemotron-3-ultra-550b-a55b
ZDR ✓  thinkingmachines/inkling
ZDR ✓  thinkingmachines/inkling-small
ZDR ✗  poolside/laguna-s-2.1-free (422)
ZDR ?  meta/muse-spark-1.1 (HTTP 403) {"error":{"message":"MODEL_NOT_IN_PLAN: Muse Spark 1.1 available in Pro and above plans or extra on demand usage","type"
ZDR ✗  meta/muse-spark-1.2 (422)
ZDR ✗  meta/muse-spark-1.2-contributor (422)
ZDR ✗  xai/grok-4.5 (422)
ZDR ✗  xai/grok-4.6 (422)

===== 汇总 =====
支持 ZDR: 32 个
  ✓ deepseek/deepseek-v4-pro
  ✓ deepseek/deepseek-v4-flash
  ✓ deepseek/deepseek-v4-flash-fast
  ✓ moonshotai/Kimi-K3
  ✓ moonshotai/Kimi-K2.7-Code
  ✓ moonshotai/Kimi-K2.7-Code-Highspeed
  ✓ moonshotai/Kimi-K2.6
  ✓ moonshotai/Kimi-K2.5
  ✓ z-ai/glm-5.3-flash
  ✓ zai-org/GLM-5.3
  ✓ zai-org/GLM-5.2
  ✓ zai-org/GLM-5.2-Fast
  ✓ zai-org/GLM-5.1
  ✓ zai-org/GLM-5
  ✓ MiniMaxAI/MiniMax-M3
  ✓ MiniMaxAI/MiniMax-M2.7
  ✓ MiniMaxAI/MiniMax-M2.5
  ✓ xiaomi/mimo-v2.5-pro
  ✓ xiaomi/mimo-v2.5
  ✓ Qwen/Qwen3.8-Max
  ✓ Qwen/Qwen3.8-27B
  ✓ Qwen/Qwen3.7-Max
  ✓ Qwen/Qwen3.7-Plus
  ✓ Qwen/Qwen3.7-Flash
  ✓ Qwen/Qwen3.6-Max-Preview
  ✓ Qwen/Qwen3.6-Plus
  ✓ stepfun/Step-3.5-Flash
  ✓ tencent/hy3-paid
  ✓ tencent/hy4-preview
  ✓ nvidia/nemotron-3-ultra-550b-a55b
  ✓ thinkingmachines/inkling
  ✓ thinkingmachines/inkling-small
不支持/未知: 29 个
  ✗ claude-sonnet-5
  ✗ claude-sonnet-4-6
  ✗ claude-fable-5
  ✗ claude-opus-5
  ✗ claude-opus-4-8
  ✗ claude-opus-4-7
  ✗ claude-haiku-4-5-20251001
  ✗ gpt-5.6-sol
  ✗ gpt-5.6-terra
  ✗ gpt-5.6-luna
  ✗ gpt-5.5
  ✗ gpt-5.4
  ✗ gpt-5.3-codex
  ✗ gpt-5.4-mini
  ✗ deepseek/deepseek-v4-flash-vision-exp
  ✗ Qwen/Qwen3.8-Flash
  ✗ stepfun/Step-3.7-Flash
  ✗ google/gemini-3.7-flash
  ✗ google/gemini-3.6-flash
  ✗ google/gemini-3.5-flash
  ✗ google/gemini-3.5-flash-lite
  ✗ google/gemini-3.1-flash-lite
  ✗ sakana/fugu-ultra
  ✗ poolside/laguna-s-2.1-free
  ✗ meta/muse-spark-1.1
  ✗ meta/muse-spark-1.2
  ✗ meta/muse-spark-1.2-contributor
  ✗ xai/grok-4.5
  ✗ xai/grok-4.6

最终配置:

最终配置,主要是’provider’部分, 把兼容zdr的和全部的分开了两部分录入的。

{
  "$schema": "https://opencode.ai/config.json",
  "permission": {
  },
  "mcp": {
  },
  "provider": {
    "goat": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "goat",
      "options": {
        "baseURL": "https://api.commandcode.ai/provider/v1",
        "headers": {}
      },
      "models": {
        "deepseek/deepseek-v4-pro": {
          "name": "DeepSeek V4 Pro (latest)",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "deepseek/deepseek-v4-flash": {
          "name": "DeepSeek V4 Flash (latest)",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "deepseek/deepseek-v4-flash-fast": {
          "name": "DeepSeek V4 Flash Fast",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "moonshotai/Kimi-K3": {
          "name": "Kimi K3",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "moonshotai/Kimi-K2.7-Code": {
          "name": "Kimi K2.7 Code",
          "limit": {
            "context": 256000,
            "output": 262144
          }
        },
        "moonshotai/Kimi-K2.7-Code-Highspeed": {
          "name": "Kimi K2.7 Code HighSpeed",
          "limit": {
            "context": 262000,
            "output": 262144
          }
        },
        "moonshotai/Kimi-K2.6": {
          "name": "Kimi K2.6",
          "limit": {
            "context": 256000,
            "output": 262144
          }
        },
        "moonshotai/Kimi-K2.5": {
          "name": "Kimi K2.5",
          "limit": {
            "context": 256000,
            "output": 262144
          }
        },
        "z-ai/glm-5.3-flash": {
          "name": "GLM-5.3 Flash",
          "limit": {
            "context": 1048576,
            "output": 262144
          }
        },
        "zai-org/GLM-5.3": {
          "name": "GLM-5.3",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "zai-org/GLM-5.2": {
          "name": "GLM-5.2",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "zai-org/GLM-5.2-Fast": {
          "name": "GLM-5.2 Fast",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "zai-org/GLM-5.1": {
          "name": "GLM-5.1",
          "limit": {
            "context": 200000,
            "output": 262144
          }
        },
        "zai-org/GLM-5": {
          "name": "GLM-5",
          "limit": {
            "context": 200000,
            "output": 262144
          }
        },
        "MiniMaxAI/MiniMax-M3": {
          "name": "MiniMax M3",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "MiniMaxAI/MiniMax-M2.7": {
          "name": "MiniMax M2.7",
          "limit": {
            "context": 200000,
            "output": 262144
          }
        },
        "MiniMaxAI/MiniMax-M2.5": {
          "name": "MiniMax M2.5",
          "limit": {
            "context": 200000,
            "output": 262144
          }
        },
        "xiaomi/mimo-v2.5-pro": {
          "name": "MiMo V2.5 Pro",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "xiaomi/mimo-v2.5": {
          "name": "MiMo V2.5",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "Qwen/Qwen3.8-Max": {
          "name": "Qwen 3.8 Max",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "Qwen/Qwen3.8-27B": {
          "name": "Qwen 3.8 27B",
          "limit": {
            "context": 262144,
            "output": 262144
          }
        },
        "Qwen/Qwen3.7-Max": {
          "name": "Qwen 3.7 Max",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "Qwen/Qwen3.7-Plus": {
          "name": "Qwen 3.7 Plus",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "Qwen/Qwen3.7-Flash": {
          "name": "Qwen 3.7 Flash",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "Qwen/Qwen3.6-Max-Preview": {
          "name": "Qwen 3.6 Max Preview",
          "limit": {
            "context": 200000,
            "output": 262144
          }
        },
        "Qwen/Qwen3.6-Plus": {
          "name": "Qwen 3.6 Plus",
          "limit": {
            "context": 200000,
            "output": 262144
          }
        },
        "stepfun/Step-3.5-Flash": {
          "name": "Step 3.5 Flash",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "tencent/hy3-paid": {
          "name": "Tencent Hy3",
          "limit": {
            "context": 262144,
            "output": 262144
          }
        },
        "tencent/hy4-preview": {
          "name": "Tencent Hy4 Preview",
          "limit": {
            "context": 1048576,
            "output": 262144
          }
        },
        "nvidia/nemotron-3-ultra-550b-a55b": {
          "name": "Nemotron 3 Ultra",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "thinkingmachines/inkling": {
          "name": "Inkling",
          "limit": {
            "context": 256000,
            "output": 262144
          }
        },
        "thinkingmachines/inkling-small": {
          "name": "Inkling Small",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "gpt-5.6-sol": {
          "name": "GPT-5.6 Sol",
          "limit": {
            "context": 1050000,
            "output": 262144
          }
        },
        "deepseek/deepseek-v4-flash-vision-exp": {
          "name": "DeepSeek V4 Flash Vision (exp)",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "Qwen/Qwen3.8-Flash": {
          "name": "Qwen 3.8 Flash",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "stepfun/Step-3.7-Flash": {
          "name": "Step 3.7 Flash",
          "limit": {
            "context": 256000,
            "output": 262144
          }
        },
        "poolside/laguna-s-2.1-free": {
          "name": "Laguna S 2.1",
          "limit": {
            "context": 256000,
            "output": 262144
          }
        },
        "meta/muse-spark-1.2": {
          "name": "Muse Spark 1.2",
          "limit": {
            "context": 1048576,
            "output": 262144
          }
        },
        "meta/muse-spark-1.2-contributor": {
          "name": "Muse Spark 1.2 Contributor",
          "limit": {
            "context": 1048576,
            "output": 262144
          }
        },
        "xai/grok-4.5": {
          "name": "Grok 4.5",
          "limit": {
            "context": 500000,
            "output": 262144
          }
        },
        "xai/grok-4.6": {
          "name": "Grok 4.6",
          "limit": {
            "context": 500000,
            "output": 262144
          }
        }
      }
    },
    "goat-zdr": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "goat-zdr",
      "options": {
        "baseURL": "https://api.commandcode.ai/provider/v1",
        "headers": {
          "x-cmd-zdr": "1"
        }
      },
      "models": {
        "deepseek/deepseek-v4-pro": {
          "name": "DeepSeek V4 Pro (latest)",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "deepseek/deepseek-v4-flash": {
          "name": "DeepSeek V4 Flash (latest)",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "deepseek/deepseek-v4-flash-fast": {
          "name": "DeepSeek V4 Flash Fast",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "moonshotai/Kimi-K3": {
          "name": "Kimi K3",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "moonshotai/Kimi-K2.7-Code": {
          "name": "Kimi K2.7 Code",
          "limit": {
            "context": 256000,
            "output": 262144
          }
        },
        "moonshotai/Kimi-K2.7-Code-Highspeed": {
          "name": "Kimi K2.7 Code HighSpeed",
          "limit": {
            "context": 262000,
            "output": 262144
          }
        },
        "moonshotai/Kimi-K2.6": {
          "name": "Kimi K2.6",
          "limit": {
            "context": 256000,
            "output": 262144
          }
        },
        "moonshotai/Kimi-K2.5": {
          "name": "Kimi K2.5",
          "limit": {
            "context": 256000,
            "output": 262144
          }
        },
        "z-ai/glm-5.3-flash": {
          "name": "GLM-5.3 Flash",
          "limit": {
            "context": 1048576,
            "output": 262144
          }
        },
        "zai-org/GLM-5.3": {
          "name": "GLM-5.3",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "zai-org/GLM-5.2": {
          "name": "GLM-5.2",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "zai-org/GLM-5.2-Fast": {
          "name": "GLM-5.2 Fast",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "zai-org/GLM-5.1": {
          "name": "GLM-5.1",
          "limit": {
            "context": 200000,
            "output": 262144
          }
        },
        "zai-org/GLM-5": {
          "name": "GLM-5",
          "limit": {
            "context": 200000,
            "output": 262144
          }
        },
        "MiniMaxAI/MiniMax-M3": {
          "name": "MiniMax M3",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "MiniMaxAI/MiniMax-M2.7": {
          "name": "MiniMax M2.7",
          "limit": {
            "context": 200000,
            "output": 262144
          }
        },
        "MiniMaxAI/MiniMax-M2.5": {
          "name": "MiniMax M2.5",
          "limit": {
            "context": 200000,
            "output": 262144
          }
        },
        "xiaomi/mimo-v2.5-pro": {
          "name": "MiMo V2.5 Pro",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "xiaomi/mimo-v2.5": {
          "name": "MiMo V2.5",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "Qwen/Qwen3.8-Max": {
          "name": "Qwen 3.8 Max",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "Qwen/Qwen3.8-27B": {
          "name": "Qwen 3.8 27B",
          "limit": {
            "context": 262144,
            "output": 262144
          }
        },
        "Qwen/Qwen3.7-Max": {
          "name": "Qwen 3.7 Max",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "Qwen/Qwen3.7-Plus": {
          "name": "Qwen 3.7 Plus",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "Qwen/Qwen3.7-Flash": {
          "name": "Qwen 3.7 Flash",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "Qwen/Qwen3.6-Max-Preview": {
          "name": "Qwen 3.6 Max Preview",
          "limit": {
            "context": 200000,
            "output": 262144
          }
        },
        "Qwen/Qwen3.6-Plus": {
          "name": "Qwen 3.6 Plus",
          "limit": {
            "context": 200000,
            "output": 262144
          }
        },
        "stepfun/Step-3.5-Flash": {
          "name": "Step 3.5 Flash",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "tencent/hy3-paid": {
          "name": "Tencent Hy3",
          "limit": {
            "context": 262144,
            "output": 262144
          }
        },
        "tencent/hy4-preview": {
          "name": "Tencent Hy4 Preview",
          "limit": {
            "context": 1048576,
            "output": 262144
          }
        },
        "nvidia/nemotron-3-ultra-550b-a55b": {
          "name": "Nemotron 3 Ultra",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "thinkingmachines/inkling": {
          "name": "Inkling",
          "limit": {
            "context": 256000,
            "output": 262144
          }
        },
        "thinkingmachines/inkling-small": {
          "name": "Inkling Small",
          "limit": {
            "context": 1000000,
            "output": 262144
          }
        },
        "gpt-5.6-sol": {
          "name": "GPT-5.6 Sol",
          "limit": {
            "context": 1050000,
            "output": 262144
          }
        }
      }
    }
  },
  "plugin": [

  ]
}