Docs/Migrating from OpenRouter
StartMigrating from OpenRouter
Move OpenRouter code to Utopixel by changing the base URL and key. Model ids, models, provider and attribution headers work the same way.
The Utopixel API follows OpenRouter's request and response shapes, so most OpenRouter code works as is.
- Change the base URL to
https://utopixel.online/api/v1and use a Utopixel key (sk-vb-...). - Model ids use the same
author/slugformat. Check the model list for what we serve. - OpenRouter extensions such as
models,provider,HTTP-RefererandX-Titlework the same way.plugins(such as web search) andtransformsare accepted but ignored. The bill arrives inusage.costand theutopixelobject.