perplexity-load-scale

Featured

Load test Perplexity Sonar API integrations and plan capacity. Use when running performance tests, planning for traffic growth, or benchmarking Perplexity latency under load. Trigger with phrases like "perplexity load test", "perplexity scale", "perplexity performance test", "perplexity capacity", "perplexity benchmark".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Perplexity Load & Scale ## Overview Load testing and capacity planning for Perplexity Sonar API. Key constraint: Perplexity rate limits at 50 RPM (default tier), and every request performs a live web search with variable latency. Load testing must respect these limits to avoid burning through credits. ## Capacity Constraints | Constraint | Default Limit | Impact | |-----------|--------------|--------| | RPM (requests per minute) | 50 | Hard ceiling on throughput | | Context window | 127K tokens | Limits conversation history | | `sonar` latency | 1-3s | Throughput: ~20-50 concurrent | | `sonar-pro` latency | 3-8s | Throughput: ~6-16 concurrent | | `search_domain_filter` | 20 domains max | Per-request limit | ## Prerequisites - k6 load testing tool installed - Separate Perplexity API key for load testing - Budget approval (load tests cost money) ## Instructions ### Step 1: k6 Load Test Script ```javascript // perplexity-load-test.js import http from "k6/http"; import { check, sleep } from "k6"; import { Rate, Trend } from "k6/metrics"; const errorRate = new Rate("perplexity_errors"); const citationCount = new Trend("perplexity_citations"); export const options = { stages: [ { duration: "1m", target: 5 }, // Ramp to 5 VUs { duration: "3m", target: 5 }, // Steady at 5 VUs { duration: "1m", target: 15 }, // Ramp to 15 VUs { duration: "3m", target: 15 }, // Steady at 15 VUs { duration: "1m", target: 0 }, // Ramp down ], thresholds: {...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

exa-load-scale

Implement Exa load testing, capacity planning, and scaling strategies. Use when running performance tests, planning capacity for Exa integrations, or designing high-throughput search architectures. Trigger with phrases like "exa load test", "exa scale", "exa capacity", "exa k6", "exa benchmark", "exa throughput".

2,266 Updated today
jeremylongshore
AI & Automation Featured

perplexity-performance-tuning

Optimize Perplexity Sonar API performance with caching, streaming, model routing, and batching. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for Perplexity integrations. Trigger with phrases like "perplexity performance", "optimize perplexity", "perplexity latency", "perplexity caching", "perplexity slow".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hubspot-load-scale

Load test HubSpot integrations and plan capacity around API rate limits. Use when running performance tests, planning for traffic growth, or sizing your HubSpot integration for production load. Trigger with phrases like "hubspot load test", "hubspot scale", "hubspot capacity", "hubspot benchmark", "hubspot traffic planning".

2,266 Updated today
jeremylongshore
AI & Automation Featured

perplexity-observability

Set up monitoring for Perplexity Sonar API with latency, cost, citation quality, and error tracking. Use when implementing monitoring dashboards, setting up alerts, or tracking Perplexity API health in production. Trigger with phrases like "perplexity monitoring", "perplexity metrics", "perplexity observability", "monitor perplexity", "perplexity dashboard".

2,266 Updated today
jeremylongshore
Testing & QA Listed

k6-performance-testing

Performance and load testing skill using k6, covering load test scripts, thresholds, scenarios, checks, custom metrics, and results analysis.

3 Updated today
KaliBellion