Migrate from OpenRouter
Swap base URL, key, and model IDs to move to Vichar.
Change three things:
- Base URL:
https://openrouter.ai/api/v1becomeshttps://api.vichar.io/v1. - API key: replace your OpenRouter key with a
vichar_*key. - Model IDs: OpenRouter
provider/modelIDs map tovichar-*IDs. Find the equivalent on vichar.io/models (for examplevichar-sonnet-5.5).
Everything else (chat completions shape, streaming, tools, response_format) works the same. Vichar does not expose :free variants; experimental catalogue entries are marked free in GET /v1/models.
How is this guide?