Skip to content

Reducing an existing model bill

Start from the bill you already have

Every open-weight model here is priced 36–42% below what its own publisher charges, rising to 65–68% on agent and chat workloads where a repeated prompt prefix is billed at the cached rate — and the publisher's rate is printed beside ours on every row so the figure can be checked rather than believed.

We guarantee at least 20% below the model publisher's own rate on every model we serve. The smallest discount in the catalogue today is 36%, so the guarantee has room in it by design.

  • No platform fee
  • OpenAI SDK compatible
  • Pay as you go
  • 7 models callable today

Send me the arithmetic for my volume

Leave an address and we will reply with the same calculation the page runs, worked against the token volume you actually spend, including the cached-input line.

One email, no sequence. Or skip the email and create an account for $5 in credit.

A model bill has fewer lines than it looks like

Almost every invoice for a language model resolves to three numbers multiplied by three rates: tokens you sent, tokens you sent again, and tokens the model wrote back. Everything else on the page is a subtotal of those. That is unusually good news, because it means the bill can be re-priced exactly rather than estimated — you do not need a pilot, a trial quarter or a migration to find out what a different rate card would have charged you for the month that already happened.

The reason the bill can drop at all is narrower than it sounds. We resell open-weight models only, which means the licence permits somebody other than the publisher to host the weights, which in turn means the cost base is inference capacity rather than a wholesale contract with a markup on top. Capacity bought in volume and run at high utilisation costs less than the publisher's list price, and most of that difference is passed through instead of held as margin.

That is the whole mechanism, and it has a ceiling. It applies to open-weight models and to nothing else: there is no version of this that makes a closed frontier model cheaper, because no licence exists that would let us host one. If your bill is mostly closed-model traffic, the honest answer is that only the portion you could move to an open-weight model is addressable here, and the calculator further down will tell you what that portion is worth.

The same month, at both rate cards

Below is every text model we can actually serve today, priced against its own publisher's list rate. Kimi K3 is $1.85/M input and $9.00/M output where the publisher charges $3.00/M and $15.00/M. GLM-5.2 is $0.82/M and $2.55/M against $1.40/M and $4.40/M. Neither figure is a promotional rate, and neither expires.

The output column is where the difference compounds, because output is billed several times higher than input on every model in the catalogue and a generation-heavy application spends most of its money there. The input column matters more if you are summarising, retrieving or classifying, where the prompt dwarfs the completion.

One month of a mixed workload, across the models we can serve
One month of a mixed workload, across the models we can serveThe choice of model moves the bill further than the choice of provider does, which is why the model column is the first decision and the vendor column the second. At 100M input and 20M output tokens a month, DeepSeek V4 Flash costs $12.60 a month and Kimi K3 $365 — a spread of 29.0x for the same work.DeepSeek V4 Flash$12.60DeepSeek V4 Pro$39.00Kimi K2.6$101GLM-5.2$133Kimi K3$365
The choice of model moves the bill further than the choice of provider does, which is why the model column is the first decision and the vendor column the second. At 100M input and 20M output tokens a month, DeepSeek V4 Flash costs $12.60 a month and Kimi K3 $365 — a spread of 29.0x for the same work.Our published rates, computed on the stated volume.
ModelInputOutputCached inputPublisher’s rateBelow publisher
Kimi K2.6$0.55/M$2.30/M$0.11/M$0.95 / $4.00/M42%
Kimi K3$1.85/M$9.00/M$0.37/M$3.00 / $15.00/M40%
GLM-5.2$0.82/M$2.55/M$0.16/M$1.40 / $4.40/M42%
DeepSeek V4 Pro$0.28/M$0.55/M$0.055/M$0.43 / $0.87/M37%
DeepSeek V4 Flash$0.090/M$0.18/M$0.018/M$0.14 / $0.28/M36%
Text models callable today, our rate against the publisher's own.

The table excludes cached input entirely, so it understates what a repeated-prefix workload would pay. The cached column is published per model on the pricing page and is applied automatically — there is no header to set and no plan to be on.

Put your own numbers in

The figures above are ours. The ones that matter are yours, so the calculator takes the two numbers you can read off any invoice — input tokens and output tokens for the month — and prices them across every model we serve, against the publisher's rate and against whichever third-party rate we hold a verified figure for.

The cache slider is the control worth spending a minute on. Set it to zero for a workload where every prompt is different. Push it up if you resend a fixed system prompt, a tool schema or a document on every call, because that prefix is billed at the cached rate and it is usually the largest single line on the bill.

