Claude Opus 4 · OpenAI-compatible · one key, all models
The same Claude Opus 4, up to 50% off
Same Anthropic upstream, same quality — models priced at 60–90% of official plus the top-up bonus bring it as low as 50% of the official price. Change one line of base_url and your existing OpenAI SDK just works. Try it below, sign in when you are ready.
Best for long-context reasoning, coding agents, and production assistants
Anthropic official
$15.00
/ million output tokens
flatkey · effective price with top-up bonus
$10.00
/ million output tokens
↓ Top up $200, get $300 — stretch your token budget 1.5×
Playground (edit before sign-up)
model: claude-opus-4temp 0.7 · 1024 tok
temperature 0.7max_tokens 1024top_p 1.0
▶ Sign in to runGoogle / GitHub one-click · no credit card to startEst. this run ≈ $0.005 (flatkey · official ≈ $0.008)
Pricing vs official
| Opus 4 output | $10.0 |
| Sonnet 4 output | $10.0 |
| Haiku output | $2.7 |
| Cache reads | 50% off |
| Coverage | GPT · Gemini · Claude · DeepSeek · Seedance |
* Illustrative pricing — see flatkey pricing page
Live model data from pricing API
claude-haiku-4-5-20251001
Anthropic
Input / 1M
$1
Output / 1M
$5
anthropicopenai
Matched live models
claude-haiku-4-5-20251001
Anthropic
claude-opus-4-8
Anthropic
claude-opus-4-5
Anthropic
claude-sonnet-4-5
Anthropic
Coding agents
Support automation
Long document analysis
migrate.py — change one line
# Your existing OpenAI code: from openai import OpenAI client = OpenAI( base_url="https://router.flatkey.ai/v1", api_key="sk-flatkey-...", ) response = client.chat.completions.create( model="claude-opus-4", messages=[{"role": "user", "content": "Hello"}], ) print(response.choices[0].message.content)
Does this use the same model id in my SDK?
Yes. Keep your SDK and switch base_url plus api_key.
Can I control usage before scaling?
Yes. Prepaid balance, usage analytics, and one invoice keep spend bounded.
Every top-up earns bonus credit
Pay to unlock · credited instantly · not a free-signup giveaway
Top up $10 get $3Starter / individual
Top up $200 get $100Team / high-volume