GET
/v1/models/opencode/gpt-5.4-mini
Accept:
| 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 | 1795357190 — 11m 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
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.4-mini","usage":{"input_tokens":1200,"output_tokens":400}}'