Compare models Compare image models AI Tools Models AI Image Models AI News Search Try it free
GPT-4o mini by OpenAI Lightweight

Chat with GPT-4o mini for free

GPT-4o mini is the cheapest, fastest option in the family, built for simple, high-volume tasks where cost and speed win. Start typing, no sign-up needed.

Free in ChatdaySwitch models any timeCompare with other models
Live preview

See how GPT-4o mini thinks

Pick a task and watch a sample answer stream in. Open the same prompt in Chatday when you’re ready.

Why does this return undefined? const u = users.find(u => u.id = id)

The bug is in the arrow body: u.id = id assigns instead of compares, so the callback returns the assigned value and .find never matches the way you expect.

Fix it with a strict comparison:

const u = users.find(u => u.id === id);

Use === to compare. A single = is assignment, which is why you saw undefined.

Illustrative preview: your real answers run in Chatday. Continue in Chatday
Strengths

What makes GPT-4o mini stand out

Lowest cost per request
Very fast inference
Good for simple tasks
At a glance

GPT-4o mini specifications

128K
Context window
16K
Max output
Text · Vision · Code
Modality
October 2023
Knowledge cutoff
Fast
Speed
Free & Pro
Available in Chatday
ProviderOpenAI
Model familyGPT-4 series
Context window128,000 tokens
Max output16,384 tokens
ModalityText · Vision · Code
Knowledge cutoffOctober 2023
Input price$0.15 / 1M tokens
Output price$0.6 / 1M tokens
Tool / function callingYes
VisionYes
StreamingYes
Available in ChatdayFree & Pro

Pricing shown for reference; usage is included in your Chatday plan.

Side by side

GPT-4o mini vs other top models

Compare
Model Context Best at Input price In Chatday
GPT-4o mini 128K Lightweight $0.15/M Free
Claude Opus 4.8 1M Frontier coding $5/M Free
Gemini 3.1 Pro 1M Multimodal $2/M Free
Grok 4 1M Realtime $0.2/M Free
FAQ

GPT-4o mini questions

Yes. GPT-4o mini is available on the free plan with daily limits. Pro raises the limits and adds priority access during peak times.
128K tokens: enough for very long documents, large codebases or extended conversations without losing earlier context.
Reach for GPT-4o mini on the tasks it’s built for, then switch models mid-chat in Chatday when another one fits better, no need to leave the conversation.
Yes. GPT-4o mini accepts image input, so you can share screenshots, diagrams and photos and ask it to reason over them.

Chat with GPT-4o mini and switch models any time.

One subscription, every leading model. Start free in the Chatday web app.