Home / Model Explorer / Grok 4.7
Grok 4.7 API
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
Pricing and groups
Routes and pricing
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
—
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.
# 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 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
Yomi API