/v1/models/opencode/gpt-5.4-mini
| rawId | gpt-5.4-mini |
| displayName | GPT-5.4 Mini |
| id | opencode-gpt-5-4-mini |
| activity | chat |
| schemaEndpointId | inference/openai/v1/responses |
| releasedAt | 1773705600 — Mar 17, 2026 |
| firstSeenAt | 1773705600 — Mar 17, 2026 |
| lastSeenAt | 1795380549 — 4m ago |
| pricing | $0.75 / 1M input · $4.5 / 1M output → open calculator input_tokens (usage) · output_tokens (usage) · cache_read_tokens (usage) |
| contextWindow | 400000 |
| maxOutput | 128000 |
| modalities | {"input":["text","image","pdf"],"output":["text"]} |
| capabilities | {"tools":true,"reasoning":true,"structured_outputs":true,"vision":true} |
| knowledgeCutoff | "2025-08-31" |
| openWeights | false |
| providerMetadata | {"id":"gpt-5.4-mini","name":"GPT-5.4 Mini","description":"Compact GPT model for low-latency assistance and high-volume workloads","family":"gpt-mini","attachment":true,"reasoning":true,"reasoning_options":[{"type":"effort","values":["none","low","medium","high","xhigh"]}],"tool_call":true,"structured_output":true,"temperature":true,"knowledge":"2025-08-31","release_date":"2026-03-17","last_updated":"2026-03-17","modalities":{"input":["text","image","pdf"],"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.75,"output":4.5,"cache_read":0.075},"canonical_model_id":"openai/gpt-5.4-mini"} |
| weightsUrl · requestMap | not published by this provider’s list endpoint |
Endpoints & schemas
GET /v1/schemas/opencode →| endpoint | activity |
|---|---|
| inference/openai/v1/responses | chat |
endpoints matching this model — the provider has more, see /v1/schemas/opencode
Sources
| field | recorded source |
|---|---|
| contextWindow | https://models.dev/api.json listing opencode.models.gpt-5.4-mini.limit.context Source traceeb90d6a80d8314e9be093bd5af9a13fd9cb926d959ffa9c9b5ac6963bf80ae74 |
| maxOutput | https://models.dev/api.json listing opencode.models.gpt-5.4-mini.limit.output Source traceeb90d6a80d8314e9be093bd5af9a13fd9cb926d959ffa9c9b5ac6963bf80ae74 |
| modalities | https://models.dev/api.json listing opencode.models.gpt-5.4-mini.modalities Source traceeb90d6a80d8314e9be093bd5af9a13fd9cb926d959ffa9c9b5ac6963bf80ae74 |
| pricing | Source linked above. docs-derived Source trace94f8c32c0a7362524151b4cf447e51f655f2ddfe461a18d782f5990e9a0fcb51 |
| reasoning | https://models.dev/api.json listing opencode.models.gpt-5.4-mini.reasoning_options Source traceeb90d6a80d8314e9be093bd5af9a13fd9cb926d959ffa9c9b5ac6963bf80ae74 |
| knowledgeCutoff | https://models.dev/api.json listing opencode.models.gpt-5.4-mini.knowledge Source traceeb90d6a80d8314e9be093bd5af9a13fd9cb926d959ffa9c9b5ac6963bf80ae74 |
| openWeights | https://models.dev/api.json listing opencode.models.gpt-5.4-mini.open_weights Source traceeb90d6a80d8314e9be093bd5af9a13fd9cb926d959ffa9c9b5ac6963bf80ae74 |
| schemaEndpointId | https://models.dev/api.json listing opencode.models.gpt-5.4-mini.provider Source traceeb90d6a80d8314e9be093bd5af9a13fd9cb926d959ffa9c9b5ac6963bf80ae74 |
| capabilities.tools | https://models.dev/api.json listing opencode.models.gpt-5.4-mini.tool_call Source traceeb90d6a80d8314e9be093bd5af9a13fd9cb926d959ffa9c9b5ac6963bf80ae74 |
| capabilities.reasoning | https://models.dev/api.json listing opencode.models.gpt-5.4-mini.reasoning Source traceeb90d6a80d8314e9be093bd5af9a13fd9cb926d959ffa9c9b5ac6963bf80ae74 |
| capabilities.structured_outputs | https://models.dev/api.json listing opencode.models.gpt-5.4-mini.structured_output Source traceeb90d6a80d8314e9be093bd5af9a13fd9cb926d959ffa9c9b5ac6963bf80ae74 |
| capabilities.vision | https://models.dev/api.json listing opencode.models.gpt-5.4-mini.modalities.input Source traceeb90d6a80d8314e9be093bd5af9a13fd9cb926d959ffa9c9b5ac6963bf80ae74 |
| requestMap | https://opencode.ai/docs/zen Value unknown (null); not published in the checked source · checked 2026-10-09. |
| requestMapFields.replayReasoningContent | https://opencode.ai/docs/zen Value unknown (null); not published in the checked source · checked 2026-10-09. |
| activity | Source unknown — no source URL recorded. |
Use it
$ 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.4-mini","usage":{"input_tokens":1200,"output_tokens":400}}'