Claude
Claude Text

sypham98/claude-sonnet-4-6

Model ID: sypham98/claude-sonnet-4-6
Keluarga model
Claude
Context
1,000,000
Biaya minimum / request
9.23 Rp
Tingkat cache
77.4%
Jumlah request
1.1K
Berhasil
97.6%
Token
81.19M
Uptime 98.64%
24 jam laluSekarang
7 hari laluSekarang

Daftar harga

Input / 1M token
461.538 Rp
Output / 1M token
1384.615 Rp
Biaya minimum / request
9.23 Rp
Prompt Cache 77.4%
Cache read / 1M token
92.307 Rp
Cache write / 1M token
461.538 Rp

Prompt berulang di-cache — pembacaan ulang jauh lebih murah daripada input, otomatis saat dipanggil via API.

Riwayat perubahan harga

Tingkat harga yang pernah diterapkan. Baris berlabel "saat ini" adalah harga yang sedang berlaku.

Sebelumnya Sejak 17/08/2026 - 06:21:38
Input / 1M token516.923 Rp Output / 1M token1476.923 Rp Biaya minimum / request14.769 Rp Cache read / 1M token184.615 Rp Cache write / 1M token738.461 Rp
Saat ini Sejak 21/08/2026 - 09:33:59
Input / 1M token461.538 Rp Output / 1M token1384.615 Rp Biaya minimum / request9.23 Rp Cache read / 1M token92.307 Rp Cache write / 1M token461.538 Rp
Estimasi biaya
Estimasi total 0 Rp
Rata-rata / request 0 Rp

Estimasi berdasarkan harga yang dipublikasikan. Jika ada cache biasanya lebih murah.

Endpoint yang didukung
https://api.xah.io/v1/chat/completions
https://api.xah.io/v1/completions
https://api.xah.io/v1/messages
https://api.xah.io/v1/responses
https://api.xah.io/v1beta/models/sypham98/claude-sonnet-4-6:generateContent
https://api.xah.io/api/chat
https://api.xah.io/api/generate
Metode POST · application/json
Autentikasi Bearer token (API key)
Beban teruji 🟢 High peak 31/s · sustained 4.1/s
Latensi p95 6,852 ms
Jenis API Text

Bagikan

curl 'https://api.xah.io/v1/chat/completions' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "sypham98/claude-sonnet-4-6",
    "messages": [
        {
            "role": "user",
            "content": "Halo, kamu siapa?"
        }
    ]
}'
// Node.js / Browser
const res = await fetch('https://api.xah.io/v1/chat/completions', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "model": "sypham98/claude-sonnet-4-6",
    "messages": [
        {
            "role": "user",
            "content": "Halo, kamu siapa?"
        }
    ]
})
});
const data = await res.json();
console.log(data);
import json, requests

url = 'https://api.xah.io/v1/chat/completions'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
}
payload = json.loads("{\n    \"model\": \"sypham98/claude-sonnet-4-6\",\n    \"messages\": [\n        {\n            \"role\": \"user\",\n            \"content\": \"Halo, kamu siapa?\"\n        }\n    ]\n}")

res = requests.post(url, headers=headers, json=payload, stream=True, timeout=120)
print(res.status_code, res.json())
{
    "model": "sypham98/claude-sonnet-4-6",
    "messages": [
        {
            "role": "user",
            "content": "Halo, kamu siapa?"
        }
    ]
}

Coba cepat

Kirim prompt dengan API key Anda — memakai kredit sungguhan, hasilnya stream langsung kembali.

Ulasan & komentar
★ 0.0 / 0 ulasan
Memuat ulasan...
Hubungi Dukungan
Kami selalu siap membantu Anda