Portkey AI Gateway with Perplexity — Perplexity Agents | Neura Market
    Neura MarketNeura Market/Perplexity
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityTrendingGenerate
    PerplexityAgentsPortkey AI Gateway with Perplexity
    Back to Agents

    Portkey AI Gateway with Perplexity

    Portkey AI April 23, 2026
    0 copies 0 downloads

    Portkey AI Gateway integration for Perplexity Sonar models with advanced features including citation retrieval, domain filtering, recency controls, image results, and multi-SDK compatibility (Python, TypeScript, OpenAI, cURL).

    Agent Definition
    ## Overview
    
    Portkey provides an AI Gateway that routes requests to Perplexity's Sonar models with added observability, prompt management, and reliability features. Supports both sonar and sonar-pro models with 127K token context.
    
    ## Key Features
    
    - **Citation Retrieval**: Get source citations by disabling strict OpenAI compliance
    - **Domain Filtering**: Whitelist or blacklist specific domains for citations
    - **Recency Controls**: Filter by month, week, day, or hour for fresh results
    - **Search Context Size**: Control depth with low, medium, or high settings
    - **Image Results**: Retrieve relevant images alongside text responses (beta)
    - **Related Questions**: Generate follow-up question suggestions (beta)
    
    ## Supported Models
    
    - sonar: 127K context, real-time search
    - sonar-pro: 127K context, advanced reasoning
    
    ## Integration Methods
    
    - Python SDK
    - TypeScript/JavaScript SDK
    - OpenAI-compatible client
    - cURL requests
    - Responses API format
    
    ## Setup
    
    1. Access Portkey dashboard → Model Catalog → Add Provider
    2. Select Perplexity AI, enter API key
    3. Name the provider (e.g., "perplexity-ai")
    4. Use provider name in API calls
    
    Includes observability dashboards, cost tracking, and fallback routing.

    Tags

    gatewayobservabilityroutingenterprise

    Comments

    More Agents

    View all
    science

    Scientific Paper Summarizer

    Reads and summarizes scientific papers in plain language

    P
    Perplexity Team
    482
    supply-chain

    Supply Chain Monitor

    Monitors supply chain disruptions and logistics developments globally

    P
    Perplexity Team
    230
    jobs

    Job Market Analyst

    Analyzes job market conditions, salary trends, and skill demand

    R
    Research Hub
    54
    clinical-trials

    Clinical Trial Tracker

    Monitors clinical trials for specific conditions or treatments

    D
    DataMinds
    294
    content

    Content Freshness Checker

    Monitors content for outdated information and suggests updates

    A
    AI Search Lab
    357
    cybersecurity

    Threat Intelligence Gatherer

    Collects cybersecurity threat intelligence from open sources

    S
    SmartQuery
    347

    Stay up to date

    Get the latest Perplexity prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Perplexity and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.