iilib
Model•active

Grok 4.7

Grok 4.7 is SpaceXAI's current flagship model for coding and general agentic work, with a 500K-token context window and configurable reasoning.

Overview

The model accepts text and images and returns text. It supports function calling, structured outputs, web and X search, code execution, and the Responses and Chat Completions APIs.

Model specifications

Family
Grok 4
Context
500,000 tokens
Input
Text, Image
Output
Text
Open weights
No
Capabilities
Reasoning, Vision, Tool Use, Function Calling, Structured Output, Web Search, Code Execution

Recorded API token pricing

Reference rates in USD per 1 million tokens. Actual charges depend on the provider, service tier, context length, tools, and region.

Input
USD 2 / 1M tokens
Output
USD 6 / 1M tokens

Pricing caveats

Standard short-context text-token pricing. Long-context and regional processing can use different rates.

Reviewed Oct 3, 2026 · Verify with provider documentation →

Related entities