Skip to content

Models & limits

GET /v1/models is the live, machine-readable version of this page: the model list, every parameter with its default and range, the design protocols, and the current limits. The tables below mirror it. If they ever disagree, trust the endpoint. Each model entry also says which endpoint takes it (kind: predict, design or embed) and which body key its input goes in (input_key: targets, spec, structure or sequences), so a client can submit any model without a table of its own.

curl -s https://api.japanfold.aiand.com/v1/models

GET /v1/health is a plain liveness check ({"api_version":"1.0.0","service":"japanfold","status":"ok"}).

Prediction models

id MSA Ligands DNA/RNA Affinity Constr PAE Max residues Measured wall
boltz2 always ✓ ✓ ✓ ✓ ✓ 1920 1920
esmfold2 default ✓ ✓ - - ✓ 1664 1664
esmfold2-fast never ✓ ✓ - - ✓ 1664 1664
openfold3 default - ✓ - - ✓ 1664 1664
openbind default ✓ ✓ - - ✓ 1664 1664
rf3 default ✓ ✓ - - ✓ 1600 1600
opendde default - - - - ✓ 1536 1536
opendde-abag default - - - - ✓ 1536 1536
opendde-v2 default ✓ ✓ - - ✓ 1280 1280
af2ig never - - - - ✓ 1024 1024
mol1 default ✓ ✓ - - ✓ 1024 1024

Max residues is the largest structure a model accepts: the largest size the engine is measured to fold on this hardware, or 1024 where no measurement sets it. The last column is measured_wall, the largest structure that model has actually folded here. GET /v1/models publishes both. A submission between the two is accepted and can still fail on device.

A structure's size counts every residue or nucleotide plus one per heavy atom of every ligand copy, because that is how many tokens the model folds: a 300-residue kinase with one ATP (31 heavy atoms) is 331.

MSA default means on unless you send use_msa_server: false. always means the model cannot fold single-sequence, so a false is forced back to true. never means the model has no MSA encoder and refuses the parameter. PAE means the model can return its predicted aligned error matrix when you send write_pae: true; what else that file holds is under Confidence outputs.

  • Boltz-2 (boltz2): Folds protein, DNA, RNA and ligand complexes and predicts binding affinity. Uses a multiple-sequence alignment (MSA) for best accuracy. The most capable model: choose it when in doubt, or whenever you need ligands, nucleic acids, affinity or constraints.
  • ESMFold-2 (esmfold2, esmfold2-fast): Language-model folding of protein, DNA, RNA and ligand chains: no MSA required, no binding affinity. Standard will use an MSA if you supply one; Fast is always single-sequence and is the one to reach for when screening thousands of sequences. For binding affinity, use Boltz-2.
  • OpenFold3 (openfold3): The OpenFold Consortium's open AlphaFold3 reproduction, running fully on-device. Folds multi-chain complexes of proteins, RNA and DNA using a multiple-sequence alignment by default (turn it off to fold single-sequence). No ligands and no affinity: for ligands on this same stack use OpenBind-0, for affinity Boltz-2. The published weights are a preview checkpoint trained to 155k steps, well short of the full AlphaFold3 schedule, so read the confidence scores before trusting a prediction.
  • OpenBind-0 (openbind): The OpenFold Consortium's OpenBind-0 checkpoint on the OpenFold3 architecture, running fully on-device. Unlike the OpenFold3 preview weights it co-folds small-molecule ligands alongside proteins, RNA and DNA, using a multiple-sequence alignment by default. It predicts structure and confidence, not binding affinity. For affinity use Boltz-2.
  • RoseTTAFold3 (rf3): The Baker lab's RoseTTAFold3, running fully on-device. Folds multi-chain complexes of proteins, RNA, DNA and small-molecule ligands, using a multiple-sequence alignment by default (turn it off to fold single-sequence). Structure only: no binding affinity, and no covalent modifications or binding constraints from this input format. For those use Boltz-2.
  • OpenDDE (opendde, opendde-abag): Co-folds multi-chain protein complexes on the Protenix-v2 stack plus a structural-token expander, using an MSA by default. General is the checkpoint for protein complexes in general; Antibody-Antigen is tuned for a Fab heavy/light pair with its antigen. Protein-only either way: for ligands, DNA/RNA or binding affinity use Boltz-2. Both take up to 1,536 residues.
  • OpenDDE v2 (opendde-v2): OpenDDE v2 from Aureka Biotechnologies. Co-folds complexes of protein, DNA, RNA, ligands and ions, using an MSA by default. No binding affinity: for that, use Boltz-2.
  • AF2-IG (af2ig): AlphaFold2 initial-guess, the filter a binder-design pipeline uses to tell a real design from a plausible one. Give it a design you already have, meaning a structure carrying the target chain and the binder backbone plus the binder's sequence. It re-predicts the complex from those coordinates and reports ipTM and interface pAE for the interface. Paste it as target: (with the structure inline) and binder:; a chain list is a different input and it is refused. No alignment and no sampling: the same input gives the same answer. It runs Google DeepMind's AlphaFold2 parameters (params_model_1_ptm, 2022-12-06 release), licensed under CC BY 4.0.
  • Mol-1 (mol1): Mol-1, model by Molence. Predicts the 3D structure of complexes of proteins, DNA, RNA and small molecules (CCD codes or SMILES). It is derived from Protenix with a wider pair track and runs fully on-device. Uses a multiple-sequence alignment by default (turn it off to fold single-sequence). Reports pLDDT, pTM, ipTM and PAE. For binding affinity, use Boltz-2.

