Skip to main content
1

Create an account

Sign up at modelswitch.io/auth/register with your email and password, or use Yandex ID for one-click sign-in.
2

Get an API key

Go to Dashboard → API Keys and click Create key. Your key will start with ms-.
The full key is only shown once at creation. Copy it and store it somewhere safe before closing the dialog.
3

Top up your balance

Go to Dashboard → Billing and add funds to your account. The minimum top-up is 100 rubles. You are only charged for tokens you use — there are no subscriptions or monthly minimums.
4

Send your first request

Use your ms- key in the Authorization header. Set the base URL to https://modelswitch.io/v1 if you’re using an OpenAI SDK.
curl https://modelswitch.io/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer ms-YOUR_KEY" \
  -d '{
    "model": "gpt-4o",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Switch models

To use a different model, change the model parameter. No other code changes needed.
ModelProvider
gpt-4oOpenAI
claude-3-5-sonnet-20241022Anthropic
gemini-2.0-flashGoogle
meta-llama/llama-3.3-70b-instructMeta
Browse all available models with pricing at concepts/models.

Next steps

Authentication

Learn how API keys work and how to manage them securely

Models

Browse 300+ available models with per-token pricing

Billing

Understand how usage is tracked and billed