MCP / Models / Language models
Grok 4.7 MCP: reasoning with 500K context, no API key
xAI Grok 4.7 is a reasoning model for coding and knowledge work, with a 500K-token context, image input and a private mode. Run it from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

$ YOUR NEXT RUN
Use Grok 4.7 in your assistant
Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.
Read https://flymy.ai/skill.md and https://flymy.ai/mcp/models/grok-4-7.md. Help me connect the FlyMy.AI MCP to this assistant, then run Grok 4.7 (flymyai/grok-4_7) for this task: Ask Grok 4.7: write unit tests for this Python module.
What Grok 4.7 does
Write and review code, plan multi-step work, draft documents and pull facts out of contracts and reports, or explain a screenshot or chart. Grok always reasons: reasoning_effort is low, medium, high (the default) or xhigh. system_prompt, temperature, top_p and max_tokens work as usual, and private_mode keeps the prompt and answer out of FlyMy.AI storage. It answers in text only, without tool calls.
Grok 4.7 inputs
Every input of flymyai/grok-4_7 as its live schema lists them. Returns output (string), finish_reason (string), stream_details (string).
| Input | Type, values and default |
|---|---|
# prompt | string required What to ask Grok |
# messages | string optional Chat history as a JSON array of {role, content}; used instead of the prompt |
# system_prompt | string optional Instructions for the whole chat |
# reasoning_effort | string optional Allowed: low, medium, high, xhigh Default: high How hard Grok thinks before answering; it always reasons |
# max_tokens | integer optional Allowed: 1 to 128000 Most tokens to generate |
# temperature | number optional Allowed: 0 to 2 |
# top_p | number optional Allowed: 0 to 1 |
# private_mode | boolean optional Default: false Keep the prompt and the answer out of FlyMyAI storage and logs (synchronous requests only) |
Ask your agent
Requests to paste as they are, once the FlyMy.AI MCP is connected.
flymyai/grok-4_7flymyai/grok-4_7flymyai/grok-4_7Grok 4.7 price
$2.00 per 1M input tokens, $6.00 per 1M output tokens, cached input $0.50 per 1M. Cached input is $0.50 per 1M tokens. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.
Call Grok 4.7 from code
The same model, from an agent or from your own code. Keys stay in your FlyMy.AI account.
From an agent, through the MCP
The agent calls get_model_schema, then run_model with:
{
"endpoint_id": "flymyai/grok-4_7",
"input": {
"prompt": "Explain in two sentences what an MCP server is."
}
}From your code, over HTTP
Form fields, not JSON; files go as uploads or public URLs. Text models answer on the streaming route.
curl -X POST https://api.flymy.ai/api/v1/flymyai/grok-4_7/predict/stream/ \
-H "X-API-KEY: $FLYMYAI_API_KEY" \
-F 'prompt=Explain in two sentences what an MCP server is.'With the OpenAI SDK
Grok 4.7 also answers the OpenAI Chat Completions protocol.
from openai import OpenAI
client = OpenAI(base_url="https://api.flymy.ai/api/v1/flymyai/grok-4_7/openai/v1", api_key="YOUR_FLYMYAI_KEY")
reply = client.chat.completions.create(
model="flymyai/grok-4_7",
messages=[{"role": "user", "content": "Explain in two sentences what an MCP server is."}],
)
print(reply.choices[0].message.content)Questions about Grok 4.7
Do I need a xAI API key for Grok 4.7?
No. Grok 4.7 runs on FlyMy.AI's account, so you need no xAI key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.
How much does Grok 4.7 cost?
$2.00 per 1M input tokens, $6.00 per 1M output tokens, cached input $0.50 per 1M. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-09.
How do I use Grok 4.7 in Claude Code, Codex or Cursor?
Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Ask Grok 4.7: write unit tests for this Python module." Your agent reads the inputs with get_model_schema and runs flymyai/grok-4_7 with run_model.
What does Grok 4.7 need as input?
Grok 4.7 requires prompt; it also takes 7 optional inputs, each listed on this page with its allowed values and default.
Can I call Grok 4.7 from my own code?
Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/grok-4_7/predict/stream/ with your FlyMy.AI API key in the X-API-KEY header; it also answers the OpenAI Chat Completions protocol at https://api.flymy.ai/api/v1/flymyai/grok-4_7/openai/v1.
Go to the source
From the FlyMy.AI model catalog of 2026-11-09: inputs from the model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.