Protenix-v2 is withheld: new jobs are refused until the licence for its weights is settled with their rights holder, and jobs submitted before 2026-10-02 finish as normal. How closely each model matches its reference is in Accuracy.

Mol-1 is Molence Bio's AlphaFold3-family model for proteins, DNA, RNA, small-molecule ligands and ions. On FoldBench antibody-antigen complexes it docks 71 % of interfaces at DockQ >= 0.23, the same success rate as upstream Mol-1 on a GPU, and its per-residue accuracy (lDDT) is within 0.01 of upstream. It runs MSA on by default with 20 recycles, 200 steps and 5 samples, and does not predict affinity. It is the one model that can be guided by a binding site, residue contacts or a region to keep clear: a constraints: list of site, contact and exclusion blocks, a different vocabulary from Boltz-2's, folded with Molence's mol-1-constraint weights (see guiding a fold). Code and weights are Apache-2.0; model by Molence.

AF2-IG is AlphaFold2 initial-guess, the filter binder-design pipelines use to tell a real design from a plausible one. It is the one model here that does not take a chain list: it takes a complex you already designed, a structure plus the binder's sequence, and reports ipTM and interface pAE for the interface. See Predictions. It runs Google DeepMind's AlphaFold2 parameters (2022-12-06 release), licensed under CC BY 4.0.

Boltz-2 and both ESMFold-2 variants also accept modified residues.

Embedding models

Embedding jobs run protein language models: ESMC from Biohub, SaProt from Westlake University. Larger is a stronger representation at more compute per sequence. See Embeddings.

id Name Dimension Max residues Notes
esmc-300m ESMC 300M 960 2000 Smallest, fastest.
esmc-600m ESMC 600M 1152 2000 Balanced default.
esmc-6b ESMC 6B 2560 1968 Largest, most accurate.
saprot-650m SaProt 650M 1280 2000 Structure-aware (sequence-only here).
saprot-1.3b SaProt 1.3B 1280 2000 Largest SaProt.

Prediction parameters

Sent as params on a structure job. Out-of-range values are clamped. A parameter the chosen model cannot honour is refused with a 400 naming the model and the option, never accepted and quietly dropped.

Key Type Default Range What it does
use_msa_server bool true - Build a multiple-sequence alignment (MSA) of related sequences for the input. It improves accuracy; each model's card says whether it needs one.
fast bool false - Higher throughput, may be slightly less accurate.
recycling_steps int model default 1–10 Trunk recycles. Leave empty to use each model's recommended value (Boltz-2, OpenFold3, OpenBind-0 and AF2-IG 3, Mol-1 20, the others 10). More can improve accuracy, at the cost of speed.
sampling_steps int model default 10–500 Diffusion steps per structure. Leave empty to use each model's recommended value (ESMFold-2 100, RoseTTAFold3 50, the others 200).
diffusion_samples int 1 1–5 How many structures to generate per target.
output_format enum cif cif, pdb Structure file format. PDB gives the chain id one column, so a longer chain name is rewritten A, B, C... and the originals are listed in a REMARK 999 block at the top of the file. mmCIF has no width limit and keeps the names you submitted.
seed int 0 0–2147483647 Noise seed for the diffusion sampler. The job reports the seed it ran with.
write_pae bool false - Also return the top-ranked structure's confidence matrices as _pae.npz: the full PAE matrix (key pae, the one Adaptyv's ipSAE pipeline reads), PDE and contact probabilities where the model computes them, with _pae.json naming every array. Each model's list is under confidence in GET /v1/models.
use_tfg_guidance bool false - Steer sampling with the input's constraint block: contact pairs or epitope residues the antibody must reach. The movable chains are moved as a rigid body during diffusion until the prediction agrees, and physics restraints apply on every step. Guided folds take longer and are billed for the time they run.

Each model's card in GET /v1/models says which of these it takes (caps). A model that needs an MSA puts use_msa_server: false back to true and says so in the job's warnings. ESMFold-2 is fast when you omit fast, because that is what it has always run here; send fast: false for its normal mode. A model that fixes a parameter when it loads (engine_fixed_params) refuses that key with a 400, so omit it and the model's own value is used. recycling_steps is capped per model at the card's param_max.

