GPT-5.4 mini

Model details

GPT-5.4 mini

Model
gpt-5.4-mini
Provider
azure-openai-responses
API
azure-openai-responses
Base URL
(none)
Input
text, image
Reasoning
Yes
Context window
400,000
Max tokens
128,000
Cost / million input
$0.75
Cost / million output
$4.5
Cost / million cache read
$0.075
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "azure-openai-responses": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "gpt-5.4-mini",
          "name": "GPT-5.4 mini",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 400000,
          "maxTokens": 128000,
          "cost": {
            "input": 0.75,
            "output": 4.5,
            "cacheRead": 0.075,
            "cacheWrite": 0
          }
        }
      ],
      "api": "azure-openai-responses"
    }
  }
}