> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/models/pretrained-aliases.md).

# Pretrained Model Aliases

Roboflow Inference ships with a set of pretrained models trained on the [COCO dataset](https://universe.roboflow.com/microsoft/coco) and exposed under short aliases such as `rfdetr-small` or `yolov8n-640`.

Aliases are convenience shortcuts: you do not need to know the underlying Roboflow project and version, and you can pass the alias anywhere a [model ID](/models/model-ids.md) is accepted.

## Code sample

{% tabs %}
{% tab title="SDK (Python)" icon="python" %}
{% stepper %}
{% step %}

### Get your API Key

Create a Roboflow account, find your key on the [Roboflow API settings page](https://app.roboflow.com/settings/api) and make it available to your shell:

```bash
export ROBOFLOW_API_KEY="your-key-here"
```

{% endstep %}

{% step %}

### Install the dependencies

```bash
pip install inference-sdk
```

{% endstep %}

{% step %}

### Run the model

Pass the alias as `model_id`:

```python
import os
from inference_sdk import InferenceHTTPClient

client = InferenceHTTPClient(
    api_url="https://serverless.roboflow.com",
    api_key=os.environ["ROBOFLOW_API_KEY"],
)

results = client.infer(
    "https://media.roboflow.com/inference/people-walking.jpg",
    model_id="rfdetr-small",
)
print(results["predictions"])
```

{% endstep %}
{% endstepper %}
{% endtab %}

{% tab title="Inference (native)" icon="server" %}
{% stepper %}
{% step %}

### Install the dependencies

Install the [Inference](https://docs.roboflow.com/deployment/self-hosted/self-hosted) package to load weights into your own process:

```bash
pip install inference
```

{% endstep %}

{% step %}

### Run the model

```python
from inference import get_model

model = get_model(model_id="rfdetr-small")

results = model.infer("https://media.roboflow.com/inference/people-walking.jpg")
print(results[0].predictions)
```

{% endstep %}
{% endstepper %}
{% endtab %}
{% endtabs %}

{% hint style="info" %}
Set `api_url` to match your deployment target:

* `https://serverless.roboflow.com` for the Serverless Cloud API.
* `http://localhost:9001` for a local [Inference](https://docs.roboflow.com/deployment/self-hosted/self-hosted) server.
* Your [Dedicated Deployment](https://docs.roboflow.com/deployment/roboflow-cloud/dedicated-deployments) URL for a private endpoint.
  {% endhint %}

## Available aliases

Click "Test in browser" to try a model on Roboflow Universe before deploying it.

### RF-DETR

Model page: [RF-DETR](/models/supported-models/rf-detr.md)

| Model                          | Input size | Task                  | Model ID             | Test                                                                                   |
| ------------------------------ | ---------- | --------------------- | -------------------- | -------------------------------------------------------------------------------------- |
| RF-DETR (nano)                 | 384        | Object Detection      | `rfdetr-nano`        | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/38)               |
| RF-DETR (small)                | 512        | Object Detection      | `rfdetr-small`       | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/39)               |
| RF-DETR (medium)               | 576        | Object Detection      | `rfdetr-medium`      | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/40)               |
| RF-DETR (large)                | 704        | Object Detection      | `rfdetr-large`       | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/50)               |
| RF-DETR (xlarge)               | 700        | Object Detection      | `rfdetr-xlarge`      | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/47)               |
| RF-DETR (2xlarge)              | 880        | Object Detection      | `rfdetr-2xlarge`     | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/48)               |
| RF-DETR Segmentation (nano)    | 312        | Instance Segmentation | `rfdetr-seg-nano`    | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/41) |
| RF-DETR Segmentation (small)   | 384        | Instance Segmentation | `rfdetr-seg-small`   | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/36) |
| RF-DETR Segmentation (medium)  | 432        | Instance Segmentation | `rfdetr-seg-medium`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/37) |
| RF-DETR Segmentation (large)   | 504        | Instance Segmentation | `rfdetr-seg-large`   | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/38) |
| RF-DETR Segmentation (xlarge)  | 624        | Instance Segmentation | `rfdetr-seg-xlarge`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/39) |
| RF-DETR Segmentation (2xlarge) | 768        | Instance Segmentation | `rfdetr-seg-2xlarge` | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/40) |

### YOLO26

Model page: [YOLO26](/models/supported-models/yolo26.md)

