gpt-4o-mini
GPT-4o · Per Token
gpt-4o-miniAvailable⚡Cache 45% offChatVisionTool UseJSON ModeFastContext Window: 131KMax Output Tokens: 16K
Pricing
| Official Price | LemonData Price | |
|---|---|---|
| Input | $0.15 | $0.105 |
| Output | $0.60 | $0.42 |
| Cache Read | $0.083 | $0.083 |
| Cache Write | Free | Free |
Parameters
Context Window
131K tokens
Max Output Tokens
16K tokens
Best For
Chat
Conversational AI, customer support, and Q&A
Vision
Image understanding, document analysis, and visual reasoning
Cost Calculator
1M
0.5M
Estimated Monthly Cost$0.32
API Code Example
POST/v1/chat/completions
curl https://api.lemondata.cc/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-xxx" \
-d '{
"model": "gpt-4o-mini",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'FAQ
How much does gpt-4o-mini cost?
On LemonData, gpt-4o-mini costs $0.1050 per 1M input tokens and $0.4200 per 1M output tokens, which is up to 30% off the official pricing.
What is gpt-4o-mini best for?
gpt-4o-mini excels at Chat, Vision, Tool Use. Access it through LemonData's unified API with a single API key.
How to use gpt-4o-mini API?
Get your API key from LemonData, then call https://api.lemondata.cc/v1/chat/completions using any compatible SDK. See the code examples above for detailed integration.