# GPT-4.1 mini > OpenAI's smaller, faster GPT-4.1 variant with image input, tool calling and a long context window. ## Key facts - Model author: OpenAI - Input: $0.40 per 1M tokens - Output: $1.60 per 1M tokens - Cached input: $0.10 per 1M tokens - Context window: 1,047,576 tokens - Maximum output: 32,768 tokens - Input modalities: image, text - Output modalities: text - Capabilities: fine_tuning, structured_output, tools, vision - Released: 2025-04-14 - Knowledge cutoff: Jun 01, 2024 - Model IDs: `openai/gpt-4.1-mini` - Model page: https://www.realrelay.ai/model/openai/gpt-4.1-mini ## Overview GPT-4.1 mini is a smaller, faster variant in OpenAI's GPT-4.1 line, a non-reasoning family built for instruction following, coding and long-context work. It accepts text and image input, returns text, and supports tool calling and structured output. Being smaller and faster than the full GPT-4.1, it is aimed at work where response time and price matter. GPT-4.1 mini has a context window of 1,047,576 tokens and can generate up to 32,768 output tokens. It accepts text and image input and returns text output. Its knowledge cutoff is June 1, 2024, and it was released on April 14, 2025. ## Capabilities GPT-4.1 mini supports tool calling, structured output and image input, and it returns text. Its context window is 1,047,576 tokens, with up to 32,768 output tokens per request. Its knowledge cutoff is June 1, 2024, and cached input reads have a separate, lower price. ## Pricing GPT-4.1 mini is billed per token: $0.40 per 1M input tokens and $1.60 per 1M output tokens. Cached input reads cost $0.10 per 1M tokens. GPT-4.1 mini is available through RealRelay's OpenAI-compatible API. ## Use cases Use GPT-4.1 mini for coding helpers and chat assistants that need quick replies over long inputs, such as explaining a large file or answering questions about a long thread. It also fits routine data work with structured output and tool calls, where a smaller model keeps latency and per-request spend down. ## Call it OpenAI-compatible chat completions: ```bash curl https://www.realrelay.ai/v1/chat/completions \ -H "Authorization: Bearer $REALRELAY_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "openai/gpt-4.1-mini", "messages": [{"role": "user", "content": "Hello"}]}' ``` ## FAQ ### What is GPT-4.1 mini? GPT-4.1 mini is a smaller, faster variant in OpenAI's GPT-4.1 line, a non-reasoning family built for instruction following, coding and long-context work. It accepts text and image input, returns text, and supports tool calling and structured output. Being smaller and faster than the full GPT-4.1, it is aimed at work where response time and price matter. ### How much does GPT-4.1 mini cost? GPT-4.1 mini costs $0.40 per 1M input tokens and $1.60 per 1M output tokens, with cached input reads at $0.10 per 1M tokens. ### What is the context window of GPT-4.1 mini? GPT-4.1 mini has a context window of 1,047,576 tokens and can generate up to 32,768 output tokens. ### What inputs and outputs does GPT-4.1 mini support? GPT-4.1 mini accepts text and image input and returns text output. ### Which features does GPT-4.1 mini support? GPT-4.1 mini supports tool calling, structured output and image input. ### When was GPT-4.1 mini released? GPT-4.1 mini was released on April 14, 2025. Its knowledge cutoff is June 1, 2024. ### How do I call GPT-4.1 mini through the API? To call GPT-4.1 mini, send a request to RealRelay's OpenAI-compatible API with the model ID openai/gpt-4.1-mini.