Can a Language Model Picture a Protein?

Can Claude models fold proteins from sequence alone, and how much of what they get right comes from recall?

In November 2026, OpenAI reported that general-purpose language models of the GPT-6 family can perform several protein modelling and design tasks using only reasoning and code. The same report states that the model family “still struggles with end-to-end structure prediction, including monomer folding”, although performance improved markedly across model generations. Such results raise the question of how general-purpose models solve protein problems, which in turn determines whether their performance will generalise to proteins that are poorly represented in existing data.

Structure prediction is a useful setting for this question, because much of current computational protein design relies on structure predictors. Recently, Sergey Ovchinnikov reported that Claude Fable 5.2, prompted to predict residue contacts from sequence without reasoning about the protein’s identity, family, or fold, and to build a model from them with code, recovered the fold of ubiquitin. Ubiquitin is, however, among the most extensively documented proteins.

Jonathan Ouyang tested contacts proposed by Claude Mythos 5.1 in an MSA-free folder and showed that they did not improve it. In a judging task, the model picked the better of two candidate structures more often when it named the protein family, which he attributes to memorisation. Our sessions ran between 21 and 28 November 2026, after Ovchinnikov’s post and before Ouyang’s post was published.

We therefore evaluated three Claude 5.5 models (Opus, Sonnet, and Haiku) in an isolated Python environment on proteins released after 1 August 2026, a matched set of earlier proteins, and three well-documented folds, while progressively adding structural information from sequence alone up to three-dimensional coordinates. We check (i) how accurately the models fold proteins from sequence, (ii) how far their behaviour reflects recognition of known proteins and protein families, and (iii) which kinds of additional information improve their structures. Overall, additional two-dimensional coordinates helped far more than correct secondary structure assignments for structure prediction, and their wrong contacts are often those of remembered homologues.

Full tables, secondary-structure audits, identification records, and exact prompts are given in the Supplementary Material (also available as a PDF).Between our initial runs (21 to 23 November) and later runs (26 to 28 November), the behaviour of the unpinned claude-sonnet-5-5 endpoint changed substantially. Sonnet results in this post are from the later runs (Supplementary Section S4).

Summary of findings

Three-panel dot plot of TM-score for Opus, Sonnet, and Haiku on 1UBQ, 1ENH, and 1PGA under five conditions.
Figure 1. Structural accuracy on three well-documented proteins under successive conditions. TM-score (better of the saved model and its mirror image) for ubiquitin (1UBQ, panel a), the engrailed homeodomain (1ENH, panel b), and protein G B1 (1PGA, panel c). Small dots show individual runs and large symbols the mean for each protein (± SD where n ≥ 2). There are five runs per protein and model, and three attempts per protein for coordinate recall (Haiku declined). Reference lines mark TM-score 0.50, the ceiling of our contact-based builder given true contacts (Ceil.), and ESMFold2 (ESM); the open diamond is a flat copy of the two-dimensional trace. Mean values for Opus and Haiku remain below 0.50 until the trace is provided.

Study design and methods

All sessions ran in an isolated Python environment (NumPy and SciPy only, without internet or database access). We ran the models through the Claude Code command-line client at high effort (Supplementary Section S6). The study has two parts (Figure 2a).

Novel and near-identical post-cutoff proteins. A release date after the cutoff does not make a protein novel, so we classified each post-cutoff protein by its closest PDB entry released before 1 August 2026. We searched with the residues modelled in the deposited structure, which leaves out expression tags, and re-aligned every candidate locally (Supplementary Section S6). A protein is near-identical if an earlier entry shares at least 90% sequence identity over at least 80% of the modelled residues. Every other protein is novel. The label applies to the protein itself, so a novel protein can still have close relatives below the 90% threshold. By this definition, 14 of the 30 post-cutoff whole-fold proteins and 63 of the 150 local-knowledge proteins are near-identical to pre-cutoff proteins.

