---
title: "xAI API pricing for agents · DotsAgent"
description: "xAI models for building AI agents: input, cached and output prices per million tokens, context windows, documented agent features and recent API changes."
url: https://dotsagent.io/providers/xai
---

Provider

# xAI API models and prices

xAI's documentation now carries the SpaceXAI name. Its models reprice every token in a request once the prompt reaches 200K tokens, and the Batch API is not available for Grok 4.7.

| — | — | — | — | — | — |
| --- | --- | --- | --- | --- | --- |
| [Grok 4.7](https://dotsagent.io/models/grok-4-7)grok-4.7 | $2* | $0.50 | $6 | 500K | 2026-09-21 |
| [Grok 4.3](https://dotsagent.io/models/grok-4-3)grok-4.3 | $1.25* | $0.20 | $2.50 | 1M | — |
| [Grok Build 0.1](https://dotsagent.io/models/grok-build-0-1)grok-build-0.1 | $1* | $0.20 | $2 | 256K | — |

US dollars per million tokens, standard tier, short-prompt rate · * long prompts cost more

[Official price page ↗](https://docs.x.ai/docs/models)[Compare in the calculator](https://dotsagent.io/cost)

## Recent changes

- Sep 21, 2026Model[Grok 4.7 released](https://dotsagent.io/changelog#2026-09-21-grok-4-7-released)

Independent reference for people who build AI agents. Not affiliated with any vendor named here.

© 2026 DotsAgent · Facts checked October 1, 2026
