Pricing, context window, capabilities, and release date — pulled from each provider's public docs. Both are available via the same AIgateway OpenAI-compatible endpoint; flip the model string to switch.
Both models stream in parallel through your own AIgateway key. Tokens, latency, and cost update as they arrive.
| GPT-5.5 Pro openai/gpt-5.5-pro | Sonar Deep Research perplexity/sonar-deep-research | |
|---|---|---|
| Provider | OpenAI | Perplexity |
| Family | GPT-5 | |
| Modality | text | text |
| Context window | 1,000,000 tok | 127,000 tok |
| Max output | 16,384 tok | 16,384 tok |
| Released | 2026-04-24 | 2025-02-14 |
| Input price | $30.00 /1M | $2.00 /1M |
| Output price | $180.00 /1M | $8.00 /1M |
| Cache read | — | — |
| Tools | yes | — |
| Streaming | yes | yes |
| Vision | — | — |
| JSON mode | yes | — |
| Reasoning | yes | yes |
| Prompt caching | — | — |
GPT-5.5 Pro uses OpenAI's Responses API with built-in tools, improved reasoning, and stateful context management.
Perplexity Sonar Deep Research — long-form web-grounded answers.
# pip install aigateway-py openai
# aigateway-py: sub-accounts, evals, replays, jobs, webhook verify.
# openai SDK: chat/embeddings/images/audio — drop-in compat per our SDK's own guidance.
from openai import OpenAI
client = OpenAI(
base_url="https://api.aigateway.sh/v1",
api_key="sk-aig-...",
)
# Try GPT-5.5 Pro
client.chat.completions.create(
model="openai/gpt-5.5-pro",
messages=[{"role":"user","content":"hello"}],
)
# Try Sonar Deep Research — same client, same key
client.chat.completions.create(
model="perplexity/sonar-deep-research",
messages=[{"role":"user","content":"hello"}],
)