How do you estimate batch inference completion time?
A fast sample is not a delivery forecast. Measure accepted records over elapsed time, include fixed overhead and test the slow end before committing to a deadline.
Estimate batch inference completion time by dividing the records you must deliver by a measured rate of accepted records per hour, then adding time outside that measurement. Use a representative pilot at the intended scale, include failed attempts and necessary retries in its elapsed time, and reserve an explicit allowance for uncertainty. A peak tokens-per-second result is not a forecast for delivering a complete, usable dataset.
For an existing batch command, Nodus Jobs provides command execution, progress monitoring and output retrieval. The planning method below is yours to apply; it is not a Nodus deadline guarantee or a built-in forecasting service.
Define what has to be delivered, and by when
Section titled “Define what has to be delivered, and by when”Start with the deliverable, not the machine. A batch might classify documents, generate product descriptions or extract fields from reports. Those tasks have different completion rules. An emitted response may still be incomplete, invalid or unsuitable for delivery.
Write down the number of original records, the acceptance rule and the cutoff time. Specify whether every record needs an accepted result or whether a permitted exception list can accompany the delivery. An unresolved record is not finished merely because the rest of the batch succeeded.
Also define when the clock starts and stops. Does the deadline include preparing inputs, waiting to start, collecting outputs and reviewing exceptions? If the recipient needs a checked file by morning, finishing model responses at the cutoff is already too late.
This boundary prevents a common planning error: measuring only the busiest processing interval and treating it as the entire delivery window.
Measure useful output over elapsed time
Section titled “Measure useful output over elapsed time”For a pilot, use:
Accepted-record rate = accepted original records / elapsed processing hours.
Count each original record once, even if it needed multiple attempts. Include unsuccessful attempts and the retries required by the pilot’s acceptance rule in elapsed time. Otherwise, the measured rate prices in the easy first pass while leaving its repair work for later.
An acceptance check should match the task. Valid formatting alone does not establish that an extracted amount is correct. Equally, do not add an expensive manual review to the forecast if the actual delivery process does not require it. Measure the process you intend to use, while making any unmeasured quality uncertainty explicit.
Keep fixed overhead separate when it sits outside the measured interval. Input preparation, an initial wait and final delivery checks must appear somewhere in the time budget, but not twice. State exactly which stages the measured rate includes.
Make the pilot resemble the full batch
Section titled “Make the pilot resemble the full batch”A pilot of short, clean inputs can overstate progress on a collection with long documents and difficult cases. Sample according to the expected mix of input lengths, required output lengths and task categories. Include categories likely to need extra attempts or exception handling.
Keep a separate challenge sample for rare difficult cases. It is useful for discovering failure modes, but its raw processing rate should not replace the representative estimate unless that difficult mix actually describes the batch.
Run the pilot at the scale you plan to use. A rate measured for one configuration does not establish the rate for another. Doubling the requested capacity is not evidence that delivery will take half the time. Measure again before relying on that assumption.
Repeat enough of the pilot to see whether the rate is stable. Include the complete pilot interval, not just its fastest segment. If the remaining records are harder than those already completed, the early average is an optimistic forecast.
Worked example: turn the deadline into a required rate
Section titled “Worked example: turn the deadline into a required rate”Illustrative example only: all counts, rates and durations below are invented to demonstrate the calculation. They are not Nodus measurements, prices or recommended universal allowances.
Suppose you need accepted results for 24,000 records within an eight-hour window. The plan reserves the following time outside the measured processing interval:
| Stage | Illustrative time budget |
|---|---|
| Input preparation and waiting to begin | 30 minutes |
| Output collection and final checks | 30 minutes |
| Contingency allowance | 60 minutes |
| Available processing time | 6 hours |
The required accepted-record rate is 24,000 / 6 = 4,000 records per hour.
A representative pilot delivers 1,800 accepted original records in 30 minutes, including the attempts and repairs within that interval. Its measured rate is 3,600 accepted records per hour. Assuming that rate holds, processing alone takes 24,000 / 3,600 = about 6 hours 40 minutes.
Adding the two fixed stages and the contingency allowance gives 8 hours 40 minutes. The plan misses its eight-hour budget. Without the contingency allowance, it would fit within the deadline, but that would spend the time explicitly reserved for uncertainty.
This is a planning failure even if a short portion of the pilot briefly exceeded the required rate. The useful next step is to test a faster configuration, reduce the agreed scope or move the deadline. Removing retries or acceptance checks from the spreadsheet does not make the same deliverable arrive sooner.
Check the last unfinished records, not only the average
Section titled “Check the last unfinished records, not only the average”A batch can make rapid early progress and then stall on a small group of difficult records. If delivery requires every record, that final group determines completion. A strong average rate does not establish when the last acceptable result will arrive.
Track the number of accepted records, unresolved originals and records requiring manual decisions. Examine whether the unresolved group has a different input mix. Forecast its remaining time from relevant observations rather than assuming it will behave like records already completed.
Keep the exception policy explicit. If some inputs cannot meet the acceptance rule, decide whether delivery must wait, whether a documented exception is permitted or whether the scope needs agreement. Never silently exclude them to produce a better completion estimate.
A time limit is a stopping boundary, not evidence that everything will finish before it. Similarly, a spending cap limits expenditure; it does not establish enough capacity to meet a deadline.
Reforecast at checkpoints you can act on
Section titled “Reforecast at checkpoints you can act on”Choose decision points before the run starts. At each point, compare remaining accepted results needed with the time left after collection, checks and contingency. If the required remaining rate exceeds what you have demonstrated, change the plan while there is still time.
For recurring batches, retain forecasts alongside actual delivery times and the input mix. Repeated optimistic misses mean the measurement or allowance needs revision. Do not turn one successful delivery into a promise for larger or harder batches.
On Nodus, the public Jobs guide describes following progress and retrieving outputs from a completed Job. Use those customer-facing steps to observe your own run and inspect its results. They do not replace task-specific acceptance checks or establish a completion-time commitment.
Can I estimate completion time from tokens per second?
Section titled “Can I estimate completion time from tokens per second?”It can support a rough estimate when token counts and measurement boundaries are comparable. It does not by itself account for rejected results, additional attempts, fixed overhead or the final unresolved records. Validate the delivery forecast with a representative pilot.
How much contingency should I add?
Section titled “How much contingency should I add?”There is no universal percentage. Base it on observed variation, input uncertainty and the consequences of missing the cutoff. If you lack that evidence, show a range and call the deadline provisional rather than presenting an unsupported confidence level.
What if the pilot leaves records unresolved?
Section titled “What if the pilot leaves records unresolved?”Keep them visible. Its accepted-record rate describes delivered results during that interval, not proof that every original will eventually succeed. Investigate the unresolved category before extrapolating to an all-records delivery promise.
When should I rerun the pilot?
Section titled “When should I rerun the pilot?”Rerun it after meaningful changes to the model, task, acceptance rule, input mix or intended capacity. A forecast belongs to the conditions measured, not just to a model name.
If you have a batch command and want to discuss running it on Nodus, book a conversation. Bring the delivery cutoff, input mix and pilot observations so the discussion starts with the result you need.
More from the blog
pricing8 min read
How much does it cost to fine-tune an LLM on cloud GPUs?
From about $2 for an 8B LoRA run to about $21 for a 70B QLoRA run, on 20M training tokens. One formula, six worked examples and the costs people forget.
Read the postpricing7 min read
Is fine-tuning an LLM still worth it, or has it been debunked?
Fine-tuning has not been debunked: studies show it is weak at adding facts and strong at behavior and narrow tasks. Evidence, a decision rule and cost math.
Read the post