OpenAI model

GPT-4o API

Send openai/gpt-4o for OpenAI vision and tools inside a 128,000 token window at 2.50 / 10. That is a smaller window than GPT-5 Mini at a higher price. Use 4o when the 4o id is the integration contract. If you need 400k or a measured cache score, Mini is the published option.

OpenAIPlatform curatedCatalog
Function CallingVision
Input price$2.50 / 1M tokens
Output price$10 / 1M tokens
Context length128k tokens
Max output8.2k tokens

What is GPT-4o API in NextModel?

Send openai/gpt-4o for OpenAI vision and tools inside a 128,000 token window at 2.50 / 10. That is a smaller window than GPT-5 Mini at a higher price. Use 4o when the 4o id is the integration contract. If you need 400k or a measured cache score, Mini is the published option.

GPT-4o via NextModel: 128k-token context; $2.50 / 1M tokens in / $10 / 1M tokens out per 1M tokens. Capabilities: streaming, tool, json.

Best use cases

  • Existing openai/gpt-4o callers.
  • Vision or tool work that must stay on the 4o id.
  • A 128k OpenAI path beside Mini and 4o-mini on the same base URL.

When not to use

  • You need 400k. Mini and GPT-5 list that.
  • You want the cheap 128k OpenAI id. GPT-4o-mini is 0.15 / 0.60.
  • You want cache numbers. 4o has no first-party row.

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/gpt-4o","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 GPT-4o

FAQ

GPT-4o API questions

What model id do I send for GPT-4o?

Send openai/gpt-4o to https://api.nextmodel.app/v1.

Why not GPT-5 Mini?

Mini lists 400,000 tokens at 0.25 / 2 and has an 80% Safe Hit Rate. 4o lists 128,000 at 2.50 / 10 with no cache row.

CacheSafety?

Unpublished for this exact id.

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.