AI Hub
← All models

GPT-5.2-Codex vs Sonar Pro

OpenAI vs Perplexity — benchmarks, pricing, and capabilities side by side.

  • GPT-5.2-Codex has the higher intelligence index (89.9 vs 58.8)
  • GPT-5.2-Codex is cheaper ($1.75 vs $3.00 per 1M input)
  • GPT-5.2-Codex has a larger context window (400K)
GPT-5.2-CodexSonar Pro
Intelligence index89.958.8
DeveloperOpenAIPerplexity
TypeMultimodalMultimodal
AccessAPI onlyAPI only
Context window400,000 tokens200,000 tokens
Input price$1.75 / 1M$3.00 / 1M
Output price$14.00 / 1M$15.00 / 1M
Speed106 tok/s
ReleasedJanuary 14, 2026March 7, 2025
Parameters
Input modalitiesText, ImageText, Image
Output modalitiesTextText

Shared benchmarks

GPT-5.2-Codex
Sonar Pro
GPQA Diamond
89.9
57.8
Humanity’s Last Exam
33.5
7.9