| Model                       | Input size | Task                  | Model ID           | Test                                                                                   |
| --------------------------- | ---------- | --------------------- | ------------------ | -------------------------------------------------------------------------------------- |
| YOLO26n                     | 640        | Object Detection      | `yolo26n-640`      | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/41)               |
| YOLOv26s                    | 640        | Object Detection      | `yolo26s-640`      | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/42)               |
| YOLOv26m                    | 640        | Object Detection      | `yolo26m-640`      | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/43)               |
| YOLOv26l                    | 640        | Object Detection      | `yolo26l-640`      | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/44)               |
| YOLOv26x                    | 640        | Object Detection      | `yolo26x-640`      | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/45)               |
| YOLO26n                     | 640        | Instance Segmentation | `yolo26n-seg-640`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/27) |
| YOLOv26s                    | 640        | Instance Segmentation | `yolo26s-seg-640`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/28) |
| YOLOv26m                    | 640        | Instance Segmentation | `yolo26m-seg-640`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/29) |
| YOLOv26l                    | 640        | Instance Segmentation | `yolo26l-seg-640`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/31) |
| YOLOv26x                    | 640        | Instance Segmentation | `yolo26x-seg-640`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/34) |
| YOLO26n Keypoint Detection  | 640        | Keypoint Detection    | `yolo26n-pose-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco-pose-detection/12)      |
| YOLOv26s Keypoint Detection | 640        | Keypoint Detection    | `yolo26s-pose-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco-pose-detection/13)      |
| YOLOv26m Keypoint Detection | 640        | Keypoint Detection    | `yolo26m-pose-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco-pose-detection/14)      |
| YOLOv26l Keypoint Detection | 640        | Keypoint Detection    | `yolo26l-pose-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco-pose-detection/15)      |
| YOLOv26x Keypoint Detection | 640        | Keypoint Detection    | `yolo26x-pose-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco-pose-detection/16)      |

### YOLO11

Model page: [YOLO11](/models/supported-models/yolo11.md)

| Model    | Input size | Task                  | Model ID           | Test                                                                                   |
| -------- | ---------- | --------------------- | ------------------ | -------------------------------------------------------------------------------------- |
| YOLOv11n | 640        | Object Detection      | `yolov11n-640`     | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/25)               |
| YOLOv11s | 640        | Object Detection      | `yolov11s-640`     | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/26)               |
| YOLOv11m | 640        | Object Detection      | `yolov11m-640`     | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/27)               |
| YOLOv11l | 640        | Object Detection      | `yolov11l-640`     | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/28)               |
| YOLOv11x | 640        | Object Detection      | `yolov11x-640`     | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/29)               |
| YOLOv11n | 1280       | Object Detection      | `yolov11n-1280`    | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/30)               |
| YOLOv11s | 1280       | Object Detection      | `yolov11s-1280`    | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/31)               |
| YOLOv11m | 1280       | Object Detection      | `yolov11m-1280`    | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/32)               |
| YOLOv11l | 1280       | Object Detection      | `yolov11l-1280`    | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/33)               |
| YOLOv11x | 1280       | Object Detection      | `yolov11x-1280`    | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/34)               |
| YOLOv11n | 640        | Instance Segmentation | `yolov11n-seg-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/19) |
| YOLOv11s | 640        | Instance Segmentation | `yolov11s-seg-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/20) |
| YOLOv11m | 640        | Instance Segmentation | `yolov11m-seg-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/21) |
| YOLOv11l | 640        | Instance Segmentation | `yolov11l-seg-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/22) |
| YOLOv11x | 640        | Instance Segmentation | `yolov11x-seg-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/23) |

### YOLOv10

Model page: [YOLOv10](/models/supported-models/yolov10.md)

| Model    | Input size | Task             | Model ID       | Test                                                                     |
| -------- | ---------- | ---------------- | -------------- | ------------------------------------------------------------------------ |
| YOLOv10n | 640        | Object Detection | `yolov10n-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/19) |
| YOLOv10s | 640        | Object Detection | `yolov10s-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/20) |
| YOLOv10m | 640        | Object Detection | `yolov10m-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/21) |
| YOLOv10b | 640        | Object Detection | `yolov10b-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/22) |
| YOLOv10l | 640        | Object Detection | `yolov10l-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/23) |
| YOLOv10x | 640        | Object Detection | `yolov10x-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/24) |

### YOLOv8

Model page: [YOLOv8](/models/supported-models/yolov8.md)

