OpenRouter is a unified API gateway for large language models. It exposes a single OpenAI-compatible endpoint that routes requests to Anthropic, OpenAI, Google, Mistral, Meta, DeepSeek, Groq, Together, DeepInfra and dozens of other providers, picking among them by cost, latency or availability.
You pay OpenRouter per token at roughly the underlying provider cost plus a small margin, and in return you get fallbacks, A/B routing, provider preferences and a single invoice instead of eight. The service is popular with teams that want to experiment across models cheaply, with agent frameworks that want provider abstraction, and with production applications that need failover when one vendor has a bad afternoon.