Perplexity: get an API key and write fiction with it on your phone

Not a prose engine: every Sonar answer runs a live web search and returns citations, which makes it the research sidekick — switch to it when a chapter touches real places, current events, or lore fact-checking, and keep another provider for the actual continuation. This page is the BYOK quick answer for Perplexity: key steps, direct console and pricing links, and the app-side notes that matter. Verified 2026-07-18.

Two links up front: get your key at the official console and check rates on the official pricing page. Prices and free quotas move; the official pages are authoritative.

What does it power inside Foreverse?

The factory preset declares 1 modality flag for Perplexity. The models actually available come from the live catalog fetched in-app — catalogs move fast, and the flag only means the protocol wiring is ready.

ModalityUsed for
TextContinuation · roleplay chat · agent

How do I get a Perplexity API key?

  1. Sign in to the API portal at console.perplexity.ai with your perplexity.ai account (a separate system from the chat subscription).
  2. Add a card and buy prepaid credits under Billing — keys go dead with a 401 the moment the balance hits zero.
  3. Generate a key (starts with pplx-) on the API Keys page; it is shown once, so copy it immediately.

Key in hand: three steps to connect

  1. Open the app's Settings → AI models & services and find Perplexity in the list (one of 62 presets, with logo and search).
  2. Paste the key and tap the connectivity test — it fires one real request to verify key and network, and pulls back the model list while it's at it.
  3. Enable the models you want, then set per-modality defaults (text, image, speech, and video each get their own); continuation, chat, and listening route through them from then on.

The one universal host pitfall: the API host must include its full version prefix (this provider's exact form is in the notes below) — the app never appends /v1 for you.

Perplexity-specific notes

The preset host is https://api.perplexity.ai — deliberately without a /v1 prefix (chat/completions lives at the root), so don't add one yourself (/v1/chat/completions is a verified 404). Use sonar / sonar-pro / sonar-reasoning-pro as model IDs; the bill combines token pricing with a per-1K-request search fee ($5–14 by context tier), one more line item than pure token-priced providers.

FAQ

Does Perplexity have a free tier?

No free tier: the API is its own prepaid system and requires a card plus purchased credits. Pro subscriptions used to include a $5/month API credit, but multiple reports say it was discontinued in early 2026 — don't build on it; the console balance page is the source of truth.

Where does the key live once I paste it into the app?

It's stored on your device only, under system-level encryption — never uploaded or synced to any Foreverse server. Requests go straight from your phone to the provider's official endpoint with zero markup. To revoke access, delete the key in the provider's console.

Perplexity API Key — Get One and Plug It into Foreverse (BYOK)