LiteLLM integration for Perplexity API providing a unified interface to call Perplexity Sonar models alongside 100+ other LLM providers with consistent API format, fallback routing, and cost tracking.
LiteLLM provides a unified Python/TypeScript interface to call Perplexity alongside 100+ other LLM providers. Use the same code to call Perplexity, OpenAI, Anthropic, and more with automatic fallback and load balancing.
from litellm import completion
response = completion(
model="perplexity/sonar-pro",
messages=[{"role": "user", "content": "What's new in AI today?"}]
)
print(response.choices[0].message.content)
Set PERPLEXITY_API_KEY environment variable. LiteLLM automatically routes requests to Perplexity's API endpoint.
LiteLLM can run as a proxy server, exposing a unified OpenAI-compatible endpoint that routes to Perplexity and other providers based on model name.
Telegram runtime adapter for Pi
Make videos programmatically
Cognitive browser automation that thinks like your users—and helps AI agents navigate too. Simulate real user cognition with abandonment detection, constitutional safety, chaos engineering, and UX friction discovery. Sites that pass CBrowser's cognitive t
Browser automation CLI for AI agents
The OpenRouter TypeScript SDK is a type-safe toolkit for building AI applications with access to 400+ language models through a unified API.
Run your own agents as E2EE NoPeek bots. Pairs with one-time codes (multiple accounts per computer), runs every bot each account owns, and pipes messages to any command or webhook.
Workflows from the Neura Market marketplace related to this Perplexity resource