Grok 4.3
xAI · US · konteks 1M · maks output 0
Status live: memuat… (data live sedang dimuat; tabel harga statis di bawah tetap berlaku)
Grok 4.3 (xAI) lewat satu kunci Ngoding. Harga tier dasar: 40 credit/1M token input (Rp4.000) dan 80 credit/1M token output — ≥ 80,00% lebih murah dari harga resmi (kurs ≥ Rp16.000). Catatan: Prompt mulai 200K token: seluruh request memakai tarif panjang resmi.
HARGA PER TIER
| Prompt ≥ | Input /1M | Output /1M | Cache baca /1M | Harga resmi in (dicoret) | Diskon min. |
|---|---|---|---|---|---|
| 0 | 40 credit Rp4.000 | 80 credit Rp8.000 | 6,4 credit | | 82,12% |
| 200.000 | 80 credit Rp8.000 | 160 credit Rp16.000 | 12,8 credit | | 82,12% |
Sumber harga resmi: tautan provider. Cache tulis 5 mnt / 1 jam mengikuti tarif tier — lihat tabel lengkap di /pricing/.
KALKULATOR BIAYA
Contoh: 10.000 token input + 2.000 token output = 0,56 credit (Rp56).
PAKAI MODEL INI
Ganti base URL ke https://api.ngoding.in dan
isi model dengan grok-4.3.
OpenAI SDK
from openai import OpenAI
client = OpenAI(
base_url="https://api.ngoding.in/v1",
api_key="sk-ngd-...",
)
r = client.chat.completions.create(
model="grok-4.3",
messages=[{"role": "user", "content": "Halo!"}],
) curl
curl https://api.ngoding.in/v1/chat/completions \
-H "Authorization: Bearer sk-ngd-..." \
-d '{"model": "grok-4.3",
"messages": [{"role": "user",
"content": "Halo!"}]}'