OpenAI: gpt-4.1-mini API
gpt-4.1-mini is the mid-tier performance leader in OpenAI's GPT-4.1 family, serving as the successor to GPT-4o mini. It delivers nearly twice the speed of the original GPT-4o while outperforming it on various intelligence benchmarks. This model is specifically optimized for coding, precise instruction following, and long-context comprehension. With its 1-million-token context window, it can analyze multi-document workflows or conduct full-repository code reviews without performance degradation. It is currently the premier choice for high-concurrency chatbots, real-time support agents, and AI applications requiring extensive long-term memory.
- Context window: 1,047,576 tokens
- Max output: 32,768 tokens
- Input: text, image
- Output: text
- Tool calling: Supported
- File input: Supported
- Released: 2025-04-14
Frequently Asked Questions
What is the context window of gpt-4.1-mini?
gpt-4.1-mini supports a context window of up to 1,047,576 tokens.
Does gpt-4.1-mini support function calling?
Yes. gpt-4.1-mini supports tool / function calling.