GPT
GPT Text

openai/gpt-6.1-terra

Model ID: openai/gpt-6.1-terra
Keluarga model
GPT
Context
Tidak diperbarui
Input / 1M token
750 Rp
Tingkat cache
—
Jumlah request
0
Berhasil
—
Token
0
Uptime
24 jam laluSekarang
7 hari laluSekarang

Daftar harga

Input / 1M token
750 Rp
Output / 1M token
4500 Rp
Biaya minimum / request
20 Rp
Prompt Cache
Cache read / 1M token
225 Rp
Cache write / 1M token
1500 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.

Saat ini Sejak 27/10/2026 - 09:48:24
Input / 1M token750 Rp Output / 1M token4500 Rp Biaya minimum / request20 Rp Cache read / 1M token225 Rp Cache write / 1M token1500 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/openai/gpt-6.1-terra: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

Catatan teknis

Tiết kiệm gấp đôi gpt-6.1-sol

Bagikan

curl 'https://api.xah.io/v1/chat/completions' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "openai/gpt-6.1-terra",
    "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": "openai/gpt-6.1-terra",
    "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\": \"openai/gpt-6.1-terra\",\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": "openai/gpt-6.1-terra",
    "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