{
  "provider": "opencode",
  "links": {
    "models": "https://opencode.ai/docs/zen/#endpoints",
    "pricing": "https://opencode.ai/docs/zen/#pricing",
    "deprecations": "https://opencode.ai/docs/zen/#deprecated-models",
    "docs": "https://opencode.ai/docs/zen/",
    "keys": "https://opencode.ai/auth",
    "terms": "https://opencode.ai/legal/terms-of-service",
    "dataUse": "https://opencode.ai/docs/zen/#privacy",
    "modelsEndpoint": {
      "url": "https://opencode.ai/zen/v1/models",
      "auth": "none"
    }
  },
  "billing": {
    "perToken": true,
    "plan": false
  },
  "speedSource": {
    "basis": "borrowed",
    "note": "nothing measures this provider's endpoints; each row takes its model's timing on the maker's own API, or the median across the hosts Artificial Analysis measures for an open model"
  },
  "models": [
    {
      "id": "claude-opus-5-5",
      "name": "Claude Opus 5.5",
      "family": "claude-opus-5.5",
      "recommended": true,
      "api": "anthropic-messages",
      "reasoning": true,
      "input": [
        "text",
        "image",
        "document"
      ],
      "contextWindow": 1000000,
      "maxTokens": 128000,
      "cost": {
        "input": 4,
        "output": 20,
        "cacheRead": 0.2,
        "cacheWrite": 5
      },
      "grades": {
        "power": 10,
        "speed": 4,
        "cost": 8
      },
      "tokenizerFamily": "opencode-anthropic-4.7+",
      "capabilities": {
        "agentic": "native",
        "coding": "native",
        "reasoning": "native"
      },
      "effort": {
        "levels": [
          "low",
          "medium",
          "high",
          "xhigh",
          "max",
          "adaptive"
        ],
        "native": "adaptive",
        "default": "high",
        "adaptive": true,
        "note": "Always thinks; reasoning cannot be switched off. Anthropic's own default effort is medium."
      },
      "compat": {
        "anthropicAdaptiveThinking": true
      },
      "refusedParams": [
        "temperature",
        "top_p",
        "top_k"
      ],
      "forcedToolChoice": false,
      "releasedAt": "2026-09-22",
      "tagline": "Anthropic's flagship Claude, through OpenCode Zen",
      "description": "Claude Opus 5.5 through OpenCode Zen: Anthropic's flagship for long-running agentic coding and knowledge work, with a 1M-token context, 128K output, vision and PDF input, at Anthropic's own price. Adaptive thinking is always on. $4/$20 per 1M tokens, $0.20 cache reads, $5 cache writes.",
      "knowledgeCutoff": "2026-06"
    },
    {
      "id": "claude-fable-5-1",
      "name": "Claude Fable 5.1",
      "family": "claude-fable-5.1",
      "api": "anthropic-messages",
      "reasoning": true,
      "input": [
        "text",
        "image",
        "document"
      ],
      "contextWindow": 1000000,
      "maxTokens": 128000,
      "cost": {
        "input": 10,
        "output": 50,
        "cacheRead": 0.25,
        "cacheWrite": 12.5
      },
      "grades": {
        "power": 9,
        "speed": 3,
        "cost": 9
      },
      "tokenizerFamily": "opencode-anthropic-4.7+",
      "capabilities": {
        "agentic": "native",
        "coding": "native",
        "reasoning": "native"
      },
      "effort": {
        "levels": [
          "low",
          "medium",
          "high",
          "xhigh",
          "max",
          "adaptive"
        ],
        "native": "adaptive",
        "default": "high",
        "adaptive": true,
        "note": "Always thinks; reasoning cannot be switched off."
      },
      "compat": {
        "anthropicAdaptiveThinking": true
      },
      "refusedParams": [
        "temperature",
        "top_p",
        "top_k"
      ],
      "forcedToolChoice": false,
      "releasedAt": "2026-09-01",
      "tagline": "Mythos-class Claude, at 2.5x Opus 5.5's price, through Zen",
      "description": "Claude Fable 5.1 through OpenCode Zen: Anthropic's most capable model, the Mythos-class tier above Opus, with a 1M-token context, 128K output, vision and PDF input, at Anthropic's own price. At 2.5x Opus 5.5's price, route it at work that earns it. $10/$50 per 1M tokens, $0.25 cache reads, $12.50 cache writes.",
      "knowledgeCutoff": "2026-06"
    },
    {
      "id": "claude-sonnet-5",
      "name": "Claude Sonnet 5",
      "family": "claude-sonnet-5",
      "api": "anthropic-messages",
      "reasoning": true,
      "input": [
        "text",
        "image",
        "document"
      ],
      "contextWindow": 1000000,
      "maxTokens": 128000,
      "cost": {
        "input": 2,
        "output": 10,
        "cacheRead": 0.2,
        "cacheWrite": 2.5
      },
      "grades": {
        "power": 6,
        "speed": 5,
        "powerOff": 4,
        "cost": 7
      },
      "tokenizerFamily": "opencode-anthropic-4.7+",
      "capabilities": {
        "agentic": "native",
        "coding": "native",
        "reasoning": "native"
      },
      "effort": {
        "levels": [
          "off",
          "minimal",
          "low",
          "medium",
          "high",
          "xhigh",
          "max",
          "adaptive"
        ],
        "native": "adaptive",
        "default": "high",
        "adaptive": true,
        "note": "Thinking is on by default; off is an explicit opt-out."
      },
      "compat": {
        "anthropicAdaptiveThinking": true
      },
      "thinkingOff": {
        "type": "disabled"
      },
      "refusedParams": [
        "temperature",
        "top_p",
        "top_k"
      ],
      "releasedAt": "2026-06-30",
      "tagline": "Near-Opus Claude at Sonnet price, through Zen",
      "description": "Claude Sonnet 5 through OpenCode Zen: Anthropic's latest Sonnet, near Opus quality on coding and agentic work, with a 1M-token context, 128K output, vision and PDF input, at Anthropic's own price. $2/$10 per 1M tokens, $0.20 cache reads, $2.50 cache writes.",
      "knowledgeCutoff": "2026-01"
    },
    {
      "id": "gpt-6-sol",
      "name": "GPT-6 Sol",
      "family": "gpt-6-sol",
      "api": "openai-responses",
      "reasoning": true,
      "input": [
        "text",
        "image"
      ],
      "contextWindow": 1050000,
      "maxTokens": 128000,
      "cost": {
        "input": 2,
        "output": 10,
        "cacheRead": 0.2,
        "cacheWrite": 2.5
      },
      "grades": {
        "power": 8,
        "speed": 5,
        "powerOff": 5,
        "cost": 7
      },
      "tokenizerFamily": "opencode-openai-o200k",
      "capabilities": {
        "agentic": "native",
        "coding": "native"
      },
      "effort": {
        "levels": [
          "off",
          "low",
          "medium",
          "high",
          "xhigh",
          "max"
        ],
        "native": "medium",
        "default": "high"
      },
      "releasedAt": "2026-09-22",
      "tagline": "OpenAI's GPT-6 coding and agent model, through Zen",
      "description": "GPT-6 Sol through OpenCode Zen: OpenAI's GPT-6 model for complex coding and agentic work, with a 1.05M-token context (922K of it input), 128K output and vision, at OpenAI's own price. $2/$10 per 1M tokens up to 272K tokens, double input above.",
      "knowledgeCutoff": "2026-04-20"
    },
    {
      "id": "gpt-6-luna",
      "name": "GPT-6 Luna",
      "family": "gpt-6-luna",
      "api": "openai-responses",
      "reasoning": true,
      "input": [
        "text",
        "image"
      ],
      "contextWindow": 1050000,
      "maxTokens": 128000,
      "cost": {
        "input": 0.1,
        "output": 0.5,
        "cacheRead": 0.01,
        "cacheWrite": 0.125
      },
      "grades": {
        "power": 6,
        "speed": 6,
        "powerOff": 3,
        "cost": 3
      },
      "tokenizerFamily": "opencode-openai-o200k",
      "capabilities": {
        "agentic": "native",
        "coding": "native"
      },
      "effort": {
        "levels": [
          "off",
          "low",
          "medium",
          "high",
          "xhigh",
          "max"
        ],
        "native": "medium",
        "default": "high"
      },
      "releasedAt": "2026-09-22",
      "tagline": "OpenAI's most efficient GPT-6, through Zen",
      "description": "GPT-6 Luna through OpenCode Zen: OpenAI's most efficient GPT-6 model, for high-volume and lightweight agentic work, with a 1.05M-token context (922K of it input), 128K output and vision, at OpenAI's own price. $0.10/$0.50 per 1M tokens up to 272K tokens.",
      "knowledgeCutoff": "2026-05-18"
    },
    {
      "id": "gpt-6-astra",
      "name": "GPT-6 Astra",
      "family": "gpt-6-astra",
      "api": "openai-responses",
      "reasoning": true,
      "input": [
        "text",
        "image"
      ],
      "contextWindow": 1050000,
      "maxTokens": 128000,
      "cost": {
        "input": 10,
        "output": 50,
        "cacheRead": 1,
        "cacheWrite": 12.5
      },
      "grades": {
        "power": 9,
        "speed": 4,
        "cost": 10
      },
      "tokenizerFamily": "opencode-openai-o200k",
      "capabilities": {
        "agentic": "native",
        "coding": "native"
      },
      "effort": {
        "levels": [
          "low",
          "medium",
          "high",
          "xhigh",
          "max"
        ],
        "native": "medium",
        "default": "high",
        "note": "Always thinks; reasoning cannot be switched off."
      },
      "releasedAt": "2026-09-03",
      "tagline": "OpenAI's GPT-6 frontier tier, at 5x GPT-6 Sol's price, through Zen",
      "description": "GPT-6 Astra through OpenCode Zen: OpenAI's frontier GPT-6 model for the hardest reasoning, coding and agentic work, with a 1.05M-token context (922K of it input), 128K output and vision, at OpenAI's own price. At five times GPT-6 Sol's price, route it at work that earns it. $10/$50 per 1M tokens up to 272K tokens.",
      "knowledgeCutoff": "2026-04-30"
    },
    {
      "id": "gemini-3.8-flash",
      "name": "Gemini 3.8 Flash",
      "family": "gemini-3.8-flash",
      "api": "google-generative-ai",
      "reasoning": true,
      "input": [
        "text",
        "image",
        "document"
      ],
      "contextWindow": 1048576,
      "maxTokens": 65536,
      "cost": {
        "input": 1.5,
        "output": 7.5,
        "cacheRead": 0.15,
        "cacheWrite": 0
      },
      "grades": {
        "power": 7,
        "speed": 3,
        "cost": 7
      },
      "tokenizerFamily": "opencode-google",
      "capabilities": {
        "agentic": "native",
        "coding": "native",
        "tool-use": "native"
      },
      "effort": {
        "levels": [
          "low",
          "medium",
          "high"
        ],
        "native": "medium",
        "default": "high"
      },
      "releasedAt": "2026-09-02",
      "tagline": "Google's current Gemini Flash, through Zen",
      "description": "Gemini 3.8 Flash through OpenCode Zen: Google's current Flash model for agentic and coding work, with a 1M-token context, 64K output, vision and PDF input. $1.50/$7.50 per 1M tokens, $0.15 cache reads."
    },
    {
      "id": "kimi-k3",
      "name": "Kimi K3",
      "family": "kimi-k3",
      "api": "openai-completions",
      "reasoning": true,
      "input": [
        "text",
        "image"
      ],
      "contextWindow": 1048576,
      "maxTokens": 131072,
      "cost": {
        "input": 3,
        "output": 15,
        "cacheRead": 0.3,
        "cacheWrite": 0
      },
      "grades": {
        "power": 8,
        "speed": 0,
        "cost": 8
      },
      "tokenizerFamily": "opencode-moonshot",
      "capabilities": {
        "agentic": "native",
        "coding": "native"
      },
      "effort": {
        "levels": [
          "max"
        ],
        "native": "max",
        "default": "max",
        "note": "Always thinks at max effort on Zen."
      },
      "releasedAt": "2026-07-16",
      "tagline": "Moonshot's 1M-context flagship, through Zen",
      "description": "Kimi K3 through OpenCode Zen: Moonshot's open-weight 1M-context flagship with vision, strong on long-horizon coding and agentic work. It always thinks at max effort here. $3/$15 per 1M tokens, $0.30 cache reads."
    },
    {
      "id": "glm-5.3",
      "name": "GLM-5.3",
      "family": "glm-5.3",
      "api": "openai-completions",
      "reasoning": true,
      "input": [
        "text"
      ],
      "contextWindow": 1000000,
      "maxTokens": 131072,
      "cost": {
        "input": 1.4,
        "output": 4.4,
        "cacheRead": 0.26,
        "cacheWrite": 0
      },
      "grades": {
        "power": 8,
        "speed": 1,
        "cost": 6
      },
      "tokenizerFamily": "opencode-zai",
      "capabilities": {
        "agentic": "native",
        "vision": "unsupported",
        "coding": "native",
        "reasoning": "native"
      },
      "effort": {
        "levels": [
          "low",
          "high",
          "max"
        ],
        "native": "max",
        "default": "max",
        "note": "Always thinks; effort is low, high or max."
      },
      "releasedAt": "2026-08-26",
      "tagline": "Z.ai's GLM-5.3 flagship, through Zen",
      "description": "GLM-5.3 through OpenCode Zen: Z.ai's reasoning flagship for software engineering and long-horizon agent work, with a 1M-token context and 131K output. Text only. $1.40/$4.40 per 1M tokens, $0.26 cache reads."
    },
    {
      "id": "glm-5.3-flash",
      "name": "GLM-5.3 Flash",
      "family": "glm-5.3-flash",
      "api": "openai-completions",
      "reasoning": true,
      "input": [
        "text",
        "image"
      ],
      "contextWindow": 1000000,
      "maxTokens": 131072,
      "cost": {
        "input": 0.15,
        "output": 0.5,
        "cacheRead": 0.03,
        "cacheWrite": 0
      },
      "grades": {
        "power": 8,
        "speed": 0,
        "cost": 3
      },
      "tokenizerFamily": "opencode-zai",
      "capabilities": {
        "agentic": "native",
        "coding": "native"
      },
      "effort": {
        "levels": [
          "low",
          "high",
          "max"
        ],
        "native": "max",
        "default": "max",
        "note": "Always thinks; effort is low, high or max."
      },
      "releasedAt": "2026-08-26",
      "tagline": "Z.ai's multimodal GLM-5 at flash price, through Zen",
      "description": "GLM-5.3 Flash through OpenCode Zen: Z.ai's first natively multimodal GLM-5, with a 1M-token context and 131K output. $0.15/$0.50 per 1M tokens, $0.03 cache reads."
    }
  ],
  "superseded": {
    "claude-opus-4-6": "claude-opus-5-5",
    "claude-opus-4-5": "claude-opus-5-5",
    "claude-opus-4-7": "claude-opus-5-5",
    "claude-opus-4-8": "claude-opus-5-5",
    "claude-opus-5": "claude-opus-5-5",
    "claude-fable-5": "claude-fable-5-1",
    "claude-sonnet-4": "claude-sonnet-5",
    "claude-sonnet-4-5": "claude-sonnet-5",
    "claude-sonnet-4-6": "claude-sonnet-5",
    "gpt-5.4": "gpt-6-sol",
    "gpt-5.5": "gpt-6-sol",
    "gpt-5.6-sol": "gpt-6-sol",
    "gpt-5.6-terra": "gpt-6-sol",
    "gpt-5.4-mini": "gpt-6-luna",
    "gpt-5.4-nano": "gpt-6-luna",
    "gpt-5.6-luna": "gpt-6-luna",
    "gpt-5.4-pro": "gpt-6-astra",
    "gpt-5.5-pro": "gpt-6-astra",
    "gemini-3.5-flash": "gemini-3.8-flash",
    "gemini-3.6-flash": "gemini-3.8-flash",
    "gemini-3.7-flash": "gemini-3.8-flash",
    "glm-5.2": "glm-5.3",
    "glm-5.1": "glm-5.3",
    "glm-5": "glm-5.3-flash"
  },
  "removed": [],
  "disabled": []
}
