This article explains AI API billing (three token tiers), cache billing, how to check usage, and how to dispute an unexpected charge.
AI API is pay-as-you-go. Every 1M tokens has three rates:
| Tier | Meaning | Details |
|---|---|---|
| Input (cache miss) | Newly submitted, uncached prompt | Most expensive input tier |
| Input (cache hit) | Prefix that hits KV Cache | Cheapest, about a few dozen times cheaper than a miss |
| Output | Content generated by the model | Usually the most expensive |
Always list all three tiers when comparing prices. Looking only at “input/output” can lead to incorrect conclusions.
Unit: USD / 1M tokens
| Model | Input | Cache hit | Output |
|---|---|---|---|
| DeepSeek-V4.1-Flash | 0.135 | 0.0027 | 0.54 |
| GLM-5.3-Flash | 0.0825 | 0.0165 | 0.275 |
| GLM-5.3 | 0.63 | 0.117 | 1.98 |
| Kimi-K2.6 | 0.4275 | 0.072 | 1.8 |
| Kimi-K3 | 1.95 | 0.195 | 9.75 |
These figures reflect one point in time. Use the Console pricing catalog:
https://console.nube.sh/ai-model/api| Pricing API:https://ai.nube-api.com/v1/models/pricing
09:00–12:00 and 14:00–18:00 Beijing time, Monday through Friday; other periods are off-peak.Yes. Platform prices change dynamically with upstream compute and market costs.
| Item | Details |
|---|---|
| Pricing principle | Prices change dynamically with upstream compute and market costs |
| Price notices | No email notices; use the Console pricing catalog and pricing API |
| Price ceiling commitment | Normally kept within 70% of major cloud providers’ / official Pay-As-You-Go prices |
| Typical range | Usually 40%–70% of official prices |
Procurement advice: if you purchase a fixed plan and are concerned about fluctuations, tell support your usual models and estimated usage so they can assess a suitable usage plan.
The backend UI may display a cache hit as a “miss,” but billing is correctly calculated at the hit rate.
The platform has confirmed repeatedly:
Two occasional causes:
| Situation | Details |
|---|---|
| Model restart / rolling update | The request lands on a newly started instance with no cache |
| Request assigned to a different processing instance | The request may have no reusable prefix cache |
These situations normally recover automatically. Check whether they occur “occasionally at a certain time” or “continuously.”
thinking field;| Entry | Address |
|---|---|
| Usage overview | https://console.nube.sh/en-us//ai-model/api/usage |
| Request logs | Same page → API Logs |
| Pricing catalog | https://console.nube.sh/ai-model/api |
Notes:
Check first (most “expensive” charges are misunderstandings):
If you still suspect an error, provide:
| Material | Details |
|---|---|
| Key alias | Do not post the full Key |
| Request ID | Most important; used to check one request’s details |
| Time range | Include the time zone |
| Number you see vs. expected number | Helps reconciliation |
Support can provide token details for a single request (prompt / completion / cached_tokens) and the billing process. If there is a platform error, it will be handled based on the facts.
| Question | Answer |
|---|---|
| How many pricing tiers are there? | Input miss / cache hit / output: three tiers |
| How much cheaper is a cache hit? | About a few dozen times cheaper than a miss |
| Does “miss” mean I was overcharged? | No. It is a display bug; billing uses the hit rate. |
| Can prices rise arbitrarily? | They change dynamically but are committed to staying within 70% of official prices; no email notice is sent, so use the pricing catalog / API. |
| Is there time-of-day pricing? | No. Nube uses a uniform price all day. |
| Are failed requests billed? | No. |
| Are requests exceeding context billed? | Rejected requests are not billed. |
| Are discounts available? | No dedicated discount currently; monthly high usage can be discussed. |
| Is there a price calculator? | Not currently. |
| Can account balance be refunded? | Yes, with a processing fee (≤100 USD: 3 USD; >100 USD: 3%); see Error-Code Troubleshooting: 400, 403, 429, 503, and Thinking Blocks and the refund policy. |
AI API Integration GuideError Troubleshooting: 400, 403, 429, 503, and Thinking BlocksRate Limits, Concurrency, and Quota RulesRefund, Cancellation, and Unsubscription Policy