20% off all GPT ๐ŸŽ‰ 30% off DeepSeekLearn more

OpenAI: GPT-5.2

Chat-20%
openai/gpt-5.2

GPT-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.

Context Window
512K
Max Output Tokens
128K
Released
2025-12-11
Capabilities
VisionFunction CallingReasoningPrompt CachingWeb SearchAudio InputVideo Input
Available Providers
Azure
Supported Protocols
openai

Providers

Azureprovider.type: "azure_foundry"
-20%
Input Tokens
$1.4/M
$1.75/M
Output Tokens
$11.2/M
$14/M
Cache Read
$0.144/M
$0.18/M
Output Image
$25.6/M
$32/M
Web Search
$0.035/R
Protocols
openai/v1/chat/completions/v1/responses

Code Examples

from openai import OpenAI
client = 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

LMArena โ†—Evaluated as gpt-5.2

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).

Benchmark scores for gpt-5.2 on LMArena
CategoryArena Score95% CIRankVotes
Overall1432โ€“1439#73 of 37473,916
Hard Prompts1455โ€“1463#68 of 37446,164
Coding1477โ€“1488#72 of 36919,199
Math1423โ€“1442#72 of 3624,124
Creative Writing1383โ€“1396#99 of 37211,947
Instruction Following1418โ€“1428#75 of 37423,745
Chinese1458โ€“1480#80 of 3443,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.

Frequently Asked Questions

OpenAI: GPT-5.2 on Ofox.ai costs $1.75/M per million input tokens and $14/M per million output tokens. Pay-as-you-go, no monthly fees.