Grok 4.3
x-ai/grok-4.3
Overview
Chat
Low cost
xAI's fast, reliable model with strong tool calling and instruction following, image input and a 1M-token context.
Made by xAI
Input
Text · ImagesOutput
Text- Context
- 1.000.000
- Input, maximum
- 934.464
- Output, maximum
- 65.536
- Default output
- 4.096
- Reasoning Supported
- Tool calling Supported
- Prompt caching Supported
- Automatic fallback routes Not supported
Routes and pricing
Providers are tried in the order listed below. We try these providers in order. If one fails, we move on to the next, and you pay the rate of the one that answers.
xAI
primary- Input
- Rp23.130per million tokens$1.25
- Output
- Rp46.250per million tokens$2.5
- Cache read
- Rp3.700per million tokens$0.2
Per-part units
- Max tokens per input image
- 2.500 measured live 2026-09-15 (UTC), 2026-09-15
Prompts from 200.000 tokens
- Input: Rp46.250 per million tokens
- Output: Rp92.500 per million tokens
- Cache read: Rp7.400 per million tokens
Today's reference rate: Rp18.500/USD
Prices exclude the 5,5% service fee
Data and privacy
xAI xAI API security FAQ
- Used to train models
- No
- Retention
- 30 days for abuse audits, then deleted.
- Processing location
- Not stated in the policy.
- At indoRouter
- We don't store your prompts or responses. Files you upload, batches, and responses you send with
store: trueare kept encrypted for up to 30 days.
Code samples
Use this model ID with any OpenAI SDK. The base URL is the same for every model.
curl https://api.indorouter.ai/v1/chat/completions \
-H "authorization: Bearer $INDOROUTER_API_KEY" \
-H "content-type: application/json" \
-d '{"model": "x-ai/grok-4.3",
"messages": [{"role": "user", "content": "halo"}]}'
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.indorouter.ai/v1",
api_key=os.environ["INDOROUTER_API_KEY"],
)
reply = client.chat.completions.create(
model="x-ai/grok-4.3",
messages=[{"role": "user", "content": "halo"}],
)
print(reply.choices[0].message.content)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.indorouter.ai/v1",
apiKey: process.env.INDOROUTER_API_KEY,
});
const reply = await client.chat.completions.create({
model: "x-ai/grok-4.3",
messages: [{ role: "user", content: "halo" }],
});
console.log(reply.choices[0].message.content);