# OpenAI: gpt-4.1-mini-0414

GPT-4.1 Mini is OpenAI's smaller model in the GPT-4.1 line, aimed at instruction following and tool calling. It accepts text and images, replies in text, and works without a separate reasoning step.

- **Model id:** `opencheap/gpt-4.1-mini-0414`
- **Price per 1M tokens:** $0.42 input / $1.68 output
- **Cached input:** $0.10 per 1M tokens
- **Context:** 1M tokens

## Providers

1 provider. Prices are per 1M tokens. As of 2026-12-04 12:07 UTC.

| Provider | Input price | Cache price | Output price | Context |
| --- | --- | --- | --- | --- |
| Unnamed provider · quantization unknown | $0.42 | $0.10 | $1.68 | 1M |

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/gpt-4.1-mini-0414#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/gpt-4.1-mini-0414`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/gpt-4.1-mini-0414", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/gpt-4.1-mini-0414",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/gpt-4.1-mini-0414",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About gpt-4.1-mini-0414

gpt-4.1-mini-0414 costs from $0.42 per 1M input tokens and $1.68 per 1M output tokens on OpenCheap, with cached input at $0.10 per 1M tokens. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0059, and 1,000 such requests about $5.87. Prices as of 2026-12-04 12:06 UTC.

One provider serves gpt-4.1-mini-0414 on OpenCheap today. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 1M tokens (1,047,576), room for roughly 790,000 words of English in one request.

gpt-4.1-mini-0414 is one of [114 OpenAI models](https://opencheap.si/models/lab/openai) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the gpt-4.1-mini-0414 API cost per 1M tokens?

gpt-4.1-mini-0414 costs from $0.42 per 1M input tokens and $1.68 per 1M output tokens on OpenCheap, with cached input at $0.10 per 1M tokens. Prices as of 2026-12-04 12:06 UTC.

### What does one gpt-4.1-mini-0414 request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.0059, and 1,000 such requests about $5.87. Every answer reports its own cost in usage.cost.

### Which providers serve gpt-4.1-mini-0414?

One provider serves gpt-4.1-mini-0414 on OpenCheap today. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of gpt-4.1-mini-0414?

Its context window is 1M tokens (1,047,576), room for roughly 790,000 words of English in one request.

### How do I call the gpt-4.1-mini-0414 API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/gpt-4.1-mini-0414. One OpenCheap key works for every model; the rest of your code stays the same.

## More from OpenAI

- [gpt-oss-120b](https://opencheap.si/models/gpt-oss-120b) (`gpt-oss-120b`): $0.0049 / $0.021 per 1M · 131K context
- [gpt-oss-20b](https://opencheap.si/models/gpt-oss-20b) (`gpt-oss-20b`): $0.0003 / $0.0015 per 1M · 131K context
- [GPT 5.5](https://opencheap.si/models/gpt-5.5) (`gpt-5.5`): $2.00 / $12.00 per 1M · 1M context
- [chat-latest](https://opencheap.si/models/chat-latest) (`chat-latest`): $5.25 / $31.48 per 1M · 272K context
- [Codex Mini](https://opencheap.si/models/codex-mini-latest) (`codex-mini-latest`): $1.50 / $6.00 per 1M
- [gpt-3.5-turbo](https://opencheap.si/models/gpt-3.5-turbo) (`gpt-3.5-turbo`): $0.52 / $1.57 per 1M · 4K context
- [GPT-3.5 Turbo (older v0613)](https://opencheap.si/models/gpt-3.5-turbo-0613) (`gpt-3.5-turbo-0613`): $1.05 / $2.10 per 1M · 4K context
- [GPT-3.5 Turbo 16k](https://opencheap.si/models/gpt-3.5-turbo-16k) (`gpt-3.5-turbo-16k`): $3.15 / $4.20 per 1M · 16K context

[All 114 OpenAI models](https://opencheap.si/models/lab/openai)

## Similar models

- [MiniMax M3](https://opencheap.si/models/minimax-m3): MiniMax · 1M context · $0.24 / $1.01 per 1M, 40 % cheaper · [Compare with gpt-4.1-mini-0414](https://opencheap.si/compare/gpt-4.1-mini-0414-vs-minimax-m3)
- [OrcaCyber DeepSeek V4.1 Flash](https://opencheap.si/models/orcacyber-flash-1.0): OrcaRouter · 1M context · $0.80 / $1.60 per 1M · [Compare with gpt-4.1-mini-0414](https://opencheap.si/compare/gpt-4.1-mini-0414-vs-orcacyber-flash-1.0)
- [OrcaCyber GLM 5.3 Flash](https://opencheap.si/models/orcacyber-glm-5.3-flash): OrcaRouter · 1M context · $0.80 / $1.60 per 1M · [Compare with gpt-4.1-mini-0414](https://opencheap.si/compare/gpt-4.1-mini-0414-vs-orcacyber-glm-5.3-flash)
- [Gemini 3.8 Flash](https://opencheap.si/models/gemini-3.8-flash): Google · 1M context · $0.45 / $2.25 per 1M · [Compare with gpt-4.1-mini-0414](https://opencheap.si/compare/gpt-4.1-mini-0414-vs-gemini-3.8-flash)
- [Gemini 3.7 Flash](https://opencheap.si/models/gemini-3.7-flash): Google · 1M context · $0.33 / $1.34 per 1M, 20 % cheaper · [Compare with gpt-4.1-mini-0414](https://opencheap.si/compare/gpt-4.1-mini-0414-vs-gemini-3.7-flash)
- [GLM 5.3 Flashx](https://opencheap.si/models/glm-5.3-flashx): Zhipu · 1M context · $0.35 / $1.18 per 1M, 29 % cheaper · [Compare with gpt-4.1-mini-0414](https://opencheap.si/compare/gpt-4.1-mini-0414-vs-glm-5.3-flashx)

[Compare gpt-4.1-mini-0414 with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/gpt-4.1-mini-0414 · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
