OpenRouter gateway details

A multi-model routing platform for developers; switch models by changing the base_url with the OpenAI SDK, ideal for teams comparing the quality and price of many models at once.

Small amounts
Trial first

Overview

A multi-model routing platform for developers; switch models by changing the base_url with the OpenAI SDK, ideal for teams comparing the quality and price of many models at once.

Best for: For developers who need unified access to major overseas models, model routing, and cost comparison.

Availability and latency

Current status
Reachable
Latency reference
820 ms
/models check
/models supported
Last verified
2026-07-01
Status notes
Docs, model catalog, and pricing page are fairly complete; a good candidate for multi-model routing.

Supported models

OpenAIClaudeGeminiDeepSeekGrokQwenMoonshotFluxEmbedding

Pricing and multipliers

Pricing mode
Billed per model and provider; some models offer free routing or free quota.
Price tags
Standard price, Pay-as-you-go
Free quota
Some free models; actual usable quota depends on your console.

Payment methods

Credit cardStripeFree trial

How to call the API

Usually you create an API key in the platform console, then replace the SDK's baseURL, model name, and auth details per the docs. Test streaming, function calling, error codes, and rate limits before launch.

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.AI_GATEWAY_API_KEY,
  baseURL: "see the platform docs"
});

const response = await client.chat.completions.create({
  model: "gpt-4.1-mini",
  messages: [{ role: "user", content: "Test one call through an AI gateway." }]
});

Pros

  • Supported models: OpenAI, Claude, Gemini, DeepSeek, Grok, Qwen, Moonshot, Flux and more.
  • Capabilities: OpenAI-compatible, Streaming, Function calling, Image generation, Embeddings, Balance query.
  • Documentation completeness: High; editorial stability score 4.5 / 5.

Cons

  • Verify cross-border access and billing rules yourself; for production, set budgets, rate limits, and log redaction.
  • Third-party relay pricing, models, and availability can change, so re-check them periodically.

Alternatives

Vercel AI Gateway

Details
Cloud vendorHigh stability

Vercel's official AI Gateway, emphasizing unified model calls, failover, caching, and observability; ideal for apps already deployed on Vercel.

Models
OpenAI, Claude, Gemini, DeepSeek, Grok, Qwen and more
Payment
Credit card, Free trial
Price
Settled via your Vercel account and model usage; the docs stress the gateway itself adds no markup.

302.AI

Details
Aggregator

A tool and API aggregation platform covering text, image, video, and audio AI capabilities; ideal for individuals and small teams wanting one-stop access to many models.

Models
OpenAI, Claude, Gemini, DeepSeek, Grok, Qwen and more
Payment
Credit card, Free trial
Price
Billed per tool or model usage; the site lists separate prices per model.

OhMyGPT

Details
AggregatorPrepaidLow cost

A common API relay service among Chinese users; the site highlights aggregation of OpenAI, Claude, and Gemini plus multiple top-up methods.

Models
OpenAI, Claude, Gemini, DeepSeek, Grok, Qwen and more
Payment
Alipay, WeChat, USDT, PayPal, Stripe, Free trial
Price
Pay-as-you-go after top-up; the site lists per-model token prices.

SiliconFlow

Details
AggregatorLow cost

A China-based model API platform offering DeepSeek, Qwen, image, speech, and vector capabilities; ideal for developers who prioritize domestic models and low-latency nodes.

Models
DeepSeek, Qwen, Moonshot, Flux, Embedding, TTS and more
Payment
Credit card, Free trial
Price
Billed per model and token usage; some models have free or low-cost tiers.

FAQ

Is OpenRouter compatible with the OpenAI API?
This entry is marked as supporting the OpenAI-compatible format, but the exact base_url, model names, and parameters still follow the official docs.
Is OpenRouter ready for production?
Run a small-traffic load test, rate-limit test, and error-code test first, and confirm the billing rules; keep a backup provider for important workloads.

Risk

Risk notice

This site only organizes information about AI API relay services; it makes no guarantee about third-party platforms' stability, price, data security, or availability. Judge the risk yourself before use, and avoid uploading sensitive data, personal privacy, trade secrets, or core API keys to unknown platforms.