Ollama
Delete Model
Removes a model from the local Ollama instance
DELETE
Body Parameters
Name of the model to delete (e.g., “llama2”, “mistral:7b”)
Optional Ollama server URL (defaults to http://localhost:11434)
Response
Indicates if the model was deleted successfully
Success or error message
Notes
- Deleting a model frees up disk space
- The model name must match exactly (including tag)
- You can delete specific variants by including the tag (e.g., “llama2:7b”)
- To delete all variants, you must delete each one individually

