Pretrained Model Aliases

Built-in COCO-pretrained model aliases you can run with Roboflow Inference without training a model.

Roboflow Inference ships with a set of pretrained models trained on the COCO dataset 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 is accepted.

Code sample

1

Get your API Key

Create a Roboflow account, find your key on the Roboflow API settings page and make it available to your shell:

export ROBOFLOW_API_KEY="your-key-here"
2

Install the dependencies

pip install inference-sdk
3

Run the model

Pass the alias as model_id:

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"])

Set api_url to match your deployment target:

  • https://serverless.roboflow.com for the Serverless Cloud API.
  • http://localhost:9001 for a local Inference server.
  • Your Dedicated Deployment URL for a private endpoint.

Available aliases

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

RF-DETR

Model page: RF-DETR

ModelInput sizeTaskModel IDTest
RF-DETR (nano)384Object Detectionrfdetr-nanoTest in browser
RF-DETR (small)512Object Detectionrfdetr-smallTest in browser
RF-DETR (medium)576Object Detectionrfdetr-mediumTest in browser
RF-DETR (large)704Object Detectionrfdetr-largeTest in browser
RF-DETR (xlarge)700Object Detectionrfdetr-xlargeTest in browser
RF-DETR (2xlarge)880Object Detectionrfdetr-2xlargeTest in browser
RF-DETR Segmentation (nano)312Instance Segmentationrfdetr-seg-nanoTest in browser
RF-DETR Segmentation (small)384Instance Segmentationrfdetr-seg-smallTest in browser
RF-DETR Segmentation (medium)432Instance Segmentationrfdetr-seg-mediumTest in browser
RF-DETR Segmentation (large)504Instance Segmentationrfdetr-seg-largeTest in browser
RF-DETR Segmentation (xlarge)624Instance Segmentationrfdetr-seg-xlargeTest in browser
RF-DETR Segmentation (2xlarge)768Instance Segmentationrfdetr-seg-2xlargeTest in browser
RF-DETR Keypoint Preview576Keypoint Detectionrfdetr-keypoint-previewTest in browser

YOLO26

Model page: YOLO26

ModelInput sizeTaskModel IDTest
YOLO26n640Object Detectionyolo26n-640Test in browser
YOLOv26s640Object Detectionyolo26s-640Test in browser
YOLOv26m640Object Detectionyolo26m-640Test in browser
YOLOv26l640Object Detectionyolo26l-640Test in browser
YOLOv26x640Object Detectionyolo26x-640Test in browser
YOLO26n640Instance Segmentationyolo26n-seg-640Test in browser
YOLOv26s640Instance Segmentationyolo26s-seg-640Test in browser
YOLOv26m640Instance Segmentationyolo26m-seg-640Test in browser
YOLOv26l640Instance Segmentationyolo26l-seg-640Test in browser
YOLOv26x640Instance Segmentationyolo26x-seg-640Test in browser
YOLO26n Keypoint Detection640Keypoint Detectionyolo26n-pose-640Test in browser
YOLOv26s Keypoint Detection640Keypoint Detectionyolo26s-pose-640Test in browser
YOLOv26m Keypoint Detection640Keypoint Detectionyolo26m-pose-640Test in browser
YOLOv26l Keypoint Detection640Keypoint Detectionyolo26l-pose-640Test in browser
YOLOv26x Keypoint Detection640Keypoint Detectionyolo26x-pose-640Test in browser

YOLO11

Model page: YOLO11

