> ## Documentation Index
> Fetch the complete documentation index at: https://docs.snapgen.org/llms.txt
> Use this file to discover all available pages before exploring further.

# GPT-5.4 Mini

> Use the lower-cost gpt-5.4-mini text route.

`gpt-5.4-mini` is the lowest-priced general text route in the GPT-5.4 line. Use it for frequent chat, extraction, classification, and development-tool requests where cost matters.

| Property     | Value                         |
| ------------ | ----------------------------- |
| Model ID     | `gpt-5.4-mini`                |
| Input price  | \$0.25 per 1M tokens          |
| Output price | \$1.50 per 1M tokens          |
| Streaming    | Supported with `stream: true` |

<ParamField body="model" type="string" required>
  Set to `gpt-5.4-mini`.
</ParamField>

<ParamField body="messages" type="array" required>
  Ordered system, user, and assistant messages.
</ParamField>

<ParamField body="stream" type="boolean" default="false">
  Set to `true` to receive server-sent events.
</ParamField>

## Request

```bash theme={null}
curl https://api.snapgen.org/v1/chat/completions \
  -H "Authorization: Bearer $SNAPGEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.4-mini",
    "messages": [{"role": "user", "content": "Extract the action items from this note."}]
  }'
```

Read generated text from `choices[0].message.content`. See [Chat Completions protocol](/api-reference/chat-completions) for streaming and response fields.

## Compatible protocol paths

| Format             | Path                                          |
| ------------------ | --------------------------------------------- |
| Chat Completions   | `/v1/chat/completions`                        |
| Responses          | `/v1/responses`                               |
| Anthropic Messages | `/v1/messages`                                |
| Gemini native      | `/v1beta/models/gpt-5.4-mini:generateContent` |

<Tip>
  Start with `gpt-5.4-mini` while wiring a new integration, then compare a
  larger route on your actual prompts before changing production defaults.
</Tip>
