Urgent.News

What's breaking now, across thousands of outlets.

AI

Measure Cost per Handled Enquiry: A Small Logging Pattern for LLM Workflows

Pre-build cost estimates are guesses. After launch you can measure. The most useful number I know for a small-business workflow is cost per handled enquiry in AI automation : everything it cost to take one customer message from arrival to a resolved state. Disclosure: I run NxFlowAI, an automation agency. The pattern below is generic. What to count For each enquiry, record: model tokens in and…

Calculating the cost per handled enquiry in AI automation for small businesses can provide valuable insights. To measure this, record the model tokens used in and out for each enquiry, along with messaging events, automation-platform runs, and human minutes spent on approvals or rewriting drafts. Organize this data in an append-only JSONL format using a simple log_event function.

Roll up the costs using your own rates from invoices, matching quantities and units. The cost per enquiry metric reveals that human minutes often dominate the cost, suggesting a need to analyze rejected drafts and improve approval processes. Long prompts can also significantly impact costs, so monitoring token usage is crucial. Retries and platform runs can hide additional expenses, making it essential to track these as well.

By keeping the tracking simple and consistent, small businesses can gain a clear understanding of their AI automation costs and make informed decisions about custom versus off-the-shelf solutions.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Why Your AI Consultant Hopes You Never Graduate

A $7.7 billion deal just put the AI-consulting business model on trial. In September, Sequence Holdings and Michael Dell's family office agreed to take Baldwin, an insurance broker, private for $7.7…

  • Consultants often stay long-term due to recurring contracts, not promoting innovation.
  • Recurring engagement model leads to clients relying on consultants for software and knowledge.
  • Focus on outcomes, clear exit strategies, and client independence to achieve sustainable growth.

NEXUS: Why the Next AI Architecture Won't Be Just One Thing

After watching enterprise AI deployments for a while, I've come to a conclusion that shapes everything I build: the systems that win in 2026–2030 won't be "just RAG" or "just agents" or "just…

  • NEXUS architecture unifies AI components into a single orchestration layer
  • Seven-layer design includes Intent Decomposition, Adaptive Temporal Memory, and more
  • Addresses current production systems' lack of verification, freshness, and self-improvement

More from Wednesday 7 October →