How can I create a new custom model variant (e.g., gpt-5-high) that extends an existing model (gpt-5) with different options, without overwriting the original model configuration?
I want to have multiple configurations of the same base model with different options. For example:
gpt-5: Default configuration with medium reasoning effort
gpt-5-high: Same model but with reasoningEffort: "high"
Attempted to add a custom model in ~/.config/opencode/opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"opencode": {
"models": {
"gpt-5-high": {
"options": {
"reasoningEffort": "high",
"textVerbosity": "low",
"reasoningSummary": "auto"
}
}
}
}
}
}
But I'm getting an error: AI_APICallError: Model gpt-5-high not supported
Is it possible to create custom model aliases/variants that extend existing models with different options?
How can I create a new custom model variant (e.g.,
gpt-5-high) that extends an existing model (gpt-5) with different options, without overwriting the original model configuration?I want to have multiple configurations of the same base model with different options. For example:
gpt-5: Default configuration with medium reasoning effortgpt-5-high: Same model but withreasoningEffort: "high"Attempted to add a custom model in
~/.config/opencode/opencode.json:{ "$schema": "https://opencode.ai/config.json", "provider": { "opencode": { "models": { "gpt-5-high": { "options": { "reasoningEffort": "high", "textVerbosity": "low", "reasoningSummary": "auto" } } } } } }But I'm getting an error:
AI_APICallError: Model gpt-5-high not supportedIs it possible to create custom model aliases/variants that extend existing models with different options?