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...

Claude Fable 5.1 keeps $10/$50 pricing but cuts cache reads to $0.25/MTok. The three breaking API changes, new betas, an...

GPT Image 2.5 Sunburst and Flare add xhigh and max quality at GPT Image 2 token rates. Model IDs, type-checked code, cos...

OpenAI shuts down whisper-1 and the gpt-4o transcribe models on Feb 26, 2027. Move files to gpt-transcribe ($0.0045/min)...

OpenCode server on Railway: run opencode serve in a container as a password-protected HTTP API with a persistent volume,...

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