Protein Design with General-Purpose LLMs: Capability Boundaries and Cost Analysis

    General-purpose large language models can propose protein sequences and help organize design workflows, but generating a valid-looking sequence is far from delivering a usable protein. This article examines the capability boundaries of LLMs in protein design, distinguishing sequence validity, structural plausibility, experimental function, and application readiness. It discusses key limitations such as distribution shift, correlated candidates, and self-explanation without validation. It also outlines a practical cost framework covering inference, computational screening, experimental validation, and rework, with worked examples for token pricing and hit-rate-based expected cost. Developers will learn how to define testable constraints, use tiered screening, maintain data lineage, set stopping criteria, and treat model outputs as hypotheses rather than evidence.

    1. First, Clarify: Generating a Sequence Is Not the Same as Designing a Usable Protein

    To discuss whether large models can design proteins, we first need to define what “design success” means. Outputting a sequence that follows the amino-acid letter code only shows that the model has generated a format-correct candidate. Predicting that the sequence may form a certain structure shows that the candidate has some structural plausibility. Only when experiments show that it can bind a target do we begin to obtain evidence at the functional level.

    Even a successful binding experiment does not directly prove that the candidate has practical application value. It may still suffer from insufficient expression, a tendency to aggregate, poor stability, insufficient binding specificity, or high production costs. For medical-related applications, safety, immunogenicity, and stricter validation requirements must also be considered.

    Therefore, protein design should distinguish at least four levels:

    1. Sequence validity: The sequence format is correct and satisfies basic constraints such as length, composition, and disallowed sites.
    2. Structural plausibility: The candidate has the potential to form the target conformation, and key regions do not contain obvious conflicts.
    3. Experimental functionality: The candidate exhibits the target function under predefined experimental conditions.
    4. Application readiness: The candidate meets practical requirements for stability, specificity, producibility, and safety.

    The cost and evidence requirements rise at each of these four levels. Describing success at any one level directly as “designing a usable protein” overstates the maturity of the technology.

    2. What Exactly Does “Without External Help” Omit?

    “Without external help” is not a rigorous technical metric. It must be clarified whether it means not calling external software, not using specialized models, or not requiring experimental validation.

    A general-purpose LLM can propose candidate sequences, explain design reasoning, organize constraints, and even generate code for checking candidates within a single interaction. But these capabilities do not automatically mean that it can reliably perform structural assessment, molecular interaction analysis, or experimental outcome prediction.

    In particular, three cases need to be distinguished:

    • Direct candidate generation: The model outputs sequences based on input conditions without executing external computations.
    • Computational validation assistance: The model generates or calls computational workflows to assess the structure, properties, or interactions of candidates.
    • Completed experimental loop: Candidates are prepared, tested, and revalidated, and experimental results feed back into the next design round.

    If the model generates code but the code is not executed, expected results in the code cannot be treated as actual computational results. If the design relies on external structural information or specialized scoring workflows, the entire process cannot be described as fully independent.

    A more reasonable conclusion is that a general-purpose LLM may lower the barrier to candidate generation and workflow organization, but whether a candidate is valid still requires independent evidence. What it may reduce is manual effort or tool-orchestration burden, not the validation steps required by natural laws.

    3. Key Limitations: Linguistic Plausibility Cannot Replace Biological Evidence

    3.1 Multiple Layers of Uncertainty Between Sequence, Structure, and Function

    Protein function is determined not only by sequence but also by folding state, dynamic conformation, environmental conditions, chemical modifications, and interaction partners. Similar sequences may have different functions, and changes at a small number of sites may significantly alter stability or binding behavior.

    Models can learn statistical patterns in sequences, but statistical commonness does not equal effectiveness under specific experimental conditions. For example, a candidate may appear structurally plausible but fail to enter subsequent functional assays because of expression difficulties or aggregation tendency.

    Therefore, a design objective should not be written only as “generate a protein that can bind the target.” It should also specify the target state, experimental environment, candidate length, expression conditions, and acceptance methods. The vaguer the input constraints, the harder it is to evaluate outputs objectively.

    3.2 Structural Confidence Is Not Functional Confidence

    Structural assessment can help eliminate obviously unreasonable candidates, but it cannot independently prove that function is established. For binding proteins, beyond overall folding, attention must also be paid to the geometry of the binding interface, interactions, and the accessibility of the target surface.

    Similarly, a good computational score does not mean that a candidate will necessarily perform better in experiments. Different scoring methods measure different things and cannot simply be added together and treated as a true probability of function.

    In engineering practice, each score should be annotated with its meaning: whether it evaluates structural plausibility, stability risk, interface quality, or is only used for candidate ranking. Only after experimental calibration can the relationship between scores and success rates be used for reliable decision-making.

    3.3 Out-of-Distribution Tasks Are Usually Harder

    When the target structure, protein type, or experimental conditions differ substantially from existing data, model reliability may decline. Rare conformations, complex multicomponent systems, and tasks with strong environmental dependence are often harder than common patterns.

    More importantly, model explanations may still be fluent. The confidence of language expression is not the probability of experimental success, and “well-written reasoning” cannot be treated as “a candidate worth directly purchasing or preparing.”

    Independent test sets, known positive and negative controls, and grouped evaluation across different target types should be prioritized to check whether the model performs well only on a small number of familiar tasks.

    3.4 Candidates May Be Highly Correlated

    Generating a large number of sequences at once does not mean that the same number of independent explorations has been completed. If candidates differ only at a few positions, they may share the same failure mechanism.

    Therefore, beyond candidate count, attention should also be paid to sequence diversity, structural hypothesis diversity, and design strategy diversity. After clustering, selecting representative candidates from each cluster is usually more helpful for identifying design problems than concentrating experimental budget on a large number of near-duplicate sequences.

    3.5 Self-Explanation Cannot Serve as Self-Validation

    A model can provide seemingly complete design reasons for the sequences it generates, but these reasons may still contain unverified inferences. For example, describing a site as a key stability site or identifying a region as a binding interface requires additional supporting evidence.

    Developers should store “hypotheses proposed by the model” and “conclusions that have been validated” separately. Otherwise, unverified explanations may be repeatedly cited in later iterations and gradually become incorrect design premises.

    4. Costs Can Be Estimated, but the Computational Scope Must Be Defined First

    The original material provides numbers for input, output usage, and experimental hit rate, but it lacks verifiable sources, complete experimental conditions, and the applicable billing scope. Therefore, these numbers are suitable for demonstrating a budgeting method, not for use as confirmed product capabilities or real-world quotations.

    The general formula for a single inference cost is:

    Single inference cost = input billable amount × input unit price + output billable amount × output unit price.

    If the billing unit is per million tokens, the actual token count must be divided by one million. Here, a token is the unit used by the model to process text; it is not equal to the number of Chinese characters or the number of amino acids.

    Take a purely illustrative set of parameters:

    • 150,000 input tokens per design;
    • 15,000 output tokens per design;
    • input unit price of USD 2 per million tokens;
    • output unit price of USD 10 per million tokens.

    The single inference cost is then:

    0.15 × 2 + 0.015 × 10 = USD 0.45.

    If another set of assumed unit prices is USD 8 and USD 40, respectively, the cost for the same usage is:

    0.15 × 8 + 0.015 × 40 = USD 1.8.

    This only describes the text inference bill for a given usage and unit price. It does not represent the full design cost. Structural computation, data processing, failed retries, experimental preparation, and manual review may all incur additional costs.

    In addition, “one design” must be clearly defined. One model call may generate only one candidate or multiple candidates; one candidate may also require multiple rounds of revision. If inference cost is calculated per call while success rate is calculated per candidate, the definitions must first be converted before estimating cost per successful candidate.

    5. Hit Rate Determines Expected Cost, but It Is Not a Guarantee of Success

    Suppose that in an illustrative experiment, 35 out of 322 candidates pass a binding assay. The observed hit rate is approximately:

    p = 35 ÷ 322 ≈ 10.9%.

    If each candidate has the same probability of success and candidates are approximately independent, the expected number of attempts needed to obtain the first successful candidate is:

    E[N] = 1 ÷ p ≈ 9.2.

    If we further assume that one design corresponds to one tested candidate and each inference costs a fixed USD 0.45, the expected inference cost to obtain one experimental hit is about USD 4.1; when the single cost is USD 1.8, it is about USD 16.6.

    However, this calculation has three important boundaries.

    First, an expected value is not a guarantee of success. Nine attempts do not mean success is certain. Under the independent and identically distributed assumption above, the probability of obtaining at least one success is:

    P = 1 − (1 − p)^n.

    To make this probability reach 95%, about 26 attempts are needed at the illustrative hit rate, not nine.

    Second, the observed hit rate is not a stable constant. Finite samples have statistical uncertainty, and the success rate may change significantly with a different target, experimental condition, or candidate screening method.

    Third, a binding hit is not the same as a final usable candidate. If subsequent stability, specificity, and producibility screening continue to eliminate candidates, the final success rate will be lower than the initial binding hit rate.

    Therefore, enterprise budgeting should not use only “single price divided by hit rate.” It should also specify the success endpoint, confidence requirements, candidate correlation, and downstream attrition rate.

    6. Full R&D Costs Should Be Accounted for by Stage

    A more realistic cost model is:

    Total project cost = fixed preparation cost + inference cost + computational screening cost + experimental validation cost + failure and rework cost.

    Fixed preparation cost includes target definition, data curation, assay development, and base workflow development. Experimental validation cost may include candidate preparation, expression, purification, functional assays, and revalidation.

    For a multistage workflow, the following can be recorded separately:

    1. Number of candidates generated;
    2. Number passing basic checks;
    3. Number entering structural or property assessment;
    4. Number entering experiments;
    5. Number of initial hits;
    6. Number finally meeting application criteria.

    Each stage should record input, elimination reasons, and pass rate. Only in this way can the real cost bottleneck be identified: insufficient candidate generation quality, expensive experimental assays, or difficulty in stably producing hit candidates.

    Procurement decisions should also not compare only inference unit prices. A higher unit price may reduce total cost if it genuinely improves the output efficiency of final valid candidates, but this must be demonstrated through experimental comparisons under the same tasks and the same validation standards. It cannot be inferred directly from a model tier or name.

    7. How Developers Should Build a Reliable Design Workflow

    7.1 Translate Tasks into Testable Constraints

    Before generating candidates, define the target function, allowed sequence range, experimental conditions, control settings, and elimination criteria. For metrics that cannot yet be quantified, specify who will judge them and what evidence will be used.

    The key is not to make prompts longer, but to make success and failure consistently identifiable.

    7.2 Use Tiered Screening to Control Experimental Scale

    First perform low-cost checks, such as sequence format, repeat sequences, length limits, and obviously abnormal composition. Then carry out applicable structural and property assessments. Finally, select representative and sufficiently diverse candidates for experiments.

    Screening thresholds need to be calibrated with historical results. Too strict a threshold may eliminate genuinely effective candidates, while too loose a threshold will send large numbers of invalid sequences into high-cost stages.

    7.3 Preserve Complete Data Lineage

    Each candidate should have a unique identifier and record input constraints, generation batch, model configuration, scoring results, experimental conditions, and revalidation conclusions. Raw data and processed results should be stored separately, and key modifications should be versioned.

    Failure samples are equally important. Only by recording different failure types such as expression failure, aggregation, and nonspecific binding can teams determine whether the next round should modify the sequence, adjust experimental conditions, or change the design hypothesis.

    7.4 Set Budgets and Stopping Criteria

    Before a project starts, define the maximum number of candidates, maximum experimental investment, and stage acceptance conditions. If multiple consecutive rounds show no improvement, first check the target definition and validation methods rather than indefinitely increasing the number of generations.

    After an experimental hit, the project should not end immediately. Necessary revalidation and downstream property tests should be completed according to application requirements, avoiding treating an accidental signal as a stable result.

    7.5 Establish Safety and Permission Boundaries

    Systems involving biological sequences should limit task scope and implement data access control, operation auditing, and necessary human review. Unvalidated candidates should not automatically enter experimental execution. For high-risk uses, professional review and compliance management are even more necessary.

    8. Conclusion: The Core Metric Is Not “Can It Output?” but “Can It Reliably Translate into Value?”

    The value of general-purpose LLMs in protein design lies mainly in candidate proposal, constraint organization, workflow assistance, and result synthesis. They may lower the barrier to exploration, but they cannot eliminate the uncertainty between structure, function, and experiments.

    When evaluating this type of technology, priority should be given to final usability rate, cross-task stability, experimental reproducibility, and total cost per valid candidate, rather than only single inference price or generation count.

    A truly reliable practice is to treat model outputs as hypotheses to be validated, use tiered computational screening to control experimental scale, establish functional evidence through wet-lab experiments, and manage iterations with complete records and clear stopping criteria. Only after completing this loop can “being able to generate protein sequences” have a chance to translate into “being able to reliably deliver valuable proteins.”