{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "openrouter": {
      "models": {
        "moonshotai/kimi-k2": {
          "options": {
            "provider": {
              "order": ["baseten"],
              "allow_fallbacks": false
            }
          }
        }
      }
    },
    "huggingface": {
      "models": {
        "Qwen/Qwen3-235B-A22B-Instruct-2507:fireworks-ai": {}
      }
    },
    "local": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Local",
      "options": {
        "baseURL": "http://127.0.0.1:1234/v1",
        "includeUsage": true
      },
      "models": {
        "qwen/qwen3-coder-30b": {
          "name": "Qwen-Coder 30B",
          "limit": {
            "context": 262144,
            "output": 66536
          }
        }
      }
    }
  },
  "mcp": {
    "context7": {
      "type": "remote",
      "url": "https://mcp.context7.com/sse"
    },
    "weather": {
      "type": "local",
      "command": ["opencode", "x", "@h1deya/mcp-server-weather"]
    }
  }
}
