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.7

Overview

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering tasks, verifying its own work, and managing long context, and it improves on its predecessor at professional knowledge work such as drafting documents and presentations. The model was trained with a longer reinforcement learning run weighted toward problems that take many hours to complete, and natively understands the Grok Bot harness for conversational tasks. It ships with a new safeguard stack that pairs strong jailbreak resistance with low refusal rates for legitimate cybersecurity and biology work. SpaceXAI's reported benchmark results use the xhigh reasoning effort.

  • Model type: Text generation
  • Input: Text / Image
  • Output: Text
  • Endpoints: chat
Tiered billing details
TierInputOutputCache hit
Fallback tier$0.0020/1K$0.0060/1K$0.0005/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.7 :

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