Confidence outputs

write_pae: true returns one compressed numpy file per target, <name>_pae.npz, for the top-ranked structure (the one written as <name>.cif). Its arrays use the names, shapes and units of the open-source tt-bio engine, so a script written against one reads the other:

key shape units
pae [N, N] float32 Å predicted aligned error of token j when the structure is aligned on token i; not symmetric
pde [N, N] float32 Å predicted distance error between tokens i and j; symmetric
contact_probs [N, N] float32 probability that the representative atoms of tokens i and j (Cβ, Cα for glycine, the atom itself for a ligand atom) are within contact_cutoff_A; symmetric, diagonal 1
contact_cutoff_A scalar float32 Å the distance the contacts are at

N is the number of tokens in the written structure, in the structure's order, padding removed: one per residue or nucleotide, one per ligand atom. Contact probabilities come from the model's own distogram head, summed over the bins whose upper edge is at most 8 Å, so the cutoff is that model's bin edge just under 8 Å, written into the file as contact_cutoff_A. The sidecar <name>_pae.json lists every array in the file with its shape, dtype and units, the bin edges used, and under absent each array the model does not compute and why. No array is ever filled with zeros to stand in for one that was not computed.

id pae pde contact_probs Not returned
boltz2 ✓ ✓ ✓ -
esmfold2 ✓ ✓ ✓ -
esmfold2-fast ✓ ✓ ✓ -
openfold3 ✓ ✓ ✓ -
openbind ✓ ✓ ✓ -
rf3 ✓ ✓ ✓ -
opendde ✓ ✓ ✓ -
opendde-abag ✓ ✓ ✓ -
opendde-v2 ✓ ✓ ✓ -
af2ig ✓ - ✓ pde: AF2 has no PDE head
mol1 ✓ ✓ - contact_probs: tt-bio does not run its distogram head

GET /v1/models carries the same per model under confidence. ipTM is not in the file: for a multi-chain input every model's results row carries iptm, the chain-pair matrix pair_chains_iptm and its diagonal chains_ptm (each chain's own pTM). The matrix is keyed by chain position in the written structure ("0", "1", ...), except on ESMFold-2, which keys it by chain ID.

The file weighs about 11 MB at 1,024 tokens and 25 MB at 1,536, against roughly 1 MB of structure. It is written on the processor that ran the fold, before that processor is released, so it is billed with the rest of the fold at the same rate and runs inside the same runtime cap.

import numpy as np
m = np.load("t1_pae.npz")
pae, contacts = m["pae"], m.get("contact_probs")

Design protocols and parameters

BoltzGen, RFdiffusion3, PXDesign and RFD4-Proteina run as design protocols. A protocol id goes in model; it picks the engine and says what it takes:

model Name Takes Protocols Max residues
boltzgen BoltzGen spec protein-anything, peptide-anything, nanobody-anything, antibody-anything, protein-small_molecule, protein-redesign 1024
rfd3 RFdiffusion3 contig rfd3-binder, rfd3-scaffold, rfd3-na-binder 1536
pxdesign PXDesign chains pxdesign-binder 1536
rfd4 RFD4-Proteina contig rfd4-binder, rfd4-scaffold 512

Each model counts its ceiling on what it reads: a target spec, a contig's motif plus its designed residues, or the named target chains plus the binder. Designs says what each one does.

BoltzGen (boltzgen):

Key Type Default Range What it does
num_designs int 10 - Binders to generate before filtering. A long run is bounded by the watchdog that frees its chip, and by your balance.
budget int 10 - How many ranked designs to report after filtering.
fast bool false - Higher throughput, may be slightly less accurate.
seed int - 0–2147483647 Noise seed. The same seed and spec give the same designs; leave it out for a fresh draw each run.

RFdiffusion3 (rfd3):

Key Type Default Range What it does
num_designs int 4 1–5 Independent designs for the same spec (each its own noise draw; batched on-device).
num_timesteps int 100 4–200 Sampling steps per design. 200 (the upstream default) gives the cleanest structures; fewer is faster.
seed int 42 0–2147483647 Noise seed. The same seed and spec give the same designs.

PXDesign (pxdesign):

Key Type Default Range What it does
num_designs int 4 1–8 Independent designs for the same target (one batched diffusion trajectory).
n_step int 200 4–400 Sampling steps per design. 400 (the upstream default) gives the cleanest backbones; fewer is faster.
seed int 42 0–2147483647 Noise seed. The same seed and target give the same designs.

RFD4-Proteina (rfd4):

Key Type Default Range What it does
num_designs int 4 1–8 Independent designs for the same spec. Each gets its own seed, batched on the card at small sizes and spread across the fleet above them.
recipe enum thinking_medium thinking_medium, thinking_low, thinking_high, low/flat, low/front_loaded, low/midpeak, medium/flat, medium/front_loaded, medium/midpeak, high/flat, high/front_loaded, high/midpeak How many trunk passes a design spends and where: 120 for the low family, 180 for the released thinking_medium, 300 for thinking_high. More passes cost proportionally more. Upstream uses medium/front_loaded for binders, high/front_loaded for antibody and nanobody CDRs, medium/midpeak for enzymes and motif scaffolds.
nsteps int 60 4–60 Flow-matching steps per design. 60 is what every recipe is built for; fewer is a different, worse model rather than a faster one.
seed int 42 0–2147483647 Noise seed. The same seed and spec give the same designs. A contig with a variable-length segment draws that length from the seed too.

Embedding parameters

Sent as params on an embedding job.

Key Type Default Range What it does
pool enum mean mean, max, cls How per-residue embeddings are combined into one fixed-size vector per sequence.
format enum npz npz, parquet npz: per-residue + pooled embeddings, one file per sequence. parquet: pooled vectors only, one table.
fast bool false - Higher throughput, may be slightly less accurate.

What a job typically costs

Every model, design model and protocol in GET /v1/models carries typical_cost: what succeeded jobs on it were billed over the last 7 days. It is history, not a quote. To size a prediction, multiply usd_per_target_p90 by the number of targets you will submit. You are billed for the chip-seconds a job holds and a prediction runs each target on its own chip, so cost grows with targets, and the per-target figure is what stays steady from week to week. usd_per_target_p50 is the median per target. A design or embedding job splits its own work across chips, so it carries the per-job figures only and its per-target fields are null.

The per-job median (usd_p50) and 90th percentile (usd_p90) are there as context, with jobs and targets_p50, the median targets per job behind them. They follow whatever batch sizes users sent that week, so they are not the price of a job of a different size. The field is null for a model with fewer than 20 jobs in the window. japanfold models prints the same figures.

Limits

Your balance is the limit. Nothing caps how many jobs you may queue, how many designs you may ask for, how often you may submit or how much you may download, because each of those costs money and the balance already bounds it.

What is still refused is what the hardware cannot run. Two kinds: the shape of an input, and how long a run may hold a chip before the watchdog frees it.

Limit Value
max_residues 1024 per structure, where the engine has not measured a model's own ceiling; each model's is in the table above
max_content_chars 50000 per input string
max_ligand_copies 100 copies in one ligand entry (id: [L1, L2, ...])
max_smiles_chars 2000 characters in one SMILES
max_structure_chars 1100000 pasted target structure
max_embed_sequence_residues 2000 per sequence; a model with a lower ceiling says so in its row above
max_recycling_steps 10
max_sampling_steps 500
max_diffusion_samples 5
max_rfd3_designs 5 per run
max_rfd3_timesteps 200
max_pxdesign_designs 8 per run
max_pxdesign_steps 400
max_binder_length 200 binder residues
max_rfd4_designs 8 per run
max_rfd4_steps 60
max_output_bytes_per_job 640000000 640 MB of results written by one job; the disk is a fixed size whatever the balance is
max_runtime_predict_s 1500 up to 1024 residues; grows with the cube of the size above it
max_runtime_design_s 2700 same scaling
max_runtime_embed_s 300
max_stall_s 600 predict: seconds without progress before a run counts as stuck, up to 1024 residues; grows like the runtime cap above it
max_stall_design_s 1200 same scaling
max_stall_embed_s 240

Over one of these you get 400. See Errors.

Chain ids

Each model holds chain ids of a different length, and some write PDB output (output_format: pdb) only with shorter ones:

id Chain id characters In PDB output Spaces
boltz2 5 5 ✓
esmfold2 16 16 ✓
esmfold2-fast 16 16 ✓
openfold3 4 1 ✓
openbind 4 1 ✓
rf3 any 1 -
opendde any any ✓
opendde-abag any any ✓
opendde-v2 any any ✓
af2ig any any ✓
mol1 any any ✓

A FASTA id outside this is renamed and the job's warnings say to what (Predictions); a YAML id outside it is a 400.

Shortest chain

RoseTTAFold3 (rf3) folds protein, DNA and RNA chains of 4 residues or more, and answers 400 for a shorter one, which its engine would remove before folding. The other models set no floor of their own.

A job with several targets, and a BoltzGen design, runs its parts on whichever chips are free across every Galaxy at once. The next free chip goes to the account holding the fewest chips right now, then to the one that used least over the last few hours. Work that is running is never stopped to make room, so if you arrive while another account holds every chip, your first task starts as soon as one of its tasks ends.

Retention and downloads

Results are not durable storage. A finished job and its result files are kept for 30 days and then deleted; the job id then returns 404 like any unknown id. Download what you need rather than treating a job id as a permanent link.