XiaoZhan AIhubXiaoZhan AIhub
HomeAI ChatAgentsCreateDigital HumansCreative AgentModel catalogueMarketTopicsPriceDocs
XiaoZhan AIhubXiaoZhan AIhub
HomeAI ChatAgentsCreateDigital HumansCreative AgentModel catalogueMarketTopicsPriceDocs
Model catalogueGrok 4.5

Grok 4.5

70% OFFOnlineNEW

Model ID

Put this value in the request body's `model` field — not the display name above.

Text generationReasoningImage understandingToolsJSON500kClosed source

by xAI · xAI Grok 4.5 flagship. 500K context, reasoning and multimodal input, and video generation right in the playground.

Try it now

Quick start

EndpointPOST /v1/chat/completions
AuthenticationAuthorization: Bearer sk-gpushare-…Get API key
Call styleSynchronous: one request returns the result
Base URLhttps://api.dflop.top/v1
cURL
curl https://api.dflop.top/v1/chat/completions \
  -H "Authorization: Bearer sk-gpushare-xxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4.5",
    "messages": [
      {"role": "user", "content": "你可以帮我做什么"}
    ]
  }'

Pricing

Billed per token: input and output are priced separately and settled on the upstream's reported usage.

Rates
Input 0.2426Credits/K·Output 0.7279Credits/K
  • Input tokens that hit the prompt cache are billed at 36.4 Credits / 1M — cheaper than full-price input.
  • When a turn's prompt exceeds 200,000 tokens, input, cache-hit and output all switch to the long-context rates (input 485.28 Credits / 1M). That is the upstream's whole-turn surcharge for very long requests, passed straight through.
  • With web search or tools enabled, each server-side tool call costs 0.607 Credits on top of tokens, independent of token count. Turns that use no tools incur no such charge.
  • Failed requests (upstream 4xx / 5xx) are not billed.
  • All your API keys share one balance; when it runs out the API returns HTTP 402 `quota_exceeded`.

Sign in and any personal discount on your account will show up here. Sign in

Capabilities & specs

Category
Text generation
Context window
500k tokens
Default max output
131k tokens
Endpoint family
Chat Completions
Protocols
OpenAI Chat · OpenAI Responses
Released
2026-07-09
License
Closed source
Health
4 min ago

Try it

Pick a key under "API access" and fire one real request to see the response — the estimated cost is shown before you send.

Try it in chat

Common errors

404 model_not_found

You passed the display name instead of the model ID.✗ Grok 4.5→✓ grok-4.5

→ Copy the Model ID at the top of this page

402 quota_exceeded

Insufficient account balance. All your API keys share one balance.

→ Add funds in your account

401 / 403

The API key is invalid, or it has a model allowlist that doesn't include this ID.

→ Check the key's status and allowed models

400 invalid_request

A request body field is invalid, or this model doesn't support the protocol endpoint you called.

→ Check your request body against the sample code above

More models from this vendor

Grok 4.6grok-4.6Grok 4.7grok-4.7Grok Imagine (Image)grok-imagine-imageGrok Imagine (Image · Quality)grok-imagine-image-qualityGrok Imagine Videogrok-imagine-videoGrok Imagine Video 1.5grok-imagine-video-1.5-preview
Try it

Grok 4.5 FAQ

How do I call Grok 4.5?
Set the model field of the request body to grok-4.5, send it to https://api.dflop.top/v1/chat/completions, and put your key (it starts with sk-gpushare-) in the Authorization: Bearer header. The official OpenAI, Anthropic and Google Gemini SDKs all work directly; just point base_url at this gateway.
How much does the Grok 4.5 API cost?
  • ·Input: 808.8 credits (≈ ¥13.48 / ≈ $2) per 1M tokens
  • ·Output: 2,426 credits (≈ ¥40.44 / ≈ $6) per 1M tokens
  • ·Cached input: 121.32 credits (≈ ¥2.02 / ≈ $0.3) per 1M tokens
  • ·Long-context tier (prompt ≥ 200,000 tokens): input 1,618 credits (≈ ¥26.96 / ≈ $4), output 4,853 credits (≈ ¥80.88 / ≈ $12)
  • ·Per server-side tool call (web search etc.): 2.02 credits (≈ ¥0.034 / ≈ $0.005)
  • ·Prices are in credits: 60 credits = ¥1. Each call first holds the most it could cost, then settles on actual usage and refunds the difference.
How large is Grok 4.5's context window?
500,000 tokens, with a default output limit of 131,072 tokens per request.
What can Grok 4.5 do?
Image input, Video input, Tool calling, Thinking mode, JSON mode. Compatible protocols: OpenAI Chat Completions, OpenAI Responses.

Input price is about $2 per 1M tokens. Markdown version of this page (Chinese): /models/grok-4.5.md

Related

  • All xAI models