# Boltz-1
Legacy Boltz-2 folding path; prefer BOLTZ2 unless you need its template-mapping inputs.
- Job type: `BOLTZ`
- Task: Structure prediction
- Price: 1 credit for one structure
- Behavior and limits: Mode is inferred from the inputs; hotspots live on inputs here, not params.
- Source: Boltz (https://github.com/jwohlwend/boltz)
- Paper: Passaro et al., Boltz-2: towards accurate and efficient binding affinity prediction. bioRxiv 2025.

## Example

### CLI

```bash
# chains takes a list the example cannot fill; pass it from Python or HTTP
phi jobs submit BOLTZ \
  --input sequence=NLYIQWLKDGGPSSGRPPPS \
  --input target_pdb=@target.pdb \
  --param diffusion_samples=5 \
  --param recycling_steps=3 \
  --param use_msa_server=false \
  --wait --out out
```

### Python

```python
from phi import PhiClient

with PhiClient() as phi:
    target_pdb = phi.files.upload(path="target.pdb")
    job = phi.jobs.submit(
        "BOLTZ",
        inputs={
        "sequence": [
                "NLYIQWLKDGGPSSGRPPPS"
        ],
        "chains": [],
        "target_pdb_gcs_uri": target_pdb
        },
        params={
        "diffusion_samples": 5,
        "recycling_steps": 3,
        "use_msa_server": false
        },
    )
    print(phi.jobs.wait(job.job_id).status)
```

### HTTP

```bash
curl -X POST https://api.dynophi.com/v1/jobs \
  -H "x-api-key: $PHI_KEY" -H "content-type: application/json" \
  -d '{
  "job_type": "BOLTZ",
  "inputs": {
    "sequence": [
      "NLYIQWLKDGGPSSGRPPPS"
    ],
    "chains": [],
    "target_pdb_gcs_uri": "<gs:// uri from POST /v1/uploads/url>"
  },
  "params": {
    "diffusion_samples": 5,
    "recycling_steps": 3,
    "use_msa_server": false
  }
}'
```

## Parameters

| Name | Type | Default | Description |
|---|---|---|---|
| `gpu` | string one of a100, t4, a100_80gb, h100, a100_or_h100, a100_80gb_or_h100, a100_preferred, h100_preferred | `null` | Per-job GPU class override. |
| `diffusion_samples` (essential) | integer | `5` | Diffusion samples. |
| `sampling_steps` | integer | `200` | Sampling steps. |
| `recycling_steps` (essential) | integer | `3` | Recycling steps. |
| `seed` | integer | `null` | Random seed. |
| `use_msa_server` (essential) | boolean | `false` | Generate an MSA via the MSA server. Sends the sequence to the public ColabFold MSA server, run by the ColabFold project, not by Dyno. It is outside Dyno's confidentiality commitments. To avoid this, attach your own alignment with msa_uri. |
| `use_potentials` | boolean | `false` | Enable steering potentials. |
| `max_msa_seqs` | integer | `null` | Cap on MSA depth. |
| `use_boltzgen_checkpoint` | boolean | `false` | Advanced: fold with the BoltzGen checkpoint instead of the standard Boltz-2 weights (falls back to Boltz-2 if the checkpoint is unavailable). |

## Inputs

| Name | Type | Default | Description |
|---|---|---|---|
| `sequence` (essential) | string | `null` | Single-chain sequence, or 'SEQ_A:SEQ_B' for a multimer. Provide sequence, chains, or target_pdb. |
| `chains` (essential) | list of ChainInput | `null` | Explicit multimer chain list ([{id, sequence}, ...]). |
| `mode` | string one of sequence, multimer, template, complex | `null` | Override the auto-detected mode. |
| `target_pdb` | string | `null` | Complex-mode target as base64 PDB. Provide this or target_pdb_gcs_uri. |
| `target_pdb_gcs_uri` (essential) | string | `null` | gs:// URI to the complex-mode target. |
| `template_pdb` | string | `null` | Template structure as base64 (preserved as-is; CIF or PDB). |
| `template_pdb_gcs_uri` | string | `null` | gs:// URI to the template structure. |
| `template_format` | string one of pdb, cif | `"pdb"` | File extension for an inline template_pdb. |
| `template_chains` | list of string |  | Template chains to use (complex mode). |
| `template_chain_id` | string | `null` | Query→template chain mapping (single-chain template mode). |
| `template_id` | string | `null` | Template ID (single-chain template mode). |
| `template_chain_ids` | list of string |  | Query→template chain mapping (multimer template mode). |
| `template_ids` | list of string |  | Template IDs (multimer template mode). |
| `template_force` | boolean | `false` | Force-apply the template. |
| `template_threshold` | number | `2` | Template RMSD threshold (Angstrom). |
| `msa_uri` | string | `null` | gs:// URI to a precomputed .a3m (single chain) or paired CSV (multimer). |
| `free_chain` | string | `"A"` | Chain ID of the binder (free) chain. |
| `hotspots` (essential) | list of string |  | Interface hotspot residue IDs. |

---
Source: https://dynophi.com/docs/models/BOLTZ. From the live API schema and phi-api's model catalog, 2026-11-23.