GPT-6 Luna
OpenAI · US · konteks 1050K · maks output 128K
Status live: memuat… (data live sedang dimuat; tabel harga statis di bawah tetap berlaku)
GPT-6 Luna (OpenAI) lewat satu kunci Ngoding. Harga tier dasar: 3,2 credit/1M token input (Rp320) dan 16 credit/1M token output — ≥ 80,00% lebih murah dari harga resmi (kurs ≥ Rp16.000). Catatan: Prompt di atas 272K token: seluruh request memakai tarif panjang resmi. Cache write 30 menit ditagih sebagai input.
HARGA PER TIER
| Prompt ≥ | Input /1M | Output /1M | Cache baca /1M | Harga resmi in (dicoret) | Diskon min. |
|---|---|---|---|---|---|
| 0 | 3,2 credit Rp320 | 16 credit Rp1.600 | 0,32 credit | | 82,12% |
| 272.001 | 6,4 credit Rp640 | 24 credit Rp2.400 | 0,64 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,064 credit (Rp6).
PAKAI MODEL INI
Ganti base URL ke https://api.ngoding.in dan
isi model dengan gpt-6-luna.
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="gpt-6-luna",
messages=[{"role": "user", "content": "Halo!"}],
) curl
curl https://api.ngoding.in/v1/chat/completions \
-H "Authorization: Bearer sk-ngd-..." \
-d '{"model": "gpt-6-luna",
"messages": [{"role": "user",
"content": "Halo!"}]}'