xAIReleased August 13, 2024

Grok-2

#7 Arena RankUndisclosed parameters

Context

128K

Input

$2.00

Key Specifications

🏆

Arena Rank

#7

📐

Context Window

128K

📥

Input Price

per 1M tokens

$2.00

📤

Output Price

per 1M tokens

$10.00

🧠

Parameters

Undisclosed

🔒

Open Source

No

Best For

Real-time informationreasoningcoding

About Grok-2

Grok-2 is xAI's flagship language model, designed with unique access to real-time data from the X platform (formerly Twitter). It features a 128K context window and delivers strong performance across reasoning, coding, and general knowledge tasks. Grok-2 differentiates itself through its ability to incorporate current events and trending discussions into its responses, making it particularly useful for tasks requiring up-to-the-minute information.

Built byxAI

Pricing per 1M tokens

Input Tokens

$2.00

Output Tokens

$10.00

Frequently Asked Questions

What is Grok-2?
Grok-2 is xAI's flagship language model, designed with unique access to real-time data from the X platform (formerly Twitter). It features a 128K context window and delivers strong performance across reasoning, coding, and general knowledge tasks. Grok-2 differentiates itself through its ability to incorporate current events and trending discussions into its responses, making it particularly useful for tasks requiring up-to-the-minute information.
How much does Grok-2 cost?
Grok-2 costs $2.00 per 1 million input tokens and $10.00 per 1 million output tokens. Pricing is based on token usage, making it cost-effective for both small and large-scale applications.
What is Grok-2's context window?
Grok-2 has a context window of 128K tokens. This determines how much text the model can process in a single request — larger context windows allow the model to handle longer documents, maintain more conversation history, and reason over bigger codebases.
Is Grok-2 open source?
No, Grok-2 is a proprietary model available through xAI's API. Proprietary models are typically accessible via API endpoints and offer managed infrastructure, support, and regular updates from the provider.
What is Grok-2 best for?
Grok-2 is best suited for: Real-time information, reasoning, coding. These use cases leverage the model's specific strengths in terms of capability, speed, and cost-effectiveness within xAI's model lineup.