OpenAI
OpenAI

ChatGPT-4o Latest

openai/chatgpt-4o-latest

ChatGPT-4o contains latest improvements for chat use cases, expected for testing/evaluation purpose.

ChatGPT-4o also supports structured outputs, with up to 16k max output tokens

GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs. It maintains the intelligence level of GPT-4 Turbo while being twice as fast and 50% more cost-effective. GPT-4o also offers improved performance in processing non-English languages and enhanced visual capabilities.

Capability

Vision Support

Context Window

128,000

Max Output Tokens

16,384

Using ChatGPT-4o Latest with Python API

Using ChatGPT-4o Latest 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/chatgpt-4o-latest",
messages: [
  {
    role: 'user',
    content:
      'introduce your self',
    },
  ]
)
print(response)