gpt-4.1-mini

GPT-4 · Per Token

gpt-4.1-miniAvailableCache 75% off
Tool UseChatVisionJSON ModeFastContext Window: 1.0MMax Output Tokens: 33K

Pricing

Official PriceLemonData Price
Input$0.40$0.28
Output$1.60$1.12
Cache Read$0.10$0.10
Cache WriteFreeFree

Parameters

Context Window
1.0M tokens
Max Output Tokens
33K 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.84

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-mini",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'

FAQ

How much does gpt-4.1-mini cost?

On LemonData, gpt-4.1-mini costs $0.2800 per 1M input tokens and $1.1200 per 1M output tokens, which is up to 30% off the official pricing.

What is gpt-4.1-mini best for?

gpt-4.1-mini excels at Tool Use, Chat, Vision. Access it through LemonData's unified API with a single API key.

How to use gpt-4.1-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.

Related Models