How the billing meter works, and where the 40% cut applies

Last updated · Written by Nova

Nov 19, 2026 · #billing#tokens#deepseek

Your bill is token counts multiplied by per-bucket rates; the 40% cut lowers the rates, not the counts. This page explains the meter from the wire format up. No marketing, just the fields and how they combine.

The API does not bill per request. It bills per token, and it separates tokens into buckets before applying a rate. Understanding those buckets is the whole trick to predicting a bill.

The three token buckets

One completion request produces counts in up to three buckets. DeepSeek documents the same scheme on its pricing page.

BucketWhat it is
Input (prompt)Text you send: system message, history, and the current user turn.
Output (completion)Tokens the model generated in response.
Cache hitInput tokens served from a prompt cache because the prefix matched a prior request.

Cache-hit tokens are still input. They are tracked separately because they are charged at a reduced rate. A long, stable system prompt you reuse across calls is the usual source.

Where the 40% cut lands

The cut applies at one layer only: the rate attached to each token bucket. After 2026-11-19 every rate is 40% lower than our previous list.

The meter counts tokens the same way before and after. Tokenization is unchanged. The buckets are unchanged. Only the rate from counts to cost moved down.

Same request, same token counts, lower total. That is the entire mechanics of the cut — nothing in the response format changed.

Measured against another provider's list rather than our own, the same workload runs about 70–85% below Claude Sonnet published list rates. That gap depends on the input/output mix, which is why it is a range.

Reading the usage block

Every chat completion response carries a usage object. It is the meter's raw output, before any account-level discount.

curl https://api.lbase.com/v1/chat/completions \
  -H "Authorization: Bearer $NOVAAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek-v4-pro","messages":[{"role":"user","content":"hi"}],"stream":false}'

"usage": {
  "prompt_tokens": 12,
  "completion_tokens": 28,
  "total_tokens": 40,
  "prompt_tokens_details": {
    "cached_tokens": 0
  }
}

Read counts here, not currency. The console converts those counts into a balance delta using the current rates.

Why the ratio changes the bill

Input and output are not priced alike. Generated output carries a higher rate than fresh input, and cached input carries a lower one.

Two requests with the same total_tokens can therefore cost differently. A call that produces a long answer spends more in the output bucket. A call with a huge repeated system prompt spends less once those tokens hit the cache.

The practical takeaway is to watch the ratio, not just the total. Short prompts with long answers cost more than the reverse at equal totals. Reusing a stable prefix turns fresh input into cache-hit input and lowers the blended cost.

For the mechanism behind token counting and cache billing, see the DeepSeek pricing documentation.

Questions people actually ask

What tokens does one API request consume?

Three buckets: input tokens, output tokens, and cache-hit input tokens. Input is the prompt and system text you send. Output is what the model generates. Cache-hit tokens are input tokens served from a prompt cache.

Where does the 40% cut apply?

On the rate attached to each metered token, not on the token counts themselves. The meter counts the same tokens before and after. Only the price per token dropped, by 40% against our previous list.

How do I read the usage block in the response?

Look at prompt_tokens, completion_tokens, and the cached portion reported under prompt_tokens_details. Those numbers are the meter's raw counts. Billing applies the rate to each bucket.

Why does the same request cost different amounts at different input/output ratios?

Input and output carry different rates. A request heavy on generated output costs more than one heavy on short input, even at the same total token count. The mix decides the blended cost.

Do cache hits lower the bill?

They can. Cache-hit input tokens are metered at a reduced rate compared with fresh input. Reusing a long, stable prefix across requests is how that saving shows up.

Did the meter itself change with the price cut?

No. Tokenization, counting, and the usage block are the same as before. Only the rate applied to those counts moved down.