200+ LLMs.
One API.
Save Up to 90%.
Access 200+ models via OpenAI- and Anthropic-compatible APIs—just change your base URL. Same models, same quality as going direct, at up to 90% less. We buy compute wholesale and pass the savings on to you.
Popular Model Pricing
Save up to 90%The vendors already in your stack — one key covers the full 200+ model catalogue.
Text, image and video — one key.
The flagship model of every modality, at the same discount. Prices below are what you actually pay.
TextUSD / 1M tokens, in · out
Why developers switch.
Cheaper to run, effortless to adopt, safe to rely on.
Well below official prices
The same models at a fraction of official list price. Every rate is public — compare us line by line with the provider’s own pricing.
Drop-in replacement
OpenAI-compatible endpoint: change the base URL and your existing SDKs, agents and tools keep working. Switching models is a one-line change.
Built for uptime
Every model is backed by multiple providers and channels. Smart routing balances stability and cost, and steers around degraded channels automatically.
Transparent USD billing
Prices are plain USD per million tokens — no credits, no points, no invented units. What you see is exactly what you’re charged.
Pay as you go
No subscriptions, no minimum spend. Top up when you want and pay only for the tokens you actually use.
No hidden routing
Discounted channels are labeled as exactly what they are — never passed off as official. You choose stability or savings, model by model.
Three steps to production.
About two minutes from signup to the first call — with your SDK, Claude Code, or Codex.
- 1
Create an account
Starting credits included — the first calls cost nothing, no card required.
- 2
Set up your API key
One key covers all 200+ models. Cap its daily, weekly or monthly spend if you want.
- 3
Ship with the API
One key, OpenAI-compatible. Change one line in your SDK — or point Claude Code and Codex straight at MirAPI.
import os from openai import OpenAI client = OpenAI( base_url="https://api.mirapi.ai/v1", # changed api_key=os.environ["MIRAPI_API_KEY"], # changed ) resp = client.chat.completions.create( model="anthropic/claude-fable-5", messages=[{"role": "user", "content": "Hello"}], )
import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://api.mirapi.ai/v1", // changed apiKey: process.env.MIRAPI_API_KEY, // changed }); const res = await client.chat.completions.create({ model: "anthropic/claude-fable-5", messages: [{ role: "user", content: "Hello" }], });
curl https://api.mirapi.ai/v1/chat/completions \ -H "Authorization: Bearer $MIRAPI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "anthropic/claude-fable-5", "messages": [{"role": "user", "content": "Hello"}] }'
# ~/.zshrc export ANTHROPIC_BASE_URL="https://api.mirapi.ai" export ANTHROPIC_AUTH_TOKEN="$MIRAPI_API_KEY" # start as usual — model names unchanged claude --model anthropic/claude-fable-5
# ~/.codex/config.toml model_provider = "mirapi" model = "gpt-5.2-codex" [model_providers.mirapi] name = "MirAPI" base_url = "https://api.mirapi.ai/v1" env_key = "MIRAPI_API_KEY" wire_api = "responses"
Why is it this cheap?
We optimized the supply chain and infrastructure. You just pay for the raw performance.
Contracted capacity
We hold annual volume commitments with model vendors, cloud platforms, and inference providers — at rates well below the on-demand list. The commitment is ours, the discount is yours.
Self-hosted inference
For the busiest open-weight models, we run our own inference clusters — the whole middle layer drops out of the price.
Price-aware routing
The same model is priced differently across channels, regions, and hours. Inverse-square price weighting tilts each request toward the cheapest stable channel that clears your latency bar.
Session affinity
Your session stays pinned to one upstream channel, so 90%+ of your conversation history bills at the vendor’s published cached-input rate.
A ceiling before the spend. A receipt after it.
Limits live on the key, not the account. Cap an agent's key at $20 a day and $20 is all it can reach — the rest of the balance stays put.
| Time | Model | Channel | Tokens | Change | Balance |
|---|---|---|---|---|---|
| 14:32:07 | claude-fable-5 | anthropic_official | 8 → 412 · 24.2K cached | −$0.0271 | $68.38 |
| 14:31:55 | claude-fable-5 | anthropic_official | 6 → 388 · 24.2K cached | −$0.0254 | $68.41 |
| 14:31:40 | claude-fable-5 | anthropic_azure | 2,104 → 96 · cache write | −$0.0038 | $68.43 |
| 14:29:12 | gpt-5.2-codex | openai_reserved | 1,860 → 744 · 0 cached | −$0.0021 | $68.44 |
| 09:04:33 | Top-up | $100.00 @ 1.0000 | — | +$100.00 | $100.00 |
Does Claude Code work without a subscription?
ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN here and it runs on your balance, billed per token. Cache reads are charged at the cached rate and itemised in the log.Is the model modified to reach these prices?
Is my balance in dollars, or in credits?
Can I cap what a single key spends?
How do I know which channel served my request?
What happens during a provider outage?
Start routing in two minutes.
One key. 200+ models. 1M free tokens to start — no card required.