Textby 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...

  • By price it is in the cheaper half of the 345 text models GenMagic runs (91st cheapest).
  • Among the models GenMagic runs, it places in the top 10 on 2 of its 49 benchmarks: 4th of 10 on GSM8K, 9th of 19 on MMLU.
  • It was listed on Jul 18, 2024.

Data last changed Nov 10, 2026 · tracked since Oct 29, 2026 · Every model change

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

Generate with GPT-4o-mini (2024-07-18) right here. Verify your email to start with free credits.

<$0.01
Try

Specifications

Context window

128K tokens

Max output

16K tokens

Knowledge cutoff

2023-10-31

Input price

$0.23 / 1M tokens

Output price

$0.90 / 1M tokens

Cached input

$0.11 / 1M tokens

Benchmarks

How GPT-4o-mini (2024-07-18) scores on public benchmarks. Each card links to the benchmark explainer and to the original source.

3.6%

source date 2024-12-21
Source: epoch
AIMEMathematics

6.9%± 2.7

source date 2025-07-30
Source: epoch
ARC-AGI-2Reasoning & Knowledge

0%

Source: epoch
BALROGAgentic & Tool Use

17.4%

Source: epoch
Chess PuzzlesReasoning & Knowledge

3%± 1.7

source date 2026-10-13
Source: epoch
CLEARReasoning & Knowledge

66.3%

source date 2026-06-10
Source: helm
DTBenchReasoning & Knowledge

54.4%

Source: epoch
EHRSQLCoding

11.2%

source date 2026-06-10
Source: helm

0.7%± 0.5

source date 2026-08-27
Source: epoch
GPQA DiamondReasoning & Knowledge

37.7%± 2.4

source date 2025-01-27
Source: epoch
GPQA MainReasoning & Knowledge

36.8%

source date 2026-06-10
Source: helm
GSM8KMathematics

84.3%

source date 2026-06-10
Source: helm
HEAD-QAReasoning & Knowledge

83.2%

source date 2026-06-10
Source: helm
IFEvalInstruction & Preference

78.2%

source date 2026-06-10
Source: helm
LMArena (Coding)Instruction & Preference

1290 Elo

source date 2026-11-11
Source: lmarena
LMArena: Creative WritingInstruction & Preference

1268 Elo

source date 2026-11-11
Source: lmarena
LMArena: Hard PromptsInstruction & Preference

1267 Elo

source date 2026-11-11
Source: lmarena

1289 Elo

source date 2026-11-11
Source: lmarena
LMArena: MathMathematics

1272 Elo

source date 2026-11-11
Source: lmarena
LMArena: Multi-TurnInstruction & Preference

1285 Elo

source date 2026-11-11
Source: lmarena
LMArena (Overall)Instruction & Preference

1286 Elo

source date 2026-11-11
Source: lmarena
LMCAReasoning & Knowledge

10.4

Source: epoch
MATH (Level 5)Mathematics

52.6%± 1.1

source date 2025-01-27
Source: epoch
MedbulletsReasoning & Knowledge

56.5%

source date 2026-06-10
Source: helm
MedCalc-BenchMathematics

15.4%

source date 2026-06-10
Source: helm
MEDECReasoning & Knowledge

53.3%

source date 2026-06-10
Source: helm
MedHalluReasoning & Knowledge

80.1%

source date 2026-06-10
Source: helm
MedMCQAReasoning & Knowledge

66.4%

source date 2026-06-10
Source: helm
MedQAReasoning & Knowledge

74.8%

source date 2026-06-10
Source: helm
MMLUReasoning & Knowledge

81.8%

Source: epoch
MMLU-ProReasoning & Knowledge

60.3%

source date 2026-06-10
Source: helm
Mystery Game PuzzlesReasoning & Knowledge

12%± 3.3

source date 2026-08-27
Source: epoch
n2c2 Clinical Trial MatchingReasoning & Knowledge

78.3%

source date 2026-06-10
Source: helm
NarrativeQAReasoning & Knowledge

