forked from agents/opencode
132 lines
4.7 KiB
JSON
132 lines
4.7 KiB
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"autoupdate": false,
|
|
"model": "litellm/claude-opus-4-6",
|
|
"small_model": "litellm/claude-haiku-4-5",
|
|
"plugin": ["oh-my-opencode@latest"],
|
|
// ref: https://models.dev/
|
|
"provider": {
|
|
"litellm": {
|
|
"name": "LiteLLM",
|
|
"npm": "@ai-sdk/openai-compatible",
|
|
"options": {
|
|
"baseURL": "https://ai.furtherverse.com/v1",
|
|
"apiKey": "{env:LITELLM_API_KEY}",
|
|
"setCacheKey": true
|
|
},
|
|
"models": {
|
|
// Anthropic
|
|
"claude-opus-4-6": {
|
|
"name": "Claude Opus 4.6",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
|
"limit": { "context": 200000, "output": 128000 }
|
|
},
|
|
"claude-sonnet-4-6": {
|
|
"name": "Claude Sonnet 4.6",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
|
"limit": { "context": 200000, "output": 64000 }
|
|
},
|
|
"claude-haiku-4-5": {
|
|
"name": "Claude Haiku 4.5",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
|
"limit": { "context": 200000, "output": 64000 }
|
|
},
|
|
// Google
|
|
"gemini-3.1-pro-preview": {
|
|
"name": "Gemini 3.1 Pro",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text", "image", "video", "audio", "pdf"], "output": ["text"] },
|
|
"limit": { "context": 1048576, "output": 65536 }
|
|
},
|
|
// OpenAI
|
|
"gpt-5.2": {
|
|
"name": "GPT-5.2",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text", "image"], "output": ["text"] },
|
|
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
|
},
|
|
"gpt-5.3-codex": {
|
|
"name": "GPT-5.3-Codex",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
|
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
|
},
|
|
"gpt-5.1-codex-mini": {
|
|
"name": "GPT-5.1 Codex mini",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text", "image"], "output": ["text"] },
|
|
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
|
},
|
|
"gemini-3-flash-preview": {
|
|
"name": "Gemini 3 Flash",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text", "image", "video", "audio", "pdf"], "output": ["text"] },
|
|
"limit": { "context": 1048576, "output": 65536 }
|
|
}
|
|
}
|
|
},
|
|
"bailian-coding-plan": {
|
|
"npm": "@ai-sdk/anthropic",
|
|
"name": "Model Studio Coding Plan",
|
|
"options": {
|
|
"baseURL": "https://coding.dashscope.aliyuncs.com/apps/anthropic/v1",
|
|
"apiKey": "{env:BAILIAN_API_KEY}"
|
|
},
|
|
"models": {
|
|
"qwen3.5-plus": {
|
|
"name": "Qwen3.5 Plus",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
|
|
"limit": { "context": 1000000, "output": 65536 }
|
|
},
|
|
"qwen3-max-2026-01-23": {
|
|
"name": "Qwen3 Max 2026-01-23",
|
|
"reasoning": false,
|
|
"modalities": { "input": ["text"], "output": ["text"] },
|
|
"limit": { "context": 262144, "output": 65536 }
|
|
},
|
|
"qwen3-coder-next": {
|
|
"name": "Qwen3 Coder Next",
|
|
"reasoning": false,
|
|
"modalities": { "input": ["text"], "output": ["text"] },
|
|
"limit": { "context": 262144, "output": 65536 }
|
|
},
|
|
"qwen3-coder-plus": {
|
|
"name": "Qwen3 Coder Plus",
|
|
"reasoning": false,
|
|
"modalities": { "input": ["text"], "output": ["text"] },
|
|
"limit": { "context": 1000000, "output": 65536 }
|
|
},
|
|
"glm-5": {
|
|
"name": "GLM-5",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text"], "output": ["text"] },
|
|
"limit": { "context": 204800, "output": 131072 }
|
|
},
|
|
"glm-4.7": {
|
|
"name": "GLM-4.7",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text"], "output": ["text"] },
|
|
"limit": { "context": 204800, "output": 131072 }
|
|
},
|
|
"kimi-k2.5": {
|
|
"name": "Kimi K2.5",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
|
|
"limit": { "context": 262144, "output": 262144 }
|
|
},
|
|
"MiniMax-M2.5": {
|
|
"name": "MiniMax-M2.5",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text"], "output": ["text"] },
|
|
"limit": { "context": 204800, "output": 131072 }
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"disabled_providers": ["opencode"]
|
|
}
|