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

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

💡 Feature request

Tags

Network

Date

About 2 months ago

Author

uninjured2875

Subscribe to post

Get notified by email when there are changes.