Grok 4.7

Models

Model details

Model
grok-4.7
Provider
radius
API
pi-messages
Base URL
https://radius.pi.dev/v1
Input
text, image
Reasoning
Yes
Context window
500,000
Max tokens
500,000
Show configuration
{
  "providers": {
    "radius": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "grok-4.7",
          "name": "Grok 4.7",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "thinkingLevelMap": {
            "off": null,
            "minimal": null,
            "low": "low",
            "medium": "medium",
            "high": "high",
            "xhigh": "xhigh",
            "max": null
          },
          "contextWindow": 500000,
          "maxTokens": 500000,
          "cost": {
            "input": 2,
            "output": 6,
            "cacheRead": 0.5,
            "cacheWrite": 0,
            "tiers": [
              {
                "inputTokensAbove": 200000,
                "input": 4,
                "output": 12,
                "cacheRead": 1,
                "cacheWrite": 0
              }
            ]
          }
        }
      ],
      "api": "pi-messages",
      "baseUrl": "https://radius.pi.dev/v1"
    }
  }
}

Pricing

USD per million tokens. A tier is selected from the total input tokens in each request and applies to that entire request.

Pricing rates for Grok 4.7
Request inputInputOutputCache readCache write
Up to 200,000 tokens$2$6$0.5$0
Above 200,000 tokens$4$12$1$0

Session cost calculator

Estimate the requests made during an agent session. A user turn can make several model calls while using tools, so costs are calculated per model request.

Session shape
Rounded median shapes from recent Pi agent sessions.
Warm-request cache reuse
Effective token reuse combines partial hits and occasional complete misses.
Estimated session$0.00
Uncached input
—
Cache reads
—
Uncached prefixes
—
Cache writes
—
Output
—
Without caching
—

The first request starts cold unless marked otherwise. Output is billed separately from context growth because reasoning tokens are not always retained. This remains a directional estimate: providers differ in eligibility, rounding, and retention.

Compatibility flags

This API has no model compatibility flags.