GPT 4.1 Mini
openai/gpt-4.1-miniGPT 4.1 Mini is a large language model by OpenAI with support for vision, function calling, prompt caching, and structured output. It supports a 1M token context window with up to 33K tokens of output. Priced at $0.4 per million input tokens and $1.6 per million output tokens, it is one of the most cost-efficient options in its class. Access GPT 4.1 Mini through Inworld LLM Inference with OpenAI SDK compatibility, built-in failover, and intelligent routing across providers.
- Input
- $0.40
- Output
- $1.60
- Cache read
- $0.10
- Context
- 1M
- Max output
- 32.8K
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-4.1-mini",
"messages": [{"role": "user", "content": "Hello"}],
"stream": true
}'Pricing and providers
Access GPT 4.1 Mini 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-4.1-mini | $0.40 | $1.60 | $0.10 | — | 1M | 32.8K | TextImage→Text |
Start building with GPT 4.1 Mini
Access GPT 4.1 Mini and every other model through LLM Inference or speech to speech. Create a free account and start in minutes.