88Z.ai / CLAUDE API
Claude API access and pricing
Call Claude Haiku, Sonnet, Opus and other models with one 88Z.ai API key, through the Anthropic-native /v1/messages or the OpenAI-compatible /v1/chat/completions. Billed by actual token usage in CNY points, with Alipay top-up.
- Base URL
- https://api.88z.ai
- Formats
- Anthropic + OpenAI
- claude-sonnet-5.5 in / out
- ¥17.2 / ¥86
- Top-up
- Alipay, CNY 10–500
Claude prices (per 1M tokens)
Only models you can call on this site, newer models first. Open a model ID for all billing items and parameters.
| Model ID | Input | Output | Cache read | Cache write | Context |
|---|---|---|---|---|---|
anthropic/claude-fable-5.2 | ¥68.8 | ¥344 | ¥1.72 | ¥86 | 1M |
anthropic/claude-haiku-5.5 | ¥0.86 | ¥4.3 | ¥0.086 | ¥1.075 | 1M |
anthropic/claude-sonnet-5.5 | ¥17.2 | ¥86 | ¥0.86 | ¥21.5 | 1M |
anthropic/claude-opus-5.5 | ¥34.4 | ¥172 | ¥1.72 | ¥43 | 1M |
anthropic/claude-fable-5.1 | ¥86 | ¥430 | ¥2.15 | ¥107.5 | 1M |
anthropic/claude-opus-5 | ¥43 | ¥215 | ¥4.3 | ¥53.75 | 1M |
More Claude models (10)
| Model ID | Input | Output | Cache read | Cache write | Context |
|---|---|---|---|---|---|
anthropic/claude-sonnet-5 | ¥17.2 | ¥86 | ¥1.72 | ¥21.5 | 1M |
anthropic/claude-fable-5 | ¥86 | ¥430 | ¥8.6 | ¥107.5 | 1M |
anthropic/claude-opus-4.8 | ¥43 | ¥215 | ¥4.3 | ¥53.75 | 1M |
anthropic/claude-opus-4.7 | ¥43 | ¥215 | ¥4.3 | ¥53.75 | 1M |
anthropic/claude-sonnet-4.6 | ¥25.8 | ¥129 | ¥2.58 | ¥32.25 | 1M |
anthropic/claude-opus-4.6 | ¥43 | ¥215 | ¥4.3 | ¥53.75 | 1M |
anthropic/claude-opus-4.5 | ¥43 | ¥215 | ¥4.3 | ¥53.75 | 200K |
anthropic/claude-haiku-4.5 | ¥8.6 | ¥43 | ¥0.86 | ¥10.75 | 200K |
anthropic/claude-sonnet-4.5 | ¥25.8 | ¥129 | ¥2.58 | ¥32.25 | 1M |
anthropic/claude-opus-4.1 | ¥129 | ¥645 | ¥12.9 | ¥161.3 | 200K |
Prices as of 2026-11-27 23:30 Beijing time (UTC+8), from the live catalogue, generated from the same source as /models.json. Unit: CNY per 1M tokens. Reference prices follow price changes by the model services, and models are added or retired over time, so prices and the model count can differ between visits. When quoting a price, include the catalogue time and treat /models.json as the current value.
Which model to pick
Positioning follows Anthropic’s public description of each family; for capability comparisons see the third-party scores on our model leaderboard.
What it actually costs: three examples
Estimated per-request cost at the current catalogue prices above. Billing uses the real token count of each request.
| Scenario (per request) | claude-haiku-5.5 | claude-sonnet-5.5 | claude-opus-5.5 |
|---|---|---|---|
| One Q&A: 2,000 in, 800 out | ¥0.00516 | ¥0.1032 | ¥0.2064 |
| Summarise a long document: 40,000 in, 1,500 out | ¥0.0408 | ¥0.817 | ¥1.634 |
| One coding-agent turn: 60,000 in (50,000 cached), 2,000 out | ¥0.0215 | ¥0.387 | ¥0.774 |
In the third example cached input is billed at the cache-read rate, about 1/20 of the normal input price for claude-sonnet-5.5. Caching needs cache_control in the request (Claude Code uses it automatically); the first cache write is billed at the cache-write rate, not included above.
Two ways to call it
Create an API key in the workspace and replace YOUR_88Z_API_KEY. The Anthropic SDK base_url has no /v1; the OpenAI SDK base_url needs /v1.
import anthropic
client = anthropic.Anthropic(
base_url="https://api.88z.ai", # no /v1 here
api_key="YOUR_88Z_API_KEY",
)
msg = client.messages.create(
model="anthropic/claude-sonnet-5.5",
max_tokens=1024,
messages=[{"role": "user", "content": "Explain vector databases in three sentences"}],
)
print(msg.content[0].text)from openai import OpenAI
client = OpenAI(base_url="https://api.88z.ai/v1", api_key="YOUR_88Z_API_KEY")
resp = client.chat.completions.create(
model="anthropic/claude-sonnet-5.5",
messages=[{"role": "user", "content": "Hello"}],
stream=True,
)
for chunk in resp:
if chunk.choices:
print(chunk.choices[0].delta.content or "", end="")curl https://api.88z.ai/v1/messages \
-H "x-api-key: YOUR_88Z_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{"model":"anthropic/claude-sonnet-5.5","max_tokens":256,"messages":[{"role":"user","content":"ping"}]}'Auth: either x-api-key or Authorization: Bearer. Full reference: API capabilities and api.md.
Limits to know first
- Per request: up to 32,768 output tokens, 128 messages, 32 tools and 512 KiB of text.
- Points are reserved up to the request cap before sending and settled on actual usage afterwards; the rest is released. A low balance returns 402 insufficient_points.
- No SLA or latency benchmark is published. If you need an official contract or a specific data region, use Anthropic’s official API.
FAQ
Is this the official Anthropic Claude API?
No. 88Z.ai is not an official API of any model vendor and is not affiliated with Zhipu z.ai or 88api.ai. 88Z.ai gives you one key that calls Claude and other models through Anthropic-compatible and OpenAI-compatible endpoints, billed in CNY points.
How do I pay without an international credit card?
Register, top up with Alipay (10 to 500 CNY per payment, 1 CNY = 1,000 points), then create an API key in the workspace. Points are credited automatically after payment.
What model name should I use?
Use the full catalogue ID such as anthropic/claude-sonnet-5.5. Claude Code's own names such as claude-sonnet-5-5 also resolve to the same model.
Why does a price here differ from one I saw elsewhere?
Prices are per million tokens and follow the live catalogue. Reference prices follow price changes by the model services, and models are added or retired over time, so prices and the model count can differ between visits. When quoting a price, include the catalogue time and treat /models.json as the current value.
What are the per-request limits?
Up to 32,768 output tokens, 128 messages, 32 tools and 512 KiB of text per request. Streaming, tool use and image input (on vision models) are supported. Batch variants in the catalogue are price references only.