Skip to main content
xAIJul 7, 2026

Grok 4.5

grok-4-5Private

Grok 4.5 is xAI’s intelligent coding model for agentic software engineering and workflow tasks, with function calling, structured outputs, and a 500K-token context window.

$2.27/$6.80
per 1M in / out
500K
context window
32K
max output
How it comparesamong 143 text models
GPQA Diamondhigher than 38%81.8%
Blended pricecheaper than 35%$3.40
Context windowlarger than 39%500K
Max outputlarger than 19%32K

Further right is better. Hover a dot for its model.

Time to first token— 
Output speed— 
Uptime— 

Last 24 hours of Venice traffic.How it’s measured

Capabilities

What the model takes in, returns and supports through the API.

InTextImage
OutText
Streamingstream: true
Function callingtoolsStructured outputsresponse_formatReasoningreasoning_effort low · medium · highVisionUp to 10 images
Web searchenable_web_search
X searchenable_x_search
Prompt cachingReads at $0.34
Optimized for codeTuned for software work

Not supportedvideo input, audio input and log probabilities

Benchmarks

GPQA Diamond
81.8%82nd of 139 · 39 score higher for less, including Gemini 3.8 Flash, Gemini 3.7 Flash and Pareto

Specs

Model ID
grok-4-5
Endpoint
POST /api/v1/chat/completions
Context window
500,000 tokens
Max output
32,000 tokens
Reasoning
low · medium · high · default high
Precision
Not disclosed
Privacy
Private
Weights
Closed
Added
Jul 7, 2026

Compare

ModelInputOutputGPQA DiamondContextMax outputFirst tokenSpeed
Grok 4.5$2.27$6.8081.8%500K32K——
Gemini 3.5 Flash$1.55$9.4540.7%1M64K——
Qwen 3.8 Max$2.50$7.5065.2%1M128K——
Abliterated Large V2$3.00$5.0043.4%1M32K——
Qwen 3.8 2.4T$2.50$7.5065.2%256K64K——

Other versions

  1. Grok 4.20Mar 2026
  2. Grok 4.3Apr 2026
  3. Grok 4.5Jul 2026
  4. Grok 4.6Aug 2026
  5. Grok 4.7Sep 2026

Pricing

Billed per token in USD. Reasoning tokens bill as output.

Input$2.27per 1M tokens
Cached input$0.3485% off input
Output$6.80per 1M tokens

Estimate a workload

$0.0079per request
$79.40for 10,000 requests

Blended price against similar models

Grok 4.5$3.40

Per 1M tokens at three input tokens for each output token.

Quickstart

OpenAI-compatible: point any OpenAI SDK at the Venice base URL with a Venice API key.

curl https://api.venice.ai/api/v1/chat/completions \
-H "Authorization: Bearer $VENICE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4-5",
"messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }],
"reasoning_effort": "high"
}'
Base URL https://api.venice.ai/api/v1

Parameters

ParameterValuesNotes
modelgrok-4-5Required
messagestext · image_urlContent parts the model reads
max_completion_tokensUp to 32,000Counts reasoning tokens
reasoning_effortlow | medium | highDefault high
toolsFunction definitionsWith tool_choice
response_format{ type: "json_schema" }Output that matches a schema
streamtrue | falseServer-sent events
venice_parameters.enable_web_searchauto | on | offWeb results and citations
venice_parameters.enable_x_searchtrue | falsePosts from X