GPT-4o
Chat-20%openai/gpt-4oGPT-4o is OpenAI's flagship multimodal model from the GPT-4 era, released on 2024-05-13, taking text and image inputs and returning text. It maintains GPT-4 Turbo intelligence at twice the speed and 50% lower cost, and is optimized for complex reasoning, coding, and visual understanding, with tool use, prompt caching, and audio input. Context: 128K tokens, output: 16K. It has since been succeeded by the GPT-4.1 and GPT-5 series, so newer models are the better starting point for new projects, but GPT-4o remains widely used in established integrations. Accessible via the OpenAI-compatible protocol.
Providers
/v1/chat/completions/v1/responsesCode Examples
from openai import OpenAIclient = OpenAI(base_url="https://api.ofox.ai/v1",api_key="YOUR_OFOX_API_KEY",)response = client.chat.completions.create(model="openai/gpt-4o",messages=[{"role": "user", "content": "Hello!"}],)print(response.choices[0].message.content)
Benchmarks
GPT-4o scores 1335 in the Overall category of the LMArena text leaderboard (style control), ranking #202 of 374 models based on 45,499 human preference votes (updated 2026-07-12).
| Category | Arena Score | 95% CI | Rank | Votes |
|---|---|---|---|---|
| Overall | 1335 | 1331–1339 | #202 of 374 | 45,499 |
| Hard Prompts | 1327 | 1320–1333 | #221 of 374 | 12,655 |
| Coding | 1360 | 1353–1368 | #217 of 369 | 7,318 |
| Math | 1309 | 1301–1317 | #203 of 362 | 6,826 |
| Creative Writing | 1327 | 1318–1335 | #170 of 372 | 6,756 |
| Instruction Following | 1318 | 1312–1324 | #198 of 374 | 18,305 |
| Chinese | 1329 | 1318–1340 | #207 of 344 | 3,778 |
Source: LMArena · CC BY 4.0 · Updated 2026-07-12 · Methodology ↗ · Ranks compare models within each category of the LMArena text leaderboard (style control). Scores come from third-party human preference evaluations, not from OFOX.