Two Complex Tasks Exhausted a Monthly Quota: A Deep Test of Next-Generation LLM Planning

    A practical experiment used a large language model to plan and build a high-fidelity spreadsheet prototype at very low cost. The results reveal how task decomposition, architecture design, documentation, and cost control shape the real-world performance of modern AI coding tools—and why planning may matter more than one-shot code generation.

    From “One-Click Generation” to Planning First

    The release of a new generation of large language models has sparked extensive discussion among developers. Many demonstrations focus on flashy scenarios such as “generating a complete game from one sentence” or producing a 3D demo in a single conversation. These examples are attention-grabbing, but for developers concerned with real-world engineering, a more valuable capability is the model’s planning ability.

    Planning ability refers to whether a model can approach a complex software system like an experienced architect: first determining how the system should be built, and only then implementing it.

    This article examines a specific experiment: using a large language model as the planning core to recreate a high-fidelity prototype of a classic spreadsheet application at very low cost. The goal was not simply to build a spreadsheet that runs. Instead, the project was designed to explore the current limits of large language models in task decomposition, architecture design, and documentation.

    As the gap between models in code generation continues to narrow, planning ability may become the more important factor separating them.

    1. Why Use a Spreadsheet as the Test Case?

    A suitable benchmark should meet three conditions: it should be sufficiently complex, have clear evaluation criteria, and be based on a mature reference product. Spreadsheet software meets all three.

    First, its complexity has a clear public reference point. The codebases of mainstream desktop operating systems contain tens of millions of lines, while a mature spreadsheet application is commonly estimated to contain at least millions of lines of code. Such a product involves many nontrivial subsystems, including a formula parser, dependency-graph computation, rendering virtualization, and collaborative editing. Even a simplified version cannot be reliably produced in a single conversation.

    Second, its evaluation criteria are easy to understand. The quality of the visual reproduction can be judged by comparing the interfaces side by side. Formula correctness can be tested with a few boundary cases. This “what you see is what you get” property makes spreadsheets an effective test of a model’s engineering capabilities.

    Third, spreadsheets have historical value as a reference benchmark. In earlier rounds of testing, simple spreadsheet applications intended only for demonstrations often exposed weaknesses in open-source models. Some formula engines could not handle circular references, while others had serious flaws in cell-selection interactions. Producing a stable, usable prototype is therefore a meaningful capability threshold.

    2. The Core Methodology: Separate Planning from Implementation

    When using AI coding tools, many developers immediately ask the model to “write the code.” This may work for toy projects, but it is highly likely to fail when the reference product operates at a million-line scale. Over hundreds of modification cycles, the model can gradually lose context, introduce inconsistent styles across modules, and produce a collection of fragmented, difficult-to-maintain code.

    A more reliable approach is a two-stage pipeline.

    Stage One: Consolidate the Plan

    The model with the strongest planning ability is responsible for requirements analysis and architecture design. Its output is not code, but a set of local design documents. These documents should include at least:

    • A feature scope list: Clearly define what the first version will and will not do. For example, the initial release might cover cell editing, commonly used formulas, format painting, and row or column insertion and deletion.
    • Module boundaries and interface contracts: Define the responsibilities of the formula parser, dependency engine, rendering layer, and state management system.
    • Data structure definitions: Describe how workbooks, worksheets, and cells are stored, as well as why styles and values should be modeled separately.
    • Milestone decomposition: Break the overall goal into iterations that can be independently reviewed and accepted, with explicit completion criteria for each one.

    Stage Two: Implement from the Documentation

    A lower-cost model then implements the system module by module according to the design documents. Because the interface contracts have already been established, the implementation model only needs to operate within a local context. This significantly reduces the likelihood of hallucinations and architectural drift.

    This division of labor reflects the cost structure of a real software team. The architect’s time is most expensive, so the strongest model should be used for decisions with the highest impact. More predictable implementation work can be assigned to a lower-cost resource.

    In this experiment, the planning stage consumed a relatively small share of the quota, but it determined most of the project’s outcome.

    3. Cost Control: The Bill from One Experiment

    The experiment used a subscription-based AI coding service with a limited monthly quota. The final result was clear: the spreadsheet prototype alone consumed more than half of the monthly allocation.

    That figure is informative in itself. High-fidelity replication tasks require substantial reasoning resources. Behind the convenient narrative of “one-click generation” are hundreds of tool calls and repeated rounds of context-based reasoning.

    Several reusable cost-control lessons emerged:

    1. Start with planning documents. Rework is a major cost sink. A clear interface contract can eliminate many cycles of implementation followed by complete replacement.
    2. Provide context in milestone-sized batches. Do not keep the entire codebase in the conversation indefinitely. For each iteration, provide only the relevant modules and documentation sections.
    3. Use expensive models only for expensive decisions. Naming, directory structure, and algorithm selection can be assigned to a stronger model, while boilerplate code and styling adjustments can be handled by a less expensive model.
    4. Establish a runnable minimum skeleton early. The first iteration should be demonstrable end to end, even if it supports very few features. This allows deviations to surface as early as possible.

    4. How to Evaluate Planning Quality

    A model-generated plan can be evaluated across four dimensions:

    • Boundaries: A strong plan explicitly states what it will not implement and explains why, rather than continuously adding features.
    • Foresight: Does it identify known challenges in advance, such as cycle detection in a formula dependency graph, rendering performance for large selections, and command-stack design for undo and redo?
    • Verifiability: Does each module include executable acceptance criteria rather than vague statements such as “provide a good user experience”?
    • Consistency: Are terminology and data-structure names used consistently throughout the documents? This directly reflects the model’s stability during long-context reasoning.

    In this experiment, the planning documents proposed a classic approach for the formula engine: perform a topological sort before calculation and report an error when a cycle is detected. The rendering design also reserved extension points for virtual scrolling.

    These decisions closely matched the architecture of mature software. They suggest that the model’s planning was not merely a collection of generic templates, but reflected genuine system-design capability.

    5. Further Thoughts: Cross-Checking Aesthetics and Engineering

    The experiment also examined the upper limit of a model’s visual judgment. Existing community demonstrations have shown that newer models can use drawing programs to create highly realistic images through painstaking, stroke-by-stroke construction.

    We applied a similar idea to a practical scenario by asking the model to generate and refine visuals for a pixel-art game scene. The results indicated that the model’s understanding of color layering, lighting, and atmosphere was approaching the level of professional art references.

    This suggests that planning ability is not limited to software architecture. It also involves the model’s internal representation of what constitutes a good result.

    Conclusion

    When two complex tasks can exhaust a monthly subscription quota, we see both the current cost reality of large language models and the surprising potential of their planning abilities.

    For developers, the more important lesson is not to chase the magic of “generation from a single sentence.” Instead, build a workflow driven by planning documents: let the strongest model make the most expensive decisions, and use engineering discipline to control everything that follows.

    In the era of large language models, this may be one of the most reliable paths to improving software productivity.