GPT-4.1 nano

GPT-4.1 nano via OpenAI

Specifications

Context Window

1,047,576 tokens

Release Date

2025-04-14

Capabilities

AttachmentsTool callingStructured outputTemperatureImage input

Availability

Proprietary API

Model Overview

OpenAI is the creator of the GPT series and o-series reasoning models. Known for ChatGPT and the GPT-4 family, OpenAI offers some of the most widely used language models for general-purpose AI tasks, code generation, and multimodal understanding.

GPT-4.1 nano is a gpt-nano-family model by OpenAI with a 1.0M token context window and up to 33k output tokens. It is priced at $0.1000/1M input tokens and $0.4000/1M output tokens.

Key capabilities include: attachments, tool calling, structured output, temperature, image input. It can call external tools and functions for agentic workflows.

Details

ProviderOpenAI
Model IDgpt-4.1-nano
Familygpt-nano
Release Date2025-04-14
Last Updated2025-04-14
Knowledge Cutoff2024-04
Context Window1,047,576 tokens
Max Output32,768 tokens
Input Cost / 1M$0.1000
Output Cost / 1M$0.4000
Cache Read / 1M$0.0300

Developer Resources

More models from OpenAI

Frequently Asked Questions

How much does GPT-4.1 nano cost to use?

GPT-4.1 nano is priced at $0.1000/1M input tokens and $0.4000/1M output tokens. Use the cost estimator on this page to calculate your expected spend based on your usage pattern.

What is a token and how does it relate to pricing?

A token is a chunk of text — roughly ¾ of a word in English. For example, "chatbot" is two tokens. LLM API pricing is based on the number of tokens you send (input) and receive (output). Input tokens include your prompts, uploaded documents, and images, while output tokens are the model's generated responses.

Why are input and output tokens priced differently?

LLM providers charge separately for input and output tokens. Output tokens are typically more expensive because generating each token requires more compute — the model must run a full forward pass for every token it produces, while input tokens are processed in parallel.

What is the context window of GPT-4.1 nano?

GPT-4.1 nano supports a context window of 1,047,576 tokens. This is the maximum number of tokens (input + output combined) the model can process in a single request. Larger context windows let you send longer documents or maintain longer conversation histories.

How accurate is this cost estimation?

This tool provides a ballpark estimate based on per-token pricing. Actual costs may differ due to prompt caching, batched API calls, volume discounts, reasoning token overhead, and provider-specific billing rules. Use it for budgeting and comparison, not as an invoice prediction.

How does GPT-4.1 nano pricing compare to other models?

You can compare GPT-4.1 nano with other models on our LLM API pricing calculator. Use the cost estimator to see side-by-side cost breakdowns across different providers and models to find the best fit for your budget and requirements.

What factors affect my total API cost?

Your total cost depends on several factors: the number of API calls you make, the length of your prompts (input tokens), the length of generated responses (output tokens), whether you use features like image or document uploads (which add input tokens), and any provider-specific charges for caching or batch processing.

How can my team use GPT-4.1 nano via API?

You can connect your own OpenAI API key and give your entire team access to GPT-4.1 nano through TypingMind Teams. It lets you build a unified AI workspace where team members can use GPT-4.1 nano and other models — without needing their own API keys. You stay in control of usage limits, costs, and permissions, all from a single dashboard.

Best-in-Class platform to create your team's AI workspace