GET

/v1/models/opencode/gpt-5.1

provider opencodestatus activefirst seen Nov 13, 2025last seen 15m ago
rawIdgpt-5.1
displayNameGPT-5.1
idopencode-gpt-5-1
activitychat
schemaEndpointIdinference/openai/v1/responses
releasedAt1762992000 — Nov 13, 2025
firstSeenAt1762992000 — Nov 13, 2025
lastSeenAt1795380549 — 15m ago
pricing
contextWindow400000
maxOutput128000
modalities{"input":["text","image"],"output":["text"]}
capabilities{"tools":true,"reasoning":true,"structured_outputs":true,"vision":true}
knowledgeCutoff"2024-09-30"
openWeightsfalse
providerMetadata{"id":"gpt-5.1","name":"GPT-5.1","description":"GPT model for general reasoning, writing, coding, and tool-assisted tasks","family":"gpt","attachment":true,"reasoning":true,"reasoning_options":[{"type":"effort","values":["none","low","medium","high"]}],"tool_call":true,"structured_output":true,"temperature":true,"knowledge":"2024-09-30","release_date":"2025-11-13","last_updated":"2025-11-13","modalities":{"input":["text","image"],"output":["text"]},"open_weights":false,"limit":{"context":400000,"input":272000,"output":128000},"provider":{"npm":"@ai-sdk/openai","api":"https://opencode.ai/inference/openai/v1"},"cost":{"input":1.07,"output":8.5,"cache_read":0.107},"canonical_model_id":"openai/gpt-5.1"}
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.gpt-5.1.limit.context

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

listing

opencode.models.gpt-5.1.limit.output

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

listing

opencode.models.gpt-5.1.modalities

Source trace
eb90d6a80d8314e9be093bd5af9a13fd9cb926d959ffa9c9b5ac6963bf80ae74
pricingSource linked above.

docs-derived

Source trace
94f8c32c0a7362524151b4cf447e51f655f2ddfe461a18d782f5990e9a0fcb51
reasoninghttps://models.dev/api.json

listing

opencode.models.gpt-5.1.reasoning_options

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

listing

opencode.models.gpt-5.1.knowledge

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

listing

opencode.models.gpt-5.1.open_weights

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

listing

opencode.models.gpt-5.1.provider

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

listing

opencode.models.gpt-5.1.tool_call

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

listing

opencode.models.gpt-5.1.reasoning

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

listing

opencode.models.gpt-5.1.structured_output

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

listing

opencode.models.gpt-5.1.modalities.input

Source trace
eb90d6a80d8314e9be093bd5af9a13fd9cb926d959ffa9c9b5ac6963bf80ae74
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":"gpt-5.1","usage":{"input_tokens":1200,"output_tokens":400}}'