Key points
- The Orchestrator API now supports amazon/ergo-1.0, which features a 1,000,000-token context window and returns up to 131,072 output tokens.
- The Agent API now features Code Mode, allowing models to write JavaScript programs that execute built-in and custom tools in parallel.
- Pricing for Ergo 1.0 is set at $1.00 per million input tokens, $0.03 for cached inputs, and $3.00 for output tokens.
Perplexity updated its API changelog to announce the addition of Amazon Ergo 1.0 to the Orchestrator API and the introduction of Code Mode for the Agent API.reported These changes expand the platform's capabilities for long-context processing and complex tool orchestration.Perplexity added Amazon Ergo 1.0 to its Orchestrator API and a new Code Mode to its Agent API. The updates are live for developers accessing the documentation.
Evidence: reported
Perplexity API Changelog page updated: Orchestrator APIAgent APIModelspagewatch-perplexity
The announcement
The Orchestrator API now supports the amazon/ergo-1.0 model.reported The model features a 1,000,000-token context window and supports output of up to 131,072 tokens.reported It is available at every usage tier. However, it is not available to organizations that have enabled zero data retention. The pricing structure for Ergo 1.0 is $1.00 per million input tokens, $0.03 per million cached input tokens, and $3.00 per million output tokens.reported
Evidence: reported
Perplexity API Changelog page updated: Orchestrator APIAgent APIModelspagewatch-perplexity
Evidence: reported
Perplexity API Changelog page updated: Orchestrator APIAgent APIModelspagewatch-perplexity
The Agent API now includes Code Mode. In this mode, the model generates a JavaScript program that invokes built-in tools, MCP tools, and custom functions. Perplexity then runs this program. A single program can execute multiple tool calls simultaneously while transmitting only the essential data to the model. To enable Code Mode, developers must add {"type": "programmatic_tool_calling"} to the tools configuration. Each callable tool must have "programmatic" in its allowed_callers list.
The context
The changelog also details pricing for other models. The openai/gpt-5.6-sol model is available on both the Agent API and Orchestrator API.reported Its rates are $5.00 per million input tokens, $0.50 per million cached input tokens, and $30.00 per million output tokens.reported The google/gemini-4-argon and google/gemini-4-carbon models are available on the Agent API.reported Both have rates of $4.00 per million input tokens, $0.20 per million cached input tokens, and $20.00 per million output tokens.reported
Evidence: reported
Perplexity API Changelog page updated: Agent APIOrchestrator APIModelsDeprecationpagewatch-perplexity
Evidence: reported
Perplexity API Changelog page updated: Orchestrator APIAgent APIModelspagewatch-perplexity
The Orchestrator API now supports perplexity/deepseek-v4.1-flash and perplexity/glm-5.3-flash.reported These models are billed at $0.00 per million input, cached input, and output tokens.reported This free rate ends after December 15, 2026.reported During the promotion, each API organization can use 1,000,000 tokens per minute and 5,000,000 tokens per hour on each of the two models.reported Requests above this limit return a 429 error and are not billed. The deepseek-v4.1-flash model features a 262,144-token context window and generates up to 65,536 output tokens.
Evidence: reported
Perplexity API Changelog page updated: Orchestrator APIAgent APIModelspagewatch-perplexity
Evidence: reported
Perplexity API Changelog page updated: Agent APIOrchestrator APIModelsDeprecationpagewatch-perplexity
Evidence: reported
Perplexity API Changelog page updated: Agent APIEffortFeaturespagewatch-perplexity
The practical upshot
When a Code Mode program halts, the response contains a program item and a program_output item. This allows developers to inspect the execution results directly. The feature enables more efficient data handling by limiting the data sent back to the model. It supports parallel execution of multiple tool calls within a single program run. This can reduce latency and token usage for complex workflows.
The Ergo 1.0 integration is limited by the zero data retention setting. Organizations with this setting enabled cannot access the model. This restriction is stated in the changelog entry. The Code Mode requires specific configuration in the tools object. Developers must explicitly allow programmatic callers for each tool. The parallel execution capability is inherent to the JavaScript program execution environment provided by Perplexity.
Methods and limits
The Search API and Context API now support the snapshot_as_of parameter, which allows for a cutoff date extending up to 365 days back. Search API results are drawn from Perplexity's archived page versions stored at or prior to the specified cutoff. When using POST /v1/context, the system retrieves pages from copies stored at or before the specified time, ensuring that live page fetching does not occur. When a page lacks a copy from that period, the result's status.type is no_content. The Agent API's web_search and fetch_url tools support snapshot_as_of within their filters.
Requests with snapshot_as_of have specific limits. Users on usage Tiers 0 through 5 are limited to a total of 50 Time Machine requests per API. A request consumes one unit regardless of whether it contains multiple queries or URLs. A request over the limit fails with a 429 error. Developers can check the x-ratelimit-remaining response header to determine their remaining request count. The Perplexity API MCP server now features the perplexity_context tool, which is supported by the POST /v1/context endpoint. The tool is available on the hosted MCP server for OAuth and API key connections, as well as in @perplexity-ai/mcp-server version 1.5.0 for local stdio configurations.
Why it matters
- Developers can handle larger documents with Ergo 1.0's million-token context window without switching providers.
- Code Mode reduces token usage by sending only necessary data to the model after parallel tool execution.
- The zero data retention exclusion for Ergo 1.0 forces a choice between privacy settings and model access.
- Parallel tool calling in Code Mode can speed up complex agent workflows that require multiple data sources.
Topics: models, APIs, Perplexity, Amazon, tool calling
Updated
Then / now / next
The Orchestrator API did not support Amazon Ergo 1.0, and the Agent API lacked a dedicated Code Mode for JavaScript execution.
Developers can access Ergo 1.0 with specific pricing and use Code Mode for parallel tool calling via JavaScript programs.
Monitor for updates on the zero data retention compatibility for Ergo 1.0 or changes to the Code Mode configuration requirements.
Story timeline
- Then The Orchestrator API did not support Amazon Ergo 1.0, and the Agent API lacked a dedicated Code Mode for JavaScript execution.
- 02 Dec 2026 Perplexity API Changelog page updated: Orchestrator APIModelsPricing
- 02 Dec 2026 Perplexity caught an autonomous AI hacker trying to steal tokens
- 02 Dec 2026 Perplexity API Changelog page updated: Agent APIOrchestrator APIModelsDeprecation
- 02 Dec 2026 Perplexity API Changelog page updated: Agent APIEffortFeatures
- 03 Dec 2026 Perplexity API Changelog page updated: Orchestrator APIAgent APIModels
- 03 Dec 2026 Perplexity API Changelog page updated: Orchestrator APIModels
- Now Developers can access Ergo 1.0 with specific pricing and use Code Mode for parallel tool calling via JavaScript programs.
- Next Monitor for updates on the zero data retention compatibility for Ergo 1.0 or changes to the Code Mode configuration requirements.
Numbers in context
Circle area is proportional to the magnitude; labels retain signs. Figures may describe different measures. Read their contexts above.Ask the article
Local keyword search of this article; no generated answers.Did this article give you the evidence you needed?
Your choice stays on this device. No public tally.Terms in this story
Orchestrator API
A Perplexity API endpoint for managing and executing model requests.
Agent API
A Perplexity API endpoint for building and running autonomous agents.
Code Mode
A feature allowing models to write and execute JavaScript programs for tool calling.
Zero data retention
A setting that prevents the storage of user data, which restricts access to certain models.
Questions readers ask
How do I enable Code Mode in the Agent API?
Add {"type": "programmatic_tool_calling"} to your tools configuration and set "programmatic" in allowed_callers for each tool.
Can I use Amazon Ergo 1.0 with zero data retention enabled?
Organizations with zero data retention enabled cannot access the model.
What is the output limit for Amazon Ergo 1.0?
The model returns up to 131,072 output tokens.
Connected stories
Reading receipt
- The Orchestrator API now supports amazon/ergo-1.0, which features a 1,000,000-token context window and returns up to 131,072 output tokens.
- The Agent API now features Code Mode, allowing models to write JavaScript programs that execute built-in and custom tools in parallel.
- Pricing for Ergo 1.0 is set at $1.00 per million input tokens, $0.03 for cached inputs, and $3.00 for output tokens.
