Kembali ke katalog
Anthropic·Text

Claude Sonnet 5API

Near-Opus coding and agentic quality at Sonnet cost.

Harga input

$2.00

per 1M tokens

Harga output

$10.00

per 1M tokens

Prompt caching

Kirim cache_control pada prefiks stabil — hit cache ditagih sepersekian dari harga input. Tulis cache ditagih dengan tarif tulis penyedia: 1,25× input di Claude dan GPT-5.6+, harga input di model lain.

Baca cache
$0.2
Tulis cache
$2.5

Dihitung otomatis sebagai input × 0.1

Spesifikasi

ID model
claude-sonnet-5
Endpoint
POST /v1/chat/completions
Kategori
Text
Penyedia
Anthropic
Jendela konteks (token)
1,000,000
Output maks. (token)
128,000
Kemampuan
visionfunctionstreamingthinkinglong-context

Kompatibilitas drop-in OpenAI

Arahkan SDK OpenAI kamu ke api.kunavo.com/v1 dan ganti ID model. Tanpa perubahan streaming, tanpa SDK baru.

Lihat dokumenClaude API pricing guide

Coba sendiri

Atur KUNAVO_API_KEY dari /app/keys dan jalankan snippet di bawah.

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 vs memanggil Anthropic langsung

Model Claude Sonnet 5 dan responsnya sama persis. Yang diubah gateway adalah akun, SDK, dan tagihan — ini perbandingan jujurnya.

KunavoAnthropic langsung
Harga (per 1M tokens)$2.00 / $10.00$2.00 / $10.00
AkunSatu akun Kunavo, kunci dalam 2 menit, isi ulang minimum $10Akun Anthropic beserta pengaturan penagihannya sendiri
SDKTetap pakai OpenAI SDK — ganti base_url, isi model dengan "claude-sonnet-5"SDK milik Anthropic, atau lapisan kompatibel-OpenAI bila tersedia
Kunci yang sama juga menjangkauClaude, Gemini, GPT plus model gambar, video, dan audioHanya katalog Anthropic sendiri
PenagihanSatu saldo Stripe, bayar sesuai pemakaian, tidak pernah hangus; permintaan gagal tidak ditagihFaktur terpisah untuk tiap penyedia
Batas lajuKapasitas gateway bersama, tanpa batas kontraktual per akunBatas tier Anthropic sendiri, dinaikkan lewat riwayat pemakaian atau kontrak

Pilih Anthropic langsung bila Anda butuh batas laju kontraktual, SLA enterprise, atau fitur khusus penyedia sejak hari pertama. Kunavo cocok bila Anda ingin satu kunci dan satu saldo untuk semua penyedia, tanpa membuka akun di masing-masing.

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.