For the complete documentation index, see llms.txt. This page is also available as Markdown.

Choosing the Right Tool

When to use the Inference server, the inference package, the Inference SDK, and the Inference CLI.

Inference is the open source computer vision deployment framework behind Roboflow's hosted APIs. It ships as four pieces that work together. Most projects run the server and talk to it with the SDK.

Component
What it is
When to use it

A Docker container that exposes models and Workflows over an HTTP API.

You want one deployment that many clients, languages, or video streams can call.

The Python library that loads and runs models directly in your own process.

Lowest latency, no HTTP hop; your app is Python and runs on the same machine as the model.

A lightweight Python HTTP client for the server.

The standard way to call a local server, the Serverless Hosted API, or a Dedicated Deployment - only api_url changes.

The command line tool that starts servers, runs models and Workflows, and benchmarks a deployment.

Installing and managing the server, quick one-off predictions, benchmarking.

For the architecture of a running server (how requests, video streams, and Workflows flow through it), see Inference Architecture. To install and run the server on your own hardware, start with Self-Hosted Deployment.

Example notebooks

Runnable notebooks that solve a specific problem with Inference:

The Roboflow Notebooks repository has many more training and deployment examples.

Community and source code

Last updated

Was this helpful?