Choosing this model
Selection advice by Y-API. The checks below are suggested evaluations, not published test results.
Where to start
Use it as a candidate for agent loops where each step is a small, checkable action — reading a file, running a command, summarising the result — and where a cheap retry is acceptable.
What to watch for
A preview ID can change or disappear without a deprecation cycle. Pin your evaluation to this exact model string, keep a fallback configured, and do not treat preview availability as a production guarantee.
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
- 1,000,000 tokens
- Input
- Text · Image · Video
- Output
- Text
- Listed on OpenRouter
- Parameters listed by OpenRouter
include_reasoningmax_tokensreasoningreasoning_effortresponse_formattemperaturetool_choicetoolstop_p
API pricing & cost estimate
- Estimated credit consumed
- $0.90
- Estimated cash equivalent
- $0.09
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 |
|---|---|---|
| MiniMax M3.1 Flash | $0.90 | $0.09 |
| MiniMax M3 | $0.90 | $0.09 |
| GLM 5.3 Flash | $0.40 | $0.04 |
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
You have a shell and a failing test. Describe the first three commands you would run, what you expect each to tell you, and what would make you stop and ask instead of continuing.
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": "minimax/minimax-m3.1-flash-preview",
"messages": [
{
"role": "user",
"content": "You have a shell and a failing test. Describe the first three commands you would run, what you expect each to tell you, and what would make you stop and ask instead of continuing."
}
],
"max_tokens": 4096
}
JSONHow to evaluate the result
Look for commands whose output would actually change the next step. A plan that runs the same command three times, or that asks for information already in the prompt, has not planned anything.
Before you choose
Why does this page point at a `:free` OpenRouter listing?
OpenRouter lists only the free variant of this checkpoint, so the specification link goes there. The model ID you call on Y-API is the one shown above, and its price comes from this catalog, not from that listing.
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.