The One-Shot Demo and the Iterative Build, Compared Honestly

Every few weeks a new clip circulates: a complete racing game, a polished dashboard or a working desktop tool, generated from a single prompt by the newest flagship model. Some posts mention, almost in passing, that the run took a couple of hours and a large share of a weekly usage allowance. Meanwhile, developers who describe themselves as vibe coders build features one request at a time and argue that this is the only sane way to get maintainable software.
This comparison is for builders deciding how to work with AI coding tools on their own projects. It looks at both approaches on output quality, cost, control, debugging, learning and fit for different kinds of projects, and ends with a practical hybrid. It applies whether you use a top Claude model, another commercial model or a free open model like free-ai.
Frequently asked questions
What is a mega prompt?
It is a single, long request that describes an entire application, often with detailed requirements, and asks the model or agent to build all of it in one go, sometimes running for a long time autonomously.
What does building in small steps mean?
You ask for one feature or change at a time, test it, commit it and then ask for the next. The model works in short, reviewable increments rather than one long run.
Which approach produces better code?
For small, self-contained apps, a strong model can produce good results either way. For anything that will grow, small steps usually produce code that is easier to understand, test and change.
How do the costs compare?
A mega prompt concentrates cost in one long run, which can consume a large share of a usage allowance. Small steps spread cost out, and failed steps are cheap to redo, though many steps also resend context repeatedly.
Why do single-prompt demos look so impressive?
They show the best run, with a well-crafted prompt, on a task that suits the model. Retries, failed runs and later fixes are rarely shown.
Does a mid-size open model handle mega prompts?
Less well than top commercial models. Long autonomous builds magnify weaknesses in planning and consistency, so smaller models benefit even more from small, checkable steps.
Is there a middle ground?
Yes: write a detailed specification up front, let the model plan the work, then execute the plan step by step with tests and commits between steps.
The two approaches in brief
With a mega prompt, you invest effort up front in one detailed description: features, style, structure, constraints. The model or agent then works through it, often for a long time, producing a complete result. Your role is mostly to write the prompt and review the outcome.
With small steps, you keep a running conversation or a series of agent tasks, each small enough to verify in minutes. Your role is active throughout: choosing the next step, testing, committing, and steering when something goes wrong. The result emerges gradually.
Where mega prompts come from
Long autonomous runs became practical as models improved at planning and tool use. Vendors highlight longer independent work as a feature of new releases, and demos follow.
Where small steps come from
Iterative development predates AI. Short cycles of change, test and review are how most teams have built software for decades.
Quality of the result
On self-contained projects, such as a small game, a single-page tool or a prototype, a top model given a good mega prompt can produce strikingly complete results. The code may be consistent because one plan guided it all. When the prompt is precise and the model is strong, this can genuinely beat a messy step-by-step history.
Quality problems appear when the project is larger or the requirements are fuzzy. A long run can lock in an early wrong decision and build everything on it. Without checkpoints, you discover the problem only at the end, when untangling it is expensive. Small steps catch wrong decisions early, at the cost of a less unified design unless you plan deliberately.
Unified design versus early correction
Mega prompts favour coherence; small steps favour correctness. Which matters more depends on how well you understood the problem at the start.

Cost and usage limits
A long autonomous build is expensive in one burst. It may consume a large fraction of a subscription's weekly allowance or a substantial amount of API credit, and if the result is not what you wanted, you pay again for the next attempt. On metered plans this is a real risk; check your plan's current limits before starting a long run.
Small steps spread cost out and make failures cheap: redoing a ten-minute step costs little. They have their own overhead, though, because every step resends context. Keeping sessions focused and summarising history keeps that overhead down; our article on why a bigger model can use fewer tokens explains how turns and context drive the total.
Budget the long run
Before starting a one-shot build on a metered plan, decide how much of the allowance you are willing to spend and watch the meter during the run. If the agent is still exploring after a quarter of the budget, stop it, refine the prompt and restart, rather than letting it finish a run that is already heading in the wrong direction.
- Mega prompt: high cost per attempt, low overhead per feature, expensive failures.
- Small steps: low cost per attempt, context overhead per step, cheap failures.
- Both: cost per accepted result is the number to compare, not cost per call.
Control and debugging
Control is where the approaches differ most. With small steps you see every change, understand roughly why it was made and can reject it. When something breaks, the last commit is the obvious suspect. With a mega prompt, you receive a large finished codebase and must understand it after the fact, which can take longer than building it gradually.
Debugging a one-shot result often means asking the model to fix issues in code neither of you fully reviewed. That works for small apps, but on larger ones fixes can introduce new problems, and you may end up rewriting large parts. Version control helps in both approaches, but it is far more useful when history consists of many small, meaningful commits.
Reviewable diffs
A diff of fifty lines can be read in a minute. A diff of five thousand lines is effectively unreviewable, so you trust it or you do not.
Bisecting problems
With many small commits you can find the change that introduced a bug by testing a few points in history. With one giant commit there is nothing to bisect.