76.8

source date 2026-06-10
Source: helm
Natural Questions (closed-book)Reasoning & Knowledge

38.6

source date 2026-06-10
Source: helm
Natural Questions (open-book)Reasoning & Knowledge

74.6

source date 2026-06-10
Source: helm
Omni-MATHMathematics

28%

source date 2026-06-10
Source: helm
OpenBookQAReasoning & Knowledge

92%

source date 2026-06-10
Source: helm
PIQAReasoning & Knowledge

88.7%

Source: epoch
PubMedQAReasoning & Knowledge

67.2%

source date 2026-06-10
Source: helm
SimpleBenchReasoning & Knowledge

10.7%

Source: epoch
SimpleQA VerifiedReasoning & Knowledge

8.3%± 0.9

source date 2026-08-31
Source: epoch
WeirdMLCoding

11.8%± 0.0

Source: epoch
WildBenchInstruction & Preference

8.1

source date 2026-06-10
Source: helm

Compare against every model in the full benchmark matrix.

Capabilities

Vision input

Accepts images alongside text, so you can prompt with pictures and screenshots.

Tool use

Can call functions and tools, enabling agentic and structured workflows.

Structured output

Returns validated JSON that conforms to a schema you define.

Use GPT-4o-mini (2024-07-18) through the API

The model id is openai/gpt-4o-mini-2024-07-18. Requests bill your GenMagic balance at the price above, and each response reports what it cost.

curl
curl https://genmagic.co/api/v1/chat/completions \
  -H "Authorization: Bearer $GENMAGIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4o-mini-2024-07-18",
    "messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
  }'
Python (openai SDK)
from openai import OpenAI

client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")

resp = client.chat.completions.create(
    model="openai/gpt-4o-mini-2024-07-18",
    messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)

From an AI agent, call generate_text with "model": "openai/gpt-4o-mini-2024-07-18" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.

Use GPT-4o-mini (2024-07-18) in n8n

  1. In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
  2. Set Resource to Text and Operation to Generate.
  3. In Model Name or ID, pick OpenAI: GPT-4o-mini (2024-07-18), or enter openai/gpt-4o-mini-2024-07-18 as an expression.
  4. Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.

Ready-to-import workflows that already use the node are on GenMagic for n8n.

Similar-priced text models from other providers

Other text models GenMagic runs at a comparable price, on the same balance and API key.

ModelProviderPriceContext
OpenAI: GPT-4o-mini (2024-07-18) (this model)OpenAI$0.23 in / $0.90 out per 1M tokens128K
LiquidAI: LFM2.5-24B-A2BLiquid AI$0.075 in / $1.05 out per 1M tokens128K
Upstage: Solar Pro 4Upstage$0.23 in / $0.90 out per 1M tokens524K
Mistral: Mistral Small 4Mistral AI$0.23 in / $0.90 out per 1M tokens262K
Qwen: Qwen3 VL 30B A3B InstructQwen$0.23 in / $0.90 out per 1M tokens262K
Cohere: Command R (08-2024)Cohere$0.23 in / $0.90 out per 1M tokens128K

More from OpenAI

All 70 OpenAI models

Price and listing history

Every change GenMagic has recorded for GPT-4o-mini (2024-07-18) since it began tracking the model on Oct 29, 2026. Prices are GenMagic's, the same the studio and the API charge.

DateChangeBeforeAfter
Nov 1, 2026Price up 36%$0.17 in / $0.66 out per 1M tokens$0.23 in / $0.90 out per 1M tokens

Where these figures come from

  • Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
  • Specs and description: as OpenAI publishes them, checked daily.
  • Benchmarks: 49 scores from Epoch AI, Stanford HELM, LMArena, re-read daily. Each score above links to its source.
  • Changes: the data on this page last changed on Nov 10, 2026, tracked since Oct 29, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.

Generate with GPT-4o-mini (2024-07-18) today

One GenMagic plan unlocks GPT-4o-mini (2024-07-18) and every other model across text, image, audio, and video.