# 1 xAI model · example with grok-4-6
import os
from openai import OpenAI
client = OpenAI(base_url="https://ai.helipod.io/v1",
api_key=os.environ["HELIPOD_AI_KEY"])
r = client.chat.completions.create(
model="grok-4-6",
messages=[{"role": "user", "content": "Halo!"}])Grok API pricing
Final prices in Rupiah per 1 million tokens. Cached = prompt tokens the provider already has in its cache (repeated system prompts, long documents).
Cost calculator
Per request
| Fresh input | 1,000 × Rp 35.600 | Rp 35,6 |
| Cached input | 1,000 × Rp 8.900 | Rp 8,9 |
| Output | 500 × Rp 106.800 | Rp 53,4 |
| One request | Rp 97,9 | |
A month (500 requests/day × 30)
Rp 1.468.500
An estimate: you are billed per request for the tokens actually used.
Grok API
The Grok API is programmatic access to the Grok models by xAI. Grok 4.6 supports reasoning, tool calling, structured output, image input and up to 500 thousand tokens of context.
On Helipod, Grok is called with the OpenAI or Anthropic SDK and one Helipod API key, without an xAI account. Usage is billed per token in Rupiah from your Helipod balance.
A separate account, dollar billing and an international credit card.
The same xAI models, billed in Rupiah from one balance.
Advantages
Comparison
| Direct from xAI | Helipod AI Gateway | |
|---|---|---|
| Billing currency | Dollars (USD) | Rupiah, per token |
| Payment | International credit card | QRIS / virtual account |
| Other models | xAI models only | Claude, GPT, Gemini, DeepSeek, etc. |
| SDK | xAI SDK | OpenAI & Anthropic SDKs |
| Spend cap per key | Per organization | Per API key, monthly |
| Request history | xAI dashboard | Helipod console, prices recorded |
The Helipod team is happy to help you pick the right service.
Use cases
FAQ
Other models on the Helipod AI Gateway, with the same API key
Compare every model in the AI Gateway price list.