Skip to main content

GPT-4.1

Approved Data Classifications

Description

​OpenAI's GPT-4.1 model, released on April 14, 2025, represents a significant advancement in AI capabilities, building upon the foundation laid by GPT-4o. This flagship model features a substantial increase in context window size, supporting up to 1 million tokens, which enhances its ability to process and generate extensive text sequences effectively. It also demonstrates a 21% improvement in coding tasks compared to GPT-4o and a 27% improvement over GPT-4.5, highlighting its enhanced proficiency in programming-related applications. Furthermore, GPT-4.1 is multimodal, capable of processing both text and image inputs, making it versatile for a wide range of applications.

Capabilities

ModelTraining DataInputOutputContext LengthCost (per 1 million tokens)
gpt-4.1July 2024Image, Text, Audio, VideoText1,000,000$2.00/1M input
$8.00/1M output
info
  • 1M represents 1 Million Tokens
  • All prices listed are based on 1 Million Tokens

Availability

Cloud Provider

Usage

curl -X POST https://api.ai.it.ufl.edu/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <API_TOKEN>" \
-d '{
"model": "gpt-4.1",
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Write a haiku about an Alligator."
}
]
}'

References

  1. OpenAI
    https://openai.com/
  2. LLM Stats
    https://llm-stats.com
  3. Artificial Analysis
    https://artificialanalysis.ai