{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "opencode-go": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "OpenCode Go Subscription (13 models)",
      "options": {
        "baseURL": "https://opencode.ai/zen/go/v1",
        "apiKey": "sk-..."
      },
      "models": {
        "qwen3.6-plus":    { "limit": { "context": 128000, "output": 65536 } },
        "qwen3.5-plus":    { "limit": { "context": 128000, "output": 65536 } },
        "minimax-m2.7":    { "limit": { "context": 128000, "output": 65536 } },
        "minimax-m2.5":    { "limit": { "context": 128000, "output": 65536 } },
        "kimi-k2.6":       { "limit": { "context": 128000, "output": 65536 } },
        "kimi-k2.5":       { "limit": { "context": 128000, "output": 65536 } },
        "glm-5.1":         { "limit": { "context": 128000, "output": 65536 } },
        "glm-5":           { "limit": { "context": 128000, "output": 65536 } },
        "deepseek-v4-pro": { "limit": { "context": 128000, "output": 65536 } },
        "deepseek-v4-flash": { "limit": { "context": 128000, "output": 65536 } },
        "mimo-v2.5-pro":   { "limit": { "context": 128000, "output": 65536 } },
        "mimo-v2.5":       { "limit": { "context": 128000, "output": 65536 } },
        "hy3-preview":     { "limit": { "context": 128000, "output": 65536 } }
      }
    },
    "opencode-zen": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "OpenCode Zen (Free Models)",
      "options": {
        "baseURL": "https://opencode.ai/zen/v1",
        "apiKey": "sk-..."
      },
      "models": {
        "deepseek-v4-flash-free": { "limit": { "context": 128000, "output": 65536 } },
        "minimax-m2.5-free":      { "limit": { "context": 128000, "output": 65536 } },
        "nemotron-3-super-free":  { "limit": { "context": 128000, "output": 65536 } }
      }
    }
  }
}