M
M
0% of input cached

An agent or chat loop resends the same system prompt on every turn. That repeated prefix is billed at the cached rate, and on most models that is a fifth of the standard input rate. Set this to zero if every request you send is different.

Cheapest for this shape of work
$12.60/mo on DeepSeek V4 Flash
Against the official rate
$19.6036%

That is $7.00 a month, or $84.00 a year, on the same tokens through the same model.

An estimate, not a quote — but it is computed from the same rate table the API bills from, so the only assumptions in it are the ones you set above. Third-party figures are those providers’ own published rates; where a provider does not publish one, the cell is blank rather than guessed.

From this page to a lower bill, in three steps

Nothing here requires a rewrite, a meeting or a contract. The API is OpenAI-compatible, so the SDK you already have is the SDK you keep.

  1. 1

    Point the client at a different base URL

    One constructor argument in Python or Node, one flag in cURL. Request shapes, streaming frames, the usage block and the error envelope all match what your code already parses, so nothing downstream of the client has to be touched.

  2. 2

    Change the model id

    Model ids are namespaced by publisher — z-ai/glm-5.2, moonshotai/kimi-k3 — and the bare name is accepted too, so an id you already had keeps resolving. Every model page carries a snippet with the id filled in.

  3. 3

    Run it beside the old path before you cut over

    Send a slice of traffic to the new base URL, compare outputs and cost per request in the dashboard, and move the rest when the numbers hold. Your prepaid balance is a hard ceiling while you do it, so an experiment cannot become an invoice.

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://router.xark.io/api/v1"   # ← the only line that changes
)

response = client.chat.completions.create(
    model="z-ai/glm-5.2",
    messages=[{"role": "user", "content": "Hello"}]
)
The only line that changes is the base URL.

New accounts start with $5 in credit and no card, which is enough to run the comparison above before you decide anything.

Send me the arithmetic for my volume

Leave an address and we will reply with the same calculation the page runs, worked against the token volume you actually spend, including the cached-input line.

One email, no sequence. Or skip the email and create an account for $5 in credit.

What this page is not claiming

We are not claiming to be the cheapest API you can find. Someone will always be running a promotional rate on a model this week, and a claim like that would be false by the time the ad had finished serving. The claim is narrower and checkable: every model here is priced below what its own publisher charges for it, and both numbers are printed on the same row so you can verify it rather than trust it.

The floor under that is published rather than implied. We guarantee at least 20% below the model publisher's own rate on every model we serve. The smallest discount in the catalogue today is 36%, so the guarantee has room in it by design.

Availability is stated, not discovered
24 models are catalogued and 7 are callable right now. The rest carry a published price and a marker saying no upstream serves them yet, because finding that out from a runtime error after you have written the integration is worse than reading it here.
No cross-model substitution
If a model is unavailable the request fails with the upstream status and a machine-readable code. We do not silently answer with a different model, because that changes the output, the price and the licence terms of what you receive.
No platform fee
The per-model rate is the whole price. No fee on credit purchases, no minimum spend, no charge for failed requests.

Where the money actually goes

Take the reference workload this site quotes its agent figure on — 400M input tokens a month with a 60% repeated prefix, and 8M output. Priced on GLM-5.2, that month costs $190, and the largest slice of it is not the output. It is the same prompt prefix, sent again on every turn, billed at the cached rate of $0.16/M instead of the standard $0.82/M.

That is why a bill can look mysterious. Teams reason about model spend in terms of what the model writes, because that is the part they read, and then find the invoice dominated by the part they never look at. If your application resends a system prompt, a tool schema, a few retrieved documents or a conversation history on every call, most of your bill is already prefix — and the cached rate is the lever with the most travel in it.

What customers say

This section is reserved for quotes from customers who have run the comparison themselves and agreed to be named as having done so.

No customer quote below has been approved for publication yet. Every card in this section is sample copy held in place until a real one replaces it, and none of it is offered as an endorsement.

  • Sample — pending customer approval

    Sample placeholder text, awaiting an approved customer quote about what the bill looked like before and after the switch.

    Engineering lead, fintech startup

  • Sample — pending customer approval

    Sample placeholder text, awaiting an approved customer quote about how long the base-URL change actually took.

    Backend engineer, B2B SaaS

  • Sample — pending customer approval

    Sample placeholder text, awaiting an approved customer quote about the licence review and the vendor questionnaire.

    Head of platform, insurance company

Watch the calculation

