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

1.3 KB
Raw Blame
import type { RegistryEntry } from "../../../shared.ts";

export const perplexity_webProvider: RegistryEntry = {
  id: "perplexity-web",
  alias: "pplx-web",
  format: "openai",
  executor: "perplexity-web",
  baseUrl: "https://www.perplexity.ai/rest/sse/perplexity_ask",
  authType: "apikey",
  authHeader: "cookie",
  unsupportedParams: ["tools", "tool_choice", "parallel_tool_calls"],
  models: [
    { id: "pplx-auto", name: "Perplexity Best", toolCalling: false },
    { id: "pplx-sonar", name: "Sonar 2 (via Perplexity)", toolCalling: false },
    { id: "pplx-gpt-5.6-terra", name: "GPT-5.6 Terra (via Perplexity)", toolCalling: false },
    { id: "pplx-gpt-5.6-sol", name: "GPT-5.6 Sol (via Perplexity)", toolCalling: false },
    { id: "pplx-gemini", name: "Gemini 3.7 Flash (via Perplexity)", toolCalling: false },
    { id: "pplx-sonnet", name: "Claude Sonnet 5.0 (via Perplexity)", toolCalling: false },
    { id: "pplx-opus", name: "Claude Opus 5.0 (via Perplexity)", toolCalling: false },
    { id: "pplx-glm", name: "GLM-5.2 (via Perplexity)", toolCalling: false },
    { id: "pplx-kimi", name: "Kimi K3 (via Perplexity)", toolCalling: false },
    { id: "pplx-grok-4.6", name: "Grok 4.6 (via Perplexity)", toolCalling: false },
    { id: "pplx-nemotron", name: "Nemotron 3 Ultra (via Perplexity)", toolCalling: false },
  ],
};