Token Factory API: Lowercase model IDs
In the Token Factory API, the model selector should be able to be specified as lowercase.
For example:
Required today: {"model":"Qwen/Qwen3-Coder-480B-A35B-Instruct", … }
Wanted: {"model":"qwen/qwen3-coder-480b-a35b-instruct", … }
Why? Currently, OpenCode does not work with any Nebius model, even if OpenCode have a built-in integration with Nebius. Nothing works. Any request says “Not found”, and that is an error from your API because they (mistakenly) force lowercase on all model IDs.
If I edit the OpenCode config file and Pascal Case the Nebius model IDs, then your API accepts it. This is also easy to test with curl.
This is really an OpenCode issue, but maybe you could also edit your API and allow lowercased IDs, for us developers (customers) sake 🙏
Regards, Christoffer
Log in to comment and vote
Comments5
micu voilà
Feb 13
Note: I created A PR to fix the issue:
https://github.com/anomalyco/models.dev/pull/903
micu voilà
Feb 13
merged!
micu voilà
Feb 10
Super annoying indeed (although 1st and foremost an opencode issue as it seems: https://github.com/anomalyco/opencode/issues/12461)
Its a bummer we can’t used Nebius TF models out of the box in OpenCode!
Antony Novitsky
Feb 7
the same issue
uninjured2875
Jan 15
The problem on OpenCodes side is that Models.dev (their model repository) lists Nebius models as lowercase.
In their GitHub repo you can see that all Nebius models have lowercase filenames:
https://github.com/anomalyco/models.dev/tree/dev/providers/nebius/models/qwen
compare this to another provider:
https://github.com/anomalyco/models.dev/tree/dev/providers/siliconflow/models/Qwen