Skip to main content
AI HQ

Type at least two characters. Try a model (“gpt-5 mini”), a provider (“anthropic”), or a topic (“coding”).

↑↓ navigate · open · esc closeLive data from OpenRouter

Compare

Compare AI models side by side

Choose up to 4 models. Prices, context windows and declared capabilities are read live from the OpenRouter listing, so the table reflects what the providers publish today.

OpenAIGPT-5.1-CodexPerplexitySonar Reasoning Pro
Share this comparison with the canonical link below the table.
Side-by-side comparison of OpenAI: GPT-5.1-Codex, Perplexity: Sonar Reasoning Pro
Attribute
OpenAIGPT-5.1-Codexopenai/gpt-5.1-codex
PerplexitySonar Reasoning Properplexity/sonar-reasoning-pro
Input priceUSD per 1M tokens$1.25 (best)$2.00
Output priceUSD per 1M tokens$10.00$8.00 (best)
Blended price75% in / 25% out$3.44 (best)$3.50
Vs. market median4.3× dearer4.4× dearer
Value rankcheapest = 1#331 (best)#337
Context windowtokens400K (best)128K
Max outputtokens128K (best)115K
Input modalitiestext, imagetext, image
Output modalitiestexttext
Tool callingDeclaredNot declared
ReasoningDeclaredDeclared
Structured outputDeclaredNot declared
Listed on OpenRouter2025-11-13 (best)2025-03-07

Source: OpenRouter (live)

Permanent link to this comparison

Read-out

What the numbers say

  • OpenAI: GPT-5.1-Codex is the cheapest here at $3.44/M blended — 1.0× less than Perplexity: Sonar Reasoning Pro.
  • OpenAI: GPT-5.1-Codex offers the largest context window (400K tokens) versus 128K for Perplexity: Sonar Reasoning Pro.
  • Tool calling is declared for OpenAI: GPT-5.1-Codex only.

Generated from the live figures above. Capabilities are what each provider declares on its listing.

Curated

Head-to-heads we keep up to date

Each comparison resolves to the newest models in the named families and carries our own guidance on which to choose.

Newsletter

Stay Ahead of AI

Get the most important developments in artificial intelligence delivered directly to your inbox.

No hype. No spam.

Just trusted insights, major model releases, pricing updates, benchmark changes, product reviews, and practical guidance from across the AI ecosystem.

  • Weekly AI Briefing
  • Major Model Releases
  • Pricing & Benchmark Updates
  • Unsubscribe Anytime

The AI HQ Briefing

One email a week. Read in five minutes.

By subscribing you agree to receive the AI HQ newsletter. Your address is processed by our email delivery provider and never sold. Unsubscribe anytime.