Home / Model Explorer / Grok 4.7

Grok 4.7 API

xAIChatReasoningTool calling

Conversational Reasoning · Code and Content Creation

Overview

About this model

Grok 4.7 is a conversational and reasoning model in the xAI Grok series, aimed at problem analysis, content creation, code assistance, and agent applications. It supports text interaction and tool calling, and can be integrated through OpenAI-compatible Chat Completions and Responses interfaces.

Capabilities

Capability matrix

TextSupported
Vision—
Audio—
ToolsSupported
JSONSupported
ReasoningSupported

Pricing and groups

Routes and pricing

Grok route16% of baseOperational

Support grok4.6 (context >200k generates long-context double billing, please control the context reasonably)

Input

$0.32 / 1M

Output

$0.96 / 1M

Cache read

$0.08 / 1M

Cache write

—

Recent availabilityPast 24 hours · Active probes99.5%
24h ago16h ago8h agoNow

Prices in USD per 1M tokens. Rates follow provider adjustments; live prices in Model Explorer as the reference.

Snapshot: 2026-10-07 23:09. Availability reflects active probes over the past 24 hours; performance reflects actual calls.

API

Integration example

All models share one OpenAI-compatible endpoint. To switch models, change the model field. One key accesses every model.

Python · OpenAI SDK
# pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://api.yomiapi.com/v1",
    api_key="sk-your-yomi-key",
)

resp = client.chat.completions.create(
    model="grok-4.7",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
curl · OpenAI compatible
curl https://api.yomiapi.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-yomi-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4.7",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Connect to Grok 4.7 now

Receive credits on registration, access every model with one key, and connect through low-latency global nodes.

Get a free API key