GET

/v1/models/opencode/grok-4.6

provider opencodestatus activefirst seen Aug 12, 2026last seen 3m ago
rawIdgrok-4.6
displayNameGrok 4.6
idopencode-grok-4-6
activitychat
schemaEndpointIdinference/openai/v1/responses
releasedAt1786492800 — Aug 12, 2026
firstSeenAt1786492800 — Aug 12, 2026
lastSeenAt1794559749 — 3m ago
pricing
contextWindow500000
maxOutput500000
modalities{"input":["text","image"],"output":["text"]}
capabilities{"tools":true,"reasoning":true,"structured_outputs":true,"vision":true}
knowledgeCutoff"2026-02-01"
openWeightsfalse
providerMetadata{"attachment":true,"canonical_model_id":"xai/grok-4.6","cost":{"cache_read":0.5,"context_over_200k":{"cache_read":1,"input":4,"output":12},"input":2,"output":6,"tiers":[{"cache_read":1,"input":4,"output":12,"tier":{"size":200000,"type":"context"}}]},"description":"xAI's frontier model for long-running agents, coding, knowledge work, and visual projects","family":"grok","id":"grok-4.6","knowledge":"2026-02-01","last_updated":"2026-08-12","limit":{"context":500000,"output":500000},"modalities":{"input":["text","image"],"output":["text"]},"name":"Grok 4.6","open_weights":false,"provider":{"api":"https://opencode.ai/inference/openai/v1","npm":"@ai-sdk/openai"},"reasoning":true,"reasoning_options":[{"type":"effort","values":["low","medium","high","xhigh"]}],"release_date":"2026-08-12","structured_output":true,"temperature":true,"tool_call":true}
weightsUrl · requestMapnot published by this provider’s list endpoint

Endpoints & schemas

GET /v1/schemas/opencode →

endpoints matching this model — the provider has more, see /v1/schemas/opencode

Sources

fieldrecorded source
contextWindowhttps://models.dev/api.json

listing

opencode.models.grok-4.6.limit.context

Source trace
cc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff
maxOutputhttps://models.dev/api.json

listing

opencode.models.grok-4.6.limit.output

Source trace
cc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff
modalitieshttps://models.dev/api.json

listing

opencode.models.grok-4.6.modalities

Source trace
cc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff
pricingSource linked above.

docs-derived

Source trace
7c679ba1d370b4f455e84534094cfa25c1a6ce2b3c48479fdfbda654aaddda89
reasoninghttps://models.dev/api.json

listing

opencode.models.grok-4.6.reasoning_options

Source trace
cc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff
knowledgeCutoffhttps://models.dev/api.json

listing

opencode.models.grok-4.6.knowledge

Source trace
cc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff
openWeightshttps://models.dev/api.json

listing

opencode.models.grok-4.6.open_weights

Source trace
cc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff
schemaEndpointIdhttps://models.dev/api.json

listing

opencode.models.grok-4.6.provider

Source trace
cc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff
capabilities.toolshttps://models.dev/api.json

listing

opencode.models.grok-4.6.tool_call

Source trace
cc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff
capabilities.reasoninghttps://models.dev/api.json

listing

opencode.models.grok-4.6.reasoning

Source trace
cc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff
capabilities.structured_outputshttps://models.dev/api.json

listing

opencode.models.grok-4.6.structured_output

Source trace
cc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff
capabilities.visionhttps://models.dev/api.json

listing

opencode.models.grok-4.6.modalities.input

Source trace
cc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff
requestMaphttps://opencode.ai/docs/zen

Value unknown (null); not published in the checked source · checked 2026-10-09.

requestMapFields.replayReasoningContenthttps://opencode.ai/docs/zen

Value unknown (null); not published in the checked source · checked 2026-10-09.

activitySource unknown — no source URL recorded.

Use it

shell
$ curl https://modelschemas.com/v1/schemas/opencode/chat/inference/openai/v1/responses # request schema
$ curl -X POST https://modelschemas.com/v1/validate -d '{"provider":"opencode","endpointId":"inference/openai/v1/responses","payload":{…}}'
$ curl -X POST https://modelschemas.com/v1/estimate -d '{"provider":"opencode","model":"grok-4.6","usage":{"input_tokens":1200,"output_tokens":400}}'