# xAI: grok-4.20-reasoning

- Model ID: `grok-4.20-reasoning`
- Provider: xAI
- Web version: https://www.moleapi.com/en/models/xai/grok-4.20-reasoning
- Content status: catalog

## Model introduction

Grok reasoning model by xAI for complex problem solving, analysis, coding, and agent workflows.

## Model capabilities

- OpenAI compatible
- Reasoning
- Prompt cache

### Verified specifications

- Catalog status: Currently available on MoleAPI
- Compatible protocols: openai
- Available billing groups: Standard, Discount, Relay

## Model pricing and access

Pricing is supplied dynamically by the MoleAPI console API.

### Standard (default, x1)

- Input: $1.25 / 1M tokens
- Output: $2.5 / 1M tokens
- Cache read: $0.2 / 1M tokens

### Discount (discount, x0.8)

- Input: $1 / 1M tokens
- Output: $2 / 1M tokens
- Cache read: $0.16 / 1M tokens

### Relay (relay, x0.3)

- Input: $0.375 / 1M tokens
- Output: $0.75 / 1M tokens
- Cache read: $0.06 / 1M tokens

### Access protocols

| Protocol | Method | Endpoint |
| --- | --- | --- |
| openai | POST | /v1/chat/completions |

- Live pricing source: https://home.moleapi.com/api/pricing

## About grok-4.20-reasoning

Grok reasoning model by xAI for complex problem solving, analysis, coding, and agent workflows.

### Sources

- [MoleAPI console pricing catalog](https://home.moleapi.com/api/pricing) — MoleAPI

## Code examples

### cURL

```bash
curl https://api.moleapi.com/v1/chat/completions \
  -H "Authorization: Bearer $MOLEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"grok-4.20-reasoning","messages":[{"role":"user","content":"Hello"}]}'
```

## More related models

- [grok-4.6](https://www.moleapi.com/en/models/xai/grok-4.6) — xAI
- [grok-4.5](https://www.moleapi.com/en/models/xai/grok-4.5) — xAI
- [grok-composer-2.5-fast](https://www.moleapi.com/en/models/xai/grok-composer-2.5-fast) — xAI

## Frequently asked questions

### How is grok-4.20-reasoning priced?

Prices are read from the MoleAPI console API and update with model prices, context tiers, and account groups.

### How can I access grok-4.20-reasoning?

The catalog currently lists openai.

### How do I switch an existing project to grok-4.20-reasoning?

Keep the MoleAPI API address and key, replace the model parameter, and check protocol-specific parameters.

### Where do the grok-4.20-reasoning details come from?

Only confirmed availability, pricing, and protocol details from the MoleAPI catalog are included.
