Perplexity Agent API adds Gemini 4 Carbon and Claude Fable 5.2 (November 2026)
google/gemini-4-carbon at $2 / $10 until Nov 30 and anthropic/claude-fable-5-2 at $8 / $40 are now Agent API models.
Your keys
0 of 1 ready
Create each key on its own page, paste it below, then copy the finished lines into your project's .env file. What you paste stays in this tab. It is never sent to Wirestack or saved.
- Perplexity API keyPERPLEXITY_API_KEYGet key
Open the API Keys page in the Perplexity API console and generate a key. Add credits in Billing first.
What changed
Perplexity's changelog for November 2026 adds two models to the Agent API:
google/gemini-4-carbon: $2.00 per 1M input tokens, $10.00 per 1M output tokens (reasoning tokens included), $0.10 per 1M cached input tokens. Perplexity calls this introductory pricing through November 30, 2026.anthropic/claude-fable-5-2: $8.00 per 1M input tokens, $40.00 per 1M output tokens, $0.20 per 1M cached input tokens, from the Agent API models page.
Claude Fable 5.2 needs model access without Zero Data Retention. If your organization uses Zero Data Retention, the model is not available to you until you ask Perplexity for access at api@perplexity.ai.
Prerequisites
- A Perplexity API key in
PERPLEXITY_API_KEY - Python:
pip install perplexityai - Node:
npm install @perplexity-ai/perplexity_ai
Steps
- In your
client.responses.createcall, setmodeltogoogle/gemini-4-carbonoranthropic/claude-fable-5-2. - For Gemini 4 Carbon, plan for a price change after November 30, 2026. Perplexity has not published the later rate, so check the models page before December.
- For Claude Fable 5.2, check your organization's data retention setting first.
Test it
Send one request with the new model ID and print response.output_text. A request for Claude Fable 5.2 from an organization on Zero Data Retention should be refused.
Not confirmed
- The changelog gives only the month, not the day.
- The price of Gemini 4 Carbon on Perplexity after November 30, 2026 is not stated.
- The exact error returned to Zero Data Retention organizations is not shown.
