OpenAI
OpenAI

GPT 4.5 Preview

openai/gpt-4.5-preview

OpenAI has introduced GPT-4.5, its latest and most advanced AI language model to date. This model enhances pattern recognition and the ability to draw connections, leading to more natural and intuitive interactions. GPT-4.5 is particularly adept at tasks such as writing assistance, programming, and practical problem-solving. Despite its advancements, OpenAI emphasizes that GPT-4.5 is not a frontier AI model and may not surpass specialized versions like o1 or o3-mini in certain areas. The model has been trained using a combination of new supervision techniques and traditional methods, resulting in fewer hallucinations and more emotionally nuanced responses. However, GPT-4.5 is more computationally intensive and expensive to operate compared to its predecessors. Initially, it is available as a research preview for ChatGPT Pro users, with plans to extend access to other user groups in the near future.

Capability

Vision Support

Tools

Function Calling

Context Window

128,000

Max Output Tokens

4,096

Using GPT 4.5 Preview with Python API

Using GPT 4.5 Preview with OpenAI compatible API

import openai

client = openai.Client(
  api_key= '{your_api_key}',
  base_url="https://api.model.box/v1",
)
response = client.chat.completions.create(
model="openai/gpt-4.5-preview",
messages: [
  {
    role: 'user',
    content:
      'introduce your self',
    },
  ]
)
print(response)