Requests
Requests in the selected window, excluding refund records.
Claude Sonnet 5 suits everyday development and professional text work, including code changes, document organization and business automation. Check the route for available tools and context limits.
Different providers serve this model. Compare pricing and performance, select a provider, or use automatic routing.
| Provider | Variant / API model ID | Input / M | Output / M | Cache read / M | Request latency | Output rate | Request success | Connect |
|---|---|---|---|---|---|---|---|---|
claude-sonnet-5✓ Official routeclaude-sonnet-5-ad | ¥9.8 | ¥49 | ¥0.98 | 17.36 s | 7.2 tokens/s | 100.00% | Use route ↗ | |
claude-sonnet-5 · 号池52.1–55% offclaude-sonnet-5-r4cf8f1-yh | ¥6.2 | ¥31 | ¥0.61 | — | — | — | Use route ↗ |
Values apply to the currently selected API model ID. claude-sonnet-5-ad
Declared and manually configured parameters are informational. They do not enable capabilities or change gateway limits; actual requests remain subject to the selected route’s validation and upstream support.
| Specification | Sale price | Comparable official price | Official price comparison |
|---|---|---|---|
| Current model | Input CNY ¥9.8 / 1M tokensOutput CNY ¥49 / 1M tokensCache read CNY ¥0.98 / 1M tokensCache write CNY ¥13 / 1M tokensCache write 1h CNY ¥20 / 1M tokens | Input USD $2.0 / 1M tokensOutput USD $10.0 / 1M tokensCache read USD $0.20 / 1M tokensCache write USD $2.5 / 1M tokensCache write 1h USD $4.0 / 1M tokens | Different currencies; discount not calculated |
Discounts require a verified reference and matching billing units and specifications. USD references use the explicitly configured exchange rate; no rate means no conversion.
Use your platform API key. A unique model ID fixes this route; a family ID selects the lowest-priced route.
{
"model": "claude-sonnet-5-ad",
"messages": [
{
"role": "user",
"content": "Write a short description of the future."
}
]
}curl https://api.ai526.com/v1/chat/completions \
-H 'Authorization: Bearer YOUR_AI526_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"model":"claude-sonnet-5-ad","messages":[{"role":"user","content":"Write a short description of the future."}]}'
# API URL: use the URL above.
# YOUR_AI526_API_KEY: replace with your own platform key.
# model: use the copied unique ID, or a family ID for the lowest-priced route.
# prompt / messages: replace with your task.import requests
response = requests.post(
"https://api.ai526.com/v1/chat/completions",
headers={
"Authorization": "Bearer YOUR_AI526_API_KEY",
"Content-Type": "application/json"
},
json={
"model": "claude-sonnet-5-ad",
"messages": [
{
"role": "user",
"content": "Write a short description of the future."
}
]
},
)
response.raise_for_status()
print(response.json())
# API URL: use the URL above.
# YOUR_AI526_API_KEY: replace with your own platform key.
# model: use the copied unique ID, or a family ID for the lowest-priced route.
# prompt / messages: replace with your task.const response = await fetch("https://api.ai526.com/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_AI526_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "claude-sonnet-5-ad",
"messages": [
{
"role": "user",
"content": "Write a short description of the future."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());
// API URL: use the URL above.
// YOUR_AI526_API_KEY: replace with your own platform key.
// model: use the copied unique ID, or a family ID for the lowest-priced route.
// prompt / messages: replace with your task.Values apply to the currently selected API model ID. claude-sonnet-5-r4cf8f1-yh
Declared and manually configured parameters are informational. They do not enable capabilities or change gateway limits; actual requests remain subject to the selected route’s validation and upstream support.
| Specification | Sale price | Comparable official price | Official price comparison |
|---|---|---|---|
| Current model | Input CNY ¥6.2 / 1M tokensOutput CNY ¥31 / 1M tokensCache read CNY ¥0.61 / 1M tokensCache write CNY ¥7.7 / 1M tokensCache write 1h CNY ¥13 / 1M tokens | Input USD $2.0 / 1M tokensOutput USD $10.0 / 1M tokensCache read USD $0.20 / 1M tokensCache write USD $2.5 / 1M tokensCache write 1h USD $4.0 / 1M tokens | Input · 54.31% lessOutput · 54.31% lessCache read · 55% lessCache write · 54.61% lessCache write 1h · 52.1% less |
Discounts require a verified reference and matching billing units and specifications. USD references use the explicitly configured exchange rate; no rate means no conversion.
Use your platform API key. A unique model ID fixes this route; a family ID selects the lowest-priced route.
{
"model": "claude-sonnet-5-r4cf8f1-yh",
"messages": [
{
"role": "user",
"content": "Write a short description of the future."
}
]
}curl https://api.ai526.com/v1/chat/completions \
-H 'Authorization: Bearer YOUR_AI526_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"model":"claude-sonnet-5-r4cf8f1-yh","messages":[{"role":"user","content":"Write a short description of the future."}]}'
# API URL: use the URL above.
# YOUR_AI526_API_KEY: replace with your own platform key.
# model: use the copied unique ID, or a family ID for the lowest-priced route.
# prompt / messages: replace with your task.import requests
response = requests.post(
"https://api.ai526.com/v1/chat/completions",
headers={
"Authorization": "Bearer YOUR_AI526_API_KEY",
"Content-Type": "application/json"
},
json={
"model": "claude-sonnet-5-r4cf8f1-yh",
"messages": [
{
"role": "user",
"content": "Write a short description of the future."
}
]
},
)
response.raise_for_status()
print(response.json())
# API URL: use the URL above.
# YOUR_AI526_API_KEY: replace with your own platform key.
# model: use the copied unique ID, or a family ID for the lowest-priced route.
# prompt / messages: replace with your task.const response = await fetch("https://api.ai526.com/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_AI526_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "claude-sonnet-5-r4cf8f1-yh",
"messages": [
{
"role": "user",
"content": "Write a short description of the future."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());
// API URL: use the URL above.
// YOUR_AI526_API_KEY: replace with your own platform key.
// model: use the copied unique ID, or a family ID for the lowest-priced route.
// prompt / messages: replace with your task.Providers for the same API model ID currently share model pricing; variants have independent rates. A selected provider retries only within its own keys, never across variants or providers. Official badges apply to their individual routes.
Aggregated across providers for the selected variant · UTC
2026-10-07 00:00 — 2026-11-05 07:02 UTC
Requests in the selected window, excluding refund records.
Mean end-to-end duration of successful requests, not time to first token.
Successful requests divided by total requests, not an SLA.
Non-estimated output tokens per end-to-end second, shown only from valid logs.
Statistics use UTC. Metrics without valid records display —. Request volume uses the configured public display scale.
A family ID chooses the lowest-priced available route; a unique ID selects its own route.
Choose a protocol and enter its API URL, your key and this model ID. No client code changes are needed.
https://api.ai526.com/v1https://api.ai526.comclaude-sonnet-5Base URL: https://api.ai526.com/v1 · /v1/chat/completions
curl https://api.ai526.com/v1/chat/completions \
-H 'Authorization: Bearer YOUR_AI526_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"model":"claude-sonnet-5","messages":[{"role":"user","content":"Write a short description of the future."}]}'
# API URL: use the URL above.
# YOUR_AI526_API_KEY: replace with your own platform key.
# model: use the copied unique ID, or a family ID for the lowest-priced route.
# prompt / messages: replace with your task.import requests
response = requests.post(
"https://api.ai526.com/v1/chat/completions",
headers={
"Authorization": "Bearer YOUR_AI526_API_KEY",
"Content-Type": "application/json"
},
json={
"model": "claude-sonnet-5",
"messages": [
{
"role": "user",
"content": "Write a short description of the future."
}
]
},
)
response.raise_for_status()
print(response.json())
# API URL: use the URL above.
# YOUR_AI526_API_KEY: replace with your own platform key.
# model: use the copied unique ID, or a family ID for the lowest-priced route.
# prompt / messages: replace with your task.const response = await fetch("https://api.ai526.com/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_AI526_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "claude-sonnet-5",
"messages": [
{
"role": "user",
"content": "Write a short description of the future."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());
// API URL: use the URL above.
// YOUR_AI526_API_KEY: replace with your own platform key.
// model: use the copied unique ID, or a family ID for the lowest-priced route.
// prompt / messages: replace with your task.Base URL: https://api.ai526.com · /v1/messages
curl https://api.ai526.com/v1/messages \
-H 'x-api-key: YOUR_AI526_API_KEY' \
-H 'anthropic-version: 2023-06-01' \
-H 'Content-Type: application/json' \
-d '{"model":"claude-sonnet-5","max_tokens":256,"messages":[{"role":"user","content":"Write a short description of the future."}]}'
# API URL: use the URL above.
# YOUR_AI526_API_KEY: replace with your own platform key.
# model: use the copied unique ID, or a family ID for the lowest-priced route.
# prompt / messages: replace with your task.import requests
response = requests.post(
"https://api.ai526.com/v1/messages",
headers={
"x-api-key": "YOUR_AI526_API_KEY",
"anthropic-version": "2023-06-01",
"Content-Type": "application/json"
},
json={
"model": "claude-sonnet-5",
"max_tokens": 256,
"messages": [
{
"role": "user",
"content": "Write a short description of the future."
}
]
},
)
response.raise_for_status()
print(response.json())
# API URL: use the URL above.
# YOUR_AI526_API_KEY: replace with your own platform key.
# model: use the copied unique ID, or a family ID for the lowest-priced route.
# prompt / messages: replace with your task.const response = await fetch("https://api.ai526.com/v1/messages", {
method: "POST",
headers: {
"x-api-key": "YOUR_AI526_API_KEY",
"anthropic-version": "2023-06-01",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "claude-sonnet-5",
"max_tokens": 256,
"messages": [
{
"role": "user",
"content": "Write a short description of the future."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());
// API URL: use the URL above.
// YOUR_AI526_API_KEY: replace with your own platform key.
// model: use the copied unique ID, or a family ID for the lowest-priced route.
// prompt / messages: replace with your task.Replace the placeholder key before calling. Media options depend on model support.
Prepare a request, then send it from the dashboard. This page makes no model calls.
{
"model": "claude-sonnet-5",
"messages": [
{
"role": "user",
"content": "Write a short description of the future."
}
]
}This is a request preview. Results appear in the dashboard after a request completes.
Start with automatic routing. To select a public provider, choose its code and copy the updated example. Retries remain within that provider.
Metrics update from request records. Latency covers completed successful requests; metrics without valid records display —.
The client must support the model’s protocol and a custom API URL. See tool integration guides ↗