Text Generation
Home > AI Models > Grok 4

Grok 4

Provider: xAI Updated: 2026-07-26

Grok 4 is an text generation model from Xai, designed for general AI application workflows.

Text Generation Multilingual

Pricing

Input 21 CNY / 1M tokens
Output 105 CNY / 1M tokens
Text to Image -
Image to Image -
Text to Video -
Image to Video -

Capabilities

Input Types Text / Image
Output Types Text
Function Calling Supported
Session Cache -
Fine-Tuning -
Prefix Cache -
Structured Output Supported
Image Understanding Supported
Text Generation Supported
Text to Image -
Image to Image -
Text to Video -
Image to Video -
Open Source Status Closed source

Parameters

Last Updated 2026-07-26
Context Length 256K
Max Input Tokens 256K
Max Output Tokens -
Max Thought Tokens -
TPM -
RPM -
Parameter Count -
Modalities Multimodal
Language Support Multilingual
Best For General AI application workflows
Resolution -
Video Duration -
Frame Rate -

Benchmarks

These benchmark scores summarize how the model performs across different tasks and evaluation sets.

AIME

Measures performance on difficult competition-level mathematics problems.

91.7
GPQA

Evaluates graduate-level science knowledge and reasoning ability.

87.5
LiveCodeBench

Benchmarks code understanding and real-world coding task performance.

79