LLM Protein Design: Technical Boundaries and Cost Evaluation
This article clarifies what it means for a large language model to design proteins, distinguishing candidate sequence generation from predictions and experimentally validated function. It examines key technical limits, including sequence space, structure–function relationships, out-of-distribution tasks, and the gap between binding signals and usable proteins. It then presents a framework for separating model inference costs from full R&D costs, interpreting hit rates with proper statistical definitions, and building traceable, staged protein-design workflows. The goal is to help technical teams assess LLM-based protein design through a complete evidence chain rather than a single generation result or headline hit rate.
1. First Clarify Which Step the Model Completes
Any discussion of whether a large language model can design proteins must distinguish among three levels: proposing candidate sequences, predicting candidate properties, and obtaining functional proteins that have been experimentally validated.
Proteins are generally composed of amino acid sequences, but a sequence is only the starting point of design. A candidate must still be checked for correct folding, stable expression, solubility, and the ability to perform the intended function under specified conditions. For binding proteins, researchers also need to examine binding strength, specificity, and unintended binding. For enzymes, they need to assess catalytic activity, substrate selectivity, and adaptability to reaction conditions.
Therefore, the more rigorous meaning of “a model can design proteins” should be: the model can use a target and constraints to propose candidates that are worth further analysis and experiments. Unless clear, verifiable experimental results already exist, this capability should not be described directly as “generated and ready to use.”
Likewise, “without external support” must be defined carefully. If it means that candidate generation does not call external retrieval, structure prediction, or specialized optimization programs, then it describes the independence of an inference workflow, not the completeness of an R&D workflow. The model still depends on knowledge absorbed during training, and it cannot replace synthesis, expression, purification, or functional assays.
2. First Class of Limits: A Plausible Sequence Does Not Mean a Reliable Biological Outcome
1. Sequence space is far larger than testable space
Protein design faces an enormous combinatorial space. Under a simplified condition that considers only the 20 common amino acids, a sequence of length 100 already has 20^100 possible combinations. Experiments cannot cover this space one candidate at a time, and a model cannot prove that a sequence satisfies every requirement merely through generation behavior.
Sequence patterns learned by a model can narrow the search space, but they cannot eliminate uncertainty. A candidate may be statistically close to known proteins yet fail to fold stably. It may also contain plausible local fragments that fail because of interactions across the overall structure.
When evaluating candidates, “fitting sequence patterns” and “having the target function” should be treated as different levels of evidence. The former cannot substitute for the latter.
2. Structure, dynamics, and function are not one-to-one
Protein function depends not only on a static structure but also on conformational changes, solvent environment, pH, temperature, ion conditions, and the participation of other molecules. Even if a candidate’s predicted structure appears plausible, it may not maintain the same state under real experimental conditions.
For binding proteins, a predicted contact interface is not the same as actual binding capacity. For enzymes, a reasonable geometric arrangement of an active site is not the same as sufficient catalytic efficiency.
Structure prediction is suitable as screening evidence, but it should not be treated as experimental fact. A more reliable approach is to combine sequence properties, structural metrics, and experimental objectives rather than ranking candidates by a single score.
3. Tasks outside the training distribution are harder to judge
Models generally handle problems closer to their training data more easily. When the target involves rare structures, special environments, novel binding surfaces, or functions that lack known references, prediction reliability may decline.
In addition, if evaluation tasks are highly similar to training samples, model performance may be overestimated. What appears to be innovative design may in practice rely heavily on existing sequence or structure patterns.
Evaluation should therefore check candidate similarity to known sequences and pay attention to separation among targets, structural classes, and sequence families. Random splits alone may not be enough to demonstrate genuine cross-task generalization.
3. Second Class of Limits: How Far Is “Binding Success” from “Usable”?
Protein R&D should not rely on a single broad success label. It should establish layered acceptance criteria.
The first layer is expression and preparation: whether a candidate can achieve sufficient yield in the selected system, whether it is easy to purify, and whether there is obvious aggregation.
The second layer is basic physical properties: whether the protein has acceptable solubility, stability, and storage conditions, and whether it can maintain the expected state.
The third layer is target function: whether a binding candidate reaches the required binding level, or whether an enzyme candidate has measurable and reproducible activity.
The fourth layer is specificity and applicability: whether the candidate produces unintended effects and whether it remains effective under the intended use conditions.
The fifth layer is engineering requirements: whether production can be scaled up, whether batches are consistent, and whether transport and long-term storage are feasible. If medical use is involved, appropriate safety, efficacy, and compliance evaluations must be conducted.
This means that “a binding signal was detected” in an early experiment proves only a result at one stage. It does not directly equal a deliverable product. When evaluating technical proposals, organizations should require explicit success metrics, assay methods, thresholds, and retest conditions rather than looking only at an aggregate hit rate.
4. How to Calculate Cost: First Separate Model Costs from R&D Costs
The billing and experimental figures in the original material lack independently verifiable support, so they should not be used as current service prices or confirmed experimental conclusions. The following uses hypothetical parameters only to demonstrate a general accounting method.
Suppose one candidate design run consumes:
- 150,000 input tokens;
- 15,000 output tokens;
- an input price of USD 2 per million tokens;
- an output price of USD 10 per million tokens.
Here, a token is a model billing unit. It is not equivalent to a Chinese character count, and it should not be treated directly as the number of amino acids.
The cost of a single call is:
C = input volume ÷ 1,000,000 × input price
- output volume ÷ 1,000,000 × output price
Substituting the assumptions above:
C = 0.15 × 2 + 0.015 × 10 = USD 0.45.
Under another hypothetical billing condition of USD 8 per million input tokens and USD 40 per million output tokens, the same usage corresponds to USD 1.80.
These calculations only describe the model invocation cost for the given usage. They do not prove that one call can complete one candidate design, nor do they prove that spending more on calls will necessarily improve the success rate. A real workflow may include multiple revisions, repeated context, code debugging, and batch candidate generation. Usage must be recorded for the complete task.
1. Inferring cost from hit rate requires explicit assumptions
Suppose an experimental batch tests 322 candidates, and 35 of them meet a predefined “binding success” criterion. The observed success rate for that batch is approximately:
p = 35 ÷ 322 ≈ 10.9%.
If each attempt is independent, the success probability remains constant, and each candidate has the same design cost, then the expected number of attempts needed to obtain the first successful candidate is:
E[N] = 1 ÷ p ≈ 9.2.
Under the assumption that the design cost per candidate is USD 0.45, the expected model invocation cost is approximately USD 4.14. When the cost per candidate is USD 1.80, it is approximately USD 16.56.
This is not a budget guarantee. Candidates may be highly similar, and success probability may change with the target and experimental conditions. Even if about nine attempts correspond to one success on average, a particular batch may still contain no successful candidate.
2. A hit rate must include a statistical definition
A percentage must answer at least four questions:
- Is the denominator all generated candidates, or candidates after computational screening?
- Is the success criterion an initial screening signal or independent confirmation?
- Do the results come from a single target or multiple targets?
- Are repeated designs, candidates that cannot be expressed, and experimental failures included?
For example, a model generates 1,000 candidates, only 100 of which are selected for experiments, and 10 of those succeed. The “experimental hit rate” is 10%, but the proportion relative to all generated candidates is 1%. Both metrics can be meaningful, but they cannot be conflated.
In addition, a success rate obtained from a limited sample is only an estimate. Budget planning should account for statistical uncertainty rather than treating the ratio from one experiment as a fixed probability for future tasks.
3. Full cost goes far beyond inference
End-to-end cost can be broken down as:
Total cost = model invocation cost + computational screening cost + sample preparation cost + experimental assay cost + labor and equipment cost + failure revalidation cost.
Sample preparation may involve gene synthesis, expression condition optimization, and purification. Experimental assays may require multiple concentrations, repeated measurements, negative controls, and specificity validation. These steps may affect the overall budget more than text generation itself.
Therefore, “the model invocation cost per candidate is very low” cannot be directly equated with “obtaining a usable protein is inexpensive.”
5. How Developers Can Build a Reliable Design Workflow
1. Turn the task into executable constraints
The input should not consist only of “design a protein that binds the target.” A more complete task description should include target information, allowed sequence length, expression system, functional requirements, forbidden features, and experimental acceptance criteria.
For inputs that cannot be confirmed, unknowns should be marked explicitly instead of being filled in by the model. The vaguer the target definition, the harder it is to evaluate generated results, and the harder it is to attribute later failures.
2. Use staged screening instead of sending everything directly to assays
A possible process is: candidate generation → basic checks → computational assessment → diversity filtering → small-scale experiments → revalidation.
Basic checks identify abnormal lengths, repeat fragments, and sequences that clearly violate constraints. Computational assessment analyzes potential structural and physicochemical risks. Diversity filtering reduces the number of highly similar candidates that occupy experimental slots.
Diversity does not automatically improve the success rate, but it can prevent experimental resources from being overly concentrated on one potentially failing design pattern.
3. Maintain complete traceability records
Each candidate should be linked to its task description, model version, generation conditions, sequence version, screening rationale, and experimental results. Modified sequences must receive new version identifiers and must not overwrite the original record.
Computational tasks can use containerized runtime environments to improve reproducibility. Candidate files and experimental attachments can be stored in object storage, task scheduling can use message queues, and status and cost can be recorded by logging and monitoring systems. These infrastructure components address process management. They do not directly prove the biological validity of a candidate.
4. Use experimental feedback to improve the workflow
Failure results should not be recorded only as “misses.” Where possible, distinguish among failure causes such as inability to express, aggregation, absence of target activity, insufficient specificity, and assay anomalies.
Different failure types point to different improvement directions. Expression failure may require adjusting the sequence or preparation conditions. Insufficient function may require revisiting the design objective. For assay anomalies, the experimental system should be checked first rather than immediately regenerating candidates.
Only when failure causes are linked to candidate features does iteration produce information gain, rather than simply increasing the number of attempts.
6. Judge Technical Value by the Complete Evidence Chain
The most important question in evaluating large-model protein design is not whether the model can output sequences without external tools. It is whether the model can consistently increase the proportion of experimentally validated candidates and reduce the total cost of obtaining qualified results.
A credible evaluation should report task scope, sample count, candidate screening process, experimental criteria, revalidation results, failure types, and cost definitions. Targets of different difficulty should also be reported separately, so that an overall average does not hide significant differences.
The practical value of large models is that they help researchers propose hypotheses more efficiently, organize candidates, process feedback, and narrow the search space. However, biological outcomes must be confirmed by appropriate evidence. Models can reduce some exploration costs, but they cannot turn experimental uncertainty into certainty. They can assist design, but they cannot complete validation through a single generation. Making this boundary clear is necessary for building an R&D workflow that is reproducible, budgetable, and continuously improvable.
