---
title: "Grok 4.7 API Pricing"
source_api: "opencode"
model: "grok-4.7"
provider: "xai"
model_type: "llm"
canonical_url: https://coolhandlabs.com/inference-apis/opencode-grok-4-7
index_url: https://coolhandlabs.com/inference-apis
---

# Grok 4.7 sticker prices

List rates as published by OpenCode, before any volume or enterprise discounts.

| Field | Value |
|---|---|
| Provider | xai (served via OpenCode) |
| Model type | LLM — Generates text from a prompt, so it can be compared with other LLMs on price and capability. |
| Pricing published by | OpenCode |
| Input modalities | Not recorded |
| Output modalities | Not recorded |
| Input cost | $2.00 / 1M tokens |
| Output cost | $6.00 / 1M tokens |
| Cached input | $0.50 / 1M tokens |
| Deprecated | No |
| Verification status | Awaiting human review |


## Get this data free

Want to stay updated on price changes on this model? Pull this data free (no API key required):

```
curl "https://coolhandlabs.com/api/v2/inference_apis?q%5Bmodel_eq%5D=grok-4.7&q%5Bsource_api_eq%5D=opencode"
```

Full REST API docs: https://coolhandlabs.com/docs

## Pricing History

- Nov 30, 2026 – present: Input cost: $2.00 / 1M, Output cost: $6.00 / 1M, Cached input cost: $0.50 / 1M, Cache creation cost: $0.00 / 1M, 5-minute cache write cost: $0.00 / 1M, 1-hour cache write cost: $0.00 / 1M, Reasoning output cost: $0.00 / 1M, Cache storage cost: $0.00 / 1M/hr (> 200K tokens: $4.00 input, $12.00 output, $1.00 cached read.)

## History

Last change detected: 2026-11-30T06:51:52Z (automated scan)

- 2026-11-30 (automated scan):
Initial record created

## Source

https://opencode.ai/docs/zen/

## Comparable models

None identified yet.

## What other models does xai offer?

| Model | Input cost | Output cost | Max output tokens | Status |
|---|---|---|---|---|
| [Grok 4.20 (Non-Reasoning)](https://coolhandlabs.com/inference-apis/azure-grok-4-20-non-reasoning) (via Azure) | $1.25/1M | $2.50/1M | 8,192 | Deprecated 2027-04-06 |
| [Grok 4.20 (Reasoning)](https://coolhandlabs.com/inference-apis/azure-grok-4-20-reasoning) (via Azure) | $1.25/1M | $2.50/1M | 8,192 | Deprecated 2027-04-06 |
| [Grok 4.1 Fast (Non-Reasoning)](https://coolhandlabs.com/inference-apis/azure-grok-4-1-fast-non-reasoning) (via Azure) | $0.20/1M | $0.50/1M | 128,000 | Deprecated 2027-05-19 |
| [Grok Code Fast 1](https://coolhandlabs.com/inference-apis/opencode-grok-code) (via OpenCode) | $0.00/1M | $0.00/1M | 256,000 | Deprecated 2026-08-12 |
| [Grok 4.20 (Non-Reasoning)](https://coolhandlabs.com/inference-apis/xai-grok-4-20-0309-non-reasoning) | $1.25/1M | $2.50/1M | 30,000 | Deprecated 2026-05-15 |
| [Grok 4.20 (Reasoning)](https://coolhandlabs.com/inference-apis/xai-grok-4-20-0309-reasoning) | $1.25/1M | $2.50/1M | 30,000 | Deprecated 2026-05-15 |

---
[← All Inference APIs](https://coolhandlabs.com/inference-apis)
