Grok 4.6 costs Rp 74,000 per million input tokens and Rp 222,000 per million output tokens on Roar AI, charged in Indonesian rupiah. xAI’s flagship from August 2026, strongest at graduate-level science questions.
These are API prices for building with Grok 4.6, billed by what you use. They are not the price of a Grok plan.
Example: 1,000 requests with 3,000 input and 1,000 output tokens each cost Rp 444,000. Every rate is published and stays the same from one request to the next. See every model, or estimate a monthly bill with the token calculator, in US dollars.
Rates as of 1 December 2026. The IDR conversion rate is set each month. The published rate for December 2026 also applies when you top up by card.
grok-4.6Grok 4.6 was xAI’s flagship for code and general work until Grok 4.7 replaced it in September 2026. Its strongest result is 94.9% on GPQA Diamond, a test of graduate-level science questions, which independent rankings put first of hundreds of models. It also made a big jump over Grok 4.5 on agent-style office work, and xAI highlights turning a rough description into a working software prototype.
On an independent test of made-up answers, its rate fell from 54% to 34%. That is better, but still about one wrong answer in three on that test, so keep a check on anything a customer sees. Its context window is 500K tokens, half that of the million-token models.
Access Grok 4.6 through the Roar AI gateway with your Roar AI API key, and pay for usage from your IDR-funded credit balance. Requests from Indonesia enter through Roar AI’s Singapore gateway.
Use the OpenAI SDK you already have: point it at Roar AI and set the model name. Read the docs.
from openai import OpenAI
client = OpenAI(base_url="https://api.roar-ai.com/v1", api_key="roar_live_…")
reply = client.chat.completions.create(
model="grok-4.6",
messages=[{"role": "user", "content": "Summarise this contract in plain English."}],
)Grok 4.6 is a frontier model, and requests are processed on international infrastructure, outside Indonesia. The model directory says where each model is processed.
Input is Rp 74,000 per 1M tokens; output is Rp 222,000 per 1M tokens. For example, 1,000 requests with 3,000 input and 1,000 output tokens each cost Rp 444,000. The IDR conversion rate is set each month. The published rate for December 2026 also applies when you top up by card.
Yes. Roar AI charges card top-ups in IDR at its published monthly rate. Usage draws from the same credit balance as your other models. No separate xAI account is needed.
No. xAI does not publish the weights, so it is only available through an API like this one.
Grok 4.6 can read up to 500K tokens in one request.
It reads images directly. You can still send it a PDF: Roar AI turns each page into text first, at no extra charge.
Create a free account, get an API key and call Grok 4.6 with the OpenAI SDK. Top up your credits in rupiah.