1
0
forked from agents/opencode
Files
opencode-config/opencode.jsonc

66 lines
1.8 KiB
JSON

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