> 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/deploy/download-roboflow-model-weights.md).

# 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 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
from roboflow import Roboflow

rf = Roboflow(api_key="YOUR_API_KEY")
model = rf.workspace().project("PROJECT_ID").version(1).models()[0]
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.
