Antimatter
OpenAI

GPT-4o-mini (2024-07-18)

openai/gpt-4o-mini-2024-07-18

GPT-4o mini is OpenAI's newest model after GPT-4 Omni, supporting both text and image inputs with text outputs.

$0.165 in · $0.66 out per 1M tokens128k contextJul 18, 2024

about 0.04¢ a message

A typical message: about 500 tokens you send and 500 it writes.

Also:gpt-4o-mini

Published facts from the catalog, billed prices and what we measured here. Anything not measured says so.

Price, billed here

Input, per 1M tokens
$0.165provider $0.15
Output, per 1M tokens
$0.66provider $0.60
Cached input, per 1M
$0.0825provider $0.075
Margin
+10%

Context and formats

Context window
128,000 tokens
Longest answer
16,384 tokens
Reads
text, images, and files
Makes
text
First listed
2024-07-18

Measured here, last 7 days

First token, median
not measured
Answered without error
not measured

Tools and JSON

Tool calling
declaredthe provider's claim, not yet measured here
JSON output
declaredthe provider's claim, not yet measured here

Price and latency history as JSON: GET /api/planet/history?id=openai/gpt-4o-mini-2024-07-18.

GPT-4o mini is OpenAI's newest model after GPT-4 Omni, supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...

In OpenAI's words.

The answer appears here.

Use one OpenAI compatible endpoint, this model's id and an am_live_ key from the dashboard. You can also try it in chat first with no key.

curl https://useantimatter.com/v1/chat/completions \
  -H "Authorization: Bearer $ANTIMATTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "openai/gpt-4o-mini-2024-07-18", "messages": [{"role": "user", "content": "Hello"}]}'

Everything else is in the docs.

A badge showing this model's live price per million tokens, as billed here, for a README or a site. It links back to this page.

GPT-4o-mini (2024-07-18) price on Antimatter
<a href="https://useantimatter.com/planet/openai/gpt-4o-mini-2024-07-18"><img src="https://useantimatter.com/api/badge/price?id=openai%2Fgpt-4o-mini-2024-07-18" alt="GPT-4o-mini (2024-07-18) price on Antimatter" height="28"></a>

Closest in price and memory, from other labs.

Go back to the map, or take this model into a chat.