Asana has significantly reduced the operational costs of its browser agent by optimizing workflows on GPT-6.1 Sol, achieving a 76x cost reduction and a 5x speed improvement compared to its previous production setup. The company utilized GPT-6 Astra within the Codex environment to identify inefficiencies and test improvements, a process that compressed what would have been one to two months of manual research into approximately one week.

What Happened

Frank Hidalgo, PhD, CTO of Asana’s StackAI division, directed GPT-6 Astra in Codex to investigate the browser agent’s codebase. The AI agent discovered that while fixed instructions and tool definitions were cached, the growing history of page text and screenshots was not, causing every request to resend this data at full price. Additionally, the agent frequently dropped older screenshots and trimmed text, altering the history and preventing effective caching.

Hidalgo selected three specific fixes for testing: extending caching to browsing history, increasing retained text volume, and removing screenshots in batches rather than at every step. GPT-6 Astra conducted a 144-run study comparing GPT-6.1 Sol against three other frontier models (referred to as Models A, B, and C). The study tested history budgets of 120,000 and 480,000 characters alongside six caching and screenshot policies. The most effective policy allowed screenshots to accumulate up to 20 before cutting back to the most recent one, preserving earlier history for longer periods.

The optimized workflow on GPT-6.1 Sol averaged $0.47 in estimated model costs and approximately four minutes per run. This represented a 76x cost reduction and 5x speed improvement over the original production setup on Model B, which cost at least $36.21 per run and took at least 22.5 minutes. The 76x figure represents the total improvement over the previous baseline, achieved through a combination of model choice and optimization techniques. Caching was a major component of this efficiency, with 89% of input coming from cache at 5% of the uncached price, which alone reduced costs 4x on GPT-6.1 Sol. Every run in the optimized workflow successfully completed the task and returned the correct answer.

"This would have taken me one to two months by hand. With GPT-6 Astra in Codex, it took about a week: I’d set a /goal before going to bed and review the results in the morning," said Frank Hidalgo, PhD, StackAI CTO at Asana.

Why It Matters

For Asana, the optimization addresses a critical business constraint: cost efficiency in automated workflows. Previously, high operational costs limited which models the company could offer customers for these workloads. "Cost used to limit which models we could offer customers for these workloads. By making the agent more efficient, we can give customers a better, faster model while lowering our operating costs," Hidalgo said. The study also highlighted the importance of context management; increasing the history budget on GPT-6.1 Sol improved success rates from three out of 18 runs to 18 out of 18, demonstrating that better history retention directly impacts answer accuracy.

The process also illustrates a shift in software development practices. "Shipping speed is no longer the bottleneck; human attention is. We’re close to a world where every engineer is a PM leading a fleet of agents," Hidalgo noted. The workflow involved an engineer setting the direction, GPT-6 Astra running experiments and refactoring code for parallel testing, and results being reviewed through Asana’s software delivery platform, Command. "This is what teams of humans and agents look like in practice. An engineer set the direction, GPT-6 Astra ran the experiments, and the results went through Command to production. This demonstrates how Asana brings human and agent teams to life," said Arnab Bose, CPO at Asana.

The Bottom Line

Asana has successfully deployed these optimizations in StackAI, allowing customers to benefit from cheaper and faster browser automation. The company is now using GPT-6 Astra in Codex to test product features before release, with agents navigating the platform and reporting bugs for human review. Asana plans to integrate these experimental tools into its platform evaluations, enabling customers to compare cost, runtime, and answer quality when configuring their own agents.

The case study demonstrates how agentic workflows can drive significant economic efficiencies in AI applications, moving beyond simple model selection to sophisticated context and caching optimization.