Same-Base Dual-Version LLM Architecture: Capability Tiers, Compliance, and Model Selection

    This article explains how one set of base model weights can produce both a public and a restricted version of an LLM. The two versions differ only in outer-layer controls such as safety guardrails, content policies, data retention, and access control. It covers which capabilities can be shared, which differences must be verified before launch, how to read coding benchmark scores, and what to check in data policy and billing.

    Engineering teams deploying large language models often face the same problem. The version for the general public and the version for institutions that must pass qualification review have different capabilities. Each version is maintained separately, so their behavior and evaluation criteria do not match. One approach is to derive multiple versions from the same base weights and differentiate them only through outer-layer mechanisms such as safety guardrails, content policies, data retention, and access control. This article explains the design logic of this architecture and helps developers decide which capabilities can be shared and which differences must be verified before launch.

    1. Why Use Same-Base Dual Versions

    The traditional approach trains two separate models for different user groups. The public version is conservative for safety reasons, while the internal version has fewer restrictions. This approach has two clear problems. First, the experience of public users suffers. Second, the two models are maintained separately, so their behavior easily diverges, and their evaluation results cannot be compared directly.

    The same-base approach shares one underlying model and separates the versions only in outer-layer mechanisms. Both versions stay consistent in core capabilities such as basic language understanding, code generation, and long-context processing. The differences fall into four areas:

    • Blocking thresholds and refusal policies for sensitive content;
    • Whether zero data retention (ZDR) is enabled;
    • Log retention periods and the extent to which audit interfaces are open;
    • Capacity allocation and rate limits during peak hours.

    The restricted version is typically offered to institutions that have passed qualification review. It adjusts restriction policies at some inference stages. Its use is governed by contracts and audits, and it must not be used to bypass safety policies. Writing this boundary into the usage agreement is a prerequisite for compliant deployment.

    The table below summarizes common differences between the two versions. Specific figures depend on each provider’s terms of service, and policies may vary across versions and over time.

    Dimension Public version Restricted version
    Target users General public and self-serve enterprise users Institutions that have passed qualification review
    Safety guardrails Blocking is stricter by default Blocking policies adjusted after approval
    Data retention Usually retained for a set period; ZDR may not be supported May offer stricter isolation options
    Logging and audit Provided through standard interfaces Opened as specified in the contract
    Rate limits Allocated by plan and capacity Capacity guaranteed by agreement

    Prompts and toolchains debugged on the public version can usually be reused on the restricted version. However, the two versions apply different blocking policies, so regression testing is still required before reuse.

    2. How to Read Capability Benchmarks

    Coding benchmarks are a common reference for judging a model’s engineering ability. The SWE-bench family requires models to locate issues in real code repositories, modify the code, and pass tests. SWE-bench Verified and SWE-bench Pro differ in task selection, difficulty, and evaluation environment, so their scores cannot be added together or converted into each other.

    When reading a score, confirm three things: the model version, the evaluation date, and the evaluation settings, including whether tools were used, the prompt template, and the number of runs. If any of these is missing, the score is hard to reproduce. Leaderboard data changes over time, so check the current leaderboard before citing a score.

    A high score suggests that the model can stably complete the full chain of cross-file dependency analysis, test case comprehension, patch generation, and validation. However, the score reflects performance on one specific task distribution only. Repository structure, test coverage, and code style vary widely across real business systems, so benchmark scores should not be treated as direct measures of business results. When selecting a model, evaluate it on your own sample set.

    3. Engineering Migration Scenario

    Codebase migration is a typical application of these capabilities. For example, moving a project that uses an old framework and old dependencies to a newer version has traditionally required several engineers working together for weeks. The work includes dependency mapping, interface adaptation, and regression testing.

    With long-context and tool-calling capabilities, the migration can be split into a pipeline: scan the dependency tree, generate a replacement mapping, rewrite code in batches, run tests, and fix failing cases. The following pseudocode sketches the task orchestration:

    1. # Pseudocode: migration task orchestration
    2. migration_plan = model.plan(
    3. task="framework_migration",
    4. source="legacy_stack",
    5. target="modern_stack",
    6. constraints=["keep_public_api", "pass_existing_tests"]
    7. )
    8. for step in migration_plan.steps:
    9. patch = model.generate_patch(step, context=repo_context)
    10. apply(patch)
    11. result = run_tests()
    12. if not result.passed:
    13. model.fix_failures(result.failures, context=repo_context)

    In one case with a moderately sized repository and fairly complete test coverage, this pipeline compressed the first-pass migration to one or two days. That timing depends on several conditions: repository size, test coverage, dependency complexity, and the amount of human review. If these conditions change, the time required changes significantly, so the figure should not be applied directly to other projects.

    The model’s main role is to reduce the time spent on mechanical work. Architecture review and quality control remain the responsibility of engineers. Teams should set up a dual-track process of model output plus human review. For high-risk changes such as data migration or permission changes, review should be done by engineers with the appropriate permissions, and the team should keep a version that can be rolled back.

    4. Data Policy and Billing

    Data policy is the most important item to verify during selection. Public versions are often classified as covered models. Their terms of service may require data to be retained for a period for security auditing and abuse detection, and ZDR may not be supported. The retention period is only an example, such as 30 days. Check the provider’s current terms for the actual period. The restricted version may offer stricter data isolation, but eligibility and fees must be confirmed separately.

    Billing typically follows one of two models: usage-based billing by tokens or call count, or subscription plans. Usage-based costs track consumption directly, which makes budget control easier. For high-volume users with steady usage, a subscription plan may be more cost-effective. The right choice depends on how stable your call volume is.

    When evaluating a provider, start with three items:

    1. Whether sensitive data can enter the inference pipeline. If the business involves personal privacy or trade secrets, first check the retention policy and whether ZDR is available.
    2. Whether logging and audit interfaces meet the security team’s traceability needs.
    3. Whether rate limits and capacity guarantees can support online services during peak hours.

    5. Rollout Path and Pre-Launch Checks

    Rollout can proceed in three layers:

    • Capability layer: Start with the public version to build a prototype and tune prompts. Confirm that accuracy on core tasks such as code generation and document understanding meets the business threshold.
    • Safety layer: Identify the types of business input that may trigger blocking. Design fallback and degradation flows so that refusals do not interrupt the user experience.
    • Operations layer: Set up usage monitoring and cost alerts. Combine them with the billing model to plan capacity and prevent sudden traffic spikes from causing runaway costs.

    Early involvement also matters. Running integration tests during the preview stage can reveal differences in tool-call formats, context length, and concurrency limits before launch, which avoids reactive adjustments later.

    Before launch, confirm each item:

    • Data classification: which data may enter the model, and what the retention period is
    • Refusal fallback: refusal messages and backup flows are ready
    • Audit interface: log fields meet the security team’s traceability requirements
    • Load testing: latency and rate-limit behavior under peak traffic
    • Cost alerts: usage alert thresholds are set

    6. Risk Notes

    Same-base dual versions do not mean identical capabilities. Differences in safety policy can produce noticeably different outputs in some edge cases. After migrating between versions, regression testing should focus on refusal paths and tool-call paths.

    Benchmark scores reflect performance on a specific task distribution only. Long-tail issues in real business use should be addressed gradually through ongoing evaluation and human feedback.

    The value of the dual-version architecture is that one set of base capabilities can support compliance and business needs at multiple levels. Developers should focus on differences in safety policy, data retention rules, and engineering integration cost, and interpret benchmark scores in the right context. The balance between capability, compliance, and cost must be verified repeatedly against your own business.