Wholesale inference pricingWhy cheaper?

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.

Zero request logging Pay as you go Transparent USD pricing No vendor lock-in
300+
Models, one endpoint
25
Model vendors, one key
1M
Free tokens to start
2 min
From signup to first call
Features

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.

Quick start

Three steps to production.

About two minutes from signup to the first call — with your SDK, Claude Code, or Codex.

  1. 1

    Create an account

    Starting credits included — the first calls cost nothing, no card required.

  2. 2

    Set up your API key

    One key covers all 200+ models. Cap its daily, weekly or monthly spend if you want.

  3. 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"}],
)
Cost structure

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.

Pure Power. 100% Authentic. No quantisation, no distillation, no truncated context, no smaller variant. Same weights and defaults as calling the vendor directly.
Cost control

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.

Per day
$20.00
resets 00:00 UTC
Per week
$100.00
resets Monday 00:00 UTC
Per month
$300.00
resets on the 1st, 00:00 UTC
Total
$1,000.00
fixed cap, never resets
Billing log
TimeModelChannelTokensChangeBalance
14:32:07claude-fable-5anthropic_official8 → 412 · 24.2K cached−$0.0271$68.38
14:31:55claude-fable-5anthropic_official6 → 388 · 24.2K cached−$0.0254$68.41
14:31:40claude-fable-5anthropic_azure2,104 → 96 · cache write−$0.0038$68.43
14:29:12gpt-5.2-codexopenai_reserved1,860 → 744 · 0 cached−$0.0021$68.44
09:04:33Top-up$100.00 @ 1.0000+$100.00$100.00
Cache read, cache write and plain input are separate lines — on agent runs they are very different prices. A failed attempt that fails over is logged and charged nothing.
Questions

FAQ

Routing, rate limits and per-channel terms are in the developer documentation.

Does Claude Code work without a subscription?
Yes. Point 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?
No. No quantisation, no distillation, no truncated context window, no substituted variant. The saving comes from how capacity is bought and where requests are routed — none of it from the output.
Is my balance in dollars, or in credits?
Dollars. You top up in your own currency at the day's rate — rate and spread shown separately — and what lands is USD. Later exchange-rate moves don't revalue it, and there is no points layer.
Can I cap what a single key spends?
Yes: per day, per week, per month, or a fixed total cap. Daily resets at 00:00 UTC, weekly on Monday, monthly on the 1st. The cap sits on the key itself, independent of your account balance.
How do I know which channel served my request?
Every request records the model, the channel, its discount, token counts split into cache read / cache write / plain input, the cost and the balance afterwards — queryable by key and time range.
What happens during a provider outage?
The request fails over to your configured backup inside the same call, at that channel's price. The failed attempt is logged and charged nothing. If both of your channels are down, you get an error — not a reroute into a pool you never picked.

Start routing in two minutes.

One key. 200+ models. 1M free tokens to start — no card required.