How Many AI Requests Does 1 Yuan Buy? 3 Examples and a Formula
There is no single answer to how many AI requests 1 yuan buys: a short Q&A might get you hundreds of calls, while an agent task with a lot of context might get you a dozen. The difference comes down to two variables: the model's price per million tokens, and the number of input and output tokens each request actually uses.
If you want to know how many tokens 1 yuan buys, start with one formula: tokens per yuan = 1 ÷ price per token. To get a number of requests, you then divide by the length of a single request. The steps below walk through it. All figures are assumptions meant to demonstrate the method, not any vendor's actual prices.
What makes up the cost of one call?
LLM APIs generally bill per token, with input and output priced separately, and output usually costing more. The cost of one call is:
cost per call = input tokens ÷ 1,000,000 × input price + output tokens ÷ 1,000,000 × output price
number of calls = 1 yuan ÷ cost per call
Input is more than the one sentence you typed. It also includes the system prompt, conversation history, attached files, and tool definitions. This is the most common source of estimation error. If tokens are new to you, read What is a token in an LLM, and why is it billed by token first. For why input and output are priced differently, see Why output tokens cost more than input.
Three typical requests at an assumed price
Assume a model with an input price of 2 yuan per million tokens and an output price of 8 yuan per million tokens. These numbers are made up for the demonstration; replace them with the price of the model you actually use.
| Scenario | Input tokens | Output tokens | Cost per call | Calls per 1 yuan |
|---|---|---|---|---|
| Single-turn short Q&A | 200 | 300 | 0.0004 + 0.0024 = 0.0028 yuan | about 357 |
| Multi-turn chat with history (turn 10) | 4,000 | 500 | 0.008 + 0.004 = 0.012 yuan | about 83 |
| One step of a coding agent (read several files) | 30,000 | 1,500 | 0.06 + 0.012 = 0.072 yuan | about 13 |
A few notes:
- In multi-turn chat, every turn resends the earlier content, so the input at turn 10 is far larger than at turn 1.
- An agent tool usually sends many requests in a row for a single task, and the third row is just one step. The cost of a full task is that figure multiplied by the number of steps. For the method, see AI agent tasks use a lot of tokens: how to estimate cost and choose a plan.
- Some platforms give a cache discount on repeated context. Whether that is supported and how much it saves is up to the official pricing page; the calculations above do not account for it.
How do I plug in my own price and usage?
- Look up the input and output prices of your target model on the official pricing page. Check whether the unit is per million tokens or per thousand tokens.
- Estimate the input and output token counts of a typical request. If you would rather not guess, count them with the official tokenizer or in code; see How to count the tokens in a piece of text.
- Plug them into the formula above to get the cost per call and the number of calls per yuan.
- Multiply the cost per call by your average daily call count to get the monthly cost. For the estimation method, see How to estimate how many tokens you use each month.
- Check against the usage field returned in the API response. Actual usage is whatever the response and the bill say; estimates are only for budgeting.
A common mistake is to count only the output. A request with a short output but a very long context may spend most of its money on input. Also, setting max_tokens caps the output length; see How to set max_tokens.
What does 1 yuan = 500 CU mean?
AGI Plan meters usage in CU: 1 CU equals 1,000 output tokens of the baseline model. With pay-as-you-go billing, 1 yuan = 500 CU, with a minimum top-up of ¥20. AGI Plan is a commercial partner of cdnping, and it is used here as an example of a different pricing convention.
Here is the crudest conversion under that definition: 1 yuan = 500 CU, which corresponds to 500,000 output tokens of the baseline model. If you count only output and each reply is 500 tokens, that works out to about 1,000 requests on paper. Treat this as a rough upper bound, for two reasons. First, how input tokens and models in different capability groups convert to CU is defined on the official site. Second, the input of a real request is usually much larger than its output. So do not treat 1,000 requests as a promise; rely on the plan page and your actual consumption.
The benefit of a unified quota like this is that you do not need to recompute unit prices when you switch models. The cost is that you have to understand its conversion rules first. To see whether a subscription or pay-as-you-go fits better, run your own usage through both; see Subscription or pay-as-you-go for AI APIs.
How do I avoid a cheap-looking estimate turning into an expensive bill?
- Control context length. Start a new session periodically in long conversations, and give agent tasks only the files they need.
- Set a spending limit so that a looping call or a buggy script cannot run up costs; see How to set a spending limit on an AI API.
- Run a small batch first, then scale up. Run it 20 times, compute the real average from the usage field, and project the total from that.
- Prices and models change, so redo old estimates every so often. The cdnping model monitor shows listing and price-change records for inference providers; the official source is still the authority on exact prices.
Next step
Pick a model you use often, look up its input and output prices, and redo the table above for your own typical request. If you use tools like Claude Code or Codex, want to pay in RMB, and do not have an overseas credit card, take a look at AGI Plan: monthly subscription or pay-as-you-go, and you connect by changing a single endpoint URL. The getting-started guide is at agiplan.dev/startup. Some models are marked as available outside mainland China only; check agiplan.dev/models for details. To check your network first, use the online speed test on the cdnping home page to see connection times for each API.