Grok 2
xAI
xAI model with X/Twitter integration
Text Generation API Grok Family
Parameters
-
params
Context Window
128K
tokens
Max Output
8K
tokens
Input Price
$5
per 1M tokens
Output Price
$10
per 1M tokens
Grok Family 9 models
The full Grok line by generation — pricing and capabilities vary across the family.
Grok
4.1 Fast
$0.2 / $0.5
in / out · 1M
4.1
$3 / $15
in / out · 1M
Code Fast 1
$0.2 / $1.5
in / out · 1M
4
$3 / $15
in / out · 1M
2 Current
Real-time knowledge, wit
$5 / $10
in / out · 1M
Capabilities
👁️
Vision
⚡
Function Calling
📋
JSON Mode
🌊
Streaming
💬
System Prompt
🖥️
Code Execution
🔍
Web Search
🔌
MCP Support
Details
- Release Date
- -
- Knowledge Cutoff
- July 1, 2024
- Source
- API
- API Key Required
- Yes
- License
- Proprietary
- Model ID
- xai-grok-2
Last updated: November 26, 2025