# OpenAI: gpt-mini-latest

gpt-mini-latest is a language model from OpenAI. It reads and writes text.

- **Model id:** `opencheap/gpt-mini-latest`
- **Price per 1M tokens:** $0.79 input / $4.74 output
- **Cached input:** $0.079 per 1M tokens
- **Context:** 400K tokens

## Providers

1 provider. Prices are per 1M tokens. As of 2026-11-24 00:01 UTC.

| Provider | Input price | Cache price | Output price | Context |
| --- | --- | --- | --- | --- |
| Unnamed provider | $0.79 | $0.079 | $4.74 | 400K |

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-mini-latest#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/gpt-mini-latest`; 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-mini-latest", "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-mini-latest",
    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-mini-latest",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About gpt-mini-latest

gpt-mini-latest costs from $0.79 per 1M input tokens and $4.74 per 1M output tokens on OpenCheap, with cached input at $0.079 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.013, and 1,000 such requests about $12.63. Prices as of 2026-11-23 23:56 UTC.

One provider serves gpt-mini-latest 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 400K tokens (400,000), room for roughly 300,000 words of English in one request.

gpt-mini-latest is one of [113 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`.

## More from OpenAI

- [gpt-oss-120b](https://opencheap.si/models/gpt-oss-120b) (`gpt-oss-120b`): $0.0062 / $0.025 per 1M · 131K context
- [gpt-oss-20b](https://opencheap.si/models/gpt-oss-20b) (`gpt-oss-20b`): $0 / $0.0012 per 1M · 131K context
- [GPT 5.5](https://opencheap.si/models/gpt-5.5) (`gpt-5.5`): $2.40 / $14.40 per 1M · 1M context
- [chat-latest](https://opencheap.si/models/chat-latest) (`chat-latest`): $5.25 / $31.51 per 1M · 400K context
- [Codex Mini](https://opencheap.si/models/codex-mini-latest) (`codex-mini-latest`): $1.50 / $6.00 per 1M
- [GPT OSS 120B](https://opencheap.si/models/e2ee-gpt-oss-120b-p) (`e2ee-gpt-oss-120b-p`): $0.078 / $0.39 per 1M · 128K context
- [GPT OSS 20B](https://opencheap.si/models/e2ee-gpt-oss-20b-p) (`e2ee-gpt-oss-20b-p`): $0.03 / $0.11 per 1M · 128K context
- [gpt-3.5-turbo](https://opencheap.si/models/gpt-3.5-turbo) (`gpt-3.5-turbo`): $0.52 / $1.57 per 1M · 4K context

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

## Similar models

- [Claude Haiku 4.5](https://opencheap.si/models/claude-haiku-4.5): Anthropic · 200K context · $1.00 / $5.00 per 1M · [Compare with gpt-mini-latest](https://opencheap.si/compare/gpt-mini-latest-vs-claude-haiku-4.5)
- [Gemini 4 Argon](https://opencheap.si/models/gemini-4-argon): Google · 1M context · $0.80 / $4.00 per 1M, 15 % cheaper · [Compare with gpt-mini-latest](https://opencheap.si/compare/gpt-mini-latest-vs-gemini-4-argon)
- [Gemini 3.6 Flash](https://opencheap.si/models/gemini-3.6-flash): Google · 1M context · $0.75 / $3.75 per 1M, 20 % cheaper · [Compare with gpt-mini-latest](https://opencheap.si/compare/gpt-mini-latest-vs-gemini-3.6-flash)
- [meta-models/Muse-Spark-Open-816B-A42B](https://opencheap.si/models/muse-spark-open-816b-a42b): Meta · 1M context · $1.25 / $4.25 per 1M, 7 % cheaper · [Compare with gpt-mini-latest](https://opencheap.si/compare/gpt-mini-latest-vs-muse-spark-open-816b-a42b)
- [swiss-ai/Apertus-v1.5-70B](https://opencheap.si/models/apertus-v1.5-70b): Swiss AI · 262K context · $0.82 / $2.92 per 1M, 36 % cheaper · [Compare with gpt-mini-latest](https://opencheap.si/compare/gpt-mini-latest-vs-apertus-v1.5-70b)
- [anthracite-org/magnum-v4-72b](https://opencheap.si/models/magnum-v4-72b): Anthracite · 32K context · $2.50 / $5.00 per 1M · [Compare with gpt-mini-latest](https://opencheap.si/compare/gpt-mini-latest-vs-magnum-v4-72b)

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

---

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