Grok 4.7 API pricing
Use Grok 4.7 by X-ai through Vikey from Rp18.000 per 1M input tokens, about 63% below the official price. Pay in Rupiah with QRIS.
Grok 4.7 pricing
-63%- Input
Rp40.860Rp18.000- Output
Rp122.400Rp36.000- Cache read
- Rp3.600
Per 1M tokens. Official price struck through.
About Grok 4.7
- Model id
- x-ai/grok-4.7
- Context window
- 500K tokens
- Capabilities
- coding, OpenClaw, Hermes, vision
Use Grok 4.7 with your coding agent
Point the base URL and API key to Vikey, then select Grok 4.7. Works with Claude Code, Codex, opencode and other tools that support an OpenAI or Anthropic base URL.
export ANTHROPIC_BASE_URL=https://api.vikey.ai
export ANTHROPIC_AUTH_TOKEN=YOUR_VIKEY_API_KEY
export ANTHROPIC_MODEL=x-ai/grok-4.7
export ANTHROPIC_DEFAULT_HAIKU_MODEL=openai/gpt-6-luna
claude# First run: export VIKEY_API_KEY=YOUR_VIKEY_API_KEY
model = "x-ai/grok-4.7"
model_provider = "vikey"
[model_providers.vikey]
name = "Vikey"
base_url = "https://api.vikey.ai/v1"
env_key = "VIKEY_API_KEY"
wire_api = "responses"// First run: export VIKEY_API_KEY=YOUR_VIKEY_API_KEY
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"vikey": {
"npm": "@ai-sdk/openai-compatible",
"name": "Vikey",
"options": {
"baseURL": "https://api.vikey.ai/v1",
"apiKey": "{env:VIKEY_API_KEY}"
},
"models": {
"x-ai/grok-4.7": {},
"openai/gpt-6-luna": {}
}
}
},
"model": "vikey/x-ai/grok-4.7",
"small_model": "vikey/openai/gpt-6-luna"
}curl https://api.vikey.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_VIKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "x-ai/grok-4.7", "messages": [{"role": "user", "content": "Halo"}]}'Frequently asked questions
How much does the Grok 4.7 API cost on Vikey?
Rp18.000 per 1M input tokens and Rp36.000 per 1M output tokens. You pay as you go, with no monthly fee.
How do I use Grok 4.7 with Claude Code or Codex?
Create an API key on Vikey, then change the base URL and API key in your agent. After that, select Grok 4.7 as the model. The docs have the full steps.
Can I use Grok 4.7 together with other models?
Yes. One Vikey API key works for every model. Just change the model name in your request or in your agent settings.
Can I pay for Grok 4.7 with QRIS?
Yes. Top up with QRIS from Rp10.000, no credit card needed. The same balance works for every model on Vikey.
Start using Grok 4.7 today
Sign up, top up from Rp10.000 with QRIS, and use your API key in your favorite agent.