Agentic Coding with Domestic Chinese LLMs: Practice and Observations on Subscription-Based Coding Services

    This article covers how agentic coding is changing AI-assisted development and what that means for model choice. It explains the trade-off between deep reasoning and response speed, why keeping context usage under about half the window matters, and how to reduce tool and cost overhead through lean tool setups, model routing, and prompt caching. It also compares pay-as-you-go API pricing with subscription plans to help developers choose a billing model.

    1. Background: Agentic Coding Is Becoming a New Development Paradigm

    Over the past year, AI-assisted programming has changed noticeably. Early completion-style assistants mainly helped developers write code. Today, the dominant approach is Agentic Coding. A developer gives the model a goal, and the model works inside an agent framework to break the task into steps, read and write files, run commands, execute tests, and fix errors until the task is complete.

    This paradigm places different demands on a model than simple code completion does. It tests more than the quality of a single generated snippet. It also depends on:

    • Long-horizon planning: whether the model can turn a vague requirement into executable steps;
    • Tool use and self-correction: whether the model can read logs, trace errors, and revise its changes;
    • Sustained memory across many turns: whether the model keeps the goal in view after dozens of interaction rounds.

    Recent rapid iteration among leading domestic Chinese models for agentic programming deserves attention from developers. Based on personal experience and community feedback, some domestic models come close to, and in certain scenarios exceed, the mid-tier models of leading international providers when used inside an agent framework for coding. This comparison applies only to the combination of an agent framework and coding. In traditional IDE-embedded completion scenarios, the differences in experience remain clear. The lesson is that model capability is closely tied to how it is used, so model selection must match your own workflow.

    2. The Cost of Long Chains of Thought: Trade-offs Between Capability Ceiling and Response Speed

    Newer models generally extend their chain of thought (CoT) and multi-round reflection through post-training. In essence, they trade more thinking at inference time for a higher ceiling on task completion. This has two direct consequences.

    Advantages: Success rates improve noticeably on complex refactoring, cross-file changes, and hard bug localization. The model is less likely to stop halfway or to make confidently wrong edits.

    Drawbacks: Inference latency increases. A long chain of thought means more generated tokens and longer waits. If the provider has limited compute, queuing and rate limiting during peak hours make the experience feel even slower.

    Developers should route tasks by complexity:

    • High-complexity tasks (architecture changes, difficult fixes): accept the wait and use a strong reasoning model;
    • Low-complexity tasks (renaming, small functions, copywriting): switch to a lightweight model or write the code by hand to avoid paying the cost of long reasoning for simple problems.

    3. Context Management: The Core Skill That Determines Success in Agentic Coding

    3.1 Understanding the Context Sweet Spot

    A model’s effective working range does not equal its nominal context window. In practice, once context usage passes a certain level, usually more than 50%, the model’s attention to earlier content weakens. The model may forget the original goal or repeat mistakes. This is often called “context rot.” Rather than filling a 200K window, keep the effective working load within half of the window. This range can be called the sweet spot.

    3.2 Compacting Proactively and Starting New Sessions on Time

    In agentic coding tools, two habits help:

    1. Monitor context usage. Community plugins can display the share of tokens consumed in real time. When usage exceeds 50%, intervene proactively.
    2. Compact or restart in time. Use the built-in compaction command (such as the /compact-style feature) to summarize the history, or start a new session directly. Write key conclusions into a project-level notes file, including architecture decisions, completed module lists, and remaining TODOs, so a new session can pick up the work quickly.
    1. # Recommended session lifecycle in practice
    2. New task → new session
    3. ↓ context > 50%
    4. Write persistent notes (decisions / progress / constraints)
    5. ↓
    6. /compact or start a new session → continue with the notes

    3.3 Streamline the Toolchain: Less Is More

    A common mistake is attaching many MCP services and Skills to the agent. Each added tool has a description that consumes part of the system prompt’s context budget. This reduces the space available for the actual coding task and can introduce noise in tool selection. A practical rule is start bare, mount on demand. Keep a tool only if the current task uses it repeatedly. This applies the idea of Context Engineering to a personal workflow: spend the limited context budget on the most important information.

    4. Routing and Caching: Two Levers for Cost Optimization

    When agentic coding is used at scale, cost control relies on two technical levers.

    Model routing. Add a routing proxy between the client and the service. The proxy sends each request to a model tier that matches its complexity, with strong models handling complex tasks and lightweight models handling routine requests. This keeps the capability ceiling while lowering the average cost significantly. Mature open-source routing solutions already exist in the community, and they are inexpensive to set up.

    Prompt cache friendliness. Some providers detect whether a request is routed to a model that is not their own. They may then inject extra content that invalidates the prefix cache, which wastes quota. Ordinary developers can hardly avoid this entirely. The basic principle is to keep the system prompt prefix stable and avoid frequent changes to the tool list, so that cache hits deliver the greatest benefit.

    5. Subscription vs. Pay-as-You-Go: Which Is More Cost-Effective

    As “Vibe Coding” becomes more common, developers’ AI programming consumption has risen sharply, which makes the billing model choice important.

    Dimension Pay-as-you-go API Subscription Plan
    Best suited for Low-frequency or bursty needs Light to moderate daily use
    Cost predictability Poor, with volatile bills Good, with a fixed monthly fee
    Heavy usage Higher unit price, but no cap Low marginal cost, but may be rate-limited

    Entry-level subscription plans at many platforms have started imposing purchase limits. This suggests that these plans bring providers little profit, or even operate at a loss. Subscription-based coding services may eventually evolve into tiered systems similar to mobile phone plans. A basic tier would cover personal daily use, a professional tier would serve heavy developers, and an enterprise tier would offer higher concurrency and dedicated compute.

    Recommendation: Track your average daily token consumption for one week. Then compare it with your plan’s quota and the API unit prices to calculate the break-even point. At moderate or higher usage intensity, a subscription is almost always the better option.

    6. Conclusion

    Competitiveness in agentic coding = model capability × context management × toolchain design × cost strategy. Models iterate quickly, and today’s best choice may be outdated in three months. However, these four foundational capabilities remain reusable engineering skills over the long term. Developers should invest their effort in transferable methods rather than tie themselves to one provider’s specific product.