xAIPaidOperational

Grok 4

API model name: grok-4

Grok 4 is xAI's chat model, served on the Api.Airforce unified API. Capabilities include Reasoning. It is priced at $1.64 per million input tokens and $8.22 per million output tokens. That is below the provider's $3.00 official input rate. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.

Pricing

Input / 1M tokens
$1.64
Output / 1M tokens
$8.22
Cache read / 1M tokens
$0.15
Official input rate
$3.00
Official output rate
$15.00

Api.Airforce price vs. the provider's official rate.-45%

Specifications

Provider
xAI
Type
chat model

Capabilities

Reasoning

Benchmarks

Independent evaluations and measured speed from Artificial Analysis.

Intelligence Index
34.1/100
Math Index
92.7/100
MMLU-Pro87%
GPQA Diamond88%
Humanity's Last Exam27%
LiveCodeBench82%
AIME 202593%
MATH-50099%

Grok 4

Source: Benchmark data by Artificial Analysis (artificialanalysis.ai)

What is Grok 4 used for?

  • Chatbots & assistants — conversational AI, drafting, summarizing and Q&A.
  • Complex reasoning — math, coding and step-by-step problem solving.

Grok 4 vs. similar models

ModelIntelligenceContextInput / 1MOutput / 1M
Grok 434.1$1.64$8.22
Grok 2 Vision$2.10$10.50
Grok 318.6$0.66$3.30
Grok 3 Deepersearch$0.57$2.89

Prices are Api.Airforce pay-as-you-go rates per 1M tokens. Context is the maximum input length.

Related models

Grok 4 — frequently asked questions

How much does Grok 4 cost?
Grok 4 is billed pay-as-you-go at $1.64 per 1M input tokens and $8.22 per 1M output tokens. There is no subscription — you only pay for what you use.
What can Grok 4 do?
Grok 4 supports Reasoning.
Is Grok 4 free to use?
Grok 4 is a paid, pay-as-you-go model — no subscription, you are only charged for usage.
How do I use Grok 4 via the API?
Grok 4 is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID grok-4 with your Api.Airforce API key.
Who makes Grok 4?
Grok 4 is xAI's chat model, served through the unified Api.Airforce gateway alongside 100+ other models.