Get started
Pricing
CoreCode's unit price for each model in each group, next to its vendor's official price. This table syncs from the console every 10 minutes; orders and charges follow the console's Pricing page.
Looking for Anthropic's own API prices rather than CoreCode's? Every model's official input, output and cache prices, the batch discount, fast mode and a worked Claude Code example are in Claude API pricing.
- Pay per use, with no subscription or plan; top up with Alipay or WeChat Pay at ¥1 = $1 of credit.
- Input, output, cache writes and cache reads are priced separately, on the same basis as each vendor.
- The two Claude groups use the same official Claude accounts and differ in which clients they admit; GPT, Gemini and Grok each have their own group.
- The table syncs from the console every 10 minutes; orders and charges follow the console's Pricing page.
How billing works
- Pay per use. No subscription or plan: each request is charged for what it used, and every one is in your usage logs.
- ¥1 buys $1 of credit. You top up with Alipay or WeChat Pay; the console shows balance and costs in dollars of credit. The table below converts that into the yuan you pay.
- Four kinds of tokens, priced separately. Input, output, cache writes and cache reads, on the same basis as each vendor. Most of Claude Code's context goes through cache reads, at 5% of the input price on Opus 5.5 and Sonnet 5.5, so what you spend depends mostly on the cache hit rate; see Caching and billing.
- The 1-hour cache writes at about twice the input price; the table lists the default 5-minute cache write.
Which group to choose
You pick a group when you create a key, and the key calls only that group's models. Prices are in the table below:
- Claude 满血(仅限CC) (Claude Code only): admits the Claude Code CLI and desktop app. Choose it for everyday Claude Code.
- Claude 满血(可外接) (external clients): the same official Claude accounts, and also admits SDKs, curl and other clients.
- GPT, Gemini, Grok: one group per vendor, called through Codex or the OpenAI-compatible API.
- auto: one key for every group; the model picks the group.
Whether each Claude model is the one you chose is checked every 3 days with the open-source ModelTrace fingerprint; the results and raw data are in the check report.
The models in each group and the API each uses are in Supported models.
Prices by model
Group 「Claude 满血(仅限CC)」
| Model | Input | Output | Cache write (5 min) | Cache read |
|---|---|---|---|---|
claude-haiku-5-5 | ¥0.19 | ¥0.95 | ¥0.2375 | ¥0.019 |
claude-sonnet-5-5 | ¥3.8 | ¥19 | ¥4.75 | ¥0.19 |
claude-sonnet-5 | ¥3.8 | ¥19 | ¥4.75 | ¥0.38 |
claude-opus-5-5 | ¥7.6 | ¥38 | ¥9.5 | ¥0.38 |
claude-opus-5 | ¥9.5 | ¥47.5 | ¥11.875 | ¥0.95 |
claude-opus-4-8 | ¥9.5 | ¥47.5 | ¥11.875 | ¥0.95 |
claude-fable-5-1 | ¥28.5 | ¥142.5 | ¥35.625 | ¥0.7125 |
CNY per million tokens; official prices at $1 = ¥6.8. 72% below the official price.
claude-haiku-5-5: the table applies up to 100,000 tokens of context; above that, long-context prices apply: input ¥0.95, output ¥4.75, cache write ¥1.1875, cache read ¥0.095.
claude-fable-5-1 costs more to serve, so it is priced at 1.5× the official price before the group discount. That is 58% below the official price.
Group 「Claude 满血(可外接)」
| Model | Input | Output | Cache write (5 min) | Cache read |
|---|---|---|---|---|
claude-haiku-5-5 | ¥0.205 | ¥1.025 | ¥0.2562 | ¥0.0205 |
claude-sonnet-5-5 | ¥4.1 | ¥20.5 | ¥5.125 | ¥0.205 |
claude-sonnet-5 | ¥4.1 | ¥20.5 | ¥5.125 | ¥0.41 |
claude-opus-5-5 | ¥8.2 | ¥41 | ¥10.25 | ¥0.41 |
claude-opus-5 | ¥10.25 | ¥51.25 | ¥12.8125 | ¥1.025 |
claude-opus-4-8 | ¥10.25 | ¥51.25 | ¥12.8125 | ¥1.025 |
claude-fable-5-1 | ¥30.75 | ¥153.75 | ¥38.4375 | ¥0.7687 |
CNY per million tokens; official prices at $1 = ¥6.8. 70% below the official price.
claude-haiku-5-5: the table applies up to 100,000 tokens of context; above that, long-context prices apply: input ¥1.025, output ¥5.125, cache write ¥1.2812, cache read ¥0.1025.
claude-fable-5-1 costs more to serve, so it is priced at 1.5× the official price before the group discount. That is 55% below the official price.
Group 「GPT」
| Model | Input | Output | Cache write (5 min) | Cache read |
|---|---|---|---|---|
gpt-6-luna | ¥0.08 | ¥0.4 | — | ¥0.008 |
codex-auto-review | ¥0.16 | ¥0.96 | — | ¥0.016 |
gpt-5.6-luna | ¥0.16 | ¥0.96 | ¥0.2 | ¥0.016 |
gpt-6.1-terra | ¥0.8 | ¥4 | — | ¥0.04 |
gpt-6.1-sol | ¥1.6 | ¥8 | — | ¥0.08 |
gpt-5.6-terra | ¥1.6 | ¥9.6 | ¥2 | ¥0.16 |
gpt-6-sol | ¥1.6 | ¥8 | — | ¥0.16 |
gpt-5.6-sol | ¥4 | ¥24 | ¥5 | ¥0.4 |
gpt-6-astra | ¥8 | ¥40 | — | ¥0.8 |
CNY per million tokens; official prices at $1 = ¥6.8. 88% below the official price.
Group 「Gemini」
| Model | Input | Output | Cache write (5 min) | Cache read |
|---|---|---|---|---|
gemini-3.8-flash-high | ¥1.875 | ¥9.375 | — | ¥0.1875 |
CNY per million tokens; official prices at $1 = ¥6.8. 63% below the official price.
Group 「Grok」
| Model | Input | Output | Cache write (5 min) | Cache read |
|---|---|---|---|---|
grok-4.7 | ¥2.4 | ¥7.2 | — | ¥0.6 |
grok-4.6 | ¥2.4 | ¥7.2 | — | ¥0.6 |
CNY per million tokens; official prices at $1 = ¥6.8. 82% below the official price.
Next
Anthropic's full API price list, with the batch discount and long-context rules, is in the blog post Claude API pricing. To get the same work done for less, see Spending less on Claude Code. New here? Follow the new user guide; the newcomer pack is ¥29.9 for $50 of credit, see Top-up.
FAQ
Is there a subscription or plan?
No. Each request is charged for what it used, and every one is in your usage logs.
What is the minimum top-up?
¥10. The newcomer pack is ¥29.9 for $50 of credit, valid 7 days, once per person; see Top-up.
Why do I spend much less than the input price suggests?
Most of Claude Code's context goes through cache reads, at 5% of the input price on Opus 5.5 and Sonnet 5.5. The higher the hit rate, the lower the bill; see Caching and billing.
How is the official price in the table worked out?
The dollar price of the model's vendor (Anthropic, OpenAI, Google or xAI) times the exchange rate noted under the table, the same arithmetic as the console's Pricing page.