# Grok 4.7: Release Date, Pricing & How to Use It

Grok 4.7 launched September 21, 2026 at $2/$6 per 1M tokens with a 500K context window. See what changed for coding and long tasks, then try it via API.

![Modellix Team](<https://img.modellix.ai/en/article/modellix-blog-author-official-2x.webp>)

**Modellix Team**Official

Published 2026-09-24

3 min read

![Grok 4.7: Release Date, Pricing & How to Use It](<https://img.modellix.ai/en/article/cover-grok-4-7.webp>)

### On this page

On this page

**Summary**

Grok 4.7 is live on Modellix as xai/grok-4.7. SpaceXAI released it on September 21, 2026 at $2/$6 per 1M tokens, with a 500K context window and reasoning effort from low to xhigh.

**Grok 4.7** is officially live on Modellix under the model ID `xai/grok-4.7`. SpaceXAI released it on September 21, 2026, at the same price as Grok 4.6: $2 per million input tokens and $6 per million output tokens.

Whether you're debugging complex codebases, orchestrating agentic workflows, or tackling deep knowledge tasks through the [Modellix LLM gateway](<https://www.modellix.ai/llm.md>), SpaceXAI positions Grok 4.7 for longer, multi-step work.

If your day-to-day work involves asking an AI to investigate tricky problems, cross-check its own logic, and deliver human-reviewable results, this is the Grok model to test.

## Grok 4.7 at a Glance

|  | Grok 4.7 |
| --- | --- |
| Released | September 21, 2026 |
| Price | $2 input / $6 output per 1M tokens ($0.50 cached); $4 / $12 above 200K tokens |
| Context window | 500,000 tokens |
| Reasoning effort | low, medium, high (default), xhigh |
| Model ID | `xai/grok-4.7` on Modellix |

## What's New in Grok 4.7

### Longer coding and agent tasks

In its [launch notes](<https://x.ai/news/grok-4-7>), SpaceXAI says Grok 4.7 uses a larger base model than Grok 4.6 and a longer reinforcement learning run focused on tasks that can take hours. That matters for work with several stages, such as tracing a bug, proposing a change, and checking whether the fix addresses the original failure.

### Checking its own work

[SpaceXAI](<https://www.modellix.ai/providers/xai.md>) says Grok 4.7 is better at double-checking its work. When a test fails, a useful response explains the likely cause and flags what still needs checking. That gives a developer something concrete to review before accepting a fix.

### 500K context and reasoning controls

Under the hood, Grok 4.7 has a 500,000-token context window, takes text or image input, and returns text. The official model documentation also describes function calling, structured outputs, and reasoning effort settings from `low` to `xhigh`.

Requests above 200K tokens bill at a higher rate, so long prompts cost twice as much per token.

![Grok 4.7 model specifications on the SpaceXAI documentation page](<https://img.modellix.ai/en/article/grok-4-7-xai.jpg>)  

Source: [SpaceXAI Model Documentation](<https://docs.x.ai/developers/models/grok-4.7>)

## What Can You Build with Grok 4.7

One application is a debugging assistant that takes faulty code and expected behavior, then returns a diagnosis, a proposed fix, and tests a developer can run. We tested the model step in that workflow through the Modellix LLM gateway using `xai/grok-4.7`.

We sent a faulty JavaScript median function, `function median(a){a.sort();return a[a.length/2]}`, and specified two expected results: `[2, 10, 3]` should return `3`, and `[1, 3, 5, 7]` should return `4`. Grok 4.7 identified three main bugs: the default string-based sort, a fractional index for odd-length arrays, and the missing average for even-length arrays. It also flagged that `sort()` changes the input array.

The model came back with a revised function that copies the array before sorting, handles odd and even lengths, and checks for empty input. We ran it locally: the two specified cases returned `3` and `4`, the original array stayed unchanged, and an empty array raised an error.

This single call shows one component of a debugging assistant working on a small, verifiable task. A larger codebase or autonomous agent workflow would need its own evaluation.

## What This Means for Modellix Users

If you already use the Modellix LLM gateway, you can try Grok 4.7 with your existing API key by setting `model` to `xai/grok-4.7`. The `~xai/grok-latest` alias currently points to 4.7 too, but it will move when a newer Grok model arrives. Use the fixed ID when you want repeatable tests; the [API guide](<https://docs.modellix.ai/llm/api/api?utm_source=blog&utm_medium=article_link&utm_campaign=grok-4-7>) covers request paths and logs.

One API for every model

### Run Grok 4.7 next to every other model on one key

**One key, every model**

GPT-6 Astra, Sol, and Luna, plus Claude, Gemini, Grok, DeepSeek, and Qwen. Switching models is a change to the model string.

**Drop-in for your client**

OpenAI Chat Completions and Responses, plus Anthropic Messages. Works with the OpenAI and Anthropic SDKs, Codex, Claude Code, Cursor, and OpenCode.

**Below list price**

GPT-6 and Claude models bill 10% under the vendor list price on the current rate card. Pay as you go, no subscription.

**Cost per request, in the logs**

Every call is logged with tokens and cost, and can be tagged by end user, so you can see what an escalation actually cost.

**Pin or follow**

Pin a fixed model ID for evaluations, or use a -latest alias that moves to the newest release.

**Media on the same key**

The same account also calls image, video, and audio generation models through the Modellix media API.

[Get an API key](<https://www.modellix.ai/console/api-key>)

[See all LLM prices](<https://www.modellix.ai/llm.md>)

### Try Grok 4.7 on Modellix

Here is a minimal Chat Completions request using the published Modellix model ID. Set `API_KEY` to a Modellix key before running it:

bash

```
curl -sS "https://llm.modellix.ai/v1/chat/completions" \
  -H "Authorization: Bearer ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "xai/grok-4.7",
    "messages": [{
      "role": "user",
      "content": "Fix this JavaScript function and explain the bugs: function median(a){a.sort();return a[a.length/2]}. Include tests for [2,10,3] -> 3 and [1,3,5,7] -> 4."
    }]
  }'
```

## Start Building with Grok 4.7

Ready to see how it performs? The best way to evaluate Grok 4.7 is on a real task your team already knows inside out. Run a quick test via the gateway, inspect how it handles edge cases and verification, and see if it fits your production workflow.

👉 [Explore Grok 4.7 on Modellix](<https://www.modellix.ai/llm.md>) to grab your endpoint key and start building.

### Try Grok 4.7

One key covers Grok 4.7 and every other model on the gateway. Create it in the console and send your first request.

[Get API Key](<https://www.modellix.ai/console/api-key>)

![Modellix Team](<https://img.modellix.ai/en/article/modellix-blog-author-official-2x.webp>)

Written by**Modellix Team**Official

**Share**

[Back to top](<https://www.modellix.ai/blog/grok-4-7#blog-article-top>)

## Related articles

[![Grok API guide](<https://img.modellix.ai/en/article/cover-grok-api.webp>)](<https://www.modellix.ai/blog/grok-api.md>)

[Guides](<https://www.modellix.ai/blog/categories/Guides>)

2026-09-16

### Grok API Guide: Key, First Call & Rate Limits \[Tested\]

How to use the Grok API: get an xAI or Modellix key, make a first Grok 4.7 call in curl, Python and Node, pick a model, and fix 401 and 429 errors.

Modellix Team8 min read

[![Grok Imagine API: Integration Guide, Pricing & Code](<https://img.modellix.ai/en/article/cover-grok-imagine-api-v2.webp>)](<https://www.modellix.ai/blog/grok-imagine-api.md>)

[API Integration](<https://www.modellix.ai/blog/categories/Guides/API-Integration>)

2026-07-28

### Grok Imagine API: Integration Guide, Pricing & Code

The Grok Imagine API guide: authenticate, generate images synchronously and videos asynchronously via polling, plus parameters, rate limits, and code examples.

Modellix Team9 min read

[![Grok API pricing](<https://img.modellix.ai/en/article/cover-grok-api-pricing.webp>)](<https://www.modellix.ai/blog/grok-api-pricing.md>)

[Pricing](<https://www.modellix.ai/blog/categories/Pricing>)

2026-11-02

### Grok API Pricing: Grok 4.7 Costs Per Call \[Tested\]

Grok API pricing for Grok 4.7, 4.6 and 4.5: token rates, the 200K long-context rule, caching and tool fees, plus real bills from 23 tested calls.

Modellix Team10 min read

[![Gemini 4 Argon Preview: What We Know Before Wider Release](<https://img.modellix.ai/en/article/gemini-4-argon-preview.webp>)](<https://www.modellix.ai/blog/gemini-4-argon.md>)

[Guides](<https://www.modellix.ai/blog/categories/Guides>)

2026-10-09

### Gemini 4 Argon Preview: Benchmarks, Pricing & Access

Gemini 4 Argon is in limited rollout. See Google's reported benchmarks, announced pricing, key capabilities, and what we know about wider access.

Modellix Team5 min read
