# Download Model Weights

### Automatic Download via Roboflow Inference (Recommended)

[Roboflow Inference](https://inference.roboflow.com/) is our open-source, scalable system for running models locally on CPU and GPU devices.

**This is the fastest and most reliable way to get started**. When you use Inference, you don’t need to manage files or versioning; Roboflow Inference automatically fetches and caches your model weights the first time you run your code.

* **How it works**: On your first inference request, the weights are downloaded from Roboflow’s servers and stored locally. All future predictions use this local cache—images are not sent to the cloud.
* **Deployment options**:
  * [Workflows](/workflows/deploy-a-workflow.md): For production-ready multi-step computer vision workflows
  * [Python inference SDK](https://inference.roboflow.com/quickstart/run_a_model/): For Python integration

### Manual Model Weights Download

Sometimes you may need the raw weights file (e.g., a PyTorch `.pt` file) to run on devices Roboflow does not yet natively support, such as custom Android implementations.

See the [Supported Models table](/deploy/supported-models.md) for weights download compatibility.

{% hint style="warning" %}
**Premium Feature**: Manual weights download is only available for paid users on Core plans and certain Enterprise customers. Read more on our [Pricing page](https://roboflow.com/pricing).
{% endhint %}

#### Method A: Roboflow Platform

Navigate to the Model version within your Project. If your plan allows, clicking the "Download Weights" button will allow you to download the weights . This will provide a file you can convert for use on embedded devices.

<figure><img src="/files/5IMDPfkE4HhNGfEAfpO3" alt="Download Weights button"><figcaption></figcaption></figure>

#### Method B: Python SDK

You can also use the Roboflow Python package to download weights directly to your directory:

```python
import roboflow

rf = roboflow.Roboflow(api_key="YOUR_API_KEY")
model = rf.workspace().project("PROJECT_ID").version("1").model
model.download() # Downloads 'weights.pt' to your local folder
```

**Note**: Roboflow does not provide technical support for model weights used outside of the Roboflow Inference ecosystem. For the best experience, we recommend using the Inference path outlined in Section 1.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.roboflow.com/deploy/download-roboflow-model-weights.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