Prompts and scoring. Sequence-only folding used two prompts: a goal prompt, which asked the model to save C-alpha coordinates and ranked contacts, and a method prompt, rebuilt from the prompt in Ovchinnikov’s post, which instructed it to predict contacts without reasoning about protein identity or fold, build a model with a supplied helper, and revise the contacts. Structures were compared with experiment using the TM-score computed by US-align (1 denotes identity, and values of about 0.50 or higher generally indicate a shared fold); because contact maps do not determine handedness, the better of each model and its mirror image is reported. Contacts were assessed by top-L/5 long-range precision: the fraction of the L/5 highest-ranked residue pairs with i − j ≥ 24 whose C-beta atoms lie within 8 Å.
Diagram of the two-part study design and five cartoon representations of protein G B1.
Figure 2. Study design and example sequence-only predictions. Panel a: the aggregate analysis, which includes a six-protein post-cutoff subset for the image, trace, and secondary-structure experiments, and the sequence of inputs used in the case studies. Panel b: the experimental structure and ESMFold2 prediction (TM-score 0.98) of protein G B1, with one sequence-only attempt each from Opus, Sonnet, and Haiku superposed on the experimental structure (grey). "Mirror" indicates that the mirror image gave the better alignment.

Folding from sequence alone

No model folded reliably from sequence (Figure 3, Table 1). Of 179 goal-prompt models on the post-cutoff and pre-cutoff proteins, 8 reached TM-score 0.50, and the two sets scored alike. On the case-study proteins, only Sonnet reached 0.50 (9 of 15 runs), and no post-cutoff or pre-cutoff model did so under the method prompt.

Table 1. Sequence-only folding by protein set. One run per protein, Sonnet from the later period (pre-cutoff goal prompt: 29 proteins). TM, mean TM-score (better hand); P@L/5, mean top-L/5 long-range contact precision (random about 3%).
Model, prompt Post-cutoff (30) Post-cutoff Pre-cutoff (30) Pre-cutoff
TM TM ≥ 0.5 P@L/5 TM TM ≥ 0.5 P@L/5
Opus, goal 0.30 1/30 17% 0.28 1/30 19%
Opus, method 0.26 0/30 18% 0.25 0/30 21%
Sonnet, goal 0.40 4/30 38% 0.36 2/29 38%
Sonnet, method 0.26 0/30 24% 0.26 0/30 25%
Haiku, goal 0.23 0/30 6% 0.21 0/30 6%
Haiku, method 0.18 0/30 5% 0.18 0/30 8%
Two-panel distribution plot of TM-scores by protein set, model, and prompt.
Figure 3. TM-score distributions across protein sets. TM-score for post-cutoff proteins, split into novel (16) and near-identical (14) proteins (one run each), matched pre-2023 proteins (30; one run each), and the three case-study proteins (five runs each). Panel a: goal prompt. Panel b: method prompt. Boxes show interquartile ranges and bars medians.
Contact accuracy shows the same limitation (Figure 4a). Across the 30 post-cutoff proteins, mean top-L/5 long-range precision under the goal and method prompts was 17% and 18% for Opus, 38% and 24% for Sonnet, and 6% and 5% for Haiku, against a random expectation of about 3%. To estimate the accuracy needed for folding, we supplied two contact-based builders, our shortest-path and multidimensional-scaling procedure and diSTruct, with synthetic contact lists for 12 post-cutoff proteins in which all local contacts were correct and a controlled fraction of long-range contacts ( i − j ≥ 24, the threshold used for precision) were true (Figure 4b). Median TM-score remained below 0.42 at 75% correct and exceeded 0.50 only when all were correct (0.80 for our builder and 0.66 for diSTruct). Given true contacts, building coordinates is a geometry problem with established solutions, so accuracy at that step reflects competent implementation rather than reasoning about proteins. On the case-study proteins, mean precision under the goal prompt was 78% for Sonnet, 53% for Opus, and 28% for Haiku; under the method prompt the Sonnet value fell to 40%.
Two-panel chart comparing achieved long-range contact precision with the accuracy required by contact-based builders.
Figure 4. Contact precision achieved and contact accuracy required for folding. Panel a: top-L/5 long-range precision for 30 post-cutoff proteins (dots, proteins; symbols and bars, mean and 95% interval) and the three case-study proteins (mean and range). The dashed line marks random expectation. Panel b: median TM-score of structures built from synthetic contact lists for 12 post-cutoff proteins, as the fraction of correct long-range contacts rises. The shaded band spans the model means in panel a.

