Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Delete a fine-tuned model

$ openai models delete
DELETE/models/{model}

Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.

ParametersExpand Collapse
--model: string

The model to delete

ReturnsExpand Collapse
model_deleted: object { id, deleted, object }
id: string
deleted: boolean
object: string

Delete a fine-tuned model

openai models delete \
  --api-key 'My API Key' \
  --model ft:gpt-4o-mini:acemeco:suffix:abc123
{
  "id": "ft:gpt-4o-mini:acemeco:suffix:abc123",
  "object": "model",
  "deleted": true
}
Returns Examples
{
  "id": "ft:gpt-4o-mini:acemeco:suffix:abc123",
  "object": "model",
  "deleted": true
}