Skip to content
OpenAI

GPT-4.1

GPT-4.1 is a large language model made by OpenAI, added to the catalog on 14 Apr 2025. It has a context window of 1,047,576 tokens and costs $2.00 per 1M input tokens and $8.00 per 1M output tokens. It accepts text, images and files and produces text. Typical uses: improve software engineering workflows, enhance enterprise knowledge retrieval and develop reliable AI agents.

Price checked · source: OpenRouter

What GPT-4.1 is

OpenAI's GPT-4.1, released in April 2025, is a large language model designed for advanced instruction following and real-world software engineering tasks. With a context window of 1 million tokens, it excels in handling complex, long-context reasoning. GPT-4.1 supports both text and image inputs, generating text outputs, making it versatile for various applications. Key capabilities include precise code diffs, agent reliability, and high recall in large document contexts. This makes GPT-4.1 particularly suitable for use in agents, IDE tooling, and enterprise knowledge retrieval systems.

Key features

  • 1 million token context window
  • Text and image input modalities
  • Optimized for software engineering
  • Enhanced instruction compliance
  • Supports precise code diffs

Typical uses

  • Improve software engineering workflows
  • Enhance enterprise knowledge retrieval
  • Develop reliable AI agents
  • Optimize IDE tooling
  • Facilitate large document processing

GPT-4.1 pricing

US dollars, list price through OpenRouter.

Checked
GPT-4.1 price list, by variant
ItemStandardBatch
Input, per 1M tokens$2.00$1.00
Output, per 1M tokens$8.00$4.00
Cached input read, per 1M tokens$0.50$0.25
Web search, per search$0.01$0.01
Variants of GPT-4.1 that share this page
VariantModel id
Batchopenai/gpt-4.1:batch

A variant is the same model under another id, with prices or limits of its own. Its prices are the columns of the list above.

No price change since it was added on 14 Apr 2025.

What typical tasks cost with GPT-4.1
What a task costsCost
Answer a short question500 in / 300 out$0.0034
Summarise a 50-page PDF25,000 in / 800 out$0.056
Review a 2,000-line source file30,000 in / 2,000 out$0.076
Read a 300-page contract set150,000 in / 1,500 out$0.312
Check the provider's pageToken counts are estimates. A maker's direct price and its monthly plans can differ from the per-token price shown here.

GPT-4.1 specifications

GPT-4.1 limits and identity
Model idopenai/gpt-4.1
Versiongpt-4.1-2025-04-14
Context window1,047,576 tokensAbout 785,682 English words
Max output32,768 tokens
Knowledge cutoff2024-06-30
Added to catalog14 Apr 2025
GPT-4.1 capabilities
Input typesimage, text, file
Output typestext
Tool callingYes
Structured outputsYes
Reasoning effort controlNo
Content moderationApplied by provider

Sample outputs

The same prompts are given to every model, and the unedited output is shown with the date it was produced. Upend does not publish leaderboard scores it did not run.

Write a short essay

RUN20 Nov 2026
Prompt

Write 150 words on how AI might positively upend work, leisure and creativity

Output

AI promises to positively transform work, leisure, and creativity in profound ways. In the workplace, AI can automate repetitive and time-consuming tasks, freeing individuals to focus on higher-level problem-solving, strategic thinking, and creative endeavors. This shift may boost productivity, job satisfaction, and open new career pathways that require human empathy and innovation. In terms of leisure, AI-powered personalization can curate entertainment, travel, and fitness experiences tailored precisely to individual preferences, enhancing enjoyment and convenience. For creativity, AI acts as both a tool and collaborator, augmenting artists, writers, and musicians with new capabilities—from generating novel ideas to refining outputs. By providing instant access to insights, inspiration, and feedback, AI democratizes creative opportunities, making them accessible to more people than ever. Ultimately, AI’s integration into these domains fosters a dynamic environment where human potential and ingenuity can flourish, leading to richer personal and professional lives.

Draw with code

RUN20 Nov 2026
Prompt

Generate an SVG of a pelican riding a bicycle.

Output
GPT-4.1's drawing for the prompt: Generate an SVG of a pelican riding a bicycle.

GPT-4.1 questions

How much does GPT-4.1 cost?

GPT-4.1 costs $2.00 per 1M input tokens and $8.00 per 1M output tokens through OpenRouter, as checked on 22 Nov 2026. Summarising a 50-page PDF costs about $0.056.

What is the context window of GPT-4.1?

1,047,576 tokens, or roughly 785,682 English words. It can write up to 32,768 tokens in one response.

Can GPT-4.1 read images and PDFs?

It accepts text, images and files as input. It produces text, so it cannot generate images.

How do I try GPT-4.1?

Use the "Try GPT-4.1" button on this page. It opens the chat with GPT-4.1 selected; you type the question and press send.

Try GPT-4.1 on your own question.

It opens in the chat with this model already selected.

Sign in to Upend

Use an account you already have, or get a one-time code by email.

Use a password instead

For accounts that already have a password. Forgotten it? An emailed code signs you in just the same.