# Delete AI model

Delete an AI model

Required permission: Project > AiModels > General > Delete

**Path parameters:**

{object}
- `projectId`: (string) (required) ID of the project
- `llmModelDeploymentId`: (string) (required) ID of the AI model

**Response body:**

{object}
- `data`: {object}

## API reference

DELETE /v1/projects/{projectId}/llm-model-deployments/{llmModelDeploymentId}

DELETE /v1/teams/{teamId}/projects/{projectId}/llm-model-deployments/{llmModelDeploymentId}

### Example Response

200 OK: The operation was performed successfully.

```json
{
  "data": {}
}
```

## CLI reference

$ northflank delete llm-model-deployment

Options:

- `--projectId <projectId>`: ID of the project

- `--llmModelDeploymentId <llmModelDeploymentId>`: ID of the AI model

- `--verbose `: Verbose output

- `--quiet `: No console output

- `--force `: Don't ask for confirmation

- `-o --output <format>`: Output formatting 

### Example Response

 The operation was performed successfully.

```json
{}
```

## JavaScript client reference

### Example request



```javascript
await apiClient.delete.llmModelDeployment({
  parameters: {
    "projectId": "default-project",
    "llmModelDeploymentId": "deepseek-v3-deployment"
  }    
});
```

### Example Response

 The operation was performed successfully.

```json
{
  "data": {},
  "rawResponse": "...",
  "request": "...",
  "error": "..."
}
```

Previous: [Update AI model](/docs/v1/api//project/ai-models/update-ai-model)

Next: [List pipelines](/docs/v1/api//project/pipelines/list-pipelines)