<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/don-t-pay-for-the-same-step-twice-k1xvg0oxs" -->

---
title: Don't pay for the same step twice | daily.dev
description: Inngest introduces rerun-from-step, a manually triggered mechanism that lets developers re-execute a single step in a completed workflow run using memoized...
canonical: https://daily.dev/posts/don-t-pay-for-the-same-step-twice-k1xvg0oxs
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Don't pay for the same step twice | daily.dev
og:description: Inngest introduces rerun-from-step, a manually triggered mechanism that lets developers re-execute a single step in a completed workflow run using memoized...
og:url: https://daily.dev/posts/don-t-pay-for-the-same-step-twice-k1xvg0oxs
og:image: https://api.daily.dev/og/posts/K1XVG0OxS.png
og:image:alt: Don't pay for the same step twice
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Don't pay for the same step twice

**[Inngest Blog](https://daily.dev/sources/inngest)** · 6 min read · 0 upvotes · 0 comments

## Summary

Inngest introduces rerun-from-step, a manually triggered mechanism that lets developers re-execute a single step in a completed workflow run using memoized output for prior steps, rather than replaying the entire run from the start. This matters most for AI workflows chaining multiple model calls: prompt tuning, mid-pipeline debugging, and post-production corrections all become dramatically cheaper because unaffected upstream steps aren't re-executed and re-billed. The post walks through three worked cost scenarios showing 60%, roughly 50%, and two-thirds reductions in token spend, and also flags non-cost benefits like avoiding duplicate side effects (emails, charges), avoiding repeated rate-limit consumption, and avoiding repeated wall-clock delays from sleep/wait steps.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.inngest.com/blog/dont-pay-for-the-same-step-twice>

## Questions this post answers

### How does Inngest's rerun-from-step feature reduce costs for multi-step AI workflows?

Rerun-from-step lets a developer re-execute a single step in an already-completed run instead of replaying the entire workflow, reconstructing every prior step as memoized output and re-running only the selected step and everything after it. In a three-step example with $0.50 model calls, ten iterations tuning the last step cost $6.00 versus $15.00 for full reruns, a 60% reduction. It is invoked manually via dashboard, CLI, or REST API and works on runs that succeeded or failed.

_Teams iterating on AI pipeline costs can follow tooling changes like this via daily.dev._

### What is the difference between automatic retries and manual reruns in Inngest?

Automatic retries are triggered by a failure inside a run that is still in progress, using a preconfigured retry count. Manual reruns, via the rerun-from-step feature, apply to a run that has already finished, whether it succeeded or failed, and are triggered on demand from the dashboard, CLI, or REST API to test new input on a specific step without any failure required.

_Developers debugging durable execution workflows can track platform capabilities like this on daily.dev._

### Why does re-running a full AI pipeline from the start risk duplicate charges or emails?

A step that sends an email or charges a card, when rerun from the start, re-executes that same action on every iteration, producing a duplicate message or duplicate charge outside the system. Similarly, a step calling a rate-limited provider consumes that limit again on each full rerun, and steps with a sleep or wait add real elapsed time repeatedly, turning a one-step fix into a multi-hour process.

_Anyone hardening AI workflows against duplicate side effects can follow these patterns on daily.dev._

## Similar posts on daily.dev

- [How to Build AI Agents That Don’t Start Over When They Fail](https://daily.dev/posts/how-to-build-ai-agents-that-don-t-start-over-when-they-fail-hdtnqpnlp) · System Design Newsletter · 3 upvotes · 1 comments
- [All your workflows are about to be long running. Build for it.](https://daily.dev/posts/all-your-workflows-are-about-to-be-long-running-build-for-it--ff8epi154) · Inngest Blog · 0 upvotes · 0 comments
- [Durable AI Workflows 2026: Inngest, Trigger.dev, Vercel Workflow](https://daily.dev/posts/durable-ai-workflows-2026-inngest-trigger-dev-vercel-workflow-un2tgyyqs) · Alex CloudStar · 0 upvotes · 0 comments
- [Why your AI pipeline costs 10x more after the demo](https://daily.dev/posts/why-your-ai-pipeline-costs-10x-more-after-the-demo-loavt2qiu) · The New Stack · 0 upvotes · 0 comments
- [Every Stage Worked. The Bill Was Still Paid Twice](https://daily.dev/posts/every-stage-worked-the-bill-was-still-paid-twice-fbd07kla1) · Medium · 1 upvotes · 1 comments

---

Tags: [#inngest](https://daily.dev/tags/inngest), [#llm](https://daily.dev/tags/llm)

[View this post on daily.dev](https://daily.dev/posts/don-t-pay-for-the-same-step-twice-k1xvg0oxs)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Don't pay for the same step twice","url":"https://daily.dev/posts/don-t-pay-for-the-same-step-twice-k1xvg0oxs","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/don-t-pay-for-the-same-step-twice-k1xvg0oxs"},"datePublished":"2026-09-13T19:57:45.435Z","dateModified":"2026-10-15T02:25:09.364Z","description":"Inngest introduces rerun-from-step, a manually triggered mechanism that lets developers re-execute a single step in a completed workflow run using memoized...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/82f0685218cc7325a8346b65facd3150?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/82f0685218cc7325a8346b65facd3150?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Inngest Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Inngest Blog","logo":"https://media.daily.dev/image/upload/s--ieZKUa5y--/c_limit,w_256/f_auto,q_auto/v1789329423/logos/inngest?_a=BAMAMicg0","url":"https://daily.dev/sources/inngest"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/don-t-pay-for-the-same-step-twice-k1xvg0oxs","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"inngest,llm","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Inngest Blog","item":"https://daily.dev/sources/inngest"},{"@type":"ListItem","position":3,"name":"Don't pay for the same step twice"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/don-t-pay-for-the-same-step-twice-k1xvg0oxs#faq","mainEntity":[{"@type":"Question","name":"How does Inngest's rerun-from-step feature reduce costs for multi-step AI workflows?","acceptedAnswer":{"@type":"Answer","text":"Rerun-from-step lets a developer re-execute a single step in an already-completed run instead of replaying the entire workflow, reconstructing every prior step as memoized output and re-running only the selected step and everything after it. In a three-step example with $0.50 model calls, ten iterations tuning the last step cost $6.00 versus $15.00 for full reruns, a 60% reduction. It is invoked manually via dashboard, CLI, or REST API and works on runs that succeeded or failed. Teams iterating on AI pipeline costs can follow tooling changes like this via daily.dev."}},{"@type":"Question","name":"What is the difference between automatic retries and manual reruns in Inngest?","acceptedAnswer":{"@type":"Answer","text":"Automatic retries are triggered by a failure inside a run that is still in progress, using a preconfigured retry count. Manual reruns, via the rerun-from-step feature, apply to a run that has already finished, whether it succeeded or failed, and are triggered on demand from the dashboard, CLI, or REST API to test new input on a specific step without any failure required. Developers debugging durable execution workflows can track platform capabilities like this on daily.dev."}},{"@type":"Question","name":"Why does re-running a full AI pipeline from the start risk duplicate charges or emails?","acceptedAnswer":{"@type":"Answer","text":"A step that sends an email or charges a card, when rerun from the start, re-executes that same action on every iteration, producing a duplicate message or duplicate charge outside the system. Similarly, a step calling a rate-limited provider consumes that limit again on each full rerun, and steps with a sleep or wait add real elapsed time repeatedly, turning a one-step fix into a multi-hour process. Anyone hardening AI workflows against duplicate side effects can follow these patterns on daily.dev."}}]}
```

