API ModelsAPI Models
Models/Grok-4.2
xAI

Grok-4.2

grok-4.2

Trillion-parameter model with 16-Agent cluster collaboration, real-time data processing and self-evolution capabilities.

16-Agent ClusterReal-time DataSelf-Evolution
Input¥4.20
Output¥21.00
per 1M tokens

16-Agent Cluster

Multi-agent collaboration

Real-time Data

Live data stream processing

Self-Evolution

Weekly high-frequency updates

Complex Decisions

Business automation ready

API Documentation

View complete API reference with all parameters and examples.

View Docs

Full API Documentation

View complete API reference with streaming, thinking, and more.

View Documentation

Pricing

Input
¥4.20
per 1M tokens
Output
¥21.00
per 1M tokens

Billing: Cost = (input_tokens * input_price + output_tokens * output_price) / 1,000,000