Selecting an Open-Source Coding Model: Calculate VRAM First, Then Verify the License

    Strong benchmark scores for an open-source coding model do not guarantee it fits your team. This article covers three priorities for model selection: estimating VRAM from total parameters rather than activated parameters, reading benchmark numbers together with their versions and evaluation settings, and verifying the model weight license separately from the code repository license. It also provides VRAM estimation formulas, quantization reference figures, and practical action plans for individual developers, teams, and enterprises.

    1. Conclusions First

    Good benchmark scores for an open-source coding model do not mean it suits your team. Three things matter most when selecting a model. First, activated parameters do not equal deployment cost; VRAM should be estimated based on total parameters. Second, official benchmark numbers must be read together with the benchmark name, version, and evaluation methodology. Third, the license for model weights needs to be checked separately; the code repository license cannot substitute for it.

    This article is compiled from official public information and does not independently reproduce any scores. Wherever official claims are cited, they are marked as such.

    2. Parameter Scale and Post-Training: Two Separate Things

    According to official disclosures, the flagship version has roughly 744B total parameters, with about 40B activated per token. The previous flagship generation had approximately 355B total parameters and 32B activated. Officials also state that the capability improvements mainly come from the post-training stage, including reinforcement learning, agent trajectory training, and long-chain reasoning training.

    Putting these two statements together naturally raises a question: post-training typically does not change parameter scale, so why is the total parameter gap between the two generations so significant? Public materials do not explain this. The safest approach in such cases is to consult the architecture and training sections of the official technical report to confirm whether the two generations share a base model and where the parameter change comes from. Before verification, do not interpret “capability improvement” as “improvement caused by increased parameters.”

    Officials also report a roughly 50% improvement on internal coding benchmarks. The test setup and source of this figure should likewise be confirmed against the official report.

    3. MoE Architecture: Compute and VRAM Are Different Things

    This flagship generation uses an MoE (Mixture of Experts) architecture. Each token passes through only a small number of experts, so the per-token compute is mainly determined by activated parameters and grows less than the total parameter count.

    But this only describes compute. The weights of all experts still need to fit into VRAM or memory, and multi-GPU deployments introduce communication overhead between experts. Therefore, claims like “inference cost stays roughly flat” only hold when hardware, batch size, and parallelism strategy are all identical. Actual workloads need to be measured yourself.

    4. Benchmark Numbers: Ask Three Questions First

    Officials claim the model reaches a strong level among open-source models on terminal task benchmarks and agent capability evaluations, narrowing the gap with a leading closed-source model and even leading on some benchmarks. These statements have reference value, but the specific scores cannot be verified from public information.

    When reading the numbers, ask three questions first:

    1. What are the benchmark names and versions? Terminal-style and agent-style benchmarks differ greatly in task design.
    2. What are the evaluation settings? This includes available tools, timeouts, retry counts, and whether results are averaged over multiple samples.
    3. Who is the comparison target, and are the comparison timeframes consistent? Closed-source models are updated frequently, so last year’s lead may not hold this year.

    If you use AI coding tools, try switching the underlying model to the flagship version. Tasks like terminal operations, script writing, and troubleshooting are worth testing on your own repositories. There can be a significant gap between public benchmarks and real projects, so judge actual performance by your own tests.

    5. The Lightweight Version: Calculate VRAM Before Deployment

    The lightweight version has roughly 320B total parameters and about 18B activated. Officials state it was pre-trained from scratch as an independent model; the specifics should be confirmed against official technical documentation.

    Before deployment, estimate the VRAM occupied by the weights alone:

    • BF16/FP16: 320B × 2 bytes ≈ 640 GB
    • INT8: 320B × 1 byte ≈ 320 GB
    • INT4: 320B × 0.5 bytes ≈ 160 GB

    GB here is calculated in decimal and covers weights only. Whether the embedding layer and LM head are included depends on the official counting methodology—refer to official documentation. Beyond weights, there is also the KV cache, activations, and inference framework overhead. The longer the context and the higher the concurrency, the larger the KV cache.

    Take a consumer GPU with 24 GB of VRAM as an example: INT4 weights alone would require about 7 cards (160 ÷ 24 ≈ 6.7, rounded up). This estimate excludes KV cache and framework overhead, so in practice plan for 8 or more cards with a 10%–20% margin. Inter-card communication also consumes resources, and performance depends on the interconnect. A typical consumer dual-GPU setup cannot hold the full model.

    With offloading to system memory, the model can start, but throughput drops noticeably, making it suitable only for offline or low-concurrency tasks.

    You can use the following formula to check whether your hardware is sufficient:

    Required VRAM ≈ weight VRAM + KV cache + inference framework overhead + margin

    The KV cache grows with context length and concurrency. Framework overhead includes the framework’s own footprint, communication buffers, and activation peaks—estimate these three items separately.

    A quick example: with a single 24 GB GPU as target hardware, even INT4 weights far exceed single-card capacity, so single-GPU operation is not feasible. Once the estimate passes, use an inference framework to measure actual throughput and time-to-first-token.

    6. Hybrid Attention: Cost Savings Depend on the Real Scenario

    Officials state that the series adopts a hybrid sparse-and-linear attention structure, which they believe helps reduce long-context inference costs. However, the magnitude of savings depends on context length, batch size, and the specific implementation. In short-context scenarios, the benefit may be minimal.

    When validating, measure throughput, latency, and output quality separately at different context lengths rather than drawing conclusions from theoretical complexity alone.

    The lightweight version incorporates multimodal data during pre-training. Officials say this helps with tasks like modifying UI from screenshots or locating issues from error screenshots. The actual effectiveness of such capabilities needs to be verified with your own samples.

    7. Licensing: Check the Weight Terms Separately

    A common situation with open-source projects is that the code repository uses a permissive license such as Apache 2.0, while the model weights carry a separate license. This article could not verify the name and version of the license applied to these model weights; refer to the LICENSE file in the official repository.

    Before integrating into a production environment, check the following items one by one:

    1. Whether commercial use is allowed;
    2. Whether there are user-scale or revenue thresholds;
    3. Attribution, notice, or copyright labeling requirements;
    4. Conditions for redistribution and releasing modified versions;
    5. Whether generated content can be used to train other models;
    6. Prohibited uses and other restrictions;
    7. Whether additional terms apply when calling the model via cloud platforms or third-party services.

    The items above are only references for reading the terms and do not constitute legal advice. For contractual and compliance matters, consult legal counsel.

    8. Action Recommendations

    • Individual developers: first calculate VRAM using the formula above and confirm whether your hardware can run the lightweight version. If hardware is insufficient, prefer a hosted API service.
    • Teams: extract a set of tasks from your real codebase, such as fixing bugs, writing tests, or modifying scripts. Record the following data uniformly for each task to form internal evaluation results.
    Task Type Pass Rate Time Taken Manual Edits Context Length
    Bug fixing
    Test writing
    Script modification
    • Enterprises: evaluate the availability and data processing terms of cloud-hosted services, and complete the license review before going live. Assign an owner for license re-verification.
    • Everyone: prioritize testing terminal tasks and multi-step agent coding, since the officially reported improvements concentrate on these scenarios.

    Final selection decisions should be based on your own test data.