{ "$schema": "https://opencode.ai/config.json", "autoupdate": "notify", "theme": "tokyonight", "model": "gateway/claude-claude-4-5", "small_model": "gateway/gemini-3-flash-preview", "plugin": [ "@tarquinen/opencode-dcp@latest", "@franlol/opencode-md-table-formatter@latest" ], "mcp": { "websearch": { "type": "remote", "url": "https://mcp.exa.ai/mcp?tools=web_search_exa" }, "context7": { "type": "remote", "url": "https://mcp.context7.com/mcp" }, "grep_app": { "type": "remote", "url": "https://mcp.grep.app" } }, "permission": { "websearch": "deny" }, "provider": { "gateway": { "name": "Gateway", "npm": "@ai-sdk/anthropic", "options": { "baseURL": "http://10.0.1.1:8317/v1", "apiKey": "{env:CPA_API_KEY}" }, "models": { "claude-opus-4-5-thinking": { "name": "Claude Opus 4.5 (Thinking)" }, "claude-sonnet-4-5-thinking": { "name": "Claude Sonnet 4.5 (Thinking)" }, "claude-sonnet-4-5": { "name": "Claude Sonnet 4.5" }, "claude-haiku-4-5": { "name": "Claude Haiku 4.5" }, "gemini-3-pro-preview": { "name": "Gemini 3 Pro" }, "gemini-3-flash-preview": { "name": "Gemini 3 Flash" }, "gpt-5.2-codex": { "name": "GPT-5.2-Codex" }, "gpt-5.2": { "name": "GPT-5.2" } } }, "GLM Coding": { "name": "Z.AI", "npm": "@ai-sdk/openai-compatible", "options": { "baseURL": "https://api.z.ai/api/coding/paas/v4", "apiKey": "{env:ZAI_API_KEY}" }, "models": { "glm-4.7": { "name": "GLM-4.7" } } } } }