GET

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

provider opencodestatus activefirst seen Nov 13, 2025last seen 15m ago
rawIdgpt-5.1-codex-mini
displayNameGPT-5.1 Codex Mini
idopencode-gpt-5-1-codex-mini
activitychat
schemaEndpointIdinference/openai/v1/responses
releasedAt1762992000 — Nov 13, 2025
firstSeenAt1762992000 — Nov 13, 2025
lastSeenAt1795381463 — 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-codex-mini","name":"GPT-5.1 Codex Mini","description":"Coding-optimized GPT model for repository edits, reviews, and agentic software work","family":"gpt-codex-mini","attachment":true,"reasoning":true,"reasoning_options":[{"type":"effort","values":["low","medium","high"]}],"tool_call":true,"structured_output":true,"temperature":false,"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":0.25,"output":2,"cache_read":0.025},"canonical_model_id":"openai/gpt-5.1-codex-mini"}
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-mini.limit.context

Source trace
36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8
maxOutputhttps://models.dev/api.json

listing

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

Source trace
36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8
modalitieshttps://models.dev/api.json

listing

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

Source trace
36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8
pricingSource linked above.

docs-derived

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

listing

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

Source trace
36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8
knowledgeCutoffhttps://models.dev/api.json

listing

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

Source trace
36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8
openWeightshttps://models.dev/api.json

listing

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

Source trace
36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8
schemaEndpointIdhttps://models.dev/api.json

listing

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

Source trace
36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8
capabilities.toolshttps://models.dev/api.json

listing

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

Source trace
36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8
capabilities.reasoninghttps://models.dev/api.json

listing

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

Source trace
36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8
capabilities.structured_outputshttps://models.dev/api.json

listing

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

Source trace
36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8
capabilities.visionhttps://models.dev/api.json

listing

opencode.models.gpt-5.1-codex-mini.modalities.input

Source trace
36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8
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-mini","usage":{"input_tokens":1200,"output_tokens":400}}'