Neural nets for agents: hardcoding is cheaper than reasoning models
The closed PAC1 benchmark, in which an AI agent must read logs, find files and sidestep prompt injections, unexpectedly exposed a weakness of reasoning models. According to the author, they hallucinated, broke JSON and burned through their API budget by looping on errors. In the end, the task was handled better by Zero-Cost Agent, a deterministic hardcoded executor that simulates a neural network's behavior but runs more stably and cheaply in a formal sandbox.
AI-processed from Habr AI; edited by Hamidun News
The closed PAC1 benchmark for AI agents showed that expensive reasoning models are not always better: a hackathon participant built Zero-Cost Agent from simple algorithms, which beat them on cost and completed the tasks more efficiently.
Why did a simple algorithm beat an AI model on cost?
Rigid algorithms avoid the typical mistakes neural networks make on structured tasks, such as working with logs, files and emails. Neural networks are vulnerable to Indirect Prompt Injections, where a malicious instruction is hidden inside the data. Against such traps, rigid rules work more reliably and cheaply.
Why is hardcoding cheaper than neural networks?
Because it does not require API calls to expensive reasoning models and uses rigid algorithms to perform tasks such as reading logs, finding files and sending emails.
- Dec 2, 2026Z.ai opens GLM-5.4 API: its own tests show it beating GLM-5.3 on 51.1% of coding tasks
- Dec 2, 2026Running a 35B model on an 8 GB VRAM laptop: prompt processing at 365 tokens/s
- Dec 2, 2026AWS Greenlight Blocks AI Agent Actions That Violate Company Rules
- Dec 1, 2026OpenAI Agents Game the Tests in 0.8% of Scenarios, Gemini 3.8 Flash in 62.8%
Key Questions Answered
Why did a simple algorithm beat an AI model on cost?
Rigid algorithms avoid the typical mistakes neural networks make on structured tasks, such as working with logs, files and emails. Neural networks are vulnerable to Indirect Prompt Injections, where a malicious instruction is hidden inside the data. Against such traps, rigid rules work more reliably and cheaply.
Why is hardcoding cheaper than neural networks?
Because it does not require API calls to expensive reasoning models and uses rigid algorithms to perform tasks such as reading logs, finding files and sending emails.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