What you learn along the way
If you are building partly to learn, small steps win clearly. Each step is a chance to ask why the model did something, to read the code and to notice patterns. After a few weeks you understand your project and have learned transferable skills. A mega prompt teaches you mostly how to write mega prompts.
This matters even for experienced developers. People who describe moving from engineering to mostly prompting often note that their effectiveness still depends on judging the output, which requires understanding it. For non-programmers, the stakes are higher; see whether a non-programmer can ship an MVP with AI help.
Understanding is an asset
When the project needs a change in six months, the person who understands the code can make it quickly. That is worth more than a fast first version.
Writing a mega prompt that works
If you do choose the one-shot route, the prompt decides the outcome. Describe the goal, the features in priority order, the technology, the file structure, constraints on dependencies and how you will test the result. Ask the agent to write a plan first and to stop at defined checkpoints, which turns a blind run into a supervised one.
Keep scope realistic. Single-prompt successes are usually small games, tools and prototypes, not multi-service products. A prompt that asks for an entire platform tends to produce a large, shallow result with many features half done.
Ask for a plan first
A plan is cheap to read and easy to correct. Fixing a wrong assumption at the plan stage costs a sentence; fixing it in finished code costs a rewrite.
Goal: a single-page budget tracker in plain HTML, CSS and JavaScript.
Features (in priority order):
1. Add an expense with date, amount and category.
2. Show a list with totals per category.
3. Save data in localStorage.
4. Export to CSV.
Constraints: one index.html file, no external libraries, works offline.
Process: first write a short plan. Then build features 1-2 and stop with a summary.
After approval, build 3-4. Finish with a list of known limitations.
Running small steps without losing momentum
The usual complaint about small steps is that they feel slow. The cure is a backlog: a short list of upcoming steps you maintain alongside the code. After each step, you or the model pick the next item, so there is no time lost deciding what to do. Each step should end with a test or a quick manual check and a commit.
Agents that stop after every step to ask permission can make this tedious, but that is configurable; our guide to agents that keep asking permission shows how to grant routine approvals while keeping real checkpoints.
Right-sized steps
A good step changes one behaviour and touches a handful of files. If you cannot describe how to test it in one sentence, split it.
Summaries between sessions
End each session with a short summary of the current state and next steps. Starting the next session from that summary keeps context small and focused.
Model choice for each approach
Mega prompts lean heavily on the model's ability to plan and stay consistent over a long run. Top commercial models are clearly stronger at this than mid-size open models, and most impressive one-shot demos use the newest flagships. If you want to try the one-shot approach on anything ambitious, a strong commercial model is the realistic choice.
Small steps are more forgiving. Each step is short and checkable, so a smaller model can contribute usefully, especially for boilerplate, tests and simple features. The keyless API on this site offers free-ai, an independent open-weight model of about 35B parameters with a 32,000-token context; it is not a Claude model and this site is not affiliated with Anthropic. It works well for small steps and for experimenting with prompts before spending paid credit.
Mixing models across steps
In a stepwise build you can use a strong model for planning and tricky steps and a free model for routine ones, since each step stands on its own.

The verdict: a planned, stepwise hybrid
For most real projects, the best approach combines both. Write a detailed specification as you would for a mega prompt, ask the model to produce a plan, review the plan, then execute it step by step with tests and commits. You get the coherence of up-front design and the control of iterative work.
Use pure one-shot runs for throwaway prototypes, game jams and exploring what a model can do. Use pure small steps when learning or when requirements are unclear. And whatever you choose, judge the result by whether you can maintain it next month, not by how impressive it looked on the first run.
When one-shot wins
Small, well-defined, disposable projects where speed matters more than maintainability, and where a strong model and a generous budget are available.
Send a first prompt from the chat box on the home page: no key, no account and no card, just your browser.