Skip to main content
ModelSwitch is an AI API gateway that gives you access to GPT-4o, Claude, Gemini, Llama, Mistral, DeepSeek, and 300+ other models through a single OpenAI-compatible endpoint. Change one line of code and switch between any provider.

Quick Start

Make your first API call in under 5 minutes

Authentication

Get your API key and authenticate requests

API Reference

Full reference for all endpoints and parameters

Models

Browse 300+ available models with pricing

How it works

1

Create an account

Sign up at modelswitch.io with your email or Yandex ID.
2

Get an API key

Go to Dashboard → API Keys and create your first key. It starts with ms-.
3

Top up your balance

Add funds to your account. You pay only for tokens you use — no monthly minimums.
4

Send your first request

Point any OpenAI SDK to https://modelswitch.io/v1 and use your ms- key. Done.

Key features

300+ Models

OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek, and more — all through one API

OpenAI Compatible

Drop-in replacement for the OpenAI API. Change base_url, keep everything else

Pay-as-you-go

Charged per token. Full per-request breakdown in your dashboard

Legal Documents

Invoices, acts, and UPD documents for Russian legal entities (ООО, ИП)

Usage Analytics

Real-time spend tracking by model and API key

Auto Top-up

Set up recurring balance top-ups so you never run out mid-project