A short screen recording of an invoice being re-priced end to end: reading the token counts off a bill, entering them, and reading the difference.

Video not published yet

Re-pricing a monthly invoice

Planned: a walkthrough with no voiceover claims that the page does not already make in text.

This space is reserved at its final size, so publishing the recording will not move anything below it.

The questions that come next

Written to be read in order, from the quickest objection to the most expensive one.

How can the same model cost less here than from the company that made it?

Because the licence lets somebody else host it. Open-weight models can legally be served by a third party, so we buy inference capacity in bulk, run it at high utilisation and pass most of that discount through rather than keeping it as margin. There is no platform fee on top of the per-token rate. That mechanism only works on open weights, which is exactly why the catalogue contains nothing else, and it produces 36–42% off the rate card rather than an unbounded discount.

Is this a promotional rate that goes up later?

No. The rates on the pricing table are the standing rates and there is no introductory tier, no annual commitment and no plan to be on. Rates move when the underlying cost moves, in either direction, and the pricing page carries the date they were last reconciled so you can see whether the number you are reading is fresh.

What is the smallest discount I could end up with?

We guarantee at least 20% below the model publisher's own rate on every model we serve. The smallest discount in the catalogue today is 36%, so the guarantee has room in it by design.

Do I have to move all of my traffic?

No, and most people should not. The API is OpenAI-compatible, so running both paths side by side is a matter of instantiating a second client. Send a percentage of traffic, compare the outputs and the per-request cost, and move the rest only if the comparison holds on your own workload rather than on ours.

My bill is mostly GPT or Claude. Does any of this apply?

Only to the part you could move. We do not resell closed-weight models and never will, because no licence exists that would permit it. What the calculator can tell you is what the addressable portion is worth: if a share of your traffic is classification, extraction, summarisation or routine generation, those are the tasks where an open-weight model is most often adequate, and that share is the honest size of the opportunity.

Which models can I actually call today?

7 of 24 catalogued models are served right now: Kimi K2.6, Kimi K3, GLM-5.2, DeepSeek V4 Pro, DeepSeek V4 Flash, Qwen-Image, Qwen3 Embedding 8B. The remainder are listed with published prices and marked as not yet served. We list them because the prices are real and the intent is real, and we mark them because selling something that returns an error at call time converts into a refund.

What happens when my balance runs out mid-request?

The request is refused with a distinct error code rather than being served and invoiced. Your prepaid balance is a hard ceiling enforced on every request, which is a stronger guarantee than a configurable cap because there is nothing to misconfigure. Automatic recharge is off by default and bounded when you switch it on.

Are there fees that do not appear on the pricing table?

No. No platform fee, no minimum spend, no card-processing surcharge at checkout and no charge for failed requests. It is worth checking this specifically when you compare providers, because a percentage added at the credit-purchase step does not appear on a per-model pricing table and is easy to miss.

How do I verify the official rate you are comparing against?

Every model page names the publisher and prints their list rate beside ours, so the comparison is one search away from being checked. We publish the date the rates were last reconciled for the same reason. A comparison you cannot verify is a claim, not evidence, and this audience checks.

Does switching change the output I get?

The model is the same model — same weights, same id. What can differ between any two hosts of the same weights is quantisation, context handling and sampling defaults, which is precisely why the recommendation above is to run both paths against a slice of real traffic rather than to trust a table. Run your evaluation set through both and compare.

Is there a minimum spend or a contract?

No. It is pay as you go from the first request, with no minimum and nothing to cancel. Accounts above $1,000 a month can ask for volume rates, and we reply within 24 hours, but that is an option rather than a threshold you have to clear.

What do you do with my prompts?

We do not train on prompts or completions, ever. Chat and completion traffic is relayed and not stored. Asynchronous jobs — video and image, which cannot return inline — hold their inputs and results for 30 days so you can fetch them, or are deleted immediately on request. Usage metadata is retained because your invoice and dashboard are built from it.

Re-price one month before you change anything

The calculation costs nothing and settles the question either way. If the difference is not worth the switch on your own volume, you will know in a few minutes rather than after a migration.

We guarantee at least 20% below the model publisher's own rate on every model we serve. The smallest discount in the catalogue today is 36%, so the guarantee has room in it by design.

Send me the arithmetic for my volume

Leave an address and we will reply with the same calculation the page runs, worked against the token volume you actually spend, including the cached-input line.

One email, no sequence. Or skip the email and create an account for $5 in credit.

Related: Full pricing table · Savings methodology · Compare providers