OpenAI, released Apr 14, 2025

GPT-4.1

GPT-4.1 is an older flagship model from OpenAI, released in April 2025, so it now sits behind their late-2026 GPT-6.1 Terra and GPT-6.2 Sol and Astra lines. OpenAI built it for coding work, following detailed instructions closely, and working through huge amounts of context at once. Price-wise it lands in the middle of their lineup - much cheaper than the GPT-6.2 Astra models, roughly in the same range as GPT-6.2 Sol, and a bit pricier than GPT-6.1 Terra.

Already paying for ChatGPT?

GPT-4.1 costs $8 per 1M output tokens. Use GPT-6.2 Sol through your ChatGPT plan instead, $0 per token.

Get your API key Free plan, no card needed

Updated

GPT-4.1 pricing and specs

Input
$2per 1M tokens
Output
$8per 1M tokens
Cached input
$0.50per 1M tokens
Context window
1M1,047,576 tokens
Max output
33K32,768 tokens
Released
Apr 14, 2025
Knowledge cutoff
Jun 2024
Accepts
ImagesTextFiles
Features
Tool callingStructured outputs

What GPT-4.1 is good at

  • Digging through large codebases or long PDFs, because the context window is massive and it accepts PDF files directly, so you can throw a whole stack of material into one prompt without splitting it up first.
  • Tool-calling agents and data pipelines that need strict structured JSON output. It supports both natively and sticks well to complicated instructions.
  • Generating long replies in a single pass, like bigger code changes or full file rewrites, where the generous output limit actually gets used.
  • Workflows that mix text, images, and PDFs in the same request.

Good to know

  • Its knowledge cutoff is June 2024. That's old in software terms, so if you're working with newer libraries or recent APIs, you'll have to pass in the docs yourself or wire it up to a search tool.
  • OpenAI's newer models from October and November 2026 crowd its price tier pretty hard - GPT-6.1 Terra and Terra Pro are cheaper, and GPT-6.2 Sol costs about the same on input and only a little more on output (the Astra models are still way pricier). Unless you already have prompts tuned for GPT-4.1, why not test Terra or Sol first?

GPT-4.1 vs similar models

API price per 1M tokens
ModelInputOutputPlan2APIContext
GPT-4.1$2$8Not available1M
GPT-6.2 Astra$8$40$0 on ChatGPT1.1M
GPT-6.2 Astra Pro$8$40Not available1.1M
GPT-6.2 Sol$2$10$0 on ChatGPT1.1M
Sonar Deep Research$2$8Not available128K
Sonar Reasoning Pro$2$8Not available128K

GPT-4.1 cost per month

Tokens a month at $2 input and $8 output per 1M
WorkloadAPI price
Side project2M in, 500K out$8.00
Production app25M in, 5M out$90.00
Agents at scale250M in, 50M out$900

FAQ

How much does the GPT-4.1 API cost?

GPT-4.1 costs $2 per 1M input tokens and $8 per 1M output tokens, and cached input costs $0.50 per 1M.

What is the GPT-4.1 context window?

GPT-4.1 takes 1,047,576 tokens of context, with up to 32,768 output tokens per request.

When was GPT-4.1 released?

OpenAI released GPT-4.1 on Apr 14, 2025.

Can I use GPT-4.1 with my subscription?

Plan2API turns Claude, ChatGPT, Gemini and Kimi subscriptions into one OpenAI-compatible API. GPT-6.2 Sol runs through your ChatGPT plan at $0 per token instead.

Can I send PDFs and images straight to GPT-4.1?

Yes, it takes text, images, and PDF files right through the API. You don't have to strip the text out of a PDF beforehand. And you can combine those inputs with tool calling or structured JSON output in the same call.

Should I still use GPT-4.1 for a new project?

Usually not. It's an April 2025 release with a June 2024 knowledge cutoff, and OpenAI's newer GPT-6.1 Terra and GPT-6.2 Sol models sit right around or below what it costs. It mostly makes sense if you've already got something running on GPT-4.1 and don't want to spend time re-testing prompts on a newer model yet.

More OpenAI models

All 57 OpenAI models

Already paying for ChatGPT? Use GPT-6.2 Sol through your plan, $0 per token.

  • Free: 1 subscription, no daily cap, no card
  • Pro: $12 a month

GPT-6.2 Sol at $0 per tokenFree plan, no card needed

Get your API key

Guides

80