Requestly
OpenRouter logo

OpenRouter API

Access multiple AI models from OpenAI, Anthropic, Google, Meta, and more through a unified API with competitive pricing and automatic routing.

Verified
2026-02-03

At a glance

Essential information

Category
ai
Authentication
api_key
Free tier
Available
Starting from$0.02/M tokens

About

OpenRouter provides a unified gateway to access over 100 AI models from providers like OpenAI, Anthropic, Google, Meta, and open-source models. Get competitive pricing, automatic fallback, and model routing through a single OpenAI-compatible API.

What you can build

  • Multi-model AI applications with fallback
  • Cost-optimized AI services
  • Model comparison and benchmarking tools
  • AI assistants with model selection
  • Applications requiring model diversity
  • Prototype with multiple models easily
  • Production apps with automatic failover
  • Budget-conscious AI products
Free tierYes
Starting from$0.02/M tokens
NotesPay-per-use with credits. Pricing varies by model. Some models offer free tier. Supports model fallback and cost optimization.

Last updated: 2026-02-03. Please refer to the official pricing page as pricing may have changed.

Alternatives

Similar APIs you might consider

Authentication & Limits

View Docs
Auth type
api_key
Rate limits
Based on account credits and selected model; generous limits.

Steps to get API key

  1. 1Sign up at openrouter.ai
  2. 2Add credits to account (some free models available)
  3. 3Navigate to Keys section
  4. 4Generate new API key
  5. 5Use key in Authorization header as Bearer token

FAQ

Unified API for 100+ models from multiple providers. Single integration, automatic fallback, and often lower prices than direct access.
Requestly

Testing APIs?

Use Requestly's lightweight & local API Client