What OpenRouter API does
OpenRouter sits between your app and model providers. You buy credits once, create an API key and call https://openrouter.ai/api/v1 with an OpenAI SDK or OpenRouter's own TypeScript, Python and Agent SDKs; changing models is a one-string change to the model slug. Each request is routed to a provider serving that model, with automatic fallbacks when a provider fails, and you can pin, exclude or sort providers by price, throughput or latency, or require a quantization level.
OpenRouter says it bills inference at each provider's list price and does not log prompts or completions by default (request metadata such as model and token counts is logged). It also offers bring-your-own-key (BYOK) for provider accounts you already have, Zero Data Retention routing on every plan, a hosted MCP server for coding assistants, and EU or US in-region routing on Business and Enterprise.
