OpenAI
GPT-4o Mini
gpt-4o-miniKonteks
128K
Input / 1M token
$0.1500
Output / 1M token
$0.6000
Rumus weighted token
1× provider × 1× tier
Tentang model ini
GPT-4o Mini
GPT-4o Mini — the cheap, fast OpenAI tier. Strong for most tasks where you don't need Opus/Sonnet quality. The standard pairing for routers that escalate hard requests to a larger model.
Rilis
2024-07
Batas data latih
2023-10
Parameter
Not disclosed
Paling cocok untuk
Kasus penggunaan
- ✓High-volume chat where cost matters
- ✓Classification + extraction
- ✓Routing in front of larger models
- ✓Cheap-tier customer support
Kelebihan
Yang dikerjakan dengan baik
- ●Sub-second TTFT
- ●Same tool calling reliability as GPT-4o
- ●128K context window despite small price
- ●Strong default for OpenAI-shaped workflows
Keterbatasan
Pahami trade-off-nya
- !Reasoning + code trails Claude Haiku 4.5 / Qwen 2.5 Coder
- !More hallucination than larger models
- !No vision — must use GPT-4o for multimodal
Benchmark
Skor terpublikasi
Skor dari model card resmi dan leaderboard publik. Makin tinggi makin baik kecuali disebutkan lain.
| Benchmark | Skor | Mengukur |
|---|---|---|
| MMLU | 82.0 | General knowledge across 57 subjects |
| HumanEval | 87.2 | Python code generation, pass@1 |
| MATH | 70.2 | Mathematics, mixed difficulty |
| MGSM | 87.0 | Multilingual grade school math |
Contoh kode
Chat completion dengan GPT-4o Mini
from openai import OpenAI
client = OpenAI(
base_url="https://api.anoman.io/v1",
api_key="anm-sk-..."
)
response = client.chat.completions.create(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)Weighted token
weighted_tokens = raw_tokens × 1 (provider) × 1 (tier)
Paket Pro: 20 jt weighted token/bulan. Multiplier gabungan 1×: 20,000,000 raw token tersedia.
Alternatif
Model serupa di katalog kami
Beban kerja yang cocok dengan GPT-4o Mini sering cocok dengan ini juga. Bandingkan benchmark dan harga sebelum menetapkan default.