You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"data": {
"error": {
"message": "The requested model is not supported.",
"type": "invalid_request_error",
"param": "model",
"code": "model_not_supported"
}
}
Got this issue with Opencode Web and using GLM 5, but discovered that renaming uses GPT 5-nano (free with Zen), but when providing own OpenAI API Key in Zen settings and insufficient funds, this is what I see in logs, when running "opencode run --print-logs hi":
ERROR 2026-02-13T10:18:48 +1143ms service=llm providerID=opencode modelID=gpt-5-nano sessionID=ses_3a97d6100ffe6k1msy10u0To3H small=true agent=title mode=primary error={"error":{"type":"error","sequence_number":2,"error":{"type":"insufficient_quota","code":"insufficient_quota","message":"You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.","param":null}}} stream error
Removing the OpenAI key or adding funds fixes this issue.
Activity
github-actions commentedon Jan 9, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
adrians5j commentedon Jan 9, 2026
I don't know... I have this version and it still doesn't work 🤷🏻
P.S. I created this issue while running 1.1.8, but saw 1.1.9 was out so I upgraded. The issue was still there unfortunately. :|
m10rten commentedon Jan 10, 2026
I did notice this same behaviour when having the small_model configured, without it works fine.
adrians5j commentedon Jan 12, 2026
Using the
/renamecommand for now 🙂 !(just discovered it 🤦🏻 )
goniz commentedon Jan 12, 2026
The session naming works by using the small model.
If it’s configured to some model that does not work in your setup this explains it.
Are you using Zen? If so, make sure you didn’t disable the “gpt-5-nano” model in the dashboard. It will break the session naming as well.
adrians5j commentedon Jan 12, 2026
Ah.... I'm actually using Github Copilot with Sonnet 4.5. I'll check the config a bit (although I did not do any configurations).
goniz commentedon Jan 12, 2026
Try running
opencode run --print-logs hiand attach the outputadrians5j commentedon Jan 12, 2026
Did not know I could get some logs this way.
In any case, found it!
Gonna try changing the small model then.
adrians5j commentedon Jan 12, 2026
Works!
It was a bit tricky to get the correct small_model identifier in opencode.json. But I think I've gotten the hang of it now.
As far as I'm concerned, we can close this one now! :)
goniz commentedon Jan 12, 2026
Good!
You can always use
opencode modelswhich prints the correct model ids!adrians5j commentedon Jan 12, 2026
You rock man, did not know this, also helped a ton!
❤️ ❤️ ❤️
EgilSandfeld commentedon Feb 13, 2026
Got this issue with Opencode Web and using GLM 5, but discovered that renaming uses GPT 5-nano (free with Zen), but when providing own OpenAI API Key in Zen settings and insufficient funds, this is what I see in logs, when running "opencode run --print-logs hi":
ERROR 2026-02-13T10:18:48 +1143ms service=llm providerID=opencode modelID=gpt-5-nano sessionID=ses_3a97d6100ffe6k1msy10u0To3H small=true agent=title mode=primary error={"error":{"type":"error","sequence_number":2,"error":{"type":"insufficient_quota","code":"insufficient_quota","message":"You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.","param":null}}} stream error
Removing the OpenAI key or adding funds fixes this issue.