Skip to main content
Microsoft Foundry
gpt-4.1

gpt-4.1

gpt-4.1 outperforms gpt-4o across the board, with major gains in coding, instruction following, and long-context understanding
Azure OpenAI
Direct from Azure
Version: 2025-04-14

Direct from Azure models are a select portfolio curated for their market-differentiated capabilities:

  • Secure and managed by Microsoft: Purchase and manage models directly through Azure with a single license, consistent support, and no third-party dependencies, backed by Azure's enterprise-grade infrastructure.
  • Streamlined operations: Benefit from unified billing, governance, and seamless PTU portability across models hosted on Azure - all part of Microsoft Foundry.
  • Future-ready flexibility: Access the latest models as they become available, and easily test, deploy, or switch between them within Microsoft Foundry; reducing integration effort.
  • Cost control and optimization: Scale on demand with pay-as-you-go flexibility or reserve PTUs for predictable performance and savings.

Learn more about Direct from Azure models .

About this model

The gpt-4.1 series is the latest iteration of the gpt-4o model family. This iteration of models is specifically targeted for better coding and instruction following, making it better at handling complex technical and coding problems.

Key model capabilities

  • Text, image processing
  • JSON Mode
  • parallel function calling
  • Enhanced accuracy and responsiveness
  • Parity with English text and coding tasks compared to GPT-4 Turbo with Vision
  • Superior performance in non-English languages and in vision tasks
  • Support for enhancements
  • Support for complex structured outputs.

Quick facts

Model providerAzure OpenAI
TypeChat completion, Responses
LifecycleGenerally available (GA)
Input typetext, image
Output typetext
Context window1048.576k
Token limits32768 output

Related models