Langsung ke isi
ngoding Daftar — 50 credit gratis

model / xai / grok-4.6

Grok Grok

Grok 4.6

xAI · US · konteks 500K · maks output 0

Status live: memuat… (data live sedang dimuat; tabel harga statis di bawah tetap berlaku)

Grok 4.6 (xAI) lewat satu kunci Ngoding. Harga tier dasar: 64 credit/1M token input (Rp6.400) dan 192 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

Harga Grok 4.6 per tier per 1 juta token: credit dan rupiah, harga resmi, diskon minimum
Prompt ≥ Input /1M Output /1M Cache baca /1M Harga resmi in (dicoret) Diskon min.
0 64 credit Rp6.400 192 credit Rp19.200 16 credit Rp35.796 82,12%
200.000 128 credit Rp12.800 384 credit Rp38.400 32 credit Rp71.592 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 = 1,024 credit (Rp102).

PAKAI MODEL INI

Ganti base URL ke https://api.ngoding.in dan isi model dengan grok-4.6.

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.6",
    messages=[{"role": "user", "content": "Halo!"}],
)

curl

curl https://api.ngoding.in/v1/chat/completions \
  -H "Authorization: Bearer sk-ngd-..." \
  -d '{"model": "grok-4.6",
       "messages": [{"role": "user",
                     "content": "Halo!"}]}'

MODEL SEJENIS (US)