Run API
Unified AI Gateway · 198 Models · Up to 90% Off
About
198 models, 19 providers, Claude/GPT/Gemini/DeepSeek/Grok full coverage, smart routing + wholesale pricing, as low as 10% of official price
💡 Claude Code / Codex:Codex group 10% discount
Supported Models
Anthropic Claude
OpenAI
Google Gemini
DeepSeek
Claude Code / Codex CLI
Codex group 10% discount
Pricing
Rate
10%~70% off
Free Credit
—
Payment
💵 USD
USD billing, 10-70% off official prices. Claude Sonnet 4.6 $0.90/1M (70% off), Codex group 10% discount
Pros & Cons
Pros
- ✓198 models with massive coverage (text/image/video/audio/embedding)
- ✓Claude full series 70% off, Codex group as low as 10%
- ✓Smart routing + wholesale pricing, 50%+ savings vs official
- ✓Supports Claude Code / Codex / LibreChat agent integration
- ✓Edge network + auto-retry for high availability
Cons
- •USD pricing, no RMB payment support
- •Some groups require manual selection, learning curve for beginners
How to Connect Run API
Register Account
Visit https://runapi.co/, complete registration and get API Key
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://runapi.co//v1"
Codex CLI:
export OPENAI_BASE_URL="https://runapi.co//v1"
Gemini CLI:
export GEMINI_BASE_URL="https://runapi.co//v1"
Start Using
Configuration complete. Run Claude Code or Codex CLI to start using. USD billing, 10-70% off official prices. Claude Sonnet 4.6 $0.90/1M (70% off), Codex group 10% discount
Quick Info
Unified AI aggregation gateway, 198 models, 19 providers, smart routing selects optimal upstream, wholesale pricing, edge network for low latency, auto-retry self-healing