Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseAPI / Product · ActionableMarkTechPost→ original

Perplexity Releases pplx: A Search API CLI for the Terminal at $5 per 1,000 Requests

Perplexity has released pplx, an official CLI for its Search API. The tool returns web search results and cleaned page text as JSON directly in the terminal. It is not a chat client: there is no conversational mode and no synthesized answers, just two commands, search and page extraction. Pricing is $5 per 1000 requests, with a limit of 50 QPS. The tool is built for coding agents and CI. Output is always JSON, and the output contract is strict: success returns exit code 0 and exactly one JSON object in stdout, while any failure returns exit code 1 with an empty stdout and a JSON error object in stderr. pplx runs on macOS on Apple Silicon, Linux x86_64 and Linux arm64. There is no Windows support and no Intel build for macOS.

AI-processed from MarkTechPost; edited by Hamidun News
Perplexity Releases pplx: A Search API CLI for the Terminal at $5 per 1,000 Requests
Source: MarkTechPost. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceMarkTechPost ↗
Editor-in-Chief
Two commandspplx search web (search) and pplx content fetch (page extraction)
Key metric #2Output is always JSON, never chat
Search API price5.00 dollars per 1000 requests

On July 27, 2026, Perplexity released pplx, an official CLI client for its Search API. It returns web search results and cleaned page text as JSON directly in the terminal, at a price of 5 dollars per 1000 requests.

What pplx can do

pplx offers exactly two working commands and is not a chat client. The pplx search web command runs a live web search, while pplx content fetch pulls a given URL and returns the cleaned text of the page. According to the documentation, the tool is designed equally for humans and for coding agents, but it has no conversational mode, no model selection and no synthesized answer. For content fetch, the documentation advises checking the error and is_paywall fields in the output before using the text, and the --html flag adds live raw HTML via a crawler.

  • Two commands: pplx search web (search) and pplx content fetch (page extraction)
  • Output is always JSON, never chat
  • Search API price: 5.00 dollars per 1000 requests
  • Limit: 50 QPS on all plans
  • Platforms: macOS on Apple Silicon, Linux x86_64 and Linux arm64

How the output contract works

pplx builds its behavior around a predictable output contract, which is its main feature for automation. Success means exit code 0 and exactly one JSON object in stdout; search returns a structure with a hits array, a total field and an optional saved_to. Any failure ends with exit code 1 and an empty stdout, while a single JSON error object goes to stderr with the fields code, message, command and an optional hint.

"Success is exit code 0 and exactly one JSON object in stdout," the official pplx-cli Agent Skill states.

The documented error codes are AUTHENTICATION, UNKNOWN_ARGUMENT, ARGUMENT_ERROR and BAD_REQUEST. The list is not exhaustive, so calling code should branch on the error.code field rather than rely on a fixed set. This contract lets an agent reliably tell success from failure by exit code, without parsing the response text.

Installation and context savings

Installing pplx takes a single shell command that downloads a script and pipes it to sh; the binary lands in ~/.local/bin/pplx without sudo. The script pulls manifest.json from the latest release, pins the version across all downloads (to avoid hitting a concurrent publish), verifies the SHA256 checksum and only then installs the file. There is no support for Windows or Intel-based macOS; only three platforms are available.

Perplexity paid particular attention to saving context window space, which is critical for agents. The --output-dir flag writes the full result to a JSON file, while --stdout-preview truncates long string fields in stdout and adds truncated markers. One important catch: --stdout-preview does not work without a save directory, since truncation is enabled only together with --output-dir or the PPLX_OUTPUT_DIR variable. For CI and agents, authentication via pplx auth login is unavailable because it works only in a TTY, so the key is passed through the PERPLEXITY_API_KEY variable.

What this means

Perplexity is packaging its search engine as a tool built for coding agents: a strict JSON contract, predictable exit codes and control over token spend make the Search API a convenient building block for autonomous pipelines, not just for a human at a keyboard.

Frequently asked questions

How much does pplx cost?

The CLI itself is free, but calls to the Search API are billed: 5.00 dollars per 1000 requests, with a limit of 50 QPS on all plans.

Does pplx work on Windows?

No. Only macOS on Apple Silicon, Linux x86_64 and Linux arm64 are supported. The release has no builds for Windows or Intel-based macOS.

Is it a replacement for the Perplexity chatbot?

No. pplx is not a chat client: it has no conversational mode, no model selection and no synthesized answer, only web search and page text extraction in JSON.

Story

Key Questions Answered

How much does pplx cost?

The CLI itself is free, but calls to the Search API are billed: 5.00 dollars per 1000 requests, with a limit of 50 QPS on all plans.

Does pplx work on Windows?

No. Only macOS on Apple Silicon, Linux x86_64 and Linux arm64 are supported. The release has no builds for Windows or Intel-based macOS.

Is it a replacement for the Perplexity chatbot?

No. pplx is not a chat client: it has no conversational mode, no model selection and no synthesized answer, only web search and page text extraction in JSON.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — Perplexity Releases pplx: A Search API CLI for the Terminal at $5 per 1,000 Requests https://news.hamidun.com/en/news/12787/perplexity-releases-pplx-a-search-api-cli-for-the-terminal-a

What do you think?
Loading comments…