Unified API for hundreds of models. One API key, one billing dashboard. OpenAI, Anthropic, Google, Meta, Mistral, and more. Automatic fallbacks and load balancing.
OpenRouter gives you a single API endpoint to access every major AI model - OpenAI (GPT), Anthropic (Claude), Google (Gemini), Meta (Llama), Mistral, and hundreds more. One API key, unified billing, automatic fallbacks if a provider is down. It's essential for comparing models without managing multiple API keys and billing accounts. I use it when I need to quickly swap between models for testing or when building apps that should work across providers.
Last verified
npm install @openrouter/sdkpip install openrouternpm install @openrouter/agentSources: OpenRouter pricing, OpenRouter quickstart, OpenRouter blog, OpenRouter is joining Stripe
Anthropic's model family. As of October 2026: Opus 5.5 as the default, Fable 5.1 for the hardest long-horizon work, Sonnet 5.5 for speed, Haiku 5.5 for cost. 1M context. Max from $100/mo.
OpenAI's chat app. As of October 2026 Free and Go run GPT-6 Luna; Plus ($20/mo) adds GPT-6.1 Sol and GPT-6 Astra. Agent mode, Codex, image generation, code interpreter.
Chinese lab shipping open-weight MoE models. The V4 family (previewed April 24, 2026) runs a 1M context on DeepSeek's API; R1 (2025) popularized open reasoning models. Low-cost API.
Meta's open-weight model family. Llama 4, released April 5, 2025, comes in Scout (109B total, 17B active) and Maverick (400B total, 17B active). Commercial use under the Llama license.
Unified API for hundreds of models. One API key, one billing dashboard. OpenAI, Anthropic, Google, Meta, Mistral, and more. Automatic fallbacks and load balancing.
Try OpenRouterHonest takes on AI dev tools, frameworks, and infrastructure - delivered to your inbox.
Subscribe FreeAnthropic's model family. As of October 2026: Opus 5.5 as the default, Fable 5.1 for the hardest long-horizon work, Sonnet 5.5 for speed, Haiku 5.5 for cost. 1M context. Max from $100/mo.
OpenAI's chat app. As of October 2026 Free and Go run GPT-6 Luna; Plus ($20/mo) adds GPT-6.1 Sol and GPT-6 Astra. Agent mode, Codex, image generation, code interpreter.
Chinese lab shipping open-weight MoE models. The V4 family (previewed April 24, 2026) runs a 1M context on DeepSeek's API; R1 (2025) popularized open reasoning models. Low-cost API.
Install Ollama and LM Studio, pull your first model, and run AI locally for coding, chat, and automation - with zero cloud dependency.
Getting StartedUse opus, sonnet, haiku, and best to switch models easily.
Claude CodeAdd gateway or custom models to the picker via environment variables.
Claude Code
GitHub Models is retired as of July 30, 2026 - the playground, inference API and BYOK are gone. The shutdown timeline an...

Mercury 2 developer guide: the OpenAI-compatible API, tool use, structured outputs, reasoning levels, and when a diffusi...

Muse Ember lists at $0.10 in and $0.50 out per million tokens, the same sticker as Haiku 5.5 and GPT-6 Luna. Here is wha...

Claude Fable 5.2 costs $8/$40 per MTok, down from $10/$50, but enforces the prefix check on every account. The four brea...

Which embedding model to use in 2026: 20+ API and open-weight models compared on price per 1M tokens, dimensions, max in...

Caching a shared prompt cut our worked example by about 78-80% on four models; batch takes 50% off at most providers but...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.