Delete Model

DELETE
v1/models/{model-id}

Delete a model that you have created. This permanently removes the model from your account.

Note: You can only delete models that you have created yourself. The standard base models (like Llama-3.1-8b or DeepSeek-R1-8b) are read-only and cannot be deleted.

Parameters


model-id:required string

The model identifier or model name to delete. This can be either:

  • The id field from the model object returned by the List Models endpoint
  • The name field from the model object

Important: If you are using model name, the value must be properly URL-encoded when used in the URL path. For example, if your model name is "My Custom Model", it should be encoded as My%20Custom%20Model (spaces become %20). Most HTTP libraries and tools handle URL encoding automatically, but when constructing URLs manually, use encodeURIComponent() in JavaScript or equivalent functions in other languages.

Output


DeleteModelResponse

Response returned when a model is successfully deleted. Contains the model identifier and a confirmation message.


id:required string

The identifier of the deleted model.


message:required string

Confirmation message indicating that the model has been deleted.

Delete Model

curl http://localhost:45678/v1/models/MyCustomModel \
    -X DELETE \
    -H "Authorization: Bearer $TIGER_API_KEY"

Response

{
  "id"      : "mycustommodel",
  "message" : "model has been deleted"
}