All models

Roboflow

RF-DETR Large

About

RF-DETR Large is a 33.9M open-weight model from Roboflow. RF-DETR Large COCO object detection on images and live video; boxes, labels and scores per frame. It accepts images.

  • Parameters

    33.9M

    Published parameter count.

  • License

    Apache-2.0

    License on the weights.

Pricing

Token rates are US dollars per 1M tokens. Image rates are per 1K images. Audio rates are per 1M audio seconds.

RatePrice
Per 1K images$1

Compare

RF-DETR Large is one of the catalog's detection models. The table is each model's published price, size, and context.

ModelWhat it doesPriceParametersContext
RF-DETR LargeRF-DETR Large COCO object detection on images and live video; boxes, labels and scores per frame.$1 / 1K images33.9M—
RF-DETR Seg LargeRF-DETR Seg Large COCO instance segmentation on images and live video; instances and a label map per frame.$3 / 1K images33.9M—
Florence-2Vision foundation model for captioning, OCR, detection, and region tasks.$1 / 1K images232M—

Benchmarks

Published scores for RF-DETR Large, from the RF-DETR docs.

Evals
ReadingExample
QualitativeClear structure, grounded in the input
QuantitativeCOCO AP50: 75.1.
Cost and performanceLower listed rate, mid-pack latency

Performance

Latency is the end-to-end round trip. Throughput is completion tokens divided by that time. It is a request rate, not decode speed.

  • Latency

    12 ms

  • Throughput

    —

  • Requests

    3,987

Supported inputs

  • textNo

    A text part is a 400. Send the image alone.

  • image_urlYes

    One per request. A second image_url part is a 400.

  • video_urlNo

    Not accepted.

  • document_urlNo

    Not accepted.

  • detect is the only method.
  • Live video: WS /v1/ws. Open a session with {"model": "roboflow/rfdetr-large", "method": "detect"}, then send one JPEG per message, up to 30 frames a second.
  • Weights: the rfdetr package's rfdetr-large checkpoint (Apache-2.0). Aliases: rfdetr-large, roboflow/rfdetr-large:realtime.

Methods

Methods this model serves. Payload shapes are in the docs.

MethodReturns
detect (default)One item per object above threshold, best first, with bbox_xywh, label, and score

Method parameters

ParameterDefaultDescription
threshold0.3Minimum score for an object to be returned, 0 to 1.

Estimate cost

$1.00

Quick start

Call this model on the OpenAI-compatible gateway. The model id is already filled in.

from openai import OpenAI

client = OpenAI(
    base_url="https://gateway.vlm.run/openai",
    api_key="<VLMRUN_API_KEY>",
)

response = client.chat.completions.create(
    model="roboflow/rfdetr-large",
    messages=[
        {
            "role": "user",
            "content": [
                {
                    "type": "image_url",
                    "image_url": {
                        "url": "https://storage.googleapis.com/vlm-data-public-prod/hub/examples/image.agent/lunch-skyscraper.jpg"
                    },
                },
            ],
        }
    ],
    extra_body={"method": "detect"},
)

print(response.choices[0].message.content)

Response

A single image returns the json block alone, with no wrapper:

{
  "object": "img.detect.bboxes",
  "items": [
    { "bbox_xywh": [0.0533, 0.1208, 0.2912, 0.8588], "label": "person", "score": 0.9421 },
    { "bbox_xywh": [0.4695, 0.2505, 0.4055, 0.5844], "label": "dog", "score": 0.8123 }
  ]
}

bbox_xywh is [x, y, w, h], normalized against the image. label is the COCO class and score the confidence.

An image with nothing above threshold is not an error. The call succeeds with an empty items array.

Get an API key. Ship vision today.