Search across all documentation pages
9 pages in this section.
Explains OpenRouter's role as an OpenAI-compatible gateway routing requests across every major model provider.
Learn OpenRouter API fundamentals with 8 Python examples. Authenticate, call chat completions, swap models, inspect metadata, and handle errors.
Learn how OpenRouter's Unified API normalizes diverse provider formats into one OpenAI-compatible contract, ensuring stable agent code.
Compare OpenRouter and direct provider API integrations for AI models. Evaluate based on integration cost, uptime, compliance, and model needs.
Understand OpenRouter's credit and billing model, including prepaid credits, BYOK free request thresholds, and credit purchase fees.
Explore OpenRouter's free model variants, understand their rate limits per minute and day, and learn best practices for using them in development.
Evaluate if OpenRouter fits your project. Learn ten best practices for adopting OpenRouter without cost, privacy, or reliability issues.