OpenRouter

OpenRouter

Universal Model Router · Global & China Models · Direct from Source

All ModelsClaudeGPTGeminiChina ModelsGlobal Models

About

Universal model aggregation platform, all mainstream global and China models, direct from source. Supports Claude, GPT, Gemini, and all China models. 5% above official pricing but unified interface and full model coverage

💡 Claude Code / Codex:Codex CLI supported, through OpenRouter unified interface

Supported Models

🤖

Anthropic Claude

Claude Opus seriesClaude Sonnet seriesClaude Haiku series
🔮

OpenAI

GPT seriesGPT seriesmini
✨

Google Gemini

Gemini series
⚡

Claude Code / Codex CLI

Codex CLI supported, through OpenRouter unified interface

Pricing

Rate

Official price + 5%

Free Credit

New users may have limited trial credit

Payment

💵 USD

5% service fee on top of official model pricing, no hidden fees, transparent pricing

Pros & Cons

Pros

  • ✓Full model coverage, global and China models one-stop access
  • ✓Direct from source, model quality guaranteed
  • ✓Unified API interface, reduces multi-platform integration cost
  • ✓Claude Code, Codex CLI, Gemini CLI supported
  • ✓Team sharing supported
  • ✓Transparent pricing, only 5% service fee

Cons

  • •5% above official pricing
  • •VPN required for access
  • •CNY payment not supported
  • •Invoice not supported
  • •China access may be unstable

How to Connect OpenRouter

1

Register Account

Visit https://openrouter.ai, complete registration and get API Key

2

Configure Environment Variables

The following API endpoints are for reference. For complete configuration, please refer to the official website.

Claude Code:

export ANTHROPIC_BASE_URL="https://openrouter.ai/api/v1"

Codex CLI:

export OPENAI_BASE_URL="https://openrouter.ai/api/v1"

Gemini CLI:

export GEMINI_BASE_URL="https://openrouter.ai/api/v1"
3

Start Using

Configuration complete. Run Claude Code or Codex CLI to start using. 5% service fee on top of official model pricing, no hidden fees, transparent pricing

Visit OpenRouter

No affiliate link

4.2
Rating

Quick Info

Best For
Developers needing multi-model comparison testingUsers pursuing unified interface for simplified integrationUsers needing global and China models one-stop accessEnterprise users with high model quality requirements
API Type

Third-party model aggregation platform, unified API interface for global AI models, direct from source

Features

✓📊 Dashboard
✓👥 Team Sharing

Models

Claude 系列
OpenAI GPT 系列
Google Gemini 系列