Grok 4.7 via the Tokenator API

What the model is for

Grok 4.7 is SpaceXAI's flagship model for coding, complex reasoning, and agentic tasks. It features improved long-horizon performance, self-verification, and long-context handling, with support for image understanding, tool calling, and configurable reasoning effort.

Specification

Full nameGrok 4.7
API IDgrok-4.7
Model vendorxAI
TypeText model (chat / completions)
Context window500K tokens
Max output132.7K tokens
Image inputyes
Tokenator usage multiplier1.4×
Input modalitiestext, image, file
Aliasescursor-grok-4.7
Supported API formats/v1/chat/completions /v1/responses /v1/messages
Upstream providers1
Current statusavailable
Data updated2026-11-17

Benchmarks

Intelligence index35.2
Vals Finance Index (Vals AI)58.8%
Vals Index (Vals AI)58.6%
Vals Legal Index (Vals AI)72.7%
Vals RSI Index (Vals AI)20.2%
Vals Science Index (Vals AI)34.8%
Code Migration v1.1 (Vals AI)53.2%
IOI (Vals AI)57.7%
ProgramBench (Vals AI)0.5%
SWE-bench Multimodal (Vals AI)42.9%
Terminal-Bench 4.0 (Vals AI)28.8%
Vibe Code Bench 1-100 v1.1 (Vals AI)26.4%
Vibe Code Bench v1.1 (Vals AI)86.2%
ProofBench v1.1 (Vals AI)26%
BioMysteryBench (Vals AI)69.3%
MysteryMechanism (Vals AI)25.2%
Robo-bench (Vals AI)0.2%
Terminal-Bench-Science (Vals AI)10%
EMB v1.1 (Vals AI)71.5%
Finance Agent v2.1 (Vals AI)60.6%
Tax Agent Bench (Vals AI)35.8%
HLAB-Vals-1.1 (Vals AI)18.3%
Immigration (Vals AI)68%
Legal Research Bench (Vals AI)47.1%
LegalBench (Vals AI)84.4%
MedCode (Vals AI)49.6%
MedScribe (Vals AI)89.4%
CyberBench v1.1 (Vals AI)69.5%
CyberOffense (Vals AI)42.3%
SRE Bench (Vals AI)3.8%
SAGE (Vals AI)88.7%
Access to Justice Benchmark (Vals AI)73.7%
Financial Coaching Bench (Vals AI)74.1%
Public Benefits Bench v1.1 (Vals AI)65.6%

Artificial Analysis and Vals AI data loaded into the catalog for this model.

Upstream providers

ProviderMultiplier
AiPartners Ltd1.4×

A request goes to the first available provider by priority; if it fails, Tokenator switches to the next one.

Example request

curl
curl https://api.tokenator.top/v1/chat/completions \
  -H "Authorization: Bearer sk-your-tokenator-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4.7",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Compatible tools

The model can be used in any tool that accepts a custom base URL: Claude Code, Codex CLI, OpenCode, Cursor, Cline, Kilo Code, Cherry Studio, DeepSeek Harness, Hermes, Pi, OpenClaw.

FAQ about Grok 4.7

What is the API ID of Grok 4.7?

grok-4.7 — put this into the model field of your request.

What context window does Grok 4.7 have?

500K tokens; max output is 132.7K tokens.

How many tokens will a request cost?

(input × 1.4×) + (output × 1.4×). See the documentation for details.

Which tools support this model?

Any tool that accepts a custom base URL: Claude Code, Codex CLI, OpenCode, Cursor, Cline, Kilo Code. Setup guides are in the integrations section.