The models identified protein families and homologues from sequence

The prompts did not ask the models to identify the protein, yet their final answers frequently did so, naming a family, a domain, or a specific homologous protein. This occurred even when the exact entry, released after the cutoff, could not have been known. We graded the family assignment in each goal-prompt final answer for the 27 natural post-cutoff proteins (three designed proteins were excluded) against the deposited annotation (Table 2).

Table 2. Family identification from sequence on 27 natural post-cutoff proteins (goal prompt). Precision is mean top-L/5 long-range precision. Grades are from a single AI-assisted pass (Supplementary Table S4).
Model Correct family or domain Partial Incorrect No assignment Correct, novel proteins Contact precision, identified / other
Opus 19/27 1 1 6 11/14 21% / 10%
Sonnet 22/27 0 0 5 13/14 39% / 31%
Haiku 8/27 3 1 15 6/14 17% / 3%

Several answers named a specific protein, for example human transthyretin for entry 9S91. Identification also extended to proteins with no earlier structure at 25% identity, such as entry 32XB, which all three models assigned to the cupin fold.

Correctly identified proteins had higher mean contact precision for all three models (Table 2). Under the method prompt, which forbade this reasoning, 2 of 30 Sonnet final answers on post-cutoff proteins (9WMG and 9SXA) still disclosed that the sequence seemed familiar; no Opus or Haiku final answer did.

Forbidding prior knowledge does not isolate de novo reasoning

The method prompt, applied to the three case-study proteins with five runs per protein and model, instructs the model not to reason about the identity, family, or fold of the protein. The reasoning summaries nevertheless named the protein in 9 of 15 Opus runs and in 6 of 15 runs each for Sonnet and Haiku. Including statements of familiarity without a name, recognition was evident in 10, 14, and 6 runs respectively. No final answer named the protein. Written instructions therefore cannot establish that prior knowledge was excluded.

Mean TM-score under this prompt was 0.30 (Opus), 0.29 (Sonnet), and 0.22 (Haiku), compared with 0.32, 0.52, and 0.30 under the goal prompt. The difference between named and unnamed Opus runs in Figure 5a (0.32 against 0.26) mainly reflects which proteins were named. Sonnet and Haiku showed no consistent difference. Contact precision under this prompt followed the same split for Opus (0.53 when it named the protein against 0.27 when it did not) but not for Sonnet (0.31 against 0.45) or Haiku (0.15 against 0.16; Figure 5b).

Two-panel bar chart of mean TM-score and contact precision for named and unnamed runs of each model; all TM-scores are below 0.50.
Figure 5. TM-score and contact precision under the recall-forbidding prompt, by whether the protein was named. Mean over the three case-study proteins (15 runs per model), split by whether the reasoning summary named the protein (filled) or did not (open). Panel a: TM-score. Panel b: top-L/5 long-range contact precision. Absence of a name does not imply absence of recognition: eight of the nine Sonnet runs in the open group still reported familiarity. The groups differ in protein composition (see text).

Family abundance and contact precision

