Buy Grok API credits in India, in rupees with UPI
Buying xAI credits directly
xAI sells Grok API credits on its console in US dollars, paid by card. From India that usually means a card enabled for international payments, a forex markup on each payment, and 18% GST to self-assess under reverse charge, because the seller is outside India. The pay in rupees guide works through what that adds to a bill.
Buying Grok credits through Rapid Router
Rapid Router is an AI model gateway built and run in India. You top up one balance in rupees with UPI, a card, netbanking or NEFT; every top-up raises a GST invoice with our GSTIN. Each Grok request is billed at xAI's list price per million tokens, and the platform fee (5%) is charged once, when you buy credits.
The same balance also pays for GPT, Claude, Gemini and DeepSeek, so moving a workload to another model needs no new account.
Grok API prices in rupees
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Grok 4.7 x-ai/grok-4.7 | ₹193 | ₹578 | 500K |
| Grok 4.6 x-ai/grok-4.6 | ₹193 | ₹578 | 500K |
| Grok 4.5 x-ai/grok-4.5 | ₹193 | ₹578 | 500K |
| Grok 4.3 x-ai/grok-4.3 | ₹120 | ₹241 | 1M |
| Grok 4.20 x-ai/grok-4.20 | ₹120 | ₹241 | 2M |
| Grok 4.20 (Non-Reasoning) x-ai/grok-4.20-0309-non-reasoning | ₹120 | ₹241 | 1M |
| Grok 4.20 (Reasoning) x-ai/grok-4.20-0309-reasoning | ₹120 | ₹241 | 1M |
| Grok 4.20 (Non-Reasoning) x-ai/grok-4.20-non-reasoning | ₹120 | ₹241 | 1M |
The lowest-priced Grok model in this list is Grok 4.3. Every Grok model, including older ones, is on the Grok pricing page, and the India AI API Price Index compares families each month.
Call it with the OpenAI SDK
Keep the code you have. Point the OpenAI client at https://rapidrouter.ai/api/v1, use your Rapid Router key, and name the model as x-ai/grok-4.7.
from openai import OpenAI
client = OpenAI(
base_url="https://rapidrouter.ai/api/v1",
api_key="YOUR_RAPID_ROUTER_KEY",
)
reply = client.chat.completions.create(
model="x-ai/grok-4.7",
messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)Create a free account, make a key, and try the free models straight away. Top up in rupees when you are ready, and switch models by changing one string. Setup for Cursor, Cline, LangChain, n8n and more is on the integrations page.