The Second Half of Open-Source Model Commercialization: Data Recipes and Cloud Revenue Sharing

    As open-source models become commercialized, understanding data recipes and cloud revenue sharing is crucial for cost control and stability. This article explores data composition, license boundaries, cost accounting within cloud ecosystems, and provides comprehensive checklists for model selection, deployment, inference optimization, and agent go-live.

    I. Data Recipes and License Boundaries

    A model’s capability heavily depends on the data used in the latter half of pre-training. Benchmark scores only reflect the outcomes, while data recipes explain why a model performs better in long-range reasoning and agent tasks. When selecting a model, you should first clarify the training data sources.

    There are four common approaches, which should be treated separately:

    1. Synthetic Data: Generated by models in the form of Q&A, code, or dialogue samples to supplement volume or coverage.
    2. Rejection Sampling: The model generates multiple candidate results for the same task, and rules or evaluators filter out incorrect ones.
    3. Distillation: The student model learns the output distribution (logits or probabilities) of the teacher model, which contains more information than pure text samples.
    4. Trajectory Sampling: The model performs multi-step operations in an environment, recording chains of thought, tool calls, and observations to form supervised fine-tuning samples.

    It has been reported that a certain open-weights model used a large amount of trajectory data in the latter half of pre-training, sampled from earlier versions of the model. This approach is often referred to as model bootstrapping. Model bootstrapping is not the same as distillation. Only when the teacher model’s output distribution is used during training does it count as strict distillation. If strict distillation is used, the student model’s capability ceiling will be constrained by the teacher model. During evaluation, you should request data specifications from the model provider to confirm which category the data belongs to.

    Trajectory sampling has three applicable conditions. First, task results can be automatically verified, such as whether code passes unit tests or whether tool calls return correct results. Second, the execution environment is reproducible; otherwise, the exploration processes cannot be compared. Third, the filtering mechanism is strict enough, with clear records of pass rates and false positive rates.

    The risks are equally specific. Errors accumulate over multiple rounds of generation, and biases in early models may be amplified into fixed habits in new models. Generated data might also overlap with public evaluation sets, leading to inflated scores. Some model licenses restrict the use of their outputs to train other models. Before doing secondary training, enterprises must first check the license terms. If the terms prohibit such usage, you can switch to your own data, authorized data, or models whose licenses allow it.

    For implementation, follow this checklist:

    1. Review the model license to confirm whether using outputs to train other models is allowed, whether commercial use is restricted, and whether there are attribution or disclosure obligations.
    2. Request data sources from the model provider or release notes to confirm whether the data comes from automatic generation, human annotation, or external procurement.
    3. Deduplicate your own training set, commonly using exact hashing combined with approximate deduplication (e.g., MinHash).
    4. Perform evaluation set contamination detection. A common practice is to check for long n-gram overlaps between training samples and evaluation questions. If hits are found, remove the relevant samples and record the results.
    5. Set a pass rate threshold for automatic verifiers. When the pass rate for a certain type of task falls below the threshold, the data is temporarily not admitted to the database; return to the task design phase for adjustments first.
    6. Record data version numbers. Bind a data snapshot to each training run. If quality issues arise, you can roll back to the previous version without regenerating all data.

    II. Cloud Ecosystem Revenue Sharing and Cost Accounting

    When enterprises invoke open-source models via cloud platforms, they pay the platform’s invocation price. The revenue sharing between the platform and the model provider is usually not directly reflected on the bill, but it affects price stability, discount margins, and service continuity. For channels with higher sharing ratios, the platform might actively promote the model, or it might transfer costs through price adjustments or rate limiting. Therefore, when selecting a model, you need to verify the revenue sharing basis and factor the listed price into the total cost calculation.

    The shared amount depends on the settlement base, and the definition of the settlement base is usually written in the contract annexes. Common bases are as follows:

    Settlement Base = Actual Billed Revenue − Refunds − Channel Discounts − Contractually Deductible Taxes
    Shared Amount = Settlement Base × Sharing Ratio

    If the contract does not specify deductible items, the settlement base might be calculated based on gross revenue, leading to a higher shared amount. This compresses the platform’s pricing space and may ultimately be passed on to the enterprise’s bill.

    The enterprise’s own total cost can be estimated using the following formula:

    Annual Total Cost = Platform Invocation Fees + Additional Invocation Fees from Retries + Data Compliance and Audit Costs + Migration and Lock-in Cost Amortization

    Among these, additional invocation fees caused by retries need to be tracked separately. In agent tasks, if a tool call fails, the model will repeat its reasoning, and the actual invocation volume can be significantly higher than the theoretical value. It is recommended to estimate the retry coefficient using real task logs rather than relying solely on the ideal value of a single request.

    Here is an example to illustrate the calculation. Assume that in a certain month, the platform’s billed revenue is 1,000,000, refunds are 50,000, channel discounts are 30,000, and contractually agreed taxes are 20,000. The settlement base is 900,000. If the sharing ratio is 20%, the shared amount is 180,000. These numbers are only used to illustrate the basis and do not represent any real contract. Enterprises should replace the numbers in the example with their own contract terms and usage data.

    When verifying revenue sharing and costs, at least confirm the following: the scope of application for the sharing ratio (whether it is tiered by model, region, or customer type), settlement cycle, billing unit (per input/output token or per request), how cache hits and bulk discounts are factored into revenue, and whether free quotas are included in the settlement base.

    III. Checklists for Selection, Deployment, Inference Optimization, and Agent Go-Live

    Selection Criteria:

    1. Evaluate on your own task data. Public leaderboards can be a reference, but decisions should be based on business data. Prepare a test set representing real business scenarios, covering normal, edge, and failure samples.
    2. Record core metrics: task success rate, average number of calls, average output length, and cost per task.
    3. Compare at least two candidate models. Use the same test set, the same evaluation script, and fixed random seeds to ensure comparable results.

    Deployment Checklist:

    1. Confirm that the context length meets business needs and test it with long inputs close to the limit.
    2. Estimate VRAM and concurrency. Plan resources based on peak concurrency, not average concurrency.
    3. If using quantization, re-run the evaluation set after quantization to check for accuracy regression. Focus on whether long-range reasoning and tool call formats produce errors.
    4. Pin the model version number. When the platform updates the model, ensure a gradual rollout and rollback plan are in place.

    Inference Optimization Checklist:

    1. Enable batching and measure the impact of batch size on latency and throughput.
    2. Confirm the memory footprint of the KV cache. In long-context scenarios, it is usually the primary consumer of VRAM.
    3. If using speculative decoding, test the acceptance rate with real request distributions. If the acceptance rate is too low, the acceleration benefits may be minimal.
    4. Compare each optimization against the baseline and simultaneously record changes in quality metrics. Optimization should not come at the cost of output errors.

    Agent Go-Live Checklist:

    1. Set timeouts, maximum retry limits, and idempotency protection for each tool. Write operations, in particular, must prevent duplicate execution.
    2. Set a maximum number of steps. Unbounded loops will exhaust the call budget.
    3. Tool permissions should follow the principle of least privilege. Execute code in a sandbox, and open network and file access on-demand.
    4. High-risk operations such as deletion, payment, and external sending must require manual confirmation.
    5. Save complete trajectory logs, including prompts, tool calls, return values, and final outputs, for post-mortem troubleshooting.
    6. Perform fault injection testing before going live, simulating tool timeouts, return format errors, and permission denials.

    IV. Risks and Contract Terms

    When dealing with model deployment and cloud integration, it is crucial to pay close attention to specific contract terms related to liability, data usage, and service level agreements (SLAs) to mitigate potential risks. Ensure all clauses are clearly defined to avoid future disputes.