# Grok 4.7

> Grok 4.7 is SpaceXAI's frontier model for coding, agentic tasks, and knowledge work. It succeeds Grok 4.6 with mandatory adjustable reasoning at low, medium, high, or xhigh effort, defaulting to high. It takes text and image input.

**ID**: `x-ai/grok-4.7`  
**Creator**: xAI  
**Category**: text  
**Context**: 500K tokens  
**Pricing**: $1.60 / $4.80 per 1M · billed by your provider (BYOK)  
**Released**: 2026-09-16  
**Web page**: https://anyrouter.dev/model/x-ai/grok-4.7

**Input modalities**: text, image  
**Output modalities**: text  

**Tokenizer**: Grok

**Capabilities**: chat, streaming, function-calling, coding, vision, reasoning

**Aliases**: `x-ai/grok-4.7-20260916`

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "x-ai/grok-4.7",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| xai-byok | $2.00/M (list) | $6.00/M (list) |
| openrouter-byok | $1.60/M (list) | $4.80/M (list) |
| cline-byok | $2.00/M (list) | $6.00/M (list) |
| opencode-zen-byok | $2.00/M (list) | $6.00/M (list) |
| opencode-go-byok | $2.00/M (list) | $6.00/M (list) |
| aihubmix-byok | $2.00/M (list) | $6.00/M (list) |
| router-byok | $2.00/M (list) | $6.00/M (list) |
| vercel-byok | $2.00/M (list) | $6.00/M (list) |
| venice-byok | $2.27/M (list) | $6.80/M (list) |
| nousresearch-byok | $2.00/M (list) | $6.00/M (list) |
| onetoken-byok | $0.07/M (list) | $0.20/M (list) |
| beatapi-byok | $0.70/M (list) | $2.10/M (list) |
| tokenharbor-byok | $2.00/M (list) | $6.00/M (list) |
| zenmux-byok | $2.00/M (list) | $6.00/M (list) |
| requesty-byok | $2.00/M (list) | $6.00/M (list) |
| llmgateway-byok | $2.00/M (list) | $6.00/M (list) |
| getvibe-byok | $0.06/M (list) | $0.17/M (list) |
| infron-byok | $2.00/M (list) | $6.00/M (list) |
| orcarouter-byok | $2.00/M (list) | $6.00/M (list) |
| opengateway-byok | $2.00/M (list) | $6.00/M (list) |
| aimlapi-byok | $2.00/M (list) | $6.00/M (list) |
| nano-gpt-byok | $2.00/M (list) | $6.00/M (list) |
| edenai-byok | $2.00/M (list) | $6.00/M (list) |
| ofox-byok | $2.00/M (list) | $6.00/M (list) |
| abacus-byok | $2.00/M (list) | $6.00/M (list) |
| fluence-byok | $0.71/M (list) | $2.14/M (list) |
| poe-byok | $2.00/M (list) | $6.00/M (list) |
| jiekou-byok | $2.00/M (list) | $6.00/M (list) |
| kenari-byok | $2.00/M (list) | $6.00/M (list) |
| nearai-byok | $2.00/M (list) | $6.00/M (list) |
| atlascloud-byok | $2.00/M (list) | $6.00/M (list) |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.

## Benchmarks

- **GPQA Diamond**: 0.9
- **SciCode**: 0.6
- **OTIS Mock AIME**: 1.0
- **CursorBench**: 0.5
- **SimpleQA (verified)**: 0.6

Benchmark data from [Epoch AI](https://epoch.ai/benchmarks) (CC-BY 4.0).

## Source

- Upstream docs: https://docs.x.ai/developers/models/grok-4.7
