Thinking Tiers in Code Generation: Observations from an SVG Emoji System Test

    This article examines how different thinking tiers in AI coding tools affect code generation. It uses a test that asks a model to build an animated SVG emoji system in HTML, compares low, medium, and high tiers across first-pass writing and verification fixes, explains a total cost model, and offers practical guidance on task routing, acceptance criteria, incremental validation, and human review.

    1. Background: Thinking Tiers Are More Than a Speed Switch

    In intelligent coding tools, more models now offer “thinking” or “reasoning budget” tiers. On the surface, these tiers look like a simple trade-off between speed and quality: lower tiers respond faster, while higher tiers take longer but produce better results. In real code generation tasks, however, a thinking tier affects more than response time. It also changes how the model organizes its work, how deeply it works through solution options, its verification strategy, and the likelihood of rework.

    This article analyzes a representative test built around one task. The model was asked to generate a minimalist, SVG-animated emoji system as an HTML page. The page must include at least 12 expression states, including anger, disgust, fear, sadness, surprise, happiness, and calm. Each state needs dynamic behavior, smooth transitions between states, and an automatic drifting switch mechanism. The task covers front-end structure, animation design, state management, interaction logic, and visual design. It is well suited for observing how different thinking tiers behave in two phases: first-time writing and verification with fixes.

    A thinking tier can be understood as a strategy for allocating test-time compute, meaning how much internal reasoning the model performs before giving its final answer. A higher tier does not guarantee linear gains in quality. A longer visible thinking process also does not necessarily mean higher actual reasoning cost. Some tools show only truncated thinking summaries, so visible thinking length alone cannot reliably indicate which tier was used.

    2. Typical Behavior of the Three Tiers

    In one test, the low tier’s initial output was very draft-like. It contained only a single-digit number of lines of code, and the execution showed a clear tendency to finish quickly. A draft is not a flaw in itself. A short draft helps validate a direction quickly. In this case, however, the low tier’s initial approach went clearly off track. This led to extensive re-editing, re-verification, and fixes, so total cost and time went up. The low tier saved on first-pass generation cost but shifted that cost to the repair stage.

    The medium tier comes closest to a sweet spot. Simple problems finish reasonably quickly without being too shallow in structure. Complex problems receive longer engineering reasoning. In this test, the medium tier produced several hundred lines of code. The output covered the key parts: page structure, expression definitions, switching logic, and animation control. For most everyday development tasks, the medium tier offers a good balance between first-pass quality and total time.

    The high tier tends to produce a longer solution design and more deliberation over details. It may discuss the overall plan at length, get stuck on implementation details, or reject part of its approach and decide on a new solution. In this test, the high tier output came close to a thousand lines. Its execution was more laborious, but its execution time was not an order of magnitude longer than the medium tier’s. The high tier also failed on one specific bug and needed small patches. The high tier is therefore not a cure-all. It fits high-risk, multi-constraint, architecturally complex, or verification-heavy tasks. It should not be the default choice for every task.

    Tier Typical Behavior Strengths Risks Suitable Scenarios
    Low Quick drafts, short output Low latency, fast direction validation Complex tasks may fail, high repair cost Small single-file changes, clear minor issues, quick drafts
    Medium Structured reasoning, moderate depth Balance of quality and cost Very complex tasks still need manual decomposition Most everyday code generation, page and module implementation
    High Long solution design, repeated detail deliberation More stable under complex constraints Costly in time and compute, may over-engineer Architecture design, multi-file refactoring, high-risk verification

    3. Cost Model: Total Cost Depends on Both First-Pass Writing and Verification Fixes

    Evaluating a thinking tier should not rely only on how fast the first output arrives. A more reasonable cost model is:

    1. Total cost = first-pass generation cost + verification and repair cost + rework cost + manual review cost

    The low tier has the lowest first-pass generation cost. If its initial approach is wrong, however, verification and repair costs increase significantly. The medium tier is slightly slower on the first pass, but its first-pass success rate is higher, so its overall cost is usually lower. The high tier adds reasoning cost. It may reduce rework, but it can also lead to over-engineering, and it cannot fully prevent local bugs. For creative tasks, the high tier does not necessarily produce the best visual result. Human selection and experiments with multiple options remain important.

    4. Practical Recommendations

    First, route tasks by complexity. Simple bug fixes, style adjustments, and single-function changes can use the low or medium tier. Standard pages and modules suit the medium tier. Raise the tier only for tasks that involve multiple files, architectural changes, complex state machines, or strict verification requirements. The highest tier should serve as an expert review at key decision points, not as the default.

    Second, define acceptance criteria before generation. For the SVG emoji system, the prompt should state whether all 12 states are present, whether transitions are smooth, whether automatic drifting is random and recoverable, whether the console shows no errors, and whether the animations affect performance. Clear criteria lower the chance that the low tier goes wrong, and they leave less room for the high tier to over-engineer.

    Third, validate in small steps rather than relying on one large generation. For example, first generate a static expression skeleton, then add animation, then add automatic switching, and finally tune the visuals. Run checks at each step, keep a working version, and roll back quickly when a step fails. This avoids repeated patching on a flawed approach.

    Fourth, keep humans involved in creative work. Low-tier drafts sometimes show potential, but they require multiple rounds of experimentation and human selection. High-tier output is not always the best in visual terms. Subjective qualities such as animation rhythm, expression exaggeration, and color style should be decided through side-by-side comparison of options and human review.

    1. if task.is_simple_and_well_scoped:
    2. level = "low_or_medium"
    3. elif task.is_module_level_with_clear_acceptance:
    4. level = "medium"
    5. elif task.is_complex_or_high_risk:
    6. level = "high_with_human_review"
    7. else:
    8. level = "medium"
    9. run_task(level)
    10. validate_early()
    11. rollback_on_failure()

    5. Conclusion

    The main value of thinking tier grading is that it lets teams assign different reasoning budgets to different tasks. The low tier suits quick drafts and clearly scoped small tasks, but on complex tasks, an off-track initial approach can raise repair costs. The medium tier is the sweet spot for most scenarios. The high tier suits complex engineering reasoning, but it takes more time and compute, and it does not guarantee the best creative result. In practice, teams should build a workflow around task layering, upfront acceptance criteria, small-step validation, and human review. They should measure success by first-pass success rate, number of repair rounds, total latency, and manual intervention, rather than by visible thinking length or single-generation speed.