OpenAI model

o4 Mini API

openai/o4-mini has a 200000 context window, costs $1.10 per 1M input tokens and $4.40 per 1M output tokens. Walk away if you do not need vision or long context. First-party CacheSafety is unpublished.

OpenAIPlatform curatedCatalog
ThinkingFunction CallingVision
Input price$1.10 / 1M tokens
Output price$4.40 / 1M tokens
Context length200k tokens
Max output8.2k tokens

What is o4 Mini API in NextModel?

openai/o4-mini has a 200000 context window, costs $1.10 per 1M input tokens and $4.40 per 1M output tokens. Walk away if you do not need vision or long context. First-party CacheSafety is unpublished.

O4 Mini via NextModel: 200k-token context; $1.10 / 1M tokens in / $4.40 / 1M tokens out per 1M tokens. Capabilities: streaming, tool, json.

Best use cases

  • Buyers with vision workloads, long-context tasks, or agent use cases that need streaming, tool, json, and vision support.
  • You need the listed capabilities on this catalog entry.
  • The listed price fits the workload better than the siblings in the same family.

When not to use

  • Buyers who do not need vision or long context.
  • Buyers who require 400000 tokens of context, because openai/gpt-5 and openai/gpt-5.1 both offer 400000 tokens.
  • A required number is unpublished in the catalog snapshot.

OpenAI-compatible code example

request.sh
curl https://api.nextmodel.app/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $NEXTMODEL_API_KEY" \
  -d '{"model":"openai/o4-mini","messages":[{"role":"user","content":"Reply with OK."}]}'

Switching models only changes the model field.

Try it in the playground

Similar alternatives

OpenAICatalog

GPT-4.1 via NextModel: 1M-token context; $2 / 1M tokens in / $8 / 1M tokens out per 1M tokens. Capabilities: streaming, tool, json.

$2 / 1M tokensInput$8 / 1M tokensOutput1MContext
Best forimage understanding, multimodal chat
StreamingTool callingJSON modeVision
Platform curatedCurated and maintained in the NextModel catalog
View details
OpenAICatalog

GPT-4.1 Mini via NextModel: 1M-token context; $0.4 / 1M tokens in / $1.60 / 1M tokens out per 1M tokens. Capabilities: streaming, tool, json.

$0.4 / 1M tokensInput$1.60 / 1M tokensOutput1MContext
Best forimage understanding, multimodal chat
StreamingTool callingJSON modeVision
Platform curatedCurated and maintained in the NextModel catalog
View details
OpenAICatalog

GPT-4.1 Nano via NextModel: 1M-token context; $0.1 / 1M tokens in / $0.4 / 1M tokens out per 1M tokens. Capabilities: streaming, tool, json.

$0.1 / 1M tokensInput$0.4 / 1M tokensOutput1MContext
Best forimage understanding, multimodal chat
StreamingTool callingJSON modeVision
Platform curatedCurated and maintained in the NextModel catalog
View details

Reading

Articles that explain O4 Mini

FAQ

O4 Mini API questions

What model id do I send for o4 Mini?

Send openai/o4-mini to https://api.nextmodel.app/v1 with your OpenAI SDK. If that id is missing from /v1/models, the page is stale.

What does the catalog list for price and context?

o4 Mini is listed at $1.10 / 1M tokens input and $4.40 / 1M tokens output. Context window: 200000 tokens.

What should I treat as unverified?

Buyers who do not need vision or long context. Buyers who require 400000 tokens of context, because openai/gpt-5 and openai/gpt-5.1 both offer 400000 tokens.

Start now

Ready to start building?

Passwordless signup, pay-as-you-go billing, and one OpenAI-compatible endpoint for every model. Create your key and send your first request in minutes.