# GPT-4.1 Mini

Mid-sized model with performance competitive with GPT-4o at lower latency and cost. 1M context window with strong coding and vision.

## Overview

- **Provider:** OpenAI
- **Model ID:** `gpt-4.1-mini`
- **Type:** Chat
- **Canonical URL:** https://modelstack.cc/models/chat/gpt-4.1-mini
- **Version:** 4.1-mini
- **Knowledge cutoff:** 2024-06
- **Best for:** Interactive applications, cost-sensitive coding, vision understanding

## Pricing

| Usage | Price |
| --- | ---: |
| Input | $0.4 / 1M tokens |
| Output | $1.6 / 1M tokens |
| Cache read | $0.1 / 1M tokens |
| Cache write (5 minutes) | $0.4 / 1M tokens |

## Specifications

- **Context window:** 1.05M
- **Maximum output:** 33K
- **Typical latency:** 8 ms
- **Released:** 2025-04

## Capabilities

- chat
- tool_use
- vision
- coding

## API usage

Use this model ID in a ModelStack API request:

```json
{
  "model": "gpt-4.1-mini"
}
```

For the rendered page, visit https://modelstack.cc/models/chat/gpt-4.1-mini.
