Grok 3

xAI chattool_use

API ID: x-ai/grok-3

Input Price
$3.00
/1M tokens
Output Price
$15.00
/1M tokens

About Grok 3

Grok 3 is the latest model from xAI. It's their flagship model that excels at enterprise use cases like data extraction, coding, and text summarization. Possesses deep domain knowledge in finance, healthcare, law, and science.

๐Ÿ’ฐ
Price Ranking
#1178 lowest price among 1240 Chat models

Model Specifications

Context Length
131k
Max Output
โ€”
Release Date
2025-06-10
Capabilities
chat tool_use
Input Modalities
text
Output Modalities
text

Best For

  • Conversations, content writing, general assistance

Consider Alternatives For

  • Image understanding (needs vision capability)

๐Ÿ’ฐ Real-World Cost Examples

Estimated monthly costs for common use cases

Personal AI Assistant
$5.85
/month
50 conversations/day, ~500 tokens each
Customer Service Bot
$180.00
/month
1000 tickets/day, ~800 tokens each

xAI Model Lineup

Compare all models from xAI to find the best fit

Model Input Output Context Capabilities
Grok 3 Current Free Free 131k chat tool_use
Grok 2 Vision 1212 Free Free 33k chat vision
Grok 2 Vision 1212 Free Free 33k chat vision
Grok Vision Beta Free Free 8k chat vision
Grok Vision Beta Free Free 8k chat vision
Grok 2 Free Free 33k chat

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

Perplexity Sonar Pro
Input: $3.00
Output: $15.00
Context: 200k
Perplexity Sonar Pro Search
Input: $3.00
Output: $15.00
Context: 200k
Anthropic Claude Sonnet 4.5
Input: $3.00
Output: $15.00
Context: 1.0M
Anthropic Claude Sonnet 4
Input: $3.00
Output: $15.00
Context: 1.0M

๐Ÿš€ Quick Start

Get started with Grok 3 API

OpenAI-compatible SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.provider.com/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="x-ai/grok-3",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)