gpt-5-4-mini
Capability: 128K context · tool use · vision · streaming · structured output
Pricing: per-token, mini tier (live rate)
GPT-5.4-mini brings GPT-5.4’s tighter
structured output and tool-call argument generation to mini-tier
pricing. Right
default for production extraction and agent loops where you want 5.4’s
quality bump without the standard-tier cost.
Request
Body parameters
Response
Code examples
Streaming + caching
"stream": true for SSE. Automatic prompt caching.
Errors
When to use
- Production extraction and structured output where 5-mini’s quality plateaus.
- Tool-using agent steps where argument tightness matters.
- For more capability, see GPT-5.4 or GPT-5.5.