GET

/v1/models/opencode/gpt-5.1-codex-max

provider opencodestatus activefirst seen Nov 13, 2025last seen 7m ago
rawIdgpt-5.1-codex-max
displayNameGPT-5.1 Codex Max
idopencode-gpt-5-1-codex-max
activitychat
schemaEndpointIdinference/openai/v1/responses
releasedAt1762992000 — Nov 13, 2025
firstSeenAt1762992000 — Nov 13, 2025
lastSeenAt1794565141 — 7m 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{"attachment":true,"canonical_model_id":"openai/gpt-5.1-codex-max","cost":{"cache_read":0.125,"input":1.25,"output":10},"description":"Coding-optimized GPT model for repository edits, reviews, and agentic software work","family":"gpt-codex","id":"gpt-5.1-codex-max","knowledge":"2024-09-30","last_updated":"2025-11-13","limit":{"context":400000,"input":272000,"output":128000},"modalities":{"input":["text","image"],"output":["text"]},"name":"GPT-5.1 Codex Max","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":"2025-11-13","structured_output":true,"temperature":false,"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.gpt-5.1-codex-max.limit.context

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

listing

opencode.models.gpt-5.1-codex-max.limit.output

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

listing

opencode.models.gpt-5.1-codex-max.modalities

Source trace
cc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff
pricingSource linked above.

docs-derived

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

listing

opencode.models.gpt-5.1-codex-max.reasoning_options

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

listing

opencode.models.gpt-5.1-codex-max.knowledge

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

listing

opencode.models.gpt-5.1-codex-max.open_weights

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

listing

opencode.models.gpt-5.1-codex-max.provider

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

listing

opencode.models.gpt-5.1-codex-max.tool_call

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

listing

opencode.models.gpt-5.1-codex-max.reasoning

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

listing

opencode.models.gpt-5.1-codex-max.structured_output

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

listing

opencode.models.gpt-5.1-codex-max.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":"gpt-5.1-codex-max","usage":{"input_tokens":1200,"output_tokens":400}}'