Speed
Output tokens / second
Custom pricing for production workloads
Grok 3 Beta is xAI's advanced language model with strong reasoning and broad knowledge capabilities.
Grok 3 Beta is xAI's most advanced model to date, showcasing superior reasoning capabilities and extensive pretraining knowledge.
x-ai/grok-3-betahttps://api.aimlapi.com/v1Grok 3 Beta is xAI’s flagship reasoning model, designed for enterprise-level tasks requiring advanced problem-solving capabilities. It excels in complex reasoning tasks, including mathematics, coding, and domain-specific analytics.
Grok 3 Beta utilizes Transformer-based architectures optimized for reasoning tasks. This model employs large-scale reinforcement learning for advanced reasoning.
Trained on diverse datasets including legal filings, scientific papers, mathematical benchmarks like AIME2025, and synthetic reasoning corpora.
Grok 3 models leverage xAI’s Colossus supercluster with over 200,000 GPUs to process terabytes of data efficiently.
February 2025; supports static datasets without live data retrieval capabilities.
Grok 3 Beta is documented as suited to enterprise use cases such as data extraction, coding, and text summarization.
It is also documented for research and analysis, including multi-source research on complex topics and synthesis of academic papers, news articles, and real-time X discussions into structured reports.
Another documented use case is mathematics and science education, including working through mathematical proofs, scientific problem-solving, and STEM educational assistance.
It is also documented for software development, including code generation, debugging, code review, and explaining complex systems.
See how Grok 3 Beta compares in generation speed and latency. Data retrieved Nov 3, 2026.
Output tokens / second
Compare 10 models available on AI/ML API across 5 independent benchmarks.
Expert-written questions across academic subjects.
Graduate-level science questions written to resist web search.
Reasoning across long documents of about 100k tokens.
Following precise instructions about the shape of the answer.
Customer support agent tasks with tool calls.
| Usage | Price | Unit |
|---|---|---|
| Input | $1.25 | 1M tokens |
| Output | $2.5 | 1M tokens |
| Cached input | $0.2 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $1.25 | $2.5 | |
| $1 | $2 | |
| $2 | $6 | |
| $2 | $6 | |
| $2 | $6 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "x-ai/grok-3-beta",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "x-ai/grok-3-beta",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "x-ai/grok-3-beta",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Grok 3 Beta has a 131,000 tokens context window and can return up to 130,000 tokens.
Grok 3 Beta takes text as input and returns text.
Use x-ai/grok-3-beta as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
Grok 3 Beta costs $1.25 input and $2.5 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Yes, Grok 3 Beta can stream responses as they are generated.
Grok 3 Beta was built by xAI .
Grok 3 Beta is available via the API endpoint https://api.aimlapi.com/v1/chat/completions.
It supports file input, parallel tool calls, streaming, structured output, and tool use.
Yes, it supports function calling, tool use, and parallel tool calls.