xAI

grok-4.5-latest

Model IDgrok-4.5-latest

Integration docsMarkdown

Model introduction

Grok 4.5 is xAI's flagship model for code and general tasks, with agentic tool calling and configurable reasoning.

Model capabilities

Specifications come from the cited model material. Catalog tags help identify access features; use the source documentation for exact limits.

OpenAI compatiblePrompt cacheReasoningVision

Verified specifications

Official positioning
Flagship model for code and general tasks
Context window
500,000 tokens
Verified capabilities
Agentic tool calling; configurable reasoning

Sources: xAI Grok 4.5 model documentation

Model pricing and access

Prices are read directly from the MoleAPI console catalog and shown by current billing group and context tier.

Your final charge follows the account group shown in the console.
Live pricing source

Pricing table

USD / 1M tokens
Standardx1defaultInput $2 · Output $6

Input

$2 / 1M tokens

Output

$6 / 1M tokens

Cache read

$0.5 / 1M tokens

Discountx0.8discountInput $1.6 · Output $4.8

Input

$1.6 / 1M tokens

Output

$4.8 / 1M tokens

Cache read

$0.4 / 1M tokens

Relayx0.3relayInput $0.6 · Output $1.8

Input

$0.6 / 1M tokens

Output

$1.8 / 1M tokens

Cache read

$0.15 / 1M tokens

Access protocols

Available billing groups: Standard, Discount, Relay

openai
POST
/v1/chat/completions

About grok-4.5-latest

This introduction is transcreated for clarity and cross-checked against the cited model material.

Grok 4.5 is xAI's flagship model for code and general tasks, with agentic tool calling and configurable reasoning.

Core strengths

  • Combines coding, general knowledge, and agentic tool calling.
  • Configurable reasoning helps tune quality, latency, and cost.
  • A 500K context window and image input cover most long-document and vision work.

Limitations

  • High reasoning effort has middle-of-the-pack output speed and added thinking latency.
  • Its 500K context is smaller than several current 1M-context flagships.

Selection and production evaluation

Start a grok-4.5-latest evaluation by mapping its official positioning to real work: Workflows that combine tool calling with controllable reasoning depth for code and general tasks. The first pass should exercise both its main strength, "Combines coding, general knowledge, and agentic tool calling.", and its known limitation, "High reasoning effort has middle-of-the-pack output speed and added thinking latency.", instead of relying on a single subjective general-chat comparison.

For access, MoleAPI currently lists openai protocols and the Standard, Discount, Relay billing groups for this xAI model; the default price summary is Input $2 / 1M tokens · Output $6 / 1M tokens. Pricing, protocols, and groups come from the live catalog, so production planning should still price representative requests using real context length, output size, and cache-hit assumptions.

No independent ranking is shown unless it matches this exact model ID and reasoning profile, so nearby variants are not used as a proxy. Before launch, pin the model ID, prompt, and sample set, then compare task accuracy, structured-output validity, tool-call success, and timeout rates under the same conditions.

The model material on this page was last checked on 2026-07-23. When upstream model cards, context limits, or tool support change, update the cited bilingual facts before changing the recommendation; live MoleAPI price changes remain separate and update from the catalog automatically.

Code examples

These examples use MoleAPI's OpenAI-compatible endpoint and run after you replace the API key.

curl https://api.moleapi.com/v1/chat/completions \
  -H "Authorization: Bearer $MOLEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4.5-latest",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Frequently asked questions

How is grok-4.5-latest priced?

This page reads prices from the MoleAPI console API and updates with model prices, context tiers, and account groups.

How can I access grok-4.5-latest?

Protocols and endpoints come from the supported_endpoint_types field in the MoleAPI model catalog.

How do I switch an existing project to grok-4.5-latest?

Keep the MoleAPI API address and key, replace the model parameter with the model ID on this page, then check protocol-specific parameter differences.

Where do the grok-4.5-latest model details come from?

Capabilities and limitations are checked against xAI and the other cited pages. Pricing and available protocols come only from the MoleAPI console.