Text Generation
Home > AI Models > Grok 2

Grok 2

Provider: xAI Updated: 2026-06-21

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

Text Generation Multilingual

Pricing

Input 14 CNY / 1M tokens
Output 70 CNY / 1M tokens
Text to Image -
Image to Image -
Text to Video -
Image to Video -

Capabilities

Input Types Text / Image
Output Types Text / Image
Function Calling -
Session Cache -
Fine-Tuning -
Prefix Cache -
Structured Output -
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-06-21
Context Length 128K
Max Input Tokens 128K
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.

GPQA

Evaluates graduate-level science knowledge and reasoning ability.

56
HumanEval

Evaluates code generation correctness on programming tasks.

88.4
MMLU Pro

Tests multidisciplinary knowledge, comprehension, and reasoning.

75.5