Choosing this model
Selection advice by Y-API. The checks below are suggested evaluations, not published test results.
Where to start
Evaluate it on technical question answering and code work where you want a second opinion from a different model family than the DeepSeek, Qwen or Claude entries.
What to watch for
Being the earlier of the two Grok entries, it is the more likely one to be retired first; a production dependency should have a successor configured. The listed window is also shorter than most entries in this catalog.
Model specifications
These are OpenRouter model-level specifications, not a Y-API compatibility test. A particular route may accept fewer input formats, parameters or tokens. Verify the features you need with a small request; a successful text response does not validate vision or tool calling.
- Context window
- 500,000 tokens
- Input
- Text · Image · File
- Output
- Text
- Listed on OpenRouter
- Parameters listed by OpenRouter
include_reasoninglogprobsmax_tokensreasoningreasoning_effortresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p
API pricing & cost estimate
- Estimated credit consumed
- $10.00
- Estimated cash equivalent
- $1.00
Illustrative token budget, not measured usage or a quote. Includes input and output; excludes separate media charges, cache discounts and retries. Include billed reasoning tokens in your output budget where applicable. Actual billing follows usage returned by the service.
$1 paid adds $10 of credit. Cash equivalent = credit consumed ÷ 10; this is not the model publisher’s list price.
| Model | Estimated credit consumed | Estimated cash equivalent |
|---|---|---|
| Grok 4.6 | $10.00 | $1.00 |
| Grok 4.7 | $5.00 | $0.50 |
| Claude Opus 4.7 | $17.50 | $1.75 |
API integration examples
These minimal, text-only requests use the exact Y-API model ID. They do not demonstrate image, audio, video, file or tool support. The output limit also needs room for reasoning; an empty answer with finish_reason=length can mean the budget was exhausted.
A task to try
Explain why this numerical method can lose precision, and give a concrete input where the error becomes visible.
Set the TOKEN environment variable to a key from your console. Run this on your server or locally; never expose a key in browser code or a public repository.
curl --fail-with-body --silent --show-error --max-time 120 \
'https://api.y-api.bestvirtualgoods.com/v1/chat/completions' \
-H "Authorization: Bearer ${TOKEN:?Set TOKEN first}" \
-H 'Content-Type: application/json' \
--data-binary @- <<'JSON'
{
"model": "x-ai/grok-4.6",
"messages": [
{
"role": "user",
"content": "Explain why this numerical method can lose precision, and give a concrete input where the error becomes visible."
}
],
"max_tokens": 4096
}
JSONHow to evaluate the result
Check the explanation against a reference on the method, then run the proposed input through the model and see whether the predicted failure actually appears.
Before you choose
Should I use 4.6 or 4.7?
They are separate entries with separate prices, and 4.7 is documented as the successor. Unless you have results pinned to 4.6, start with 4.7 and keep 4.6 as a comparison point.
Sources & scope
Technical facts come from the cited model page and, where available, its linked publisher card. A card describes that checkpoint; it is not proof of the weights a gateway serves. Prices come only from the Y-API catalog. We do not claim measured latency, uptime or benchmark scores for this endpoint.