Back to home

Guide

Model Access

Virouter exposes a configured allowlist of OpenAI and Anthropic models. OpenAI-compatible SDKs use https://api.virouter.com/v1; Claude Max / Claude Code uses https://api.virouter.com for Anthropic Messages requests.

Available models

Model idProviderNotes
gpt-5.5OpenAIFlagship general-purpose model. Best for product features that need higher reasoning quality.
gpt-5.4OpenAICost-efficient OpenAI tier for high-volume use cases that do not need the flagship.
claude-sonnet-4-6AnthropicAnthropic Sonnet 4.6 — strong tool-use and long-context behavior with predictable formatting.

Requests with model ids outside the allowlist return 400 before the gateway forwards the request, so you do not get charged for blocked models.

Switching models

Change the model field in your request body. For OpenAI-compatible chat completions, the base URL, auth header, and JSON shape stay the same — Virouter handles routing to the right upstream provider. Claude Max / Claude Code keys must use https://api.virouter.com.

// Same client, two providers.
await client.chat.completions.create({
  model: "gpt-5.5",
  messages,
});

await client.chat.completions.create({
  model: "claude-sonnet-4-6",
  messages,
});

Need a model that is not listed?

New providers or models can be added to the allowlist on request. Reach out from the Support page with the model id and a short description of your use case.