# GPT-4.1 nano > OpenAI's compact GPT-4.1 variant for speed and efficiency, with image input and tool calling. ## Key facts - Model author: OpenAI - Input: $0.10 per 1M tokens - Output: $0.40 per 1M tokens - Cached input: $0.025 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-nano` - Model page: https://www.realrelay.ai/model/openai/gpt-4.1-nano ## Overview GPT-4.1 nano is the compact variant in OpenAI's GPT-4.1 line, designed for speed and efficiency. It accepts text and image input, returns text, supports tool calling and structured output, and keeps the long context window of 1,047,576 tokens. OpenAI lists it as deprecated. GPT-4.1 nano 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 nano supports tool calling, structured output and image input, and it returns text. It can generate up to 32,768 output tokens per request. Its knowledge cutoff is June 1, 2024, and cached input reads are billed at a separate, lower rate. ## Pricing GPT-4.1 nano is billed per token: $0.10 per 1M input tokens and $0.40 per 1M output tokens. Cached input reads cost $0.025 per 1M tokens. GPT-4.1 nano is available through RealRelay's OpenAI-compatible API. ## Use cases Use GPT-4.1 nano for latency-sensitive, high-volume steps that still need a long window, such as tagging or routing incoming messages and pulling fields out of long text. Its image input and tool calling also cover lightweight pipelines that read a picture, call a function and return a short structured answer. ## 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-nano", "messages": [{"role": "user", "content": "Hello"}]}' ``` ## FAQ ### What is GPT-4.1 nano? GPT-4.1 nano is the compact variant in OpenAI's GPT-4.1 line, designed for speed and efficiency. It accepts text and image input, returns text, supports tool calling and structured output, and keeps the long context window of 1,047,576 tokens. OpenAI lists it as deprecated. ### How much does GPT-4.1 nano cost? GPT-4.1 nano costs $0.10 per 1M input tokens and $0.40 per 1M output tokens, with cached input reads at $0.025 per 1M tokens. ### What is the context window of GPT-4.1 nano? GPT-4.1 nano 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 nano support? GPT-4.1 nano accepts text and image input and returns text output. ### Which features does GPT-4.1 nano support? GPT-4.1 nano supports tool calling, structured output and image input. ### When was GPT-4.1 nano released? GPT-4.1 nano was released on April 14, 2025. Its knowledge cutoff is June 1, 2024. ### How do I call GPT-4.1 nano through the API? To call GPT-4.1 nano, send a request to RealRelay's OpenAI-compatible API with the model ID openai/gpt-4.1-nano.