OpenRouter docs
Build on OpenRouter. The product API is /api/v1 — identity (/api/v1/auth/*), credits (/api/v1/credits), keys (/api/v1/key, /api/v1/keys), BYOK (/api/v1/byok), privacy settings (/api/v1/settings/privacy), the models catalog (/api/v1/models, providers, collections, discover), chat completions (/api/v1/chat/completions), generation metadata (/api/v1/generation), and responses (/api/v1/responses) are live. Chat completions can stream when the body includes stream: true.
This site is the five-product developer hub. Generated gRPC, CLI, and MCP pages stay in the sidebar.
| Product | What you can do |
|---|---|
| Docs | Guides for /api/v1. Start here. |
| API Reference | OpenAPI / Redoc for every published path. |
| Client SDKs | TypeScript, Python, and Go clients. |
| Agent SDK | TypeScript @openrouter/agent over Responses. |
| Cookbook | Working recipes for shipped APIs. |