
One API key for every AI model.
Call GPT, Claude, Gemini, DeepSeek, Seedance, Veo, Kling, Suno and 250+ more through one OpenAI-compatible endpoint. Pay as you go — usually below official list prices, billed only when a request succeeds.
- models
- 250+
- models
- model developers
- 24
- model developers
- avg. below list price
- ~15%
- avg. below list price
- minimum top-up
- $50
- minimum top-up
from openai import OpenAI
client = OpenAI(
base_url="https://openrouterapi.ru/v1",
api_key="YOUR_OPENROUTERAPI_API_KEY",
)
resp = client.chat.completions.create(
model="claude-opus-5-5", # or gpt-6.2-sol, gemini-4-neon, deepseek-v4.1-flash…
messages=[{"role": "user", "content": "Hello from Openrouter API"}],
)
print(resp.choices[0].message.content)Same SDK, new base URL
Works with the OpenAI, Anthropic and Google SDKs, LangChain, LlamaIndex, Vercel AI SDK, Cursor, Cline and any OpenAI-compatible tool.
The models teams ship with, on one bill
Frontier chat models, fast image engines and cinematic video generators — each with a dedicated page covering price, parameters, examples and limits.
gpt-6.2-sol
claude-opus-5-5
gemini-4-neon
deepseek-v4.1-flash
gpt-image-2.6-flare
seedream-5-5
seedance-2.5
MAGI-2
magi-2kling-v4
Veo 3.1
veo3.1-fastsuno
claude-sonnet-5-5
How to call any model in 4 steps
No new SDK to learn. If your code already talks to OpenAI, it already talks to Openrouter API.
- 01
Create an account
Sign in with Google or a one-time email code. Your console is ready instantly — no sales call, no approval queue.
- 02
Top up your balance
Top up from $50 with cryptocurrency. Your balance never expires and is used only for successful requests.
- 03
Create an API key
Generate an sk-ora key in the console. Name keys per project or environment and revoke them at any time.
- 04
Change the base URL
Point your SDK to https://openrouterapi.ru/v1, pick a model id from the directory, and send your first request.
Text, images, video and sound from one gateway
Each modality keeps the request shape developers already know, so switching between models is a model-name change, not a rewrite.

