// Switch models, control cost
OpenRouter
Unified API gateway to hundreds of models with pay-as-you-go billing.
Closed / commercial Maintained For agents
IN ONE PARAGRAPH
OpenRouter is unified API gateway to hundreds of models with pay-as-you-go billing.
Good for: Developers who want their agent (Claude Code, Codex, Cursor…) to switch models, control cost.
Not for: teams that require open source or self-hosting.
01How to start
- 1Read the official README / docs for requirements and permissions.
- 2Install it as the official guide describes.
- 3Tell your agent the command exists (e.g. in AGENTS.md / CLAUDE.md) so it knows when to call it.
02Alternatives & comparison
Compare side by side →03Related
- ?How much have Claude Code / Codex used and cost?
- ?Where to find free LLM APIs, and what the conditions are
- ?Are API relays / OpenRouter safe?
- +Model gateway & cost control · Hosted multi-model routing, pay as you go5
- +Low-cost indie developer · 4
- ›Ollama 文档 · OllamaEnglish
- ›handy-ollama 动手学 Ollama · DatawhaleChinese
- ›vLLM 文档 · vLLMEnglish
- ›SGLang 文档 · SGLangEnglish
- ›llama.cpp · ggml-orgEnglish
- All tutorials →
Versions, why it is listed, for AI to read
Popularity evidence (third-party snapshots)
- Monthly visits:21.3M (-3.4% MoM) · AlphaMoat 2026-09
- a16z Top 100 Gen AI Apps (7th ed.):listed · a16z Top 100 Gen AI Consumer Apps — 7th Edition 2026-10-05
For AI agents
- Interfaces:its own app or website
- Machine-readable record:/api/v1/software/openrouter.json · llms.txt
- Added 2026-10-10