Quay lại danh mục
Anthropic·Text

Claude Sonnet 5API

Near-Opus coding and agentic quality at Sonnet cost.

Giá input

$2.00

per 1M tokens

Giá output

$10.00

per 1M tokens

Prompt caching

Truyền cache_control trên các tiền tố ổn định — hit cache được tính bằng một phần nhỏ giá input. Ghi cache theo giá ghi của nhà cung cấp: 1,25× input trên Claude và GPT-5.6+, giá input ở các mô hình khác.

Đọc cache
$0.2
Ghi cache
$2.5

Được tính tự động bằng input × 0.1

Thông số kỹ thuật

ID mô hình
claude-sonnet-5
Endpoint
POST /v1/chat/completions
Danh mục
Text
Nhà cung cấp
Anthropic
Cửa sổ ngữ cảnh (token)
1,000,000
Đầu ra tối đa (token)
128,000
Khả năng
visionfunctionstreamingthinkinglong-context

Tương thích drop-in với OpenAI

Trỏ SDK OpenAI của bạn tới api.kunavo.com/v1 và đổi ID mô hình. Không thay đổi streaming, không SDK mới.

Xem tài liệuClaude API pricing guide

Tự mình thử

Thiết lập KUNAVO_API_KEY từ /app/keys và chạy đoạn mã bên dưới.

curl
curl https://api.kunavo.com/v1/chat/completions \
  -H "Authorization: Bearer $KUNAVO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "messages": [
      {"role": "user", "content": "Hello, Claude Sonnet 5"}
    ],
    "stream": false
  }'

Kunavo so với gọi Anthropic trực tiếp

Vẫn là Claude Sonnet 5 đó, vẫn phản hồi đó. Thứ mà một gateway thay đổi là tài khoản, SDK và hóa đơn — đây là so sánh thẳng thắn.

KunavoAnthropic trực tiếp
Giá (per 1M tokens)$2.00 / $10.00$2.00 / $10.00
Tài khoảnMột tài khoản Kunavo, lấy key trong 2 phút, nạp tối thiểu $10Tài khoản Anthropic kèm thiết lập thanh toán riêng
SDKGiữ nguyên OpenAI SDK — đổi base_url, đặt model là "claude-sonnet-5"SDK riêng của Anthropic, hoặc lớp tương thích OpenAI nếu có
Cùng một key còn gọi đượcClaude, Gemini, GPT cùng các mô hình ảnh, video và âm thanhChỉ danh mục của riêng Anthropic
Thanh toánMột số dư Stripe, trả theo mức dùng, không hết hạn; request lỗi không bị tính phíHóa đơn riêng cho từng nhà cung cấp
Giới hạn tốc độDung lượng gateway dùng chung, không có hạn mức hợp đồng theo tài khoảnHạn mức theo bậc của Anthropic, nâng theo lịch sử dùng hoặc hợp đồng

Hãy đi thẳng tới Anthropic nếu bạn cần hạn mức tốc độ theo hợp đồng, SLA doanh nghiệp, hoặc một tính năng riêng của nhà cung cấp ngay từ ngày đầu. Kunavo phù hợp khi bạn muốn một key và một số dư cho mọi nhà cung cấp, mà không phải mở tài khoản riêng ở từng bên.

FAQ

How much does Claude Sonnet 5 cost?

On Kunavo, Claude Sonnet 5 is $2.00 per 1M input tokens and $10.00 per 1M output tokens. Failed requests are never billed, and it's pay-as-you-go — you only pay for successful calls.

Can I call Claude Sonnet 5 with the OpenAI SDK?

Yes. Set base_url to https://api.kunavo.com/v1, pass your Kunavo key, and set model to "claude-sonnet-5". Requests and responses are OpenAI-compatible; Claude is also available on the native /v1/messages endpoint.

What endpoint does Claude Sonnet 5 use?

Claude Sonnet 5 is called via POST /v1/chat/completions on Kunavo's OpenAI-compatible API.

What is Claude Sonnet 5 good for?

Claude Sonnet 5 is a text model from Anthropic, with support for vision, function, streaming, thinking, long-context.

What is different from calling Anthropic directly?

The model is the same. What changes is around it: one key and one Stripe balance instead of a Anthropic account with its own billing, the OpenAI SDK with base_url swapped instead of a provider-specific SDK, and the same key also reaching Claude, Gemini, GPT, image, video and audio models. The tradeoff is that gateway capacity is shared — if you need a contractual rate limit or an enterprise SLA on Claude Sonnet 5 specifically, go direct to Anthropic.

Is Claude Sonnet 5 cheaper on Kunavo?

No — Claude Sonnet 5 costs the same on Kunavo as it does direct from Anthropic: $2.00 per 1M input tokens and $10.00 per 1M output tokens, which is Anthropic's own list price. It is the one model here priced at list rather than under it. What Kunavo adds is not a lower rate but one key and one balance across every model, no Anthropic account, no monthly minimum, no charge for failed requests, and a balance that never expires.