Notice
Wan3.0 Officially Launched: Wan3.0 is a native large-scale model for generating 30-second videos, seamlessly orchestrating all audiovisual elements and supporting multi-modal references, delivering viOriginal Manufacturer Authorized · Genuine and TraceableEnterprise‑grade large‑model intelligent gateway platform—provides enterprises with compliant, controllable, stable, and efficient AI model API aggregation and governance services; one‑stop access to⚡️This site has been integrated with the official versions of GLM 5.3 and DeepSeek V4❗️

Text generation / xAI

grok-4.5

Overview

Grok 4.5 is a model from SpaceXAI with frontier performance on coding, knowledge work, and STEM.

  • Model type: Text generation
  • Input: Text / Image
  • Output: Text
  • Endpoints: chat_completion
Tiered billing details
TierInputOutputCache hit
Fallback tier$0.0020/1K$0.0060/1K$0.0003/1K

Billed bylen (input context token count). Coefficient is the $ / 1M tokens price. Default group price (other groups converted by discount).

Code example

Call with grok-4.5 :

curl https://www.starunion.net/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4.5",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'