# Grok 4.7

> xAI's Grok 4.7 joins the catalog, 500K context, adjustable reasoning, vision in, and six BYOK upstream routes.

- Date: 2026-09-21
- HTML: https://anyrouter.dev/blog/releases/2026-09-21

## Models

- `x-ai/grok-4.7` (Grok 4.7)

## Notes

[`x-ai/grok-4.7`](https://anyrouter.dev/model/x-ai/grok-4.7) is xAI's latest flagship for coding, agentic work, and knowledge tasks, succeeding Grok 4.6. It keeps the 500K context window and image input, and makes reasoning mandatory but adjustable: `low`, `medium`, `high`, or `xhigh` effort (default `high`). Bring your own xAI key, or route through OpenRouter, Cline, OpenCode Zen, OpenCode Zen Go, or AIHubMix BYOK. Your key, your quota.

- App code: [Vercel AI SDK](https://anyrouter.dev/use-cases/ai-sdk) or [OpenAI SDK](https://anyrouter.dev/use-cases/openai-sdk).
- Coding agent: `anyr claude` / `anyr opencode` / `anyr codex` ([playbook](https://anyrouter.dev/use-cases/coding-agents)).
- No code: [playground](https://anyrouter.dev/playground?model=x-ai/grok-4.7).

Try it in the [Vercel AI SDK](https://anyrouter.dev/use-cases/ai-sdk). `createAnyRouter()` reads `ANYROUTER_API_KEY`:

```ts
import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"

const anyrouter = createAnyRouter()

const { text } = await generateText({
  model: anyrouter("x-ai/grok-4.7"),
  prompt: "Summarize this diff in three bullets.",
})
console.log(text)
```

_generateText with the catalog id._

Or launch a coding agent through the `anyr` CLI:

```bash
curl -fsSL https://anyrouter.dev/cli.sh | bash
anyr login
anyr claude --model "x-ai/grok-4.7"
```

_Coding agents via the AnyRouter CLI._

More: [AI SDK](https://anyrouter.dev/use-cases/ai-sdk) · [OpenAI SDK](https://anyrouter.dev/use-cases/openai-sdk) · [coding agents](https://anyrouter.dev/use-cases/coding-agents).

No terminal? Open the playground and send a first message.

[Try in playground](https://anyrouter.dev/playground?model=x-ai/grok-4.7)