Chat & Text
124 modelsGPT, Claude, Gemini, DeepSeek, Qwen, Grok, Kimi and GLM through one OpenAI-compatible chat endpoint.
POST /v1/chat/completionsExplore Chat models 
Image
61 modelsGPT Image, Nano Banana, Seedream, FLUX, Midjourney, Qwen Image and more for text-to-image and editing.
POST /v1/images/generationsExplore Image models 
Video
62 modelsSeedance, Veo, Kling, Hailuo, Wan, Vidu, PixVerse and Grok Imagine for text- and image-to-video.
POST /v1/videos/generationsExplore Video models 
Audio & Music
5 modelsSuno and Flow Music for songs and stems, Whisper and GPT-4o transcribe for speech-to-text.
POST /v1/music/generationsExplore Audio models Why developers route their AI traffic through Openrouter API
One key, 24 model developers
Stop juggling a dozen vendor accounts, keys, invoices and rate-limit dashboards. One balance covers OpenAI, Anthropic, Google, xAI, DeepSeek, ByteDance, Kuaishou, Alibaba and more.
Below official list prices
Most models are priced below the developer's public list price — on average about 15% lower — and every price is published per model, per resolution and per token type.
Drop-in compatibility
OpenAI Chat Completions and Responses, Anthropic Messages and Gemini generateContent are all supported natively, including streaming, tools and vision inputs.
Pay only for success
Failed or rejected requests are not billed. Token models are metered from real usage; image and video models are billed per successful output.
Switch models in one line
A/B test Claude against GPT, or fall back from Veo to Seedance, by changing the model field. No new contract, no new integration.
No subscription, no expiry
Top up from $50, keep the balance as long as you like, and scale up or down without seat fees or monthly minimums.
Openrouter API vs official list prices
A sample of popular models. Every model page shows the complete rate card, including cached-input, resolution and duration tiers.
| Model | Billing unit | Official list price | Openrouter API price | You save |
|---|---|---|---|---|
| gpt-6.2-sol OpenAI | per 1M tokens (in / out) | $2.00 / $10.00 | $1.76 / $8.80 | −12% |
| claude-opus-5-5 Anthropic | per 1M tokens (in / out) | $4.00 / $20.00 | $3.52 / $17.60 | −12% |
| gemini-4-neon Google | per 1M tokens (in / out) | $3.00 / $15.00 | $2.64 / $13.20 | −12% |
| deepseek-v4.1-flash DeepSeek | per 1M tokens (in / out) | $0.2857 / $1.14 | $0.2514 / $1.01 | −12% |
| gpt-image-2.6-flare OpenAI | per 1M tokens (in / out) | $5.00 / $30.00 | $4.40 / $26.40 | −12% |
| seedream-5-5 ByteDance | per image | $0.032 | $0.0308 | −4% |
| seedance-2.5 ByteDance | per second · 720P | $0.27 | $0.2376 | −12% |
| Veo 3.1 Google | per second · 720P | $0.09375 | $0.0825 | −12% |
| suno Suno | per request · music-v6 | $0.0625 | $0.055 | −12% |
Official prices are the public list prices published by each model's developer for the same unit. Openrouter API prices are in USD and may change; the pricing page is always current.
See all 252 pricesStarting prices by model family
The lowest published rate in each family, so you can budget before you build.
Gemini
From
$0.22 in · $1.32 out per 1M tokens
GPT-5
From
$0.044 in · $0.352 out per 1M tokens
Qwen
From
$0.02514 in · $0.1006 out per 1M tokens
GPT Image
From
≈ $0.005368 per image
Nano Banana
From
$0.0088 per image
Wan
From
$0.0308 per second
Seedance
From
$0.04294 per second
Kling
From
$0.04048 per second
Claude Opus
From
$3.52 in · $17.60 out per 1M tokens
GPT-6
From
$0.088 in · $0.44 out per 1M tokens
Grok
From
$1.10 in · $2.20 out per 1M tokens
FLUX
From
$0.00792 per image
Ready-made for everyday jobs
Popular starting points, each with a model that fits the job and a page that shows exactly how to call it.
Coding agents
Long-context reasoning for code review, refactors and autonomous agents.
claude-opus-5-5$3.52 inCustomer support chat
Fast, low-cost replies with tool calling and JSON output.
gemini-3.8-flash$0.66 inProduct photos
Studio-grade product shots and edits from a prompt and a reference.
gpt-image-2.6-flare$4.40 inMarketing visuals
Posters, banners and social images with crisp text rendering.
seedream-5-5$0.0308 per imageShort-form video ads
Cinematic 5–10 second clips with camera control and native audio.
seedance-2.5$0.2376 per secondImage-to-video
Animate a still into a smooth shot with first/last-frame control.
kling-v4$0.154 per secondBackground music
Full songs or instrumentals for videos, games and podcasts.
suno$0.055 per requestBulk reasoning on a budget
Strong reasoning at a fraction of frontier-model prices.
deepseek-v4-pro$1.13 inThe plumbing you would otherwise build yourself
Streaming everywhere
Server-sent events pass straight through with low added latency, for chat completions, Responses and Claude Messages alike.
Async task API
Image, video and music jobs return a task_id. Poll one unified endpoint for status, progress and result URLs.
Usage you can audit
Every call gets a request id. The console shows tokens, units and cost per request, per key and per day.
Keys per environment
Create separate keys for development, staging and production, track last use, and revoke a leaked key in one click.
Standard error codes
401, 402, 429 and 5xx responses follow the OpenAI error shape, so existing retry and backoff logic keeps working.
HTTPS access
Send encrypted requests to https://openrouterapi.ru/v1. The gateway supports CORS for browser applications.
Your prompts are yours
Openrouter API is built to process requests, not to collect data. We keep only what is needed to bill you and to debug your requests.
No training on your data
We do not use prompts or outputs to train models. The gateway sends the data needed to run your request to the model provider.
Metadata, not content
Usage logs store the model, endpoint, status, token counts and cost — not the text of your prompts or completions.
Hashed credentials
API keys are stored as SHA-256 hashes and shown in full only once, at creation time.
Model usage policies apply
Each model is subject to the usage and safety policies published by its developer. See the model page and our Acceptable Use Policy for details.
Jump straight to the part you need
Quickstart
First request in under five minutes with cURL, Python or Node.js.
Chat completions
The OpenAI-compatible endpoint for every chat model.
Claude Messages
Native Anthropic format with extended thinking and caching.
Image generation
Submit prompts, poll tasks, fetch image URLs.
Video generation
Text- and image-to-video with Seedance, Veo and Kling.
Task status
One endpoint to poll every async job.
Limitations, stated plainly
We would rather you know these before you integrate.
- 01Models are developed by their respective companies. Model availability, latency and content policies can change, and models may be updated or retired over time.
- 02Image, video and music generation is asynchronous. Plan for polling or background jobs; results can take from seconds to several minutes.
- 03Generated media URLs are temporary. Download and store results you want to keep.
- 04Prices for image and video models depend on parameters such as resolution and duration. The final charge follows the parameters you send.
- 05Balance is prepaid in USD. There is no post-paid invoicing or credit line at this time.
- 06We do not offer an uptime SLA on the self-serve plan. Build retries and fallbacks for critical paths.
Frequently asked questions
What is Openrouter API?
Openrouter API is an AI API gateway. It gives you one API key and one OpenAI-compatible base URL for more than 250 models from 24 AI developers, including GPT, Claude, Gemini, DeepSeek, Qwen, Grok, Seedance, Veo, Kling and Suno. You prepay a balance and are billed per request at published per-model prices.
Is Openrouter API compatible with the OpenAI SDK?
Yes. Set the base URL to https://openrouterapi.ru/v1 and use your Openrouter API key as the API key. Chat Completions, Responses, Embeddings, Images and audio transcription follow the OpenAI request and response formats.
Can I use the Anthropic or Google SDKs?
Yes. Claude models accept the native Anthropic Messages API at /v1/messages, and Gemini models accept the native generateContent API at /v1beta/models/{model}:generateContent. Point the SDK's base URL to openrouterapi.ru and use your Openrouter API key.
How is pricing calculated?
Chat models are billed per million input and output tokens using the token usage reported in each API response, with cached-input discounts where available. Image models are billed per image by resolution tier, video models per second of output, and music per request. Every price is listed on the pricing page and on each model page.
Why are your prices lower than the official ones?
Openrouter API runs a high-volume, highly optimized gateway and adds only a thin margin. On average our listed prices are about 15% below the developers' public list prices; the exact difference varies by model and is shown on every model page.
What is the minimum top-up?
The minimum top-up is $50. Your balance does not expire and is only reduced by successful requests.
Am I charged for failed requests?
No. Requests that fail with an error, are rejected by content moderation or never produce an output are not billed.
Do you store my prompts or train on them?
No. We do not train on your data. Usage logs contain metadata such as model, token counts, status and cost so you can audit spending; the content of prompts and responses is not kept in those logs.
How do async image and video tasks work?
The generation endpoint returns a task_id immediately. Poll GET /v1/tasks/{task_id} every few seconds until the status is completed, then download the result URLs. The docs include ready-made polling examples.
Are there rate limits?
Limits depend on the model. If you exceed them you will receive a 429 response in the OpenAI error format; retry with exponential backoff. Contact support if you need sustained high throughput.
Which payment methods are supported?
Crypto top-ups are processed by NOWPayments. Select one of the currencies and networks shown on your invoice and send the exact amount. All top-ups are non-refundable.
Are top-ups refundable?
No. All top-ups are final and non-refundable, and unused balance cannot be refunded or exchanged for cash, so we recommend starting with the minimum top-up. Requests that fail are never charged, and charges for failed async tasks are returned to your API balance automatically. See our Refund Policy for details.
One key. Every model. Start shipping today.
Create an account, top up from $50, and point your existing OpenAI, Anthropic or Gemini SDK at Openrouter API. No subscriptions, no seat fees, no idle charges.