Grok 4
xAI
xAI flagship model with first-principles reasoning, enhanced logical consistency, and multimodal support. Features 256K context window with extended context billing above 128K tokens.
Text Generation API Grok Family
Parameters
-
params
Context Window
256K
tokens
Max Output
-
tokens
Input Price
$3
per 1M tokens
Output Price
$15
per 1M tokens
Grok Family 9 models
The full Grok line by generation — pricing and capabilities vary across the family.
Grok
Capabilities
👁️
Vision
⚡
Function Calling
📋
JSON Mode
🌊
Streaming
💬
System Prompt
🖥️
Code Execution
🔍
Web Search
🔌
MCP Support
Extended Pricing
Input
$3/1M
Output
$15/1M
Cache Read
$0.75/1M
Details
- Release Date
- July 10, 2025
- Knowledge Cutoff
- November 1, 2024
- Source
- API
- API Key Required
- Yes
- License
- Proprietary
- Model ID
- grok-4
Last updated: March 13, 2026