Use 293 AI models with one API key
Native OpenAI, Anthropic and Gemini APIs. Point Claude Code or Codex at a new base URL and go. With TEE proof on, you can check which provider handled your requests.
Newly added
The latest models to go live.
- Image output
- $4.015per 1M tokens
- Context
- 32K
- Max output
- —
- Capability
- —
AcceptsTextImageReturnsImageImage generationMiniMax's open-weight image model for text-to-image and editing with up to 16 reference images, at up to 4K.
- -10%
- Input
- $1.80list $2.00
- Output
- $9.00list $10.00
- Context
- 1M
- Max output
- 66K
- Capability
- 170
AcceptsTextImageAudioVideoPDFGoogle's frontier Gemini 4 model for the hardest reasoning, coding, and security work.
- Input
- from $8.80
- Output
- from $44.00
- Context
- 1M
- Max output
- 128K
- Capability
- 173
AcceptsTextImagePDFAnthropic's most capable widely released model for demanding reasoning and long-horizon agentic work: agent sessions that run for hours, multistep deep research, and analysis carried through to a finished document.
- Input
- $0.11
- Output
- $0.55
- Context
- 1M
- Max output
- 524K
- Capability
- —
AcceptsTextMeta's smallest and most efficient Muse reasoning model, with a 1M-token context window.
Strongest from each lab
Each lab’s highest-scoring model on Epoch AI’s ECI, strongest first.
Claude Fable 5.2
#1Ranked 1 by capability- Input
- from $8.80
- Output
- from $44.00
- Context
- 1M
- Max output
- 128K
- Capability
- 173
AcceptsTextImagePDFAnthropic's most capable widely released model for demanding reasoning and long-horizon agentic work: agent sessions that run for hours, multistep deep research, and analysis carried through to a finished document.
Gemini 4 Carbon
#2Ranked 2 by capability-10%- Input
- $1.80list $2.00
- Output
- $9.00list $10.00
- Context
- 1M
- Max output
- 66K
- Capability
- 170
AcceptsTextImageAudioVideoPDFGoogle's frontier Gemini 4 model for the hardest reasoning, coding, and security work.
GPT-6 Astra
#3Ranked 3 by capability-10%- Input
- from $9.00list $10.00
- Output
- from $45.00list $50.00
- Context
- 1.1M
- Max output
- 128K
- Capability
- 169
AcceptsTextImagePDFOpenAI's most capable model, built for the hardest end-to-end work: complex reasoning, coding, computer use, research, and document creation.
Kimi K3.1 Pro
#15Ranked 15 by capability- Input
- $2.0878
- Output
- $10.9208
- Context
- 1M
- Max output
- 1M
- Capability
- 161
AcceptsTextImageVideoMoonshot AI's flagship 3T-class open-weight model with 1M context, strong coding, 3D creation, and financial research.
Cheapest LLM APIs
Paid models by price per 1M tokens, lowest first.
| Model | Input | Output | Context | Capability |
|---|---|---|---|---|
GLM-4.6V-FlashXZ.ai | $0.024092 | $0.2409 | 128K | — |
Doubao Seed 2.0 Mini (260428)ByteDance | $0.0292 | $0.292 | 262K | — |
Command R7B (12-2024)cohere | $0.041252 | $0.165 | 128K | — |
Tencent Hy-MT2-LiteTencent | $0.0438 | $0.1752 | 8K | — |
Voxtral Mini 3B 2507mistral | $0.044 | $0.044 | 128K | — |
Longest context window models
Largest context window first.
| Model | Context | Input / Output | Capability |
|---|---|---|---|
| 2M | $1.375 / $2.75 | — | |
| 2M | $1.375 / $2.75 | — | |
| 2M | $1.375 / $2.75 | — | |
GPT-6.1 Terra-10%OpenAI | 1.1M | $0.90 / $4.50 | 168 |
GPT-6.1 Sol-10%OpenAI | 1.1M | $1.80 / $9.00 | 168 |
Cheapest vision models
Models that read images, by price per 1M tokens.
| Model | Input | Output | Context | Capability |
|---|---|---|---|---|
GLM-4.6V-FlashXZ.ai | $0.024092 | $0.2409 | 128K | — |
Doubao Seed 2.0 Mini (260428)ByteDance | $0.0292 | $0.292 | 262K | — |
Gemma 3 4B ITGoogle | $0.044 | $0.088 | 128K | — |
GPT-5 Nano-10%OpenAI | $0.045 | $0.36 | 400K | 139 |
DeepSeek V4.1 Flash 1017-55%DeepSeek | $0.0657 | $0.2628 | 1M | 159 |
Cheaper than official prices
Why OhMyGPT
- TEE proof of which provider answered
- Turn on TEE confidential computing proof for a key, and responses that pass through VeriRelay carry a signed receipt with the provider host (such as api.anthropic.com) and what it sent back. You can check the receipt on VeriRelay. Learn more
- Automatic failover
- Each model has several providers. If one errors or is rate limited, the request moves to the next before any output starts. Provider uptime is public. Learn more
- Billed on actual usage
- You pay for the usage the provider reports, with cache priced separately. Failed requests are free, and every request has an itemized receipt. Learn more
- Native APIs, no code changes
- Native OpenAI Chat Completions and Responses, Anthropic Messages and Gemini APIs. Claude Code and Codex connect by changing the base URL. Learn more
- Your providers, your order
- Pick which providers to use per request, set their order, or exclude one. Without a choice, OhMyGPT picks for you and fails over to the next. Learn more
- Payment and invoices
- Pay with Alipay, cards and more. Invoices are available.
Latest announcements
Quick start
curl https://api.ohmygpt.com/v1/chat/completions \
-H "Authorization: Bearer sk-…" \
-H "Content-Type: application/json" \
-d '{"model": "openai/gpt-oss-120b", "messages": [{"role": "user", "content": "Hello"}]}'