Docs/Migrating from OpenRouter
Start

Migrating 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/v1 and use a Utopixel key (sk-vb-...).
  • Model ids use the same author/slug format. Check the model list for what we serve.
  • OpenRouter extensions such as models, provider, HTTP-Referer and X-Title work the same way. plugins (such as web search) and transforms are accepted but ignored. The bill arrives in usage.cost and the utopixel object.