GPT-4.1
All models
OpenAIOpenAIGPT

GPT-4.1

1.0M context$2.00/M input$8.00/M output

GPT-4.1 is an AI model from OpenAI built for agent workflows, with support for image, text, file input and text output. GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and...

What is GPT-4.1?

GPT-4.1 is an AI model from OpenAI that Agent Mag tracks for pricing, context window, modalities, benchmarks, and API compatibility. Builders can use this page to compare GPT-4.1 against other models for agent workflows and production deployments.

Model ID

GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and...

Modalities
Input
imagetextfile
Output
text
Supported Parameters
max_completion_tokensmax_tokensresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p

Related content