GET

/v1/models/opencode-go/grok-4.7

provider opencode-gostatus activefirst seen Sep 21, 2026last seen 14m ago
rawIdgrok-4.7
displayNameGrok 4.7
idopencode-go-grok-4-7
activitychat
schemaEndpointIdinference/go/openai/v1/responses
releasedAt1789948800 — Sep 21, 2026
firstSeenAt1789948800 — Sep 21, 2026
lastSeenAt1794562401 — 14m ago
pricingnot published by this provider’s list endpoint
contextWindow500000
maxOutput500000
modalities{"input":["text","image","pdf"],"output":["text"]}
capabilities{"tools":true,"reasoning":true,"structured_outputs":true,"vision":true}
knowledgeCutoff"2026-05"
openWeightsfalse
providerMetadata{"attachment":true,"canonical_model_id":"xai/grok-4.7","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.7","knowledge":"2026-05","last_updated":"2026-09-21","limit":{"context":500000,"output":500000},"modalities":{"input":["text","image","pdf"],"output":["text"]},"name":"Grok 4.7","open_weights":false,"provider":{"api":"https://opencode.ai/inference/go/openai/v1","npm":"@ai-sdk/openai"},"reasoning":true,"reasoning_options":[{"type":"effort","values":["low","medium","high","xhigh"]}],"release_date":"2026-09-21","structured_output":true,"temperature":true,"tool_call":true}
weightsUrl · requestMapnot published by this provider’s list endpoint

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

Sources

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

listing

opencode-go.models.grok-4.7.limit.context

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

listing

opencode-go.models.grok-4.7.limit.output

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

listing

opencode-go.models.grok-4.7.modalities

Source trace
fb43d87ae4f5d28f2467baedce982615c7ed30cd492e05ca27c0cc4cbbc6fa0b
reasoninghttps://models.dev/api.json

listing

opencode-go.models.grok-4.7.reasoning_options

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

listing

opencode-go.models.grok-4.7.knowledge

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

listing

opencode-go.models.grok-4.7.open_weights

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

listing

opencode-go.models.grok-4.7.provider

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

listing

opencode-go.models.grok-4.7.tool_call

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

listing

opencode-go.models.grok-4.7.reasoning

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

listing

opencode-go.models.grok-4.7.structured_output

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

listing

opencode-go.models.grok-4.7.modalities.input

Source trace
fb43d87ae4f5d28f2467baedce982615c7ed30cd492e05ca27c0cc4cbbc6fa0b
requiredRequestHeadershttps://opencode.ai/docs/console/go/

docs-derived

Where can I use it?

requestMaphttps://opencode.ai/docs/go

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

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

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

pricinghttps://opencode.ai/docs/go

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

cacheReadhttps://opencode.ai/docs/go

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-go/chat/inference/go/openai/v1/responses # request schema
$ curl -X POST https://modelschemas.com/v1/validate -d '{"provider":"opencode-go","endpointId":"inference/go/openai/v1/responses","payload":{…}}'
$ curl -X POST https://modelschemas.com/v1/estimate -d '{"provider":"opencode-go","model":"grok-4.7","usage":{"input_tokens":1200,"output_tokens":400}}'