ModelInput sizeTaskModel IDTest
YOLOv11n640Object Detectionyolov11n-640Test in browser
YOLOv11s640Object Detectionyolov11s-640Test in browser
YOLOv11m640Object Detectionyolov11m-640Test in browser
YOLOv11l640Object Detectionyolov11l-640Test in browser
YOLOv11x640Object Detectionyolov11x-640Test in browser
YOLOv11n1280Object Detectionyolov11n-1280Test in browser
YOLOv11s1280Object Detectionyolov11s-1280Test in browser
YOLOv11m1280Object Detectionyolov11m-1280Test in browser
YOLOv11l1280Object Detectionyolov11l-1280Test in browser
YOLOv11x1280Object Detectionyolov11x-1280Test in browser
YOLOv11n640Instance Segmentationyolov11n-seg-640Test in browser
YOLOv11s640Instance Segmentationyolov11s-seg-640Test in browser
YOLOv11m640Instance Segmentationyolov11m-seg-640Test in browser
YOLOv11l640Instance Segmentationyolov11l-seg-640Test in browser
YOLOv11x640Instance Segmentationyolov11x-seg-640Test in browser

YOLOv10

Model page: YOLOv10

ModelInput sizeTaskModel IDTest
YOLOv10n640Object Detectionyolov10n-640Test in browser
YOLOv10s640Object Detectionyolov10s-640Test in browser
YOLOv10m640Object Detectionyolov10m-640Test in browser
YOLOv10b640Object Detectionyolov10b-640Test in browser
YOLOv10l640Object Detectionyolov10l-640Test in browser
YOLOv10x640Object Detectionyolov10x-640Test in browser

YOLOv8

Model page: YOLOv8

ModelInput sizeTaskModel IDTest
YOLOv8n640Object Detectionyolov8n-640Test in browser
YOLOv8n1280Object Detectionyolov8n-1280Test in browser
YOLOv8s640Object Detectionyolov8s-640Test in browser
YOLOv8s1280Object Detectionyolov8s-1280Test in browser
YOLOv8m640Object Detectionyolov8m-640Test in browser
YOLOv8m1280Object Detectionyolov8m-1280Test in browser
YOLOv8l640Object Detectionyolov8l-640Test in browser
YOLOv8l1280Object Detectionyolov8l-1280Test in browser
YOLOv8x640Object Detectionyolov8x-640Test in browser
YOLOv8x1280Object Detectionyolov8x-1280Test in browser
YOLOv8n Instance Segmentation640Instance Segmentationyolov8n-seg-640Test in browser
YOLOv8n Instance Segmentation1280Instance Segmentationyolov8n-seg-1280Test in browser
YOLOv8s Instance Segmentation640Instance Segmentationyolov8s-seg-640Test in browser
YOLOv8m Instance Segmentation1280Instance Segmentationyolov8s-seg-1280Test in browser
YOLOv8m Instance Segmentation640Instance Segmentationyolov8m-seg-640Test in browser
YOLOv8m Instance Segmentation1280Instance Segmentationyolov8m-seg-1280Test in browser
YOLOv8l Instance Segmentation640Instance Segmentationyolov8l-seg-640Test in browser
YOLOv8l Instance Segmentation1280Instance Segmentationyolov8l-seg-1280Test in browser
YOLOv8x Instance Segmentation640Instance Segmentationyolov8x-seg-640Test in browser
YOLOv8x Instance Segmentation1280Instance Segmentationyolov8x-seg-1280Test in browser
YOLOv8x Keypoint Detection1280Keypoint Detectionyolov8x-pose-1280Test in browser
YOLOv8x Keypoint Detection640Keypoint Detectionyolov8x-pose-640Test in browser
YOLOv8l Keypoint Detection640Keypoint Detectionyolov8l-pose-640Test in browser
YOLOv8m Keypoint Detection640Keypoint Detectionyolov8m-pose-640Test in browser
YOLOv8s Keypoint Detection640Keypoint Detectionyolov8s-pose-640Test in browser
YOLOv8n Keypoint Detection640Keypoint Detectionyolov8n-pose-640Test in browser

YOLO-NAS

Model page: YOLO-NAS

ModelInput sizeTaskModel IDTest
YOLO-NAS (small)640Object Detectionyolo-nas-s-640Test in browser
YOLO-NAS (medium)640Object Detectionyolo-nas-m-640Test in browser
YOLO-NAS (large)640Object Detectionyolo-nas-l-640Test in browser