Description
When extending a built-in model the session cost does not update.
e.g. Using the example from the docs:
https://opencode.ai/docs/models/#configure-models
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"opencode": {
"models": {
"gpt-5-high": {
"id": "gpt-5",
"options": {
"reasoningEffort": "high",
"textVerbosity": "low",
"reasoningSummary": "auto",
},
},
"gpt-5-low": {
"id": "gpt-5",
"options": {
"reasoningEffort": "low",
"textVerbosity": "low",
"reasoningSummary": "auto",
},
},
},
},
},
}
Using gpt-5-high the cost is always 0.
Using gpt-5 the cost updates as expected.
Description
When extending a built-in model the session cost does not update.
e.g. Using the example from the docs:
https://opencode.ai/docs/models/#configure-models
{ "$schema": "https://opencode.ai/config.json", "provider": { "opencode": { "models": { "gpt-5-high": { "id": "gpt-5", "options": { "reasoningEffort": "high", "textVerbosity": "low", "reasoningSummary": "auto", }, }, "gpt-5-low": { "id": "gpt-5", "options": { "reasoningEffort": "low", "textVerbosity": "low", "reasoningSummary": "auto", }, }, }, }, }, }Using
gpt-5-highthe cost is always 0.Using
gpt-5the cost updates as expected.