grok-4.6 vs grok-4.7: API Pricing & Capabilities
Unit prices, a monthly cost example and capabilities of grok-4.6 and grok-4.7, side by side, from the build-time price snapshot. Both models work with the same OpenLux API key and base URL — switch by changing the model parameter.
grok-4.6: Grok 4.6 is a cutting-edge model developed by SpaceXAI for coding, agent tasks, and knowledge work. Grok 4.6 builds on Grok 4.5, with a particular focus on long-term operational agents and more ambitious interactive and visual works. It covers complex tasks across multiple steps, whether researching topics, analyzing information, working across codebases, or transforming ideas into polished applications or deliverables.
grok-4.7: Grok 4.7 is a cutting-edge model developed by SpaceXAI for coding, agent tasks, and knowledge work.
Price overview
For each model, the lowest-priced group available to visitors; input, output and monthly cost all use that group.
| Item | grok-4.6 | grok-4.7 |
|---|---|---|
| Provider | Grok (xAI) | Grok (xAI) |
| Group | Cli-Grok-1 | Cli-Grok-1 |
| Input (USD / 1M tokens) | $0.1471 | $0.1471 |
| Output (USD / 1M tokens) | $0.4412 | $0.4412 |
| Cache read (USD / 1M tokens) | $0.0368 | $0.0368 |
| Monthly cost example | $23.53 | $23.53 |
Monthly cost example: 100M input tokens + 20M output tokens per month, using the input and output prices of the same group, excluding cache.
grok-4.6, grok-4.7 have long-context tiers; the example uses first-tier prices.
Prices by group
USD per 1M tokens. Price = base price × group ratio.
grok-4.6 by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| Cli-Grok-1 | $0.1471 | $0.4412 | $0.0368 | $23.53 |
| Cli-Grok-2 | $0.2059 | $0.6177 | $0.0515 | $32.94 |
| Xai-Grok-1 | $0.8824 | $2.647 | $0.2206 | $141.18 |
grok-4.7 by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| Cli-Grok-1 | $0.1471 | $0.4412 | $0.0368 | $23.53 |
| Cli-Grok-2 | $0.2059 | $0.6177 | $0.0515 | $32.94 |
| Xai-Grok-1 | $0.8824 | $2.647 | $0.2206 | $141.18 |
Same-group comparison
Groups available to both models, with the monthly cost example in the same group:
| Group | grok-4.6 | grok-4.7 |
|---|---|---|
| Cli-Grok-1 | $23.53 | $23.53 |
| Cli-Grok-2 | $32.94 | $32.94 |
| Xai-Grok-1 | $141.18 | $141.18 |
Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table on each model page and your console.
Capabilities
| Item | grok-4.6 | grok-4.7 |
|---|---|---|
| Provider | Grok (xAI) | Grok (xAI) |
| Context | — | — |
| Features | Conversation · Tools · Image Recognition · Thinking | Conversation · Tool · Image Recognition · Thinking |
| API formats | Anthropic Messages · OpenAI Chat Completions | Anthropic Messages · OpenAI Chat Completions |
| Long-context tiers | Yes | Yes |
Which one to choose
- grok-4.6 and grok-4.7 cost about the same in the monthly example; choose by output quality and API format.
- Need Tools: grok-4.6 supports it.
- Need Tool: grok-4.7 supports it.
- Not sure? Send a small share of real traffic to each and compare quality and cost — switching only changes the model parameter.
Quick start
Base URL: https://api.openlux.ai/v1. The example uses grok-4.6; change model to grok-4.7 to call the other model.
curl https://api.openlux.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4.6",
"messages": [{"role": "user", "content": "Hello"}]
}'Full parameters in the API docs
FAQ
Which is cheaper, grok-4.6 or grok-4.7?
At build time, the lowest public prices were: grok-4.6 (Cli-Grok-1 group) input $0.1471, output $0.4412 per 1M tokens; grok-4.7 (Cli-Grok-1 group) input $0.1471, output $0.4412 per 1M tokens. For 100M input + 20M output tokens a month, grok-4.6 costs about $23.53 and grok-4.7 about $23.53.
Can I use one API key for both grok-4.6 and grok-4.7?
Yes. Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and set model to grok-4.6 or grok-4.7. Usage of both models is billed from the same balance.
Which API formats do grok-4.6 and grok-4.7 support?
grok-4.6: Anthropic Messages, OpenAI Chat Completions. grok-4.7: Anthropic Messages, OpenAI Chat Completions.
Is there a Batch API?
Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.