# GPT-5 Mini (2025-08-07)

> GPT-5 mini is a faster, more cost-efficient version of GPT-5. It's great for well-defined tasks and precise prompts. 

Agent resources: the index of everything machine-readable is https://www.ohmygpt.com/llms.txt; the integration skill (endpoints, auth, SDK and coding-tool setup) is https://www.ohmygpt.com/skill.md.

- Model ID: `openai/gpt-5-mini-2025-08-07`
- Status: available; stops working on 2026-12-11, use openai/gpt-5.6-terra instead
- Released: 2025-08-08
- Context: 400K tokens
- Max output: 128K tokens
- Input: text, image; output: text
- Capability score: 145 (as of 2026-11-02, see https://www.ohmygpt.com/rankings.md)
- Human preference rating (LMArena text): 1373

## Prices (USD)

| Item | Price | Unit |
| --- | --- | --- |
| Input | $0.225 | per 1M tokens |
| Output | $1.80 | per 1M tokens |
| Cache read | $0.0225 | per 1M tokens |
| Web search | $0.009 | per request |

## Providers

This model chooses its provider itself; a provider prefix is not accepted.

| Provider | Pinned model ID | Location | Input | Output | Trains on your data |
| --- | --- | --- | --- | --- | --- |
| OpenAI | — | United States | $0.225 | $1.80 | no |

## Endpoints

| API | Request | model |
| --- | --- | --- |
| OpenAI Chat | POST https://api.ohmygpt.com/v1/chat/completions | `openai/gpt-5-mini-2025-08-07` |
| OpenAI Responses | POST https://api.ohmygpt.com/v1/responses | `openai/gpt-5-mini-2025-08-07` |
| Anthropic Messages | POST https://api.ohmygpt.com/v1/messages | `openai/gpt-5-mini-2025-08-07` |
| Google Gemini | POST https://api.ohmygpt.com/v1/models/openai/gpt-5-mini-2025-08-07:generateContent | `openai/gpt-5-mini-2025-08-07` |

## Example

```bash
curl https://api.ohmygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $OHMYGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5-mini-2025-08-07",
    "messages": [
      {
        "role": "user",
        "content": "Hello"
      }
    ]
  }'
```

Web page: https://www.ohmygpt.com/models/openai/gpt-5-mini-2025-08-07