For each post-cutoff protein we counted the earlier PDB entries with at least 25% sequence identity.We searched with the residues modelled in the deposited structure. Searching with the full deposited sequence inflates some counts through expression tags. Opus predicted contacts better for proteins with more such entries (Spearman ρ = 0.59, p = 0.0006, n = 30; Figure 6a). This was the only one of twelve correlations to survive correction for multiple tests (corrected p = 0.007). The count showed no detectable relation to Opus TM-score under the goal prompt, and the precision correlations for Sonnet and Haiku were not significant. We repeated the test on the 30 pre-cutoff proteins, counting related entries without the protein’s own entry, and the relation did not appear for any model (Opus ρ = −0.01, p = 0.96).

Among post-cutoff proteins, the difference was clearest when they were split at 20 related entries (Table 3). Opus mean precision was 33% for the 12 proteins at or above this count and 6% for the other 18 (p < 0.001, corrected for the choice of cutoff). Pre-cutoff proteins did not confirm the split. The Opus difference there was 7 percentage points (95% interval −8 to 21), no cutoff from 1 to 500 entries separated the groups clearly, and Sonnet and Haiku showed no gain.

Table 3. Change in contact precision when a protein has 20 or more earlier PDB entries at 25% sequence identity or higher (goal prompt, top-L/5 long-range). Intervals are 95% bootstrap. Groups below and at or above 20 entries: post-cutoff 18 and 12 proteins; pre-cutoff 13 and 17 (Sonnet 13 and 16), excluding each protein's own entry.
Model Post-cutoff proteins Pre-cutoff proteins
Opus +27 points (6% → 33%); interval +13 to +44 +7 points (15% → 22%); interval −8 to +21
Sonnet +16 points (32% → 48%); interval −2 to +34 −1 point (39% → 37%); interval −19 to +17
Haiku +3 points (5% → 8%); interval −5 to +10 −4 points (8% → 4%); interval −11 to +2

A count of PubMed articles on each family, a rough measure of how well known it is, gave the same pattern (Supplementary Section S5). Surprisingly, pre-cutoff proteins showed no such benefit from family abundance. The post-cutoff signal is therefore weak and needs testing on more proteins.

Predictions also overlapped with earlier homologues (Figure 6b; 23 proteins). We asked how many of each model’s wrong long-range contacts touch in the homologue. Such pairs are 0.4% of all non-contact pairs. They made up 1.2% of Opus’s wrong predictions (3.0-fold enrichment; 95% interval 1.4 to 5.7) and 2.5% of Sonnet’s (6.0-fold; 3.3 to 10.8). Haiku showed no clear enrichment (2.0-fold; 0.7 to 3.6). Sonnet favoured these pairs in 14 of 19 proteins (Wilcoxon p = 0.001) and Opus in 10 of 19 (p = 0.24). These contacts are wrong for the post-cutoff protein, so the models are not reasoning about its structure. They transfer contacts from remembered homologues, predicting that a pair that touches in the homologue touches here as well. This is memorisation, and the enrichment is clear for Opus and Sonnet.

Correlations with family abundance, and the share of residue pairs each model predicted according to whether the pair touches in the homologue, the post-cutoff structure, both, or neither.
Figure 6. Family abundance, contact precision, and homologue-consistent predictions. Panel a: Spearman correlation between the number of pre-cutoff entries at 25% identity or higher and either TM-score or top-L/5 long-range precision (30 post-cutoff proteins; filled bars, goal prompt; open bars, method prompt; *** p = 0.0006). Panel b: share of aligned long-range residue pairs predicted as contacts under the goal prompt, grouped by whether the pair is in contact in the earlier homologue, in the post-cutoff structure, in both, or in neither (23 proteins). Symbols show pooled shares and bars 95% intervals from resampling proteins.

Effect of additional structural information

Because the models could not fold reliably from sequence alone, we added structural information in stages, to find what they need for an accurate fold and to see where they fail. The additions were experimental three-state and eight-state DSSP strings (computed with MDTraj), three unlabelled cartoon images, one cartoon with every fifth residue numbered, a two-dimensional trace (the numbered cartoon with a table of residue image coordinates), and that coordinate table alone (Figure 7). Each pair of values below gives the mean TM-score from sequence alone and then with the added information. Where two pairs are given, the first is for the case-study proteins and the second for the six post-cutoff proteins.