| Model                         | Input size | Task                  | Model ID            | Test                                                                                   |
| ----------------------------- | ---------- | --------------------- | ------------------- | -------------------------------------------------------------------------------------- |
| YOLOv8n                       | 640        | Object Detection      | `yolov8n-640`       | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/3)                |
| YOLOv8n                       | 1280       | Object Detection      | `yolov8n-1280`      | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/9)                |
| YOLOv8s                       | 640        | Object Detection      | `yolov8s-640`       | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/6)                |
| YOLOv8s                       | 1280       | Object Detection      | `yolov8s-1280`      | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/10)               |
| YOLOv8m                       | 640        | Object Detection      | `yolov8m-640`       | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/8)                |
| YOLOv8m                       | 1280       | Object Detection      | `yolov8m-1280`      | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/11)               |
| YOLOv8l                       | 640        | Object Detection      | `yolov8l-640`       | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/7)                |
| YOLOv8l                       | 1280       | Object Detection      | `yolov8l-1280`      | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/12)               |
| YOLOv8x                       | 640        | Object Detection      | `yolov8x-640`       | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/5)                |
| YOLOv8x                       | 1280       | Object Detection      | `yolov8x-1280`      | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/13)               |
| YOLOv8n Instance Segmentation | 640        | Instance Segmentation | `yolov8n-seg-640`   | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/2)  |
| YOLOv8n Instance Segmentation | 1280       | Instance Segmentation | `yolov8n-seg-1280`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/7)  |
| YOLOv8s Instance Segmentation | 640        | Instance Segmentation | `yolov8s-seg-640`   | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/4)  |
| YOLOv8m Instance Segmentation | 1280       | Instance Segmentation | `yolov8s-seg-1280`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/8)  |
| YOLOv8m Instance Segmentation | 640        | Instance Segmentation | `yolov8m-seg-640`   | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/5)  |
| YOLOv8m Instance Segmentation | 1280       | Instance Segmentation | `yolov8m-seg-1280`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/9)  |
| YOLOv8l Instance Segmentation | 640        | Instance Segmentation | `yolov8l-seg-640`   | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/6)  |
| YOLOv8l Instance Segmentation | 1280       | Instance Segmentation | `yolov8l-seg-1280`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/10) |
| YOLOv8x Instance Segmentation | 640        | Instance Segmentation | `yolov8x-seg-640`   | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/3)  |
| YOLOv8x Instance Segmentation | 1280       | Instance Segmentation | `yolov8x-seg-1280`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-dataset-vdnr1/model/11) |
| YOLOv8x Keypoint Detection    | 1280       | Keypoint Detection    | `yolov8x-pose-1280` | [Test in browser](https://universe.roboflow.com/microsoft/coco-pose-detection/6)       |
| YOLOv8x Keypoint Detection    | 640        | Keypoint Detection    | `yolov8x-pose-640`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-pose-detection/5)       |
| YOLOv8l Keypoint Detection    | 640        | Keypoint Detection    | `yolov8l-pose-640`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-pose-detection/4)       |
| YOLOv8m Keypoint Detection    | 640        | Keypoint Detection    | `yolov8m-pose-640`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-pose-detection/3)       |
| YOLOv8s Keypoint Detection    | 640        | Keypoint Detection    | `yolov8s-pose-640`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-pose-detection/2)       |
| YOLOv8n Keypoint Detection    | 640        | Keypoint Detection    | `yolov8n-pose-640`  | [Test in browser](https://universe.roboflow.com/microsoft/coco-pose-detection/1)       |

### YOLO-NAS

Model page: [YOLO-NAS](/models/supported-models/yolo-nas.md)

| Model             | Input size | Task             | Model ID         | Test                                                                     |
| ----------------- | ---------- | ---------------- | ---------------- | ------------------------------------------------------------------------ |
| YOLO-NAS (small)  | 640        | Object Detection | `yolo-nas-s-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/14) |
| YOLO-NAS (medium) | 640        | Object Detection | `yolo-nas-m-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/15) |
| YOLO-NAS (large)  | 640        | Object Detection | `yolo-nas-l-640` | [Test in browser](https://universe.roboflow.com/microsoft/coco/model/16) |

## Related pages

* [Supported Models](/models/supported-models.md) - the full catalog of models you can deploy with Roboflow.
* [Model IDs](/models/model-ids.md) - how to reference your own trained models.
* [Find a Model on Universe](https://docs.roboflow.com/datasets/universe/universe/find-a-model-on-universe) - 50,000+ community-trained models you can run the same way.
