Installation
Environment Setup
Quick Start
OpenRouter model names follow the patternopenrouter/<provider>/<model>:
Popular Model Names
Browse the full catalog for hundreds more.
Tool Use
Tools work on OpenRouter for any underlying model that supports function calling:Streaming
A/B Testing Models
Because every model is available through the same key, OpenRouter is ideal for running side-by-side comparisons:Provider Routing
OpenRouter automatically routes between provider hosts for the same model. You can pin to a specific provider or let OpenRouter pick the cheapest/fastest:Production Defaults
Next Steps
- Building Agents with Anthropic — direct Anthropic integration
- Building Agents with OpenAI — direct OpenAI integration
- Model Providers Overview