Claude Sonnet 4

anthropic/claude-sonnet-4

text, image, document input · text output · konteks 200,000 · output maks 64,000

alatskemavisipenalarancachetanpa pelatihan
Biaya efektif per 1rb permintaan

biaya = p_in·(input − cached) + p_cache_read·cached + p_out·output + p_req; token tercache adalah prefiks yang sudah disimpan endpoint sticky (part2b §9.3), sehingga harga daftar termurah tidak selalu menghasilkan permintaan termurah.

PenyediaWilayah · kuantisasiKonteks / output maksInput / MOutput / MBaca / tulis cachePer 1rb permintaanUptime 30 hrTTFT p50 / p95Throughput24 jam terakhirFidelitasDataKemampuanStatus
ai.mlglobal · unknown200,000 / 64,000$3.150$15.75$0.315 / $3.938$11.340---tidak ada lalu lintas- tanpa pelatihan 30 hrbawaan modelaktif

Mulai cepat

curl https://api.ai.ml/v1/chat/completions \
  -H "Authorization: Bearer $AIML_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-sonnet-4","messages":[{"role":"user","content":"Say hello"}]}'
Dapatkan kunci di konsol

Log perubahan

  • new_model model anthropic/claude-sonnet-4 added (active); endpoint ep_aiml_claude-sonnet-4_global (anthropic/claude-sonnet-4) added as active; price input 3.150 output 15.750 USD/M 5/10/2026