OpenAI: GPT-5.2
Chat-20%openai/gpt-5.2GPT-5.2 is OpenAI's December 2025 flagship update, extending the context window to 512K tokens. It pairs enhanced reasoning with full multimodal input โ vision, audio, and video โ plus tool use (function calling), prompt caching, and integrated web search, making it a fit for long-document and research-heavy workflows. Context: 512K tokens, output: 128K. Accessible via the OpenAI-compatible protocol.
Providers
provider.type: "azure_foundry"/v1/chat/completions/v1/responsesCode Examples
from openai import OpenAIclient = OpenAI(base_url="https://api.ofox.run/v1",api_key="YOUR_OFOX_API_KEY",)response = client.chat.completions.create(model="openai/gpt-5.2",messages=[{"role": "user", "content": "Hello!"}],)print(response.choices[0].message.content)
Benchmarks
OpenAI: GPT-5.2 scores 1435 in the Overall category of the LMArena text leaderboard (style control), ranking #73 of 374 models based on 73,916 human preference votes (updated 2026-07-12).
| Category | Arena Score | 95% CI | Rank | Votes |
|---|---|---|---|---|
| Overall | 1432โ1439 | #73 of 374 | 73,916 | |
| Hard Prompts | 1455โ1463 | #68 of 374 | 46,164 | |
| Coding | 1477โ1488 | #72 of 369 | 19,199 | |
| Math | 1423โ1442 | #72 of 362 | 4,124 | |
| Creative Writing | 1383โ1396 | #99 of 372 | 11,947 | |
| Instruction Following | 1418โ1428 | #75 of 374 | 23,745 | |
| Chinese | 1458โ1480 | #80 of 344 | 3,574 |
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.