Grok 3
xAI
xai/grok-3
Reasoning model, 128K context
Context Window
128K
128,000 tokens
Max Output
16K
16,384 tokens
About this model
xAI flagship with deep reasoning and real-time knowledge
This model supports up to 128K tokens of context. It excels at complex reasoning, mathematical problems, and multi-step tasks. It provides strong code generation and debugging capabilities.
Access it through Chuizi.AI with a single ck- API key β no separate xAI account needed.
Highlights
128K context window
16K max output
Advanced reasoning
Strong code generation
Best For
Complex coding tasksAlgorithm designCode reviewTechnical architecture
2025-02-17
Capabilities
ChatReasoningCodecachetools
Aliases
grok-3Pricing (per 1M tokens)
| Pricing (per 1M tokens) | / 1M tokens |
|---|---|
| Input / 1M | $3.15 |
| Output / 1M | $15.75 |
| Cache Read | $1.58 |
Final prices shown
Quick Start
main.py
from openai import OpenAI client = OpenAI( base_url="https://api.chuizi.ai/v1", api_key="ck-your-key-here", ) response = client.chat.completions.create( model="xai/grok-3", messages=[{"role": "user", "content": "Hello!"}], ) print(response.choices[0].message.content)