How to Choose and Run Small Parameter Models: Instruction Following and Throughput in Practice

    This article explains how to select and operate small parameter models in a layered "large model plans, small model executes" architecture. It breaks model evaluation into two measurable dimensions—instruction adherence and execution throughput—and shows why excessive autonomy becomes a liability during implementation. It also outlines a four-stage workflow, the metrics to track, common pitfalls, and a practical checklist for running controlled experiments on your own codebase.

    1. The Real Question: What Are Small Models Actually Being Compared On?

    In a layered architecture where a large model handles planning and small models handle execution, the smaller models play the role of the builder: producing code, tests, documentation, and resource files in bulk according to a fixed specification. At this point, arguing about which model is “best” misses the point. Output quality is determined by two measurable things: instruction adherence and execution throughput. The first drives the rework rate; the second determines how much you can deliver per unit of time. Once you separate these two factors, model selection turns from a subjective impression into an engineering problem you can test.

    It is worth noting that, from a general-purpose perspective, lightweight models with multimodal understanding and image generation can eliminate external image-generation credits or the cost of deploying a local image model for asset-production tasks. That is a question of capability boundaries, though, and should not be conflated with pure code-execution ability.

    2. Dimension One: Instruction Adherence Is a Hard Constraint

    A counterintuitive but critical point: when a small model acts as the builder, too much autonomous initiative is a defect. It will take matters into its own hands—restructuring directories, swapping out the tech stack, adding abstraction layers nobody asked for—and end up conflicting with established engineering conventions.

    To judge instruction adherence, use a set of regression-style checks:

    • Does it restrict changes strictly to the specified directories and files?
    • Does it introduce dependencies not declared in the spec?
    • Does it follow the agreed naming, layering, and error-handling style?
    • Does it stop and report at boundary conditions instead of guessing at an implementation?

    An illustrative spec-constraint snippet:

    1. ## Build Constraints
    2. - Only files under src/order/ may be modified
    3. - No new third-party dependencies; standard library and locked versions only
    4. - All exported functions must include type annotations and docstrings
    5. - For branches not covered by the spec: stop coding and output a QUESTION list

    The quality of the spec file (MD) directly determines build quality. When the program architecture, tech stack, test boundaries, and acceptance criteria are written in enough detail, differences between small models shrink significantly—because the work is essentially grunt work, and the spec compresses the room for improvisation.

    3. Dimension Two: Throughput Determines the Total Timeline

    The second axis is speed. Even with ample credits, you would not use a heavyweight reasoning model to adjust the corner radius of a button. The reason is practical: heavyweight models tend to dispatch multiple sub-agents to investigate and think for long stretches, so you end up “wanting a small UI tweak but hiring an entire art studio.”

    The value of a small model is that it can pour out tokens in bulk on simple tasks. When running tests in batches, generating boilerplate code in batches, or fixing lint issues in batches, getting stuck in lengthy deep thinking with slow token output every round wastes three hours on waiting. From an engineering standpoint, watch for:

    • Time to first token and sustained output rate;
    • Streaming support, so you can fail early and get feedback early;
    • Stability under concurrency and behavior under rate limits;
    • Whether the context window covers the target files and the spec document.

    4. Layered Collaboration: Large Models Write Specs, Small Models Build

    The recommended approach is to fix the workflow into four stages: decompose → spec → build → verify. The large model handles decomposition and specs, small models handle bulk builds, and verification is handled by scripts and tests rather than another round of subjective model judgment.

    1. [Large model] Requirement decomposition + architecture decisions + generate SPEC.md
    2. ↓
    3. [Small model] Bulk-produce code/tests/assets per SPEC
    4. ↓
    5. [Toolchain] Formatting + static checks + unit and integration tests
    6. ↓
    7. [Loop] Package failed cases and feed them back; rerun only failed slices

    There is no single right pairing. Run small controlled experiments on your own codebase: fix the same SPEC, have each candidate model run through it, and measure first-pass rate, rework rounds, and wall-clock time. Let data replace impressions.

    5. Verification and Cost: Turning Subjective Feelings into Metrics

    Track at least four metrics: first-pass rate, average rework rounds, wall-clock time per task, and token cost per task. Acceptance criteria should be written as executable assertions—for example, a coverage threshold, zero static-check warnings, and all interface contract tests green.

    On the cost side, account for the full picture: external image-generation or inference credits, compute and operations for local models, duplicate billing from context assembly, and the human time lost to rework. If multimodal and generation capabilities are already built in, you can skip extra credit purchases and toolchain management—often a decisive factor in asset-heavy projects.

    6. Common Pitfalls and a Practical Checklist

    • Pitfall one: chasing a “smarter” small model. Divergence during builds is a risk, not an advantage.
    • Pitfall two: writing a vague spec and expecting stable output. Spec gaps get filled with guesses.
    • Pitfall three: looking only at unit price and ignoring the timeline. A slow, high-quality model costs more overall in batch scenarios.
    • Pitfall four: handing verification to the model’s self-assessment. Verification must be done by deterministic tools.

    Checklist: build a SPEC template; maintain a whitelist of allowed changes; wire in formatting and static checks; automatically feed failed slices back; re-test first-pass rate and throughput weekly against a fixed benchmark set. Stick with this process, and the selection question naturally converges to “which combination produces the least rework and runs fastest on my codebase.”