grok

XAI: Grok 4.7

x-ai/grok-4.7
Context

500K

Input

text, file, image

Output

text

Tool calling

Supported

About this model

Grok 4.7 is xAI's frontier reasoning model for coding, long-running agentic tasks, professional knowledge work, engineering, computer use, and complex multi-step workflows. It uses a larger base model than Grok 4.6 and was trained with a longer reinforcement-learning run focused on difficult tasks requiring extended execution and self-verification. Grok 4.7 supports a 500K-token context window, text and image understanding, function calling, structured outputs, configurable reasoning effort, and tool-driven agentic workflows.

Input modalities

text

Accepted as model input

file

Accepted as model input

image

Accepted as model input

Providers

Available routing options for this model through OneInfer.

Available

Input tokens

$2.000 / 1M tokens

Output tokens

$6.000 / 1M tokens

Routing

OneInfer optimized

Pricing

Current OneInfer pricing for this model.

UsagePrice
Input tokens$2.000 / 1M tokens
Output tokens$6.000 / 1M tokens
Cached input tokens$0.500 / 1M tokens

Performance & Benchmarks

Independent evaluations and live cluster operational metrics

We haven’t measured this model yet. Published academic results are under Academic Evaluations.

API Guide

API docs
  1. 1

    Generate your access token

    Use your API key to generate the JWT access token required by the Models API.

  2. 2

    Add the JWT token

    Copy the generated JWT token and replace JWT_TOKEN in the example below.

  3. 3

    Check your credits

    If your balance is too low, before calling the model.

  4. 4

    Run the API example

    Choose your preferred language, copy the example, and send your first model request.

    curl https://api.oneinfer.ai/v1/ula/chat/completions \
      -H "Authorization: Bearer $JWT_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "x-ai/grok-4.7",
        "messages": [
          { "role": "user", "content": "Hello!" }
        ]
      }'

Community Model Reviews & Ratings

Verified visitor & developer evaluations on XAI: Grok 4.7's real-world intelligence, code accuracy, and speed

4.8
Community consensus rating
Top Community Consensus Tags:
Be the first to rate and tag this model's coding and reasoning strengths!

No community reviews yet

Be the first to share developer feedback on XAI: Grok 4.7's latency, code accuracy, and reliability in production.