GPT 4.1
by OpenAI
GPT 4.1 pricing, context window and specs
GPT 4.1 is an OpenAI model with a 1,047,576 token context window. It costs $2.00 per million input tokens and $8.00 per million output tokens, and supports image input, tool calling and structured output.
GPT 4.1 specs
Provider
OpenAI
Model ID
gpt-4.1
Input price
$2.00 per 1M tokens
Cached input price
$0.50 per 1M tokens
Output price
$8.00 per 1M tokens
Context window
1,047,576 tokens
Modalities
Text and images in, text out
Tool calling
โ Supported
Structured output
โ Supported
Reasoning
Not supported
Vision
โ Supported
Prices checked on
When to use GPT 4.1
Pick GPT 4.1 as an everyday model when you need solid quality without paying top-tier prices.
Drafting and analysis. Writing, summarising and answering questions over your own data.
Agents that use tools. It supports tool calling and structured output, so it can act and hand back clean JSON.
Large inputs. The 1,047,576 token context window fits long documents and transcripts in one request.
Reading images. It accepts screenshots, scans and photos alongside text.
If you need more capability, GPT 5.4 costs $2.50 per million input tokens.
Cost calculator
What GPT 4.1 costs at your volume
Pick a workload or move the sliders. The estimate uses the prices in the table above.
Templates
Templates that run on GPT 4.1
Each one is a finished workflow or agent built on this model. Run it as it is, or copy it and change the steps.
Build with it
Use GPT 4.1 in Fetch Hive
Fetch Hive is an AI agent builder. Pick this model in any prompt, workflow or agent step, or call it from your own code with one API request.
Call GPT 4.1 through the AI Gateway
1
Create a prompt and pick the model
Write your prompt in Fetch Hive and choose this model from the model library. Add a fallback model if you want a backup.
2
Deploy the prompt
Deploying gives the prompt a deployment name and a variant that your code can call.
3
Send one POST request
Call the invoke endpoint with your API key. Usage is charged to your AI wallet at the provider list price, and each call uses one task.
Compare
Compare GPT 4.1 with similar models
List prices per 1M tokens and context window, next to the models people most often weigh it against.
o3
GPT 5.6 Terra
Claude Sonnet 5
FAQ





