OpenAI
GPT 4o
openai/gpt-4oGPT 4o is a large language model by OpenAI with support for vision, function calling, prompt caching, and structured output. It supports a 128K token context window with up to 16K tokens of output. Priced at $2.5 per million input tokens and $10 per million output tokens. Access GPT 4o through Inworld LLM Inference with OpenAI SDK compatibility, built-in failover, and intelligent routing across providers.
- Input
- $2.50
- Output
- $10.00
- Cache read
- $1.25
- Context
- 128K
- Max output
- 16.4K
TextImageFile→Text
Function CallingPrompt CachingStructured outputVision
curl --fail-with-body https://api.inworld.ai/v1/chat/completions \
-H "Authorization: Basic $INWORLD_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "openai/gpt-4o",
"messages": [{"role": "user", "content": "Hello"}],
"stream": true
}'Model GPT 4oOpenAI SDK compatible
Pricing and providers
Access GPT 4o through Inworld LLM Inference or speech to speech via OpenAI. By using the providers below you agree to their terms, listed under each provider's name in the Legal section.
| Modalities | |||||||
|---|---|---|---|---|---|---|---|
OpenAIThis pageopenai/gpt-4o | $2.50 | $10.00 | $1.25 | — | 128K | 16.4K | TextImageFile→Text |
Prices in USD per 1M tokens.
Start building with GPT 4o
Access GPT 4o and every other model through LLM Inference or speech to speech. Create a free account and start in minutes.