NEWS 7 min read

iFood’s $0.04 Runs Leave One Bill Uncounted

Across a fleet of 15,000-plus repositories, iFood pays an average of four cents for inference per run. What does it cost to turn a run into a usable result?

By EgoistAI ·
iFood’s $0.04 Runs Leave One Bill Uncounted

OpenAI’s November 24 case study puts a price on running GPT‑5.6 Luna inside iFood’s engineering platform: an average of US$0.04 in inference per run. For teams deciding whether to roll out coding agents across their own repositories, the figure makes experiments easier to budget and leaves a bigger question open: what does it cost to get a result someone can actually use? OpenAI’s iFood case study

Four cents buys the inference

OpenAI reports more than 25,000 completed tasks on iFood’s Remote Agents Platform. The more than 15,000 repositories describe the fleet the platform was designed to cover. The case study gives no count of distinct repositories with completed runs, so dividing tasks by repositories would tell you little about adoption. A security tool might revisit the same active project repeatedly while many others wait for a relevant job. The average also combines whatever mix of tasks iFood ran. The breakdown by task type and the spread between cheap and expensive runs are undisclosed. OpenAI’s iFood case study

For a platform team, the number is a starting point for a budget. A run that diagnoses a problem and exits may be exactly what an engineer wanted. A run that times out after producing a partial patch can leave the engineer with the original job and a fresh diff to read. Both consumed inference. To price a rollout, keep those outcomes visible and count the runs that never produced a usable artifact. Otherwise, the average can look better precisely when the workflow is handing more work back to people.

One API call starts a lot of machinery

Teams submit a prompt and environment requirements through an internal REST API, then retrieve the result later. A remote runner prepares a working branch and loads the available skills before Luna works inside an isolated Ubuntu sandbox. The platform handles publication of the merge request and artifacts at the end. iFood’s engineers can follow a job’s progress, but a developer can also send off a routine task and return to it after a meeting. OpenAI’s iFood case study

That design gives teams a place to see where the money and time went. If jobs keep stalling before the model starts, look at runner capacity, repository setup and package access. If the agent regularly finishes and the verification stage drags, measure the time spent running checks and collecting evidence. If the results arrive promptly and sit untouched, follow the handoff to the people who requested them. A single end-to-end timer can tell you the queue is slow. Timing each stage tells you where to work on it.

The same setup makes permissions an operating cost. An internal standards scan may need only repository read access and a place to return a report. A dependency update may also need scoped access to a private package registry and permission to publish a working branch. iFood’s case lists integrations including GitLab and Nexus and leaves the per-task credential design undisclosed. For teams planning a rollout, recording permission failures separately from model failures makes those boundaries auditable. It also shows when a job profile needs fixing before another attempt burns time and lands in the same dead end. OpenAI’s iFood case study

A tidy response is the start of the handoff

After a session, iFood uses OpenAI’s Structured Outputs to process the result into a predefined format. That lets the calling system read an expected set of fields from both positive and negative outcomes. OpenAI’s documentation describes a guarantee about the response’s shape. A result can satisfy the schema and still contain a mistaken conclusion about whether a test ran or a dependency resolved. OpenAI’s iFood case study · OpenAI Structured Outputs documentation

For a dependency update, a useful handoff could include the target package and version, the exact commit the job checked, and links to the resulting test logs and dependency report. The status should distinguish a failed check from one that never ran. GitLab’s job artifacts can preserve reports and logs from a pipeline, giving a reviewer something to inspect alongside the model’s account. With evidence attached to the commit it describes, the engineer can see when a branch has moved on and needs another verification run. GitLab job artifacts documentation

Treat an inability to proceed as a legitimate result, too. A lockfile that needs a maintainer decision can come back with the exact dependency conflict and the checks already attempted. That can save the maintainer from repeating the investigation. The same status is less helpful if it arrives as an unexplained failure that triggers a rerun. Decide which outcomes are worth returning to a person and which are transient enough to retry. Otherwise, routine retries and useful escalations end up in the same pile.

The bill runs through verification

iFood’s internal security product was an early user of the platform. It looks for vulnerable dependencies across the repository fleet and attempts fixes. OpenAI says the number of vulnerabilities fixed more than doubled after the migration. The case study gives no baseline count, comparison window or full operating cost. That makes the outcome worth tracking in a pilot, while leaving the cost of reproducing it an open question. OpenAI’s iFood case study

For a comparable rollout, tally inference, runner time, verification and hands-on engineering time for a defined class of work. Keep retries and abandoned attempts in the numerator. In the denominator, count the outcome the team actually wanted, such as distinct dependency issues resolved and verified. If a job was meant to deliver an analysis, use reports that the requester could act on. Counting every published patch would make a workflow that keeps generating replacements for the same failed change look productive.

Elapsed time and engineering time are worth recording separately. A queued job can take longer on the clock and still free its requester to do other work. A fast run can demand a long interruption if an engineer has to reconstruct the environment and work out what the agent touched. For review, count the time to establish what happened as well as the time to read the diff. That is where a cheap run with poor evidence can rack up a surprisingly expensive bill.

Expand by task before expanding by repository

Start with a recurring job whose result already has a clear definition. A patch-level dependency update in services with a working test pipeline is a tractable candidate. Track it separately from major upgrades in projects with manual release validation. Those groups can have very different retry rates and review costs even if they use the same model and run on the same infrastructure. Compare each with the way the team handled that work before the pilot, using comparable repositories and the same definition of completion.

For the next batch, look at failure reasons alongside the cost per verified result. If many jobs stop at a missing registry grant, fix the job profile before paying for more attempts. If verification is the bottleneck, improve the evidence handoff before adding repositories to the queue. Where the same job already comes back with a result a requester can use, the economics are easier to carry into another team. Four cents makes a trial easy to start. The cost of finishing it tells you where to go next.

Frequently asked questions

What does iFood’s $0.04 figure cover?

It is the reported average inference cost per platform run. The case study gives no all-in cost per verified result.

Did every iFood repository receive an agent run?

The case study describes coverage across more than 15,000 repositories and gives no count of distinct repositories with completed runs.

Which model did iFood use?

OpenAI says the platform used GPT‑5.6 Luna for all reported runs.

Share this article

> Want more like this?

Get the best AI insights delivered weekly.

By subscribing, you agree to our Privacy Policy. You can unsubscribe at any time.

> Related Articles