# Grok 4.5

> xAI's Grok 4.5 is SpaceXAI's smartest model with frontier performance on coding, knowledge work, and STEM.

**ID**: `x-ai/grok-4.5`  
**Creator**: xAI  
**Category**: text  
**Context**: 500K tokens  
**Pricing**: $2.00 / $6.00 per 1M · billed by your provider (BYOK)  
**Released**: 2026-07-08  
**Web page**: https://anyrouter.dev/model/x-ai/grok-4.5

**Input modalities**: text  
**Output modalities**: text  

**Tokenizer**: Grok

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

## 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.5",
  "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 | $2.00/M (list) | $6.00/M (list) |
| cline-byok | $2.00/M (list) | $6.00/M (list) |
| router-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
- **HLE**: 0.4
- **SciCode**: 0.5
- **OTIS Mock AIME**: 1.0
- **SimpleQA (verified)**: 0.5

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

## Source

- Upstream docs: https://docs.x.ai/grok-4.5
