opencode.json
Linux / macOS: ~/.config/opencode/opencode.json · Windows: %USERPROFILE%\.config\opencode\opencode.json
{
"$schema": "https://opencode.ai/config.json",
"model": "vibecode/gpt-5.5",
"small_model": "vibecode/gpt-5.4-mini",
"provider": {
"vibecode": {
"npm": "@ai-sdk/openai",
"name": "vibecode.moe — GPT",
"options": {
"baseURL": "https://vibecode.moe/v1",
"apiKey": "vk-YOUR-KEY"
},
"models": {
"gpt-5.6-sol": { "name": "GPT 5.6 Sol", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } },
"gpt-5.6-terra": { "name": "GPT 5.6 Terra", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } },
"gpt-5.6-luna": { "name": "GPT 5.6 Luna", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } },
"gpt-5.5": { "name": "GPT 5.5", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } },
"gpt-5.4-mini": { "name": "GPT 5.4 Mini", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } },
"codex-auto-review": { "name": "Codex Auto Review", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } }
}
},
"vibecode-gemini": {
"npm": "@ai-sdk/openai-compatible",
"name": "vibecode.moe — Gemini + Grok",
"options": {
"baseURL": "https://vibecode.moe/v1",
"apiKey": "vk-YOUR-KEY"
},
"models": {
"gemini-3-flash-preview": { "name": "Gemini 3 Flash", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } },
"gemini-3.6-flash": { "name": "Gemini 3.6 Flash", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } },
"gemini-3.1-pro-preview": { "name": "Gemini 3.1 Pro", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } },
"grok-4-5": { "name": "Grok 4.5", "modalities": { "input": ["text"], "output": ["text"] } },
"grok-4-6": { "name": "Grok 4.6", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } }
}
},
"vibecode-claude": {
"npm": "@ai-sdk/anthropic",
"name": "vibecode.moe — Claude",
"options": {
"baseURL": "https://vibecode.moe/v1",
"apiKey": "vk-YOUR-KEY"
},
"models": {
"claude-fable-5": { "name": "Claude Fable 5", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } },
"claude-haiku-4-5": { "name": "Claude Haiku 4.5", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } },
"claude-sonnet-4-6": { "name": "Claude Sonnet 4.6", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } },
"claude-sonnet-5": { "name": "Claude Sonnet 5", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } },
"claude-opus-4-7": { "name": "Claude Opus 4.7", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } },
"claude-opus-4-8": { "name": "Claude Opus 4.8", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } },
"claude-opus-5": { "name": "Claude Opus 5", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } }
}
}
}
}
Три блока — три SDK-адаптера (Claude, GPT, Gemini + Grok), ключ один на всех. Меняй в них только apiKey.