GPT
GPT Text

thanhnhan9023/gpt-6-astra

Model ID: thanhnhan9023/gpt-6-astra
Keluarga model
GPT
Context
Tidak diperbarui
Biaya minimum / request
10 Rp
Tingkat cache
44.2%
Jumlah request
2K
Berhasil
97.2%
Token
115.88M
Uptime 96.45%
24 jam laluSekarang
7 hari laluSekarang

Daftar harga

Input / 1M token
3000 Rp
Output / 1M token
6000 Rp
Per request
10 Rp
Biaya minimum / request
10 Rp
Prompt Cache 44.2%
Cache read / 1M token
2500 Rp
Cache write / 1M token
4500 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 19/08/2026 - 17:28:29
Input / 1M token1384.615 Rp Output / 1M token2030.769 Rp Per request9.23 Rp Biaya minimum / request9.23 Rp
Saat ini Sejak 15/09/2026 - 01:49:22
Input / 1M token3000 Rp Output / 1M token6000 Rp Per request10 Rp Biaya minimum / request10 Rp Cache read / 1M token2500 Rp Cache write / 1M token4500 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/messages
https://api.xah.io/v1/responses
https://api.xah.io/v1beta/models/thanhnhan9023/gpt-6-astra:generateContent
https://api.xah.io/api/chat
https://api.xah.io/api/generate
Metode POST · application/json
Autentikasi Bearer token (API key)
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": "thanhnhan9023/gpt-6-astra",
    "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": "thanhnhan9023/gpt-6-astra",
    "messages": [
        {
            "role": "user",
            "content": "Halo, kamu siapa?"
        }
    ]
})
});
const data = await res.json();
console.log(data);
import requests

url = 'https://api.xah.io/v1/chat/completions'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
}
payload = {
    "model": "thanhnhan9023/gpt-6-astra",
    "messages": [
        {
            "role": "user",
            "content": "Halo, kamu siapa?"
        }
    ]
}

res = requests.post(url, headers=headers, json=payload, timeout=120)
print(res.status_code, res.json())
{
    "model": "thanhnhan9023/gpt-6-astra",
    "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