Claude Haiku 4.5 vs GPT 5.4 Mini
Updated November 27, 2026. Prices as of 2026-12-04 11:48 UTC
Claude Haiku 4.5 vs GPT 5.4 Mini on OpenCheap, from the same price book as the model pages. GPT 5.4 Mini is 11 % cheaper than Claude Haiku 4.5 on a typical 1 : 3 input-to-output mix: $1.43 against $1.60 per 1M tokens.
GPT 5.4 Mini is 11 % cheaper than Claude Haiku 4.5 on a typical 1 : 3 input-to-output mix: $1.43 against $1.60 per 1M tokens. A request with 10,000 input tokens and 1,000 output tokens costs about $0.006 on Claude Haiku 4.5 and $0.0048 on GPT 5.4 Mini. GPT 5.4 Mini has the larger context window: 400K tokens, against 200K for Claude Haiku 4.5. On each model's fastest provider, the first token arrives after 0.39 s on Claude Haiku 4.5 and 0.59 s on GPT 5.4 Mini (median, measured by OpenCheap). On OpenCheap, Claude Haiku 4.5 is served by 9 providers and GPT 5.4 Mini by 9 providers. Both are called with one key at the same OpenAI-compatible endpoint, so switching is a change of the model id. Prices as of 2026-12-04 11:48 UTC.
Side by side
| 型号 | Claude Haiku 4.5 Anthropic | GPT 5.4 Mini OpenAI |
|---|---|---|
| Input per 1M tokens | $0.40 | $0.30 (best) |
| Output per 1M tokens | $2.00 | $1.80 (best) |
| Cached input per 1M tokens | $0.04 | $0.03 (best) |
| On a 1 : 3 mix per 1M tokens, input to output | $1.60 | $1.43 (best) |
| One request 10,000 tokens in, 1,000 out | $0.006 | $0.0048 (best) |
| 1,000 requests of that size | $6.00 | $4.80 (best) |
| List price per 1M tokens, input / output | $1.00 / $5.00 | 0.75 美元 / 4.50 美元 |
| Context window tokens in one request | 200K | 400K (best) |
| Providers serving it on OpenCheap | 9 | 9 |
| First token fastest provider, median | 0.39 s (best) | 0.59 s |
| Output speed fastest provider, median | 250 tok/s (best) | 240 tok/s |
| Uptime best provider, last day | 100 % | 100 % |
| 模型 ID | opencheap/claude-haiku-4.5 Model page → | opencheap/gpt-5.4-mini Model page → |
Prices are each model's From price, the provider a request goes to now, in US dollars. The list price is the model's published price. First token, output speed and uptime are medians for each model's fastest working provider, measured by OpenCheap; each model page lists every provider. Green marks the best value in a row.
Switch between them
Point the OpenAI SDK at https://api.opencheap.si/v1 with your OpenCheap key. To call GPT 5.4 Mini instead of 克劳德·俳句 4.5, change the model to opencheap/gpt-5.4-mini; nothing else in your code changes. Each request goes to the cheapest healthy provider of the model you name, and every answer reports what it cost in 使用成本.
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/claude-haiku-4.5",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)About the two models
Claude Haiku 4.5 is Anthropic's October 2025 small model for chat assistants, support agents and sub-agent tasks. It also handles computer use, accepts text and images, and supports extended thinking. All Anthropic models
The mini model of OpenAI's GPT-5.4 family, built for coding, computer use and subagents in high-volume workloads. It reads text and images and answers in text. All OpenAI models
Questions
- Which is cheaper, Claude Haiku 4.5 or GPT 5.4 Mini?
- GPT 5.4 Mini is 11 % cheaper than Claude Haiku 4.5 on a typical 1 : 3 input-to-output mix: $1.43 against $1.60 per 1M tokens. Per 1M tokens, Claude Haiku 4.5 costs $0.40 input and $2.00 output; GPT 5.4 Mini costs $0.30 input and $1.80 output.
- Which has the larger context window, Claude Haiku 4.5 or GPT 5.4 Mini?
- GPT 5.4 Mini has the larger context window: 400K tokens, against 200K for Claude Haiku 4.5.
- Which is faster, Claude Haiku 4.5 or GPT 5.4 Mini?
- On each model's fastest provider, Claude Haiku 4.5 starts answering after 0.39 s and writes about 250 tok/s; GPT 5.4 Mini starts answering after 0.59 s and writes about 240 tok/s (medians measured by OpenCheap).
- Can I use Claude Haiku 4.5 and GPT 5.4 Mini with the same API key?
- Yes. Both are called at https://api.opencheap.si/v1 with the OpenAI SDK or any OpenAI-compatible client: pass the model id opencheap/claude-haiku-4.5 or opencheap/gpt-5.4-mini, and each request goes to the cheapest healthy provider of that model.