Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

916 B
Raw Blame
import type { RegistryEntry } from "../../../shared.ts";

export const perplexityAgentProvider: RegistryEntry = {
  id: "perplexity-agent",
  alias: "pplx-agent",
  format: "openai-responses",
  executor: "default",
  baseUrl: "https://api.perplexity.ai/v1/responses",
  modelsUrl: "https://api.perplexity.ai/v1/models",
  testKeyModelsUrl: "https://api.perplexity.ai/v1/models",
  authType: "apikey",
  authHeader: "bearer",
  headers: {
    "X-Pplx-Integration": "omniroute",
  },
  passthroughModels: true,
  liveCatalogAuthoritative: false,
  models: [
    {
      id: "openai/gpt-5.6-sol",
      name: "GPT-5.6 Sol (Perplexity Agent)",
      supportsReasoning: true,
      toolCalling: true,
    },
    {
      id: "perplexity/kimi-k3",
      name: "Kimi K3 (Perplexity Agent)",
      supportsReasoning: true,
      supportedThinkingEfforts: ["minimal", "low", "medium", "high", "xhigh", "max"],
    },
  ],
};