> 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/deployment/roboflow-cloud/dedicated-deployments.md).

# Dedicated Deployments

Run your models and Workflows on private cloud servers that Roboflow manages for you.

## About

Dedicated Deployments are private cloud servers, managed by Roboflow, that run your computer vision models and Workflows on resources allocated specifically to you. They let you serve inference without provisioning or maintaining your own infrastructure, with pay-per-hour billing and secure access through your workspace API key. Use them when you need consistent, dedicated performance for development, testing, or production traffic.

### What Dedicated Deployments Run

A Dedicated Deployment can serve:

* Object detection, segmentation, classification, and keypoint detection models trained on or uploaded to Roboflow
* Foundation models (ex: CLIP, Florence-2)
* [Workflows](https://docs.roboflow.com/workflows)

### How They Work

* Roboflow sets up and maintains the server: there is no cloud account, server setup, TLS certificate, or patching for you to manage.
* The server's resources are allocated to you alone, so performance does not depend on other users' traffic.
* Each deployment gets a subdomain of `roboflow.cloud` and is served over HTTPS. Requests need your workspace API key.
* Billing is per hour, in 1-minute intervals, for as long as the deployment exists and is not paused.
* A deployment pauses itself after a set time with no requests, and resumes when you send it a request with your API key. For `dev-cpu` and `dev-gpu`, the idle time is 1 hour. Learn more in [Pause and Resume a Dedicated Deployment](https://docs.roboflow.com/deployment/roboflow-cloud/dedicated-deployments/pause-and-resume-a-dedicated-deployment.md).

### API Keys

A Dedicated Deployment runs on the workspace API key you created it with. If you roll that key, Roboflow moves the deployment onto the new key and keeps it running. If the move fails, the old key stays active so your deployment keeps serving traffic, and you can try the roll again.

You cannot roll a key that backs a Dedicated Deployment while the key is disabled or its [billing folder](https://docs.roboflow.com/platform/billing-and-plans/billing-folders) is paused. Enable the key, or resume the folder, then roll it.

### Inference Version

Each deployment runs a version of [Roboflow Inference](https://docs.roboflow.com/deployment/self-hosted/self-hosted.md). To change it, open the settings of a deployment after it finishes provisioning and choose an option in "Inference Version":

* "Latest (auto-upgrade)": the deployment upgrades within 7 days of each Inference release, and each time it restarts.
* A version number: the deployment stays on that version until you change it.

Changing the version restarts running replicas. CUDA 13 deployments must stay on a version number. To choose the version when you create a deployment, see [Create a Dedicated Deployment](https://docs.roboflow.com/deployment/roboflow-cloud/dedicated-deployments/create-a-dedicated-deployment.md).

### Environment Variables

You can set some [Inference server environment variables](https://docs.roboflow.com/deployment/self-hosted/inference-server/configuration/environment-variables.md) on a deployment (ex: `MAX_CONCURRENT_INFERENCE_REQUESTS`, `CONCURRENT_INFERENCE_REQUESTS_QUEUE_TIMEOUT`). Set them in "Environment Variables" when you create the deployment, or in its settings after it finishes provisioning. Leave a field empty to use the default value. Saving new values restarts running replicas, and a paused deployment uses them when it resumes.

### Stop Notifications

Roboflow emails Workspace Admins and the deployment's creator when a Dedicated Deployment stops serving, except for inactivity pauses, expiry, and deletion. In Workspaces that can use [startup scripts](https://docs.roboflow.com/deployment/roboflow-cloud/dedicated-deployments/startup-scripts.md), set "Deployment Alert Recipients" when you create or edit the deployment: only the selected members receive these alerts, and an empty list sends to the creator. Recipients must still be Workspace members.

### Limitations

* All Dedicated Deployments run in US data centers, so requests from other regions may see higher latency. If you are outside the US, [contact sales](https://roboflow.com/sales) about options with lower latency.
* Dedicated Deployments are available to Core and Enterprise plan workspaces. See [Roboflow plans](https://roboflow.com/pricing).

### Types of Dedicated Deployments

There are four types of Dedicated Deployments: `dev-cpu`, `dev-gpu`, `prod-cpu`, and `prod-gpu`. The dev types are for development and testing, and are deleted automatically after 3 hours. The prod types stay until you delete them, and serve production traffic.

<table data-search="false"><thead><tr><th width="184">Type</th><th>Features</th></tr></thead><tbody><tr><td>dev-cpu</td><td><p>Deleted automatically after 3 hours.</p><p>Runs models on the CPU.</p><p>For testing integrations and prototyping.</p></td></tr><tr><td>dev-gpu</td><td><p>Deleted automatically after 3 hours.</p><p>Runs models on a GPU, for models that need one (ex: Florence-2).</p><p>For testing integrations and prototyping.</p></td></tr><tr><td>prod-cpu</td><td><p>Persistent, with its own subdomain <code>&#x3C;some-name>.roboflow.cloud</code>.</p><p>Runs models on the CPU.</p><p>For production traffic.</p></td></tr><tr><td>prod-gpu</td><td><p>Persistent, with its own subdomain <code>&#x3C;some-name>.roboflow.cloud</code>.</p><p>Runs models on a GPU, for models that need one (ex: Florence-2).</p><p>For production traffic.</p></td></tr></tbody></table>

### Billing

Dedicated Deployments bill per hour, in 1-minute intervals. GPU deployments (dev-gpu, prod-gpu) cost more per hour than CPU deployments (dev-cpu, prod-cpu). See the [credits page](https://roboflow.com/credits) for rates.

To be billed by the number of requests instead, [contact sales](https://roboflow.com/sales).

Every Dedicated Deployment runs [Roboflow Inference](https://docs.roboflow.com/deployment/self-hosted/self-hosted.md), the open source inference server. See the Inference documentation for the features it supports.

### Useful Links <a href="#provision-and-manage-dedicated-deployments-web-application" id="provision-and-manage-dedicated-deployments-web-application"></a>

* [How to create a dedicated deployment (Roboflow App)](https://docs.roboflow.com/deployment/roboflow-cloud/dedicated-deployments/create-a-dedicated-deployment.md)
* [How to create a dedicated deployment (Roboflow CLI)](https://docs.roboflow.com/deployment/roboflow-cloud/dedicated-deployments/create-a-dedicated-deployment.md#create-a-dedicated-deployment-with-the-cli)
* [How to use a dedicated deployment](https://docs.roboflow.com/deployment/roboflow-cloud/dedicated-deployments/make-requests-to-a-dedicated-deployment.md)
* [HTTP APIs](#http-api)

## HTTP API

Dedicated Deployments are managed by their own service at `https://roboflow.cloud`, not by the Platform API at `https://api.roboflow.com`. Use these endpoints to create, inspect, pause, resume, and delete deployments, and to read their logs and usage. To run models on a deployment once it is ready, see [Make Requests to a Dedicated Deployment](https://docs.roboflow.com/deployment/roboflow-cloud/dedicated-deployments/make-requests-to-a-dedicated-deployment.md).

{% hint style="info" %}
[Deployment Manager](https://docs.roboflow.com/deployment/self-hosted/enterprise/deployment-manager.md#http-api) is a separate product. Dedicated Deployments are servers in Roboflow's cloud. Deployment Manager devices are your own hardware running [Roboflow Inference](https://docs.roboflow.com/deployment/self-hosted/self-hosted.md).
{% endhint %}

GET requests take your workspace API key in the `api_key` query parameter. POST requests take it in the `api_key` field of the JSON body. A `200` response has a JSON body. Any other status has an error message, usually as plain text, so check the status before you parse the body.

### List Machine Types

{% openapi src="/files/K3DUIH0gghloNOVXYSpi" path="/machine\_types" method="get" %}
[dedicated-deployments.yaml](https://1583372177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoksNmwps1HmYr8TqHDnX%2Fuploads%2Fgit-blob-486a5780b2b1a819266e063e8747371b4d46a4d3%2Fdedicated-deployments.yaml?alt=media)
{% endopenapi %}

### Create a Deployment

The deployment starts in the background, so the response has `status` set to `pending`. Call [Get a Deployment](#get-a-deployment) every 30 seconds until `status` is `ready`, then send requests to its `domain`.

{% openapi src="/files/K3DUIH0gghloNOVXYSpi" path="/add" method="post" %}
[dedicated-deployments.yaml](https://1583372177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoksNmwps1HmYr8TqHDnX%2Fuploads%2Fgit-blob-486a5780b2b1a819266e063e8747371b4d46a4d3%2Fdedicated-deployments.yaml?alt=media)
{% endopenapi %}

### Get a Deployment

{% openapi src="/files/K3DUIH0gghloNOVXYSpi" path="/get" method="get" %}
[dedicated-deployments.yaml](https://1583372177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoksNmwps1HmYr8TqHDnX%2Fuploads%2Fgit-blob-486a5780b2b1a819266e063e8747371b4d46a4d3%2Fdedicated-deployments.yaml?alt=media)
{% endopenapi %}

### List Deployments

{% openapi src="/files/K3DUIH0gghloNOVXYSpi" path="/list" method="get" %}
[dedicated-deployments.yaml](https://1583372177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoksNmwps1HmYr8TqHDnX%2Fuploads%2Fgit-blob-486a5780b2b1a819266e063e8747371b4d46a4d3%2Fdedicated-deployments.yaml?alt=media)
{% endopenapi %}

### Get Deployment Logs

{% openapi src="/files/K3DUIH0gghloNOVXYSpi" path="/get\_log" method="get" %}
[dedicated-deployments.yaml](https://1583372177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoksNmwps1HmYr8TqHDnX%2Fuploads%2Fgit-blob-486a5780b2b1a819266e063e8747371b4d46a4d3%2Fdedicated-deployments.yaml?alt=media)
{% endopenapi %}

### Get Workspace Usage

{% openapi src="/files/K3DUIH0gghloNOVXYSpi" path="/usage\_workspace" method="get" %}
[dedicated-deployments.yaml](https://1583372177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoksNmwps1HmYr8TqHDnX%2Fuploads%2Fgit-blob-486a5780b2b1a819266e063e8747371b4d46a4d3%2Fdedicated-deployments.yaml?alt=media)
{% endopenapi %}

### Get Deployment Usage

{% openapi src="/files/K3DUIH0gghloNOVXYSpi" path="/usage\_deployment" method="get" %}
[dedicated-deployments.yaml](https://1583372177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoksNmwps1HmYr8TqHDnX%2Fuploads%2Fgit-blob-486a5780b2b1a819266e063e8747371b4d46a4d3%2Fdedicated-deployments.yaml?alt=media)
{% endopenapi %}

### Pause a Deployment

{% openapi src="/files/K3DUIH0gghloNOVXYSpi" path="/pause" method="post" %}
[dedicated-deployments.yaml](https://1583372177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoksNmwps1HmYr8TqHDnX%2Fuploads%2Fgit-blob-486a5780b2b1a819266e063e8747371b4d46a4d3%2Fdedicated-deployments.yaml?alt=media)
{% endopenapi %}

### Resume a Deployment

A paused deployment also resumes when it gets a request with your API key. A deployment that paused after [startup script failures](https://docs.roboflow.com/deployment/roboflow-cloud/dedicated-deployments/startup-scripts.md#failures) resumes only through this endpoint or the web app.

{% openapi src="/files/K3DUIH0gghloNOVXYSpi" path="/resume" method="post" %}
[dedicated-deployments.yaml](https://1583372177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoksNmwps1HmYr8TqHDnX%2Fuploads%2Fgit-blob-486a5780b2b1a819266e063e8747371b4d46a4d3%2Fdedicated-deployments.yaml?alt=media)
{% endopenapi %}

### Delete a Deployment

{% openapi src="/files/K3DUIH0gghloNOVXYSpi" path="/delete" method="post" %}
[dedicated-deployments.yaml](https://1583372177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoksNmwps1HmYr8TqHDnX%2Fuploads%2Fgit-blob-486a5780b2b1a819266e063e8747371b4d46a4d3%2Fdedicated-deployments.yaml?alt=media)
{% endopenapi %}

### Update a Startup Script

To change the startup script of an existing deployment, see [Startup Scripts](https://docs.roboflow.com/deployment/roboflow-cloud/dedicated-deployments/startup-scripts.md#http-api).

## Python SDK

[Dedicated Deployments](https://docs.roboflow.com/deployment/roboflow-cloud/dedicated-deployments.md) are managed GPU machines that run your Roboflow models with predictable latency and high throughput. The SDK manages them through the `roboflow.adapters.deploymentapi` adapter - the high-level `Workspace` class doesn't currently expose deployment methods.

Each function returns a `(status_code, body)` tuple so you can branch on the HTTP result:

```python
from roboflow.adapters import deploymentapi

status, body = deploymentapi.list_deployment("YOUR_API_KEY")
if status == 200:
    for d in body:
        print(d["deployment_name"], d["status"])
else:
    print("Failed:", body)
```

### List available machine types

```python
from roboflow.adapters import deploymentapi

status, body = deploymentapi.list_machine_types("YOUR_API_KEY")
for m in body.get("machine_types", []):
    print(m["name"], m.get("description"))
```

### Create a deployment

```python
status, body = deploymentapi.add_deployment(
    api_key="YOUR_API_KEY",
    creator_email="me@company.com",          # must be a workspace member
    machine_type="dev-gpu",
    duration=8,                                # hours
    delete_on_expiration=True,
    deployment_name="my-deployment",
    inference_version=None,                    # None → latest
)
```

The deployment provisions asynchronously. Poll `get_deployment` until `status == "ready"`.

### Get deployment details

```python
status, body = deploymentapi.get_deployment("YOUR_API_KEY", "my-deployment")
print(body["status"], body["domain"])
```

### Pause / resume / delete

```python
deploymentapi.pause_deployment("YOUR_API_KEY", "my-deployment")
deploymentapi.resume_deployment("YOUR_API_KEY", "my-deployment")
deploymentapi.delete_deployment("YOUR_API_KEY", "my-deployment")
```

### Logs

```python
import datetime as dt

status, body = deploymentapi.get_deployment_log(
    api_key="YOUR_API_KEY",
    deployment_name="my-deployment",
    from_timestamp=dt.datetime.utcnow() - dt.timedelta(hours=1),
    to_timestamp=dt.datetime.utcnow(),
    max_entries=200,
)
for entry in body:
    print(entry["timestamp"], entry["payload"])
```

### Usage

```python
status, ws_usage = deploymentapi.get_workspace_usage(
    api_key="YOUR_API_KEY",
    from_timestamp=dt.datetime(2026, 4, 1),
    to_timestamp=dt.datetime(2026, 5, 1),
)

status, dep_usage = deploymentapi.get_deployment_usage(
    api_key="YOUR_API_KEY",
    deployment_name="my-deployment",
    from_timestamp=dt.datetime(2026, 4, 1),
    to_timestamp=dt.datetime(2026, 5, 1),
)
```

### Running inference against a dedicated deployment

Once a deployment is ready, point inference SDK calls at its `domain` (returned by `get_deployment`):

```python
from inference_sdk import InferenceHTTPClient, InferenceConfiguration

client = InferenceHTTPClient(
    api_url=f"https://{body['domain']}", api_key="YOUR_API_KEY"
).configure(InferenceConfiguration(api_key_transport="header"))
result = client.infer("photo.jpg", model_id="my-detector/3")
```

## CLI

You can create, monitor, and manage [Dedicated Deployments](https://docs.roboflow.com/deployment/roboflow-cloud/dedicated-deployments.md) from the command line.

### List Deployments

```bash
roboflow deployment list
```

### List Machine Types

```bash
roboflow deployment machine-type
```

### Create a Deployment

```bash
roboflow deployment create <name> -m <machine-type> -e <email>
```

#### Options

| Flag                        | Description                                                           |
| --------------------------- | --------------------------------------------------------------------- |
| `-m`, `--machine-type`      | Machine type (required). Run `deployment machine-type` to see options |
| `-e`, `--email`             | Your email, must be a workspace member (required)                     |
| `--duration`                | Duration in hours (default: 3)                                        |
| `--inference-version`       | Inference server version (default: latest)                            |
| `--no-delete-on-expiration` | Keep deployment when it expires                                       |
| `--wait`                    | Wait until deployment is ready                                        |

Example:

```bash
roboflow deployment create my-deployment -m dev-gpu -e me@company.com --duration 8
```

### Get Deployment Details

```bash
roboflow deployment get <name>
```

Wait for a pending deployment to be ready:

```bash
roboflow deployment get my-deployment --wait
```

### View Logs

```bash
roboflow deployment log <name>
```

Follow logs in real-time:

```bash
roboflow deployment log my-deployment -f
```

#### Options

| Flag               | Description                                  |
| ------------------ | -------------------------------------------- |
| `-d`, `--duration` | Log window in seconds (default: 3600)        |
| `-n`, `--tail`     | Lines to show from end (max 50, default: 10) |
| `-f`, `--follow`   | Follow log output                            |

### Usage Statistics

Get workspace-wide usage:

```bash
roboflow deployment usage
```

Get usage for a specific deployment:

```bash
roboflow deployment usage my-deployment
```

#### Options

| Flag     | Description           |
| -------- | --------------------- |
| `--from` | Start time (ISO 8601) |
| `--to`   | End time (ISO 8601)   |

### Pause, Resume, and Delete

```bash
roboflow deployment pause my-deployment
roboflow deployment resume my-deployment
roboflow deployment delete my-deployment
```

### JSON Output

All deployment commands support `--json`:

```bash
roboflow deployment list --json
roboflow deployment get my-deployment --json
```
