Perplexity ships Code Mode for Agent API, cutting task costs by up to 53%
denisyarats · x · 2026-12-04
Perplexity added Code Mode to its Agent API: instead of a round-trip per tool call, the model writes one script that runs tools in parallel, filters results in code, and keeps raw payloads out of context. On the WANDR benchmark, xhigh effort rose from 78.7% to 80.5% with 31% lower task cost, and per the chart ultra+Code Mode hit 89.4% at $10.30 per task (-53% cost vs ultra's 85.9% at $21.71). The team says it has switched to code mode internally, and argues that as models get better at writing code, most agent loops will run this way.
Related event: Perplexity Code Mode Cuts Task Costs by Up to 53% While Boosting Accuracy(4 posts)→
More from coding & agent
- Claude Code 2.1.336 changelog: enterprise Admin Console hooks, Bedrock proxy sign-in — ClaudeCodeLog · 2026-12-04
- Analysis of 47,000 Company Disclosures: 100 Vendors Capture 70% of AI Stack Mentions — hrishikamath · 2026-12-04
- GitHub launches public preview of SHA-256 Git repositories, a more secure default-to-be — 0xkarasy · 2026-12-04
- Datadog engineers watch Luna and Claude Opus play RollerCoaster Tycoon — dylan_ebert_ · 2026-12-04
- Claude only reads secondhand page summaries — Elicit's fix: give the model full texts — jungofthewon · 2026-12-04
- "One ephemeral environment per command or test": why median cloud env lifetime is under a minute — charliermarsh · 2026-12-04