Coding Capability Leaps in Large AI Models: The Business Logic Behind Emerging Security Skills

    This article explains why one AI model company shifted its revenue from project-based deployments to API subscriptions, and how the gains in coding ability connect to new AI security capabilities. It covers the four dimensions used to evaluate AI coding skill, the technical drivers behind recent improvements, how AI is applied to code auditing and security testing, and practical guidance for developers and enterprises choosing AI services.

    1. A Financial Report That Fell Short and a Shift in Business Model

    Recently, an AI model company published its first interim results since going public. On the surface, the numbers fell short of expectations. Revenue grew sharply year over year, but came in about 30% below the market consensus, and the net loss widened over the period. Even so, several international investment banks raised their target prices on the same day the results were released. Market reaction ran opposite to the surface financials.

    The root of this contradiction is a fundamental change in the company’s revenue structure. In the first half of the year, revenue from its open platform and API subscription business rose more than 27-fold year over year. Its share of total revenue jumped from about 15% in the same period last year to over 86%. Meanwhile, revenue from localized deployment, a project-based business, fell about 20% year over year. Its share dropped from over 70% a year earlier to less than 15%.

    The common conclusion from the investment bank research is that the revenue shortfall came from the company’s deliberate retreat from project-based business, which has low gross margins and little compounding value. The company moved toward subscriptions and API calls, which carry higher gross margins and recurring revenue. Annual recurring revenue (ARR) rose from about US$250 million at the start of the year to US$1.6 billion six months later, a step change within a few months.

    2. The Core Difference Between the Two Business Models

    To understand the significance of this shift, it helps to first clarify how the two models differ.

    Project-based deployment (localized deployment):

    • Contracts are signed per project, and revenue is recognized once.
    • Delivery depends on engineering staff, so marginal costs are high.
    • Revenue rarely compounds, and the customer relationship typically ends when the project does.
    • Customization is high, and product standardization is low.

    API calls and subscriptions:

    • Billing is continuous, based on call volume or subscription periods, which makes revenue more predictable.
    • Marginal costs approach zero, and scale effects are significant.
    • Customer stickiness grows with usage depth, and a data flywheel keeps turning.
    • Products are highly standardized, and iteration is fast.

    From a technology perspective, this shift is not only a commercial strategy adjustment. It is a natural result of AI models reaching a certain level of maturity. Only when a model’s capabilities can support standardized services can a vendor move from labor-intensive custom delivery to platform-style self-service. Conversely, the success of the API model shows that the model itself has become a standardized capability that can be called at scale, without deep per-customer adaptation and custom development.

    3. The Leap in Coding Capability: From Code Completion to Engineering-Level Understanding

    The rapid growth of the API subscription model rests on a qualitative leap in the models’ coding ability. This is not only the result of larger parameter counts. It also reflects deeper understanding of code semantics, project structure, and engineering context.

    3.1 Four Dimensions for Evaluating Coding Ability

    Industry evaluation of AI coding ability has expanded from a single metric, code generation accuracy, to four dimensions:

    Dimension What Is Evaluated Key Metrics
    Code generation Producing complete functions or modules from requirements Compilation pass rate, test pass rate
    Code comprehension Explaining existing code logic and locating defects Q&A accuracy, false positive rate
    Refactoring Improving structure without changing behavior Semantic preservation rate, performance change
    Cross-language generalization Transferring ability across languages and frameworks Performance on cross-language test sets

    A key technical watershed is this: earlier models often produced code that looked plausible but performed poorly on compilation pass rates and edge-case handling. Newer models show stronger engineering-level understanding. They can infer type constraints from the overall project structure, identify dependencies, handle exception paths, and even perform cross-file reasoning in large codebases.

    3.2 Technical Drivers Behind the Leap

    This leap comes from several technical developments.

    Structured upgrades to training data. Training no longer relies only on public code repositories. It now includes the full development lifecycle: test cases, documentation, issue discussions, and code review records. This helps models understand how code is used, tested, and maintained.

    Execution feedback. A “generate, execute, verify, correct” closed-loop training approach lets models check the correctness of their output in real runtime environments, rather than relying only on static text.