Three-panel figure showing the input types and TM-scores for Opus and Sonnet under each.
Figure 7. Effect of secondary structure, images, and two-dimensional coordinates (Opus and Sonnet). Panel a: the inputs, shown for protein G B1. Panel b: case-study proteins (mean over three proteins, with individual proteins and range). Panel c: six post-cutoff proteins (mean and 95% interval; per-protein values in Supplementary Table S2). Diamonds and ticks mark a flat copy of the table and the best random depth assignment.

Coordinate recall and restoration of noised structures

Given the PDB code and sequence of each case-study protein, the models were asked to write the deposited C-alpha coordinates from memory (Figure 8a). Haiku declined every request. Opus and Sonnet reported that they could not recall the coordinates and built approximate models instead (TM-score 0.21 to 0.38). The exception was the beginning of the ubiquitin entry: in two of three attempts Opus reproduced the first seven and first eight residues to within 0.02 Å, and Sonnet reproduced residues 1 to 4 exactly in all three attempts, after which the attempts diverged. We found no evidence of recall beyond the opening lines of this entry.

We then supplied C-alpha coordinates with independent Gaussian noise (σ = 1, 2, or 4 Å per axis; mean displacements per residue of 1.5, 3.2, and 6.4 Å) and asked the models to restore the structure (Figure 8b). On every protein, every model exceeded both the noised input and a baseline without protein knowledge (moving-average smoothing followed by relaxation of bond lengths to 3.8 Å, using the best window for each protein). Each model was run three times per protein at each noise level. At σ = 2 Å (input TM-score 0.47; baseline 0.62), mean restored TM-score was 0.77 for Opus, 0.81 for Sonnet, and 0.71 for Haiku. At σ = 4 Å (input 0.24; baseline 0.45), the values were 0.60, 0.69, and 0.53.

Two-panel figure of coordinate-recall error along the ubiquitin chain and restored TM-score at three noise levels.
Figure 8. Coordinate recall and restoration of noised structures. Panel a: unaligned distance between recalled and deposited C-alpha positions for the first 30 residues of ubiquitin (three attempts each for Opus and Sonnet). The shaded band marks the mean displacement of the σ = 4 Å inputs (6.4 Å). Panel b: TM-score after restoration at three noise levels (mean over three proteins, with individual proteins and range), with the noised input (circle) and a baseline without protein knowledge (diamond).

Computational strategies used by each model

Inspection of the Python code and reasoning summaries indicates that the models differ in the numerical methods they apply, as well as in what they recognise (Table 4). Counts are based on text searches of the executed code and are indicative.

Table 4. Principal strategies by task. Values in parentheses are mean TM-scores; the three values for noised coordinates correspond to σ = 1, 2, and 4 Å.
Task Opus Sonnet Haiku
Sequence only Optimises coordinates with L-BFGS-B in all 15 case-study runs (mean TM-score 0.32). Writes explicit helix and strand geometry and uses an optimiser in 10 of 15 case-study runs; some runs add twisted sheets (3 of 15) or, for one post-cutoff protein, coiled-coil equations (mean 0.52). Places secondary-structure elements by hand and uses an optimiser in 4 of 15 runs (mean 0.30).
Recall forbidden Recognition evident in 10 of 15 runs (named in 9 summaries); mean 0.30. Recognition evident in 14 of 15 runs and disclosed in 12 final answers; selects contacts by rule; mean 0.29. Names the protein in 6 of 15 runs; mean 0.22.
Images and 2D coordinates Little use of images (0.34 to 0.38). With the coordinate table, estimates scale and optimises depth (0.70 and 0.74). Uses images (0.59 unlabelled and 0.68 numbered, post-cutoff); with coordinates, optimises depth and packing (up to 0.84). Unlabelled cartoons had little effect (0.30); the 2D trace is copied nearly flat (0.47 against 0.46 for a flat copy).
Coordinate recall First seven or eight ubiquitin residues in two of three attempts. First four ubiquitin residues in all three attempts (mean TM-score 0.28). Declined.
Noised coordinates L-BFGS-B in 26 of 27 runs with bond-length and handedness terms (0.88, 0.77, 0.60). L-BFGS-B in 25 of 27 runs, sometimes averaging several solutions (0.91, 0.81, 0.69). L-BFGS-B in all 9 runs at σ = 4 Å; 6 of these lack a handedness term (0.87, 0.71, 0.53).

Discussion

The Claude models did not predict global folds reliably from sequence, but they knew protein families well. Our interpretation is that family-level knowledge, expressed as an approximate topology and a few likely contacts, contributes more to their contact predictions than stored structures do. Opus contact precision rose with family abundance on post-cutoff proteins, but not on pre-cutoff proteins or consistently for the other models.

The GPT-6 report finds that its models approach specialised tools on docking, side-chain packing, and local structure prediction, where backbone or receptor coordinates are supplied. Our restoration experiment is consistent with this. Given noised coordinates, all three models recovered the fold with optimisation code, which they could not do reliably from sequence alone. This suggests that such tasks draw on geometric reasoning over supplied coordinates more than on structure prediction. The GPT-6 tasks differ from ours in model, inputs, and scoring.

The models’ weakness may be recall, not reasoning, since they could not reproduce deposited coordinates in any meaningful way. Contact precision dropped when recall was discouraged (Figure 4a), except for Opus on post-cutoff proteins. Their recall fails in two ways. They cannot recall enough structure to give a meaningful starting point, and what they do recall they do not reason about, transferring contacts from homologues that are wrong for the post-cutoff protein (Figure 6b). This suggests that the models do little biochemical reasoning. Ouyang reaches the same conclusion by another route, with a folder in the loop.

A concurrent benchmark of twelve coding agents on CASP16 targets found similarly low closed-book accuracy (Opus 5.5 TM-score 0.27). That being said, it is important to recognise even specialised structure predictors do not necessarily employ physics-based or biochemical reasoning. AlphaFold2 does not learn the physics of folding, follows memorised training structures for some fold-switching proteins, and has output metrics that correlate very weakly with mutational effects on stability. Co-folding models keep the same ATP-CDK2 pose after every binding-site residue is mutated to glycine. One analysis does find some energetic information in AlphaFold2 structures, so the question is open.

Structure predictors have the opposite profile to what has been observed in LLMs. Trained on the PDB, they do best on structures that resemble their training data and recall coordinates more accurately. Many do little refinement beyond an energy minimisation, which cannot move a structure far from its initial pose. The final relaxation in AlphaFold2, for example, does not improve GDT or lDDT-C-alpha. The language models, by contrast, handled geometry well once coordinates were supplied, and training that rewards accurate recall of coordinates could let them fold structures by geometric reasoning. The two approaches may therefore be complementary. A direct test is whether LLM refinement improves ESMFold2 predictions of post-cutoff proteins, as it improved noised coordinates in our restoration experiments. If it does, general-purpose models would be best used to write and run refinement procedures connected to dedicated structural tools, not as standalone structure predictors.

More broadly, evaluations of domain reasoning in these models should control for familiarity at the level of the family, since neither a release date nor an instruction to ignore prior knowledge is sufficient.

Supplementary material. Local-knowledge baselines on 150 post-cutoff proteins, image-citation analysis, secondary-structure audits, the comparison of the two Sonnet periods, per-protein tables, further analyses of family abundance and homologue contacts, methods, and exact prompts are provided in the Supplementary Material.

Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • Peering Inside the Black Box: A Beginner's Introduction to Mechanistic Interpretability
  • Pitfalls of AI-Generated Reviews: Case Study of a Frontiers in Microbiology Review on Anti-Influenza A bnAbs