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.
| Modality | Used for |
|---|
| Text | Continuation · roleplay chat · agent |
How do I get a Perplexity API key?
- Sign in to the API portal at console.perplexity.ai with your perplexity.ai account (a separate system from the chat subscription).
- Add a card and buy prepaid credits under Billing — keys go dead with a 401 the moment the balance hits zero.
- 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
- Open the app's Settings → AI models & services and find Perplexity in the list (one of 62 presets, with logo and search).
- 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.
- 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.