gpt-4.1 by openai - AI Model Details, Pricing, and Performance Metrics

openai
gpt-4.1
openai

gpt-4.1

completions
byopenai

GPT-4.1 is OpenAI's flagship model for complex tasks. It is well suited for problem solving across domains.

Released
Apr 14, 2025
Knowledge
Jun 1, 2024
License
Proprietary
Context
1047576
Input
$2 / 1M tokens
Output
$8 / 1M tokens
Cached
$0.5 / 1M tokens
Capabilities: tools
Accepts: text, image
Returns: text

Access gpt-4.1 through LangDB AI Gateway

Recommended

Integrate with openai's gpt-4.1 and 250+ other models through a unified API. Monitor usage, control costs, and enhance security.

Unified API
Cost Optimization
Enterprise Security
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests
Request Volume
Daily API requests
108
Performance (TPS)
Tokens per second
1131.19 tokens/s

Category Scores

Benchmark Tests

View Other Benchmarks
AIME
43.7
Mathematics
AA Coding Index
41.9
Programming
AAII
43.4
General
AA Math Index
34.7
Mathematics
GPQA
66.5
STEM (Physics, Chemistry, Biology)
HLE
4.6
General Knowledge
LiveCodeBench
45.7
Programming
MATH-500
91.3
Mathematics
MMLU
90.2
General Knowledge
MMLU-Pro
80.6
General Knowledge
MMMU
74.8
General Knowledge
SciCode
38.1
Scientific

Code Examples

Integration samples and API usage

Conversations

Explore real conversations using this model

Finance Reasoning Team built using Agno

7/17/2025
377,418 tokens

Finance Reasoning Team built using Agno

7/17/2025
156,273 tokens

Travel Planning Agent built with OpenAI Agents SDK

7/2/2025
44,433 tokens

Web Search Agent built wtih Google ADK

7/2/2025
63,918 tokens

Research Agent using Agno AGI

6/28/2025
66,351 tokens

Report Writing Agent built using CrewAI

6/28/2025
27,969 tokens

Dynamic Order Management System using LangGraph

6/28/2025
4,251 tokens

Customer Service Agent built using OpenAI Agents SDK

6/28/2025
53,274 tokens

Travel Planning about Maldives Using Google ADK

6/27/2025
32,550 tokens

Japan Cherry Blossom Travel Plans

6/16/2025
26,544 tokens

Biggest Tech announcement of July 2025

6/16/2025
46,020 tokens

HTML5 Canvas Freehand Drawing + Clear Button

6/6/2025
1,917 tokens

Responsive Two-Column Photo Gallery with Hover Effect

6/6/2025
1,494 tokens

Live Username & Email Validation Form

6/6/2025
2,334 tokens

Responsive Navbar with Hamburger Menu (<600px)

6/6/2025
2,808 tokens

Pure CSS Image Slider with Prev/Next Navigation

6/6/2025
3,498 tokens

pytest tests for palindrome function

6/6/2025
1,524 tokens

A* Pathfinding on Grid in Python

6/6/2025
2,640 tokens

Two Sum Python Function Implementation

6/6/2025
744 tokens

Flask To-Do List API Tutorial

6/6/2025
1,884 tokens

Python Pygame Tetris Game Implementation

6/6/2025
9,804 tokens

Closed-Form and Value of Recurrence Sequence

6/6/2025
2,634 tokens

Total Surface Area of Cylinder (78π cm²)

6/6/2025
1,179 tokens

Probability of two face cards drawn from deck

6/6/2025
2,232 tokens

Integer solutions of 3x + 5y = 100

6/6/2025
4,170 tokens

Bob wins exactly when \( n \equiv 0 \) or \( 2 \pmod{5} \); up to 2024 there are \(\boxed{809}\) such values.

6/6/2025
6,894 tokens

Origin and Meaning of "Ride Shotgun"

6/6/2025
987 tokens

Synonyms & Nuances of "Gregarious"

6/6/2025
1,377 tokens

Meaning and Use of "Ubiquitous"

6/6/2025
651 tokens

Counting overlapping “issi” in sentence

6/6/2025
2,049 tokens

Counting Vowels in "Encyclopedia"

6/6/2025
1,608 tokens

Bridge crossing minimum time and steps (A,B,C,D)

6/6/2025
2,601 tokens

12 Coins Light Fake: 3-Weighing Identification Strategy

6/6/2025
3,738 tokens

Two trains meeting time & location calculation

6/6/2025
3,555 tokens

Ages of Emily & Derek: Algebra Solution

6/6/2025
1,584 tokens

Number of Andrew’s sisters = N

6/6/2025
1,467 tokens

Next.js 14 App with Routing & Server Components

5/30/2025
48,402 tokens

Using TanStack Router with React and context7

5/30/2025
45,429 tokens

Group and Sort Documents in MongoDB Aggregation

5/30/2025
39,045 tokens

FastAPI CRUD API with Auth Using context7

5/30/2025
4,707 tokens

Delete Rows by City Using PostgreSQL Credentials

5/30/2025
1,281 tokens

2025 Renewable Energy Market Size Report (Summary & Drivers)

5/23/2025
110,355 tokens

Most Populous U.S. State & Weather Alerts

5/23/2025
6,216 tokens

Tavily BBC News Scraping MCP

5/23/2025
14,514 tokens

2025 Renewable Energy Market Size Report (Executive Summary, Date, Drivers)

5/23/2025
47,655 tokens

Most Populated U.S. State & Current Weather Alerts

5/23/2025
8,196 tokens

HyperBrowser MCP Scrapping BBC News

5/23/2025
31,224 tokens

Changes in Pull Request #1000 of apache/spark

5/23/2025
11,229 tokens

Comments on Issue #519 in microsoft/vscode

5/23/2025
56,793 tokens

Scrape the main text content from https://www.bbc....

5/23/2025
28,713 tokens