gpt-4.1
GPT 4 · Per Token
gpt-4.1Available⚡Cache 75% offVisionTool UseJSON Mode
Context Window: 1.05MMax Output Tokens: 32KPricing
| Official Price | LemonData Price | Discount | |
|---|---|---|---|
| Input | $2.00 | $0.40 | 80% |
| Output | $8.00 | $1.60 | 80% |
| Cache Read | $0.50 | $0.10 | 80% |
| Cache Write | Free | Free | - |
Parameters
Context Window
1.05M tokens
Max Output Tokens
32K tokens
Best For
Vision
Image understanding, document analysis, and visual reasoning
Cost Calculator
1M
0.5M
Estimated Monthly Cost$1.20
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-4.1",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'FAQ
How much does gpt-4.1 cost?
On LemonData, gpt-4.1 costs $0.4000 per 1M input tokens and $1.6000 per 1M output tokens, with model-specific platform pricing.
What is gpt-4.1 best for?
gpt-4.1 excels at Vision, Tool Use, JSON Mode. Access it through LemonData's unified API with a single API key.
How to use gpt-4.1 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.