Files
opencode/opencode.jsonc
T

59 lines
1.7 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"plugin": ["oh-my-opencode@latest"],
"autoupdate": false,
"model": "openai/gpt-5.4",
"small_model": "ai-gateway/minimax-m2.5",
"provider": {
"openai": {
"npm": "@ai-sdk/openai",
"options": {
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1",
"apiKey": "{env:AI_GATEWAY_API_KEY}"
},
"models": {
"gpt-5.4": {
"name": "GPT-5.4",
"reasoning": true,
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
"limit": { "context": 1050000, "input": 922000, "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.4-mini": {
"name": "GPT-5.4 mini",
"reasoning": true,
"modalities": { "input": ["text", "image"], "output": ["text"] },
"limit": { "context": 400000, "input": 272000, "output": 128000 }
}
}
},
"ai-gateway": {
"name": "AI Gateway",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1",
"apiKey": "{env:AI_GATEWAY_API_KEY}"
},
"models": {
"minimax-m2.5": {
"name": "MiniMax M2.5",
"reasoning": true,
"modalities": { "input": ["text"], "output": ["text"] },
"limit": { "context": 204800, "output": 131072 }
}
}
}
},
"permission": {
"*": "allow"
},
"experimental": {
"disable_paste_summary": true
}
}