cd /news/ai-agents/i-kept-using-claude-code-added-one-t… · home topics ai-agents article
[ARTICLE · art-22504] src=dev.to pub= topic=ai-agents verified=true sentiment=↑ positive

I kept using Claude Code. Added one thing to it. Cut AI engineering costs by 62%.

A developer benchmarked two speech-to-text models on a CPU-only Azure VM and found that using an AI agent to plan and execute the task cut costs by 62%, from $1.96 to $0.74. The agent, Neo, achieved this by researching optimal inference backends and test audio sources before writing code, reducing iteration overhead and improving throughput by 37% compared to an interactive workflow.

read4 min publishedJun 5, 2026

Same task. Same machine. Same models. Two runs. $1.96 vs $0.74.

The difference wasn't prompt engineering. Wasn't a cheaper model. Wasn't a better GPU. It was whether Claude Code worked alone or handed off to an AI agent (Neo) before touching a single file.

Here's what actually happened.

Benchmark two Parakeet speech-to-text variants on a CPU-only Azure VM (2 vCPUs, 7.7GB RAM, no GPU):

nvidia/parakeet-tdt-0.6b-v3

mudler/parakeet-cpp-gguf

Framework: build-ai-applications/Eval-STT. Neither model is natively supported, so both runs had to extend the evaluator with custom code.

Metrics: WER, RTF, latency, CPU%, peak memory.

Standard workflow. Describe task, iterate turn by turn, fix errors as they surface, ship.

What Claude Code chose:

from transformers import pipeline

pipe = pipeline(
    "automatic-speech-recognition",
    model="nvidia/parakeet-tdt-0.6b-v3",
    device="cpu",
)
result = pipe("test_audio.wav")

bfloat16 via HF Transformers. Reasonable. Works. Not the best choice for a CPU-only box.

For test audio: espeak-ng

. Offline, fast, no dependencies.

Results:

Model WER RTF Latency
HF bfloat16 20.9% 0.519 8.60s
GGUF Q4_K 20.9% 0.797 13.21s

Both models made the same three errors: "zest" → "mest", "tacos al pastor" → "taco mel pastor", "zestful" → "nestful". Same errors, both models — that's espeak-ng mispronouncing edge cases, not model failure.

Total cost: $1.96

One prompt. Claude Code submitted the task to Neo via MCP and stepped back.

Neo's first move was not to write code. It spent 2 minutes reading:

Then it wrote a plan and asked one question: "gTTS or LibriSpeech sample for audio? Q4_K or Q6_K for GGUF?"

Reply: "You decide."

What Neo chose:

from onnx_asr import load_model

model = load_model("parakeet-tdt-0.6b-v3")
transcription = model.transcribe("test_audio.wav")

ONNX Runtime with operator fusion and AVX2-optimized kernels. Faster than the PyTorch path on CPU because that's what the benchmarks showed.

For GGUF: Q6_K (776MB) over Q4_K. Better quality headroom, still fits in available RAM.

For test audio: gTTS. Natural-sounding speech, closer to training distribution.

Results:

Model WER RTF Latency Peak Memory
ONNX FP32 4.65% 0.328 5.50s 2,667MB
GGUF Q6_K 4.65% 0.708 11.88s 928MB

Total cost: $0.7448

Both models got identical WER within each run: 20.9% in Run 1, 4.65% in Run 2. If quantization or model choice were the variable, you'd see different WER between models within the same run. You don't.

The variable was the TTS engine. espeak-ng produced robotic audio that tripped up three words. gTTS produced natural audio the models handled correctly. NVIDIA reports 1.93% WER on LibriSpeech for this model — the real-world number is close to what Neo's run showed, not what the interactive run showed.

RTF 0.519 vs 0.328. Same model weights. Same hardware. Different inference backend.

That 37% throughput improvement is what you get when you pick ONNX Runtime for a CPU-only deployment instead of defaulting to HF Transformers. Neo found this by reading benchmarks before committing. The interactive run defaulted to the obvious path and never had reason to look further.

In production terms: the difference between 2 servers and 3.

$1.96 vs $0.74. Interactive mode burns tokens on every re-read, every correction, every back-and-forth. Neo planned once and executed linearly — 10 subtasks, self-verified after each one, no back-and-forth.

The structured plan eliminated the iteration overhead that makes interactive AI engineering expensive at scale.

Claude Code Solo — single unified evaluator:

class ParakeetEvaluator:
    models_cfg = {
        "parakeet-tdt-0.6b-v3-hf": (
            "nvidia/parakeet-tdt-0.6b-v3",
            "_load_parakeet_nemo",
            "_transcribe_parakeet_nemo",
        ),
        "parakeet-tdt-0.6b-v3-gguf-q4k": (
            GGUF_MODEL,
            "_load_parakeet_gguf",
            "_transcribe_parakeet_gguf",
        ),
    }

Claude Code + Neo — separate scripts per model:

python evaluate_onnx.py   # ONNX Runtime path
python evaluate_gguf.py   # parakeet.cpp path

Neo kept them separate for cleaner debugging and verification. Each script outputs its own JSON. A combined results.json

merges them. Neo also ran an internal verification check after each artifact — re-read files, confirmed sizes, checked exit codes — before marking steps complete.

Full code, results, and Neo's pre-execution plan are in the GitHub repo.

Stick with interactive Claude Code when:

Add Neo when:

The pattern: the more your task looks like "figure out the right approach, then execute it," the more a research-first agent beats interactive iteration.

Neo runs locally via MCP inside Claude Code. Add it to your claude_desktop_config.json

:

{
  "mcpServers": {
    "neo": {
      "command": "npx",
      "args": ["-y", "@heyneo/mcp"]
    }
  }
}

Your code, models, and data stay on your machine. Nothing remote.

Then just describe your AI engineering task in Claude Code and let Neo handle the execution.

Repo with all code, results, and charts: github.com/gauravvij/parakeet-stt-eval

── more in #ai-agents 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-kept-using-claude-…] indexed:0 read:4min 2026-06-05 ·