# Protenix
AlphaFold3-class co-folding from ByteDance, strong on antibody and VHH complexes.
- Job type: `PROTENIX`
- Task: Structure prediction
- Price: 2 credits for one structure
- Behavior and limits: Several seeds beats a large sample count on the v2 checkpoint. `n_sample` and `seeds` are best-of: one structure per input unless `return_all_samples` is true.
- Source: ByteDance (https://github.com/bytedance/Protenix)
- Paper: citation pending

## Example

### CLI

```bash
# complexes takes a list the example cannot fill; pass it from Python or HTTP
phi jobs submit PROTENIX \
  --input sequences=NLYIQWLKDGGPSSGRPPPS \
  --param model=protenix-v2 \
  --param n_sample=5 \
  --param n_cycle=10 \
  --param n_step=200 \
  --wait --out out
```

### Python

```python
from phi import PhiClient

with PhiClient() as phi:
    job = phi.jobs.submit(
        "PROTENIX",
        inputs={
        "sequences": [
                "NLYIQWLKDGGPSSGRPPPS"
        ],
        "complexes": []
        },
        params={
        "model": "protenix-v2",
        "n_sample": 5,
        "n_cycle": 10,
        "n_step": 200
        },
    )
    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": "PROTENIX",
  "inputs": {
    "sequences": [
      "NLYIQWLKDGGPSSGRPPPS"
    ],
    "complexes": []
  },
  "params": {
    "model": "protenix-v2",
    "n_sample": 5,
    "n_cycle": 10,
    "n_step": 200
  }
}'
```

## 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. |
| `seed` | integer | `null` | Single seed (default 101). Mutually exclusive with `seeds`. |
| `seeds` (essential) | list of integer | `null` | Multiple seeds. Mutually exclusive with `seed`. |
| `model` (essential) | string one of protenix-v1, protenix-v2 | `"protenix-v2"` | Protenix checkpoint. |
| `n_sample` (essential) | integer | `5` | Diffusion samples per seed. Only the top-ranked sample across all seeds is returned unless `return_all_samples` is true. |
| `n_step` (essential) | integer | `200` | Diffusion steps. |
| `n_cycle` (essential) | integer | `10` | Recycling cycles. |
| `dtype` | string one of bf16, fp32 | `"bf16"` | Inference precision. |
| `use_msa` (essential) | boolean | `true` | Use/generate protein MSA features. |
| `return_all_samples` (essential) | boolean | `false` | Return every seed and diffusion sample's structure and confidence under `samples`, not only the top-ranked one. The top-ranked sample remains each row's primary structure. |
| `opt_mode` | string one of off, exact, fast, big | `"off"` | Optimization-kit mode. 'off' runs stock Protenix and is the kill switch; 'exact' is bitwise-identical to 'off' and faster; 'fast' is faster still with small documented numeric differences; 'big' minimizes GPU memory for large inputs. |

## Inputs

| Name | Type | Default | Description |
|---|---|---|---|
| `source_run_id` | string | `null` | Completed GERMINAL run in this organization. Loads accepted A/B complexes from that run's germinal/sequences.json. Mutually exclusive with sequence or complex inputs. |
| `sequences` (essential) | list of string | FoldSequenceInput | `null` | Sequences to fold; accepts the 'SEQ_A:SEQ_B' colon shorthand. Provide sequences or complexes. |
| `complexes` (essential) | list of ProtenixComplexInput | `null` | Multi-chain complexes with optional per-chain MSA / template URIs and an optional structural template (template_files / template_mapping). Provide complexes or sequences. |

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