XAI MODEL GUIDE

Grok 4.5 API

xAI's Grok 4.5 model for reasoning, coding, tool use, and text-and-image workflows.

Core specificationsModel Plaza checked October 5, 2026
Model IDgrok-4.5
Context / max output500,000 / Not publicly capped for text output
Input and outputText and image input; text output
Thinkinglow / medium / high reasoning effort
Vendor statusListed by LLMFly AI
LLMFly AI input / output per 1M$0.8 / $2.4 (60% OFF)
Selection verdictGrok 4.5 bills at $0.8 input / $2.4 output per 1M tokens on LLMFly AI (0.4x standard tier).
Best fit

Long-context reasoning, coding, research, and tool-using agents.

Avoid when

Vendor pricing changes above 200K input tokens; select the tier from one request, not aggregate traffic.

01

Grok API cost estimate

Enter token counts for one representative request; every usage item is multiplied by the request count.

Grok0.4xCurrent multiplier

LLMFly AI tier<200KVendor reference tier<200K

Estimated LLMFly AI cost$0.104Grok 4.5 · 1 request
Vendor reference cost$0.26Estimated savings$0.15660.0%

Cost breakdown

Rates are per 1M tokens
Input$0.08
LLMFly AI
$0.8
Vendor reference
$2
Total tokens
100,000
Output$0.024
LLMFly AI
$2.4
Vendor reference
$6
Total tokens
10,000
Cache write—
LLMFly AI
—
Vendor reference
—
Total tokens
0
Cache read$0.00
LLMFly AI
$0.12
Vendor reference
$0.3
Total tokens
0
The estimate includes only listed model-token charges. Tools, retries, network, and other add-ons are excluded. Confirm the final bill against actual usage records.
02

Choosing and integrating

01

Grok 4.5 API pricing breakdown

Grok 4.5 (grok-4.5) is billed by token usage. Prices below are USD per 1M tokens. LLMFly AI rates already include the 0.4x group multiplier; do not apply it again. Provider reference prices are separate. These rates come from the site's Model Plaza snapshot; confirm live catalog and account rates before calling.

Example: a request with 10,000 uncached input tokens and 1,000 output tokens costs approximately $0.0104 in LLMFly AI token charges. This excludes cache writes, tools, retries, and other additional fees.

  • Platform and provider prices use their own input-token tiers. Do not apply provider long-context multipliers to platform prices.
  • Not listed does not mean free. Account for cache reads, cache writes, and uncached input in their respective billing categories.
  • Token cost = tokens in each billing category × its price per million ÷ 1,000,000. Add tools and other charges separately.
Price sourceInput tokens per requestInputOutputCache writeCache read1h cache write
LLMFly AI<200K$0.8$2.4Not listed$0.12Not listed
LLMFly AI≥200K$1.6$4.8Not listed$0.24Not listed
Provider reference<200K$2$6Not listed$0.3Not listed
Provider reference≥200K$4$12Not listed$0.6Not listed
02

Pricing tiers and additional charges

Grok 4.5 vendor long-context pricing is selected from input tokens in one request. Search and other tools can add charges. Platform rates and vendor references must be calculated separately.

03

Grok 4.5 capabilities and workloads

xAI's Grok 4.5 model for reasoning, coding, tool use, and text-and-image workflows.

Long-context reasoning, coding, research, and tool-using agents.

  • Function calling, structured output, and server-side tools on supported xAI interfaces.
  • A 500K context window for long documents, code, and agent state.
04

Limits to check before migration

  • Vendor pricing changes above 200K input tokens; select the tier from one request, not aggregate traffic.
  • Tool and search availability must be validated on the LLMFly AI route.
05

Comparing Grok 4.5 with sibling models

Compare the exact API ID, vendor lifecycle, context, maximum output, tools, and thinking controls first. Then measure pass rate, latency, tokens, and total cost on the same tasks. The Grok 4.5 version or tier label alone does not prove better results.

Model IDContext / max outputLLMFly AI in / outVendor reference in / out
grok-4.7500,000 / Not published$0.8 / $2.4$2 / $6
grok-4.6—$0.8 / $2.4$2 / $6
grok-4.5500,000 / Not publicly capped for text output$0.8 / $2.4$2 / $6
06

Use the exact model ID when connecting

Set LLMFLY_API_KEY to a key with access to this model, then send this text request.

  • Send a minimal text request and inspect the response and usage.
  • Test streaming, tool calls, and structured output separately if your application needs them.
  • Check retry behavior and spending limits before increasing traffic.
request.example
curl https://app.llmfly.ai/v1/chat/completions \
  -H "Authorization: Bearer $LLMFLY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "grok-4.5",
  "messages": [
    {
      "role": "user",
      "content": "Reply with OK."
    }
  ],
  "stream": false
}'
07

Vendor capability versus gateway access

Grok 4.5 runs under the Grok group (0.4x multiplier) in Model Plaza over the OpenAI-compatible https://app.llmfly.ai/v1/chat/completions endpoint. Validate provider-specific tools or grounding parameters on your route and reconcile billed tokens in your console usage log.

Frequently asked questions

What should I put in the model field?

Use the exact ID grok-4.5, not the display name.

How is the discount calculated?

The current 0.4x multiplier is applied to the base rate, giving 60% off the catalog's official reference. Amounts are shown per million tokens.

Do these prices include every possible fee?

Not necessarily. Check cache-write duration, tools, and other route charges separately. Use the full pricing table and actual usage records to reconcile a bill.

What are the context and output limits?

Vendor documentation lists 500,000 context and Not publicly capped for text output maximum output; confirm gateway route limits separately.

Use the Grok 4.5 API

LLMFly AI provides this model. Use the exact ID grok-4.5 and confirm current account pricing in Model Plaza.

View model and rates