Perplexity API Integration

Sonar Models with Online Search

llama-3.1-sonar-huge-128k-online

Our most powerful model with 405B parameters and online search capabilities. Perfect for complex tasks requiring up-to-date information.

  • • 405B parameter model
  • • 127,072 token context length
  • • Real-time web search integration
  • • Advanced reasoning capabilities

llama-3.1-sonar-large-128k-online

Powerful 70B parameter model with online search. Excellent balance of capabilities and efficiency.

  • • 70B parameter model
  • • 127,072 token context length
  • • Real-time web search
  • • High performance

Technical Features

  • • Massive 127K token context windows
  • • System prompt customization for style and tone
  • • Secure API key management
  • • Streaming response support
  • • Special tokens handling
  • • Rate limiting and monitoring
  • • Comprehensive error handling