{ "title": "OpenRouter", "content": "OpenRouter provides a **unified API** that routes requests to many models behind a single\nendpoint and API key. It is OpenAI-compatible, so most OpenAI SDKs work by switching the base URL.\n\n* Model refs are `openrouter//`.\n* For more model/provider options, see [/concepts/model-providers](/concepts/model-providers).\n* OpenRouter uses a Bearer token with your API key under the hood.", "code_samples": [ { "code": "## Config snippet", "language": "unknown" } ], "headings": [ { "level": "h2", "text": "CLI setup", "id": "cli-setup" }, { "level": "h2", "text": "Config snippet", "id": "config-snippet" }, { "level": "h2", "text": "Notes", "id": "notes" } ], "url": "llms-txt#openrouter", "links": [] }