By Anant MishraEssay
Fictional six-task manifest and authored result records. Five offline reconciliation scenarios were executed locally. No provider requests, model quality, delivery window or realized savings were measured.
Executive Summary
Decide which AI work can wait, match every returned result to its task, and distinguish execution from accepted output before claiming savings.
About the Author
Anant Mishra
Global Head - Technology, AI & ICT | Technology & AI Transformation Executive
A fictional team sends six document summaries to an asynchronous AI service. The job ends, but the report owner receives only one usable summary. One answer failed a content check, another request errored, one expired, and one has no corresponding result in the downloaded file. A lower token price does not explain whether that report is ready.
Batch processing is useful when work can wait. The architectural decision is how much waiting the business can tolerate, how each result returns to its original task, and what happens to incomplete work. Those questions belong in an AI FinOps plan alongside the estimated model charges. They also matter for a private service that queues background inference, even when its scheduling contract differs from a hosted API.
Start with the reader’s deadline
Anthropic’s batch-processing guide, checked on 21 November 2026, describes asynchronous requests with a 24-hour expiration window and a batch pricing discount. That makes delay a concrete planning variable. A provider processing window is not the same as the business deadline for reviewed output.
For a fictional weekly research digest due Friday morning, work could be submitted well before the review session. A customer-facing assistant waiting for an answer during a conversation has a different requirement. Write down the latest useful arrival time, the review time needed after arrival, and the owner of an unfinished task. A report that arrives after a decision has already been made may have little value even if its generation was inexpensive.
A team can divide a workload by urgency rather than moving every request to the same channel. Background classification may tolerate a long queue, while an exception investigation needs an interactive path. Before introducing that split, establish how the two paths preserve the same input version and evaluation criteria. Otherwise, the cost comparison may involve different tasks.
Make every request recoverable by identity
The batch-results API reference describes JSONL output and warns that result order need not match request order. It supplies a developer-provided custom identifier for matching. Consequently, a consumer that joins the first output to the first input has an avoidable correctness problem.
Retain a submission manifest before dispatch. For each task, preserve its local identifier, permitted input reference, prompt revision, requested model configuration and intended deadline. Store the actual provider receipt separately when one exists. The local identifier should let the application reconstruct what was requested without exposing confidential document names in an external identifier.
On download, compare the expected identifiers with those received. Treat missing, unexpected and repeated identifiers as distinct findings. A repeated identifier should not silently overwrite the first result. An unexpected record should not create a new business task. Retain the original download so the investigation can distinguish a provider result from a parsing or import error.
Separate execution from acceptance
The provider guide distinguishes successful requests from errors, cancellations and expiration. The application needs another decision after transport success: whether the returned content satisfies the task. A successful generation might omit a required source reference or produce an unusable classification. Its provider status remains part of the evidence even when the application withholds the answer.
Define a modest acceptance rule for the intended use. A document summary might require a source reference and review before inclusion in a digest. A financial extraction needs a more specific schema and reconciliation process. Record the acceptance outcome independently rather than rewriting an execution status to suggest that a model never ran.
This separation also improves the cost denominator. Count dispatched attempts, successful provider responses, accepted outputs and outputs available before the business deadline separately. Use the corresponding numerator when discussing cost per accepted task. A token-cost estimate cannot establish that a cheaper channel delivered the same quantity of useful work.
Budget recovery before promising savings
When an unfinished task is resubmitted, retain a new attempt record linked to the same business task. Decide whether the input or prompt changed. An error caused by invalid input needs investigation before another attempt. A missing local record needs reconciliation before the consumer assumes that another generation is necessary.
For planning, include the work involved in preparing manifests, retrieving files, checking answers and resolving exceptions. These may be small for a stable workflow, but they are still parts of the operating process. Retrying through an interactive path can also change the expected charges and response time. Keep those assumptions visible instead of applying a discount to the entire service budget.
The LLM inference cost calculator helps explore input and output token assumptions. It does not simulate batch queues, incomplete jobs or review labor. Calculate an asynchronous scenario separately, using current applicable rates and observed usage, then keep its result next to the original assumptions. Reconcile actual charges with provider usage evidence before reporting realized savings.
Rehearse the consumer before sending documents
The companion Design study supplies a six-task fictional manifest and an offline result reconciler. It exercises shuffled records, duplicate and unexpected identifiers, an invalid status and an absent result. The purpose is to make the consumer’s decisions inspectable before connecting a provider. It does not test model quality or a real delivery window.
An operational rehearsal would add authorized documents, actual receipts and result files, deliberate content checks, deadline observations and invoice evidence. Keep processing status, consumer reconciliation and acceptance separate throughout that rehearsal. A batch can end while useful work remains unfinished. The decision to use asynchronous inference becomes clearer when the team can show exactly which tasks are usable, which are held and who owns the next action.
Sources
- Batch processing — Anthropic Claude Platform documentation; checked 21 November 2026
- Retrieve Message Batch results — Anthropic Claude API reference; checked 21 November 2026
Related reading
Read the publishing standards or suggest a correction.
Continue the conversation
Putting a design decision into practice?
If this essay raises a question for your organisation, discuss the constraints, evidence and implementation choices with Anant Mishra. This is an invitation to talk, not a claim that the examples represent delivered client work.