---
title: "Deploy Inference Model"
method: POST
path: "/v1/developer/{developer_id}/deployments/inference"
tags: ["Developer Management"]
---

# Deploy Inference Model

`POST /v1/developer/{developer_id}/deployments/inference`

## Request

- Base URL: `https://api.oneinfer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oneinfer.ai/v1/developer/{developer_id}/deployments/inference`
- Auth: HTTP bearer

Create a permanent inference deployment.

## Path parameters

- `developer_id` string, required

## Request body

- InferenceDeploymentRequest
  - `model_name` string, required
  - `model_path` string, required
  - `resource_spec` ResourceSpec, required
    - `cloud` string, nullable
    - `instance_type` string, nullable
    - `accelerators` string, required
    - `cpus` string, nullable
    - `memory` string, nullable
    - `disk_size` integer, nullable
    - `use_spot` boolean
    - `cloud_preference` string[], nullable
    - `region` string, nullable
  - `environment_vars` object
  - `idle_timeout` integer

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/oneinfer/apis/oneinfer-apis.md) · [All operations](https://skmtc.dev/oneinfer/apis/oneinfer-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/oneinfer/apis/oneinfer-apis/revisions/a49f22311a8f?raw)
