API Integrations

OpenRouter seamlessly integrates with popular AI frameworks and SDKs. Choose your preferred integration method and get started in minutes.

Why Use OpenRouter?

Unified API

Access multiple AI models through a single, consistent API interface.

Cost Optimization

Automatically route requests to the most cost-effective model for your needs.

High Availability

Built-in failover ensures your applications stay online even during provider outages.

Simple Billing

One invoice for all your AI model usage, with transparent pricing.

Quick Start

Get your API key from the API Keys page and choose an integration method above to begin building with OpenRouter.