OpenAI · Released 2024-07-18

GPT-4o Mini

Available
gpt-4o-mini

Call gpt-4o-mini on Lazu for $0.15 per million input tokens and $0.60 per million output tokens, the same as the OpenAI official price. 128k context, up to 16k output tokens, with Tool calling, Vision, Structured output and PDF input.

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

Get an API key
Copy page
Context128k
Max output16k
Knowledge cutoff2023-09
InputText · Image · PDF
OutputText
Endpoints/v1/chat/completions · /v1/responses

Prices and lanes

USD per million tokens. Availability covers the last 7 days, 2 hours per bar.

Lane InputOutputCache readCache write 5m 7-day availability
OpenAI official price $0.15 $0.60$0.075— —
Stable Same as official $0.15 $0.60$0.075— 86.3%

Prices checked 2026-10-03 17:20 UTC · How to choose a lane · gpt-4o-mini.json · gpt-4o-mini.md

Capabilities

Tool callingVisionStructured outputPDF inputWeb search

Example request

POST /v1/chat/completions
curl -X POST https://api.lazu.ai/v1/chat/completions \
  -H "Authorization: Bearer $LAZU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o-mini",
    "messages": [{ "role": "user", "content": "Hello from Lazu" }]
  }'

Any OpenAI SDK works too: set base_url to https://api.lazu.ai/v1. Full integration docs

Questions

What is the difference between the stable and discount lanes?

The stable lane runs on each maker's official API, is billed at the list price, has the highest availability and suits every use. The discount lane is a reverse-engineered route: a third-party supplier serves the model through its official client, not the official API. It costs far less, but availability varies, a failed request does not fall back to the stable lane, and the supplier may add its own system prompt. So use it only inside the matching agent tool: Claude models in Claude Code, GPT models in Codex, Gemini models in Antigravity. For your own code, or anywhere the output must be controlled exactly, use the stable lane. Both lanes work with the same key, and each key picks the lane per model.

Can I call gpt-4o-mini with the OpenAI SDK?

Yes. Point the SDK's base URL at https://api.lazu.ai/v1 and use gpt-4o-mini as the model name.

How is it billed?

Per token actually used — input, output and cache — deducted from your wallet balance. There is no monthly fee, and every request shows up itemized in your usage log.

Same family

Get a key and call it now

Start free Read the docs