{
  "id": "gpt-6-luna",
  "vendor": "opencode",
  "name": "GPT-6 Luna",
  "aliases": [
    "gpt-6-luna"
  ],
  "status": "active",
  "kind": "chat",
  "plan": "go",
  "capabilities": [
    "text",
    "vision",
    "tools",
    "streaming"
  ],
  "limits": {
    "context": null,
    "output": null
  },
  "protocol": "openai-chat",
  "endpoint": {
    "base_url": "https://opencode.ai/zen/go/v1",
    "path": "/chat/completions"
  },
  "auth": {
    "type": "bearer",
    "env": "OPENCODE_API_KEY"
  },
  "pricing": {
    "free": false,
    "currency": "USD",
    "note": "Go 套餐 / 按量付费"
  },
  "constraints": [
    "endpoint 必须与套餐匹配：Go 套餐走 /zen/go/v1。",
    "请求需带 x-opencode-session 头，否则返回 400 MissingSessionID。"
  ],
  "errors": [
    {
      "code": 400,
      "match": "MissingSessionID",
      "docs": "https://opencode.ai/docs/go/"
    },
    {
      "code": 429,
      "match": "GoUsageLimitError",
      "docs": "https://opencode.ai/docs/go/"
    },
    {
      "code": 402,
      "match": "Insufficient account funds",
      "docs": "https://opencode.ai/docs/"
    }
  ],
  "docs": [
    {
      "title": "OpenCode Go",
      "url": "https://opencode.ai/docs/go/"
    }
  ],
  "ui": [
    "opencode/add-key"
  ],
  "verified": {
    "at": "2026-10-20",
    "method": "curl 实测",
    "scope": "endpoint、400/402/429 行为"
  },
  "notes": "context 未核对。",
  "ref": "opencode/gpt-6-luna"
}
