Files
opencode-config/opencode.jsonc

59 lines
1.6 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"autoupdate": false,
"theme": "system",
"model": "cpa-openai/gpt-5.3-codex",
"small_model": "opencode/gpt-5-nano",
"plugin": ["oh-my-opencode@latest"],
"provider": {
// ref: https://models.dev/
"cpa-openai": {
"name": "CPA OpenAI",
"npm": "@ai-sdk/openai",
"options": {
"baseURL": "https://cpa.furtherverse.com/v1",
"apiKey": "{env:CPA_API_KEY}",
"setCacheKey": true
},
"models": {
"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.2": {
"name": "GPT-5.2",
"reasoning": true,
"modalities": {
"input": ["text", "image"],
"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 }
},
"glm-4.7": {
"name": "GLM-4.7",
"reasoning": true,
"modalities": {
"input": ["text"],
"output": ["text"]
},
"limit": { "context": 204800, "output": 131072 }
}
}
}
}
}