U
gpt-4.1-mini
8k ContextTextPopular
gpt-4.1-mini - compact and efficient with extremely cost-effective pricing. versatile general-purpose AI.
Pricing / 1M
USD
Input$0.32
Output$1.28
Context Window
8ktokens
Avg Latency
450ms
Frequently Asked Questions
?How much does gpt-4.1-mini cost?
gpt-4.1-mini costs $0.32 per 1M input tokens and $1.28 per 1M output tokens via OkRouter. This is 20% cheaper than OpenRouter with the same great performance.
?Is gpt-4.1-mini compatible with OpenAI SDK?
Yes! gpt-4.1-mini works seamlessly with all OpenAI SDKs (Python, JavaScript, Go, etc.). Simply change your base_url to api.okrouter.com and use your OkRouter API key. No code changes needed.
?What is gpt-4.1-mini best used for?
gpt-4.1-mini excels at real-time chatbots and customer support, high-volume content moderation, quick classification and tagging. It's extremely cost-effective and perfect for high-volume production workloads.