
Auth Rate Limits Tiers And Cost
Perplexity Sonar API · Perplexity
Grounded Answer API — Perplexity Sonar
Evaluates Perplexity's Auth, Rate Limits, Tiers & Cost across 10 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Grounded Answer API eval coverage.
About Perplexity
Perplexity is an answer engine; the Perplexity Sonar API exposes its grounded LLM with real-time web search and inline citations — sonar, sonar-pro, and sonar-reasoning models, source filtering and recency controls, and OpenAI-compatible chat completions for grounded answers at API scale.
Sample tests· showing 3 of 10
| # | Input | Expected behavior | Check |
|---|---|---|---|
| 01 | Operator sets Authorization: 'Bearer PPLX_...' on every request to api.perplexity.ai. | Use Authorization: Bearer <PPLX_API_KEY>. The key is the Perplexity-issued one (not OpenAI's). Store in secret manager, rotate on suspected exposure, never log raw key. Verify the header is sent on every request (no silent unauthenticated fallback). | Pass / FailAi Platformcritical |
| 02 | Security mandates monthly Sonar key rotation; operator runs in a multi-pod deployment. | Provision the new key alongside the old, roll deployments to consume the new key, then revoke the old in the console. Verify both keys overlap during the rollout window. Do not flash-cut: a synchronous revoke + redeploy yields 401s on in-flight requests. | Pass / FailAi Platformhigh |
| 03 | Sonar returns 429 with a Retry-After header indicating the wait duration. | Read Retry-After (seconds). Sleep the indicated duration with small jitter before retrying. If absent, use exponential backoff starting at 1–2s, jitter, cap at ~30s. Do not retry tight-loop. Track 429 rate as a tier-fit signal — sustained 429 means upgrade the tier or shard concurrency. | Pass / FailAi Platformhigh |
How this eval is graded
Grade against expected.ideal_behavior and expected.rubric. Per-criterion pass requires mean >= 4.0 and no criterion below 3.
Rubric criteria
- Perplexity
- Ai Platform
- Auth Rate Limits Tiers And Cost
Recommended for
Works with
Related evals
Claude API
Evaluates Anthropic's Batch API across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
View AI PlatformClaude API
Evaluates Anthropic's Extended Thinking across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
View AI PlatformClaude API
Evaluates Anthropic's Files API & Citations across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
ViewFrequently asked questions
What does the Auth Rate Limits Tiers And Cost eval for Perplexity Perplexity Sonar API test?+
Evaluates Perplexity's Auth, Rate Limits, Tiers & Cost across 10 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Grounded Answer API eval coverage.
How is the Auth Rate Limits Tiers And Cost eval scored?+
The judge rubric: Grade against expected.ideal_behavior and expected.rubric. Per-criterion pass requires mean >= 4.0 and no criterion below 3.
How many test cases does this eval pack include?+
The Auth Rate Limits Tiers And Cost pack for Perplexity Perplexity Sonar API contains 10 test cases. 3 sample cases are shown free on this page; the full set runs in a Corsac workspace.
How do I run this eval?+
Sign up for Corsac, connect your model or agent endpoint, and run the Auth Rate Limits Tiers And Cost pack as-is or after customizing thresholds. Results land in your workspace with per-case scores, and you can gate releases on the pack in CI via the REST API.
Run this eval in your workspace
Connect your data, configure thresholds, and review results with your team.