[GH-ISSUE #8409] Support model alias #5402

Closed
opened 2026-04-12 16:38:27 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @1zilc on GitHub (Jan 14, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8409

Thanks very much for Ollama's outstanding work, which allows us AI novices to quickly experience the most advanced AI.
Is it possible to provide the following directives to create aliases for models and manage them

# create
ollama alias create coder qwen2.5-coder:32b
# remove
ollama alias remove coder
# list
ollama alias [list]
qwen2.5-coder:32b coder
llama3.2-vision:latest vision
...

I think model aliases can seamlessly use the latest models in downstream tools, such as Continue and Open WebUI, without making any modifications, because they only need to configure the alias, and the specific association is controlled by ollama.
I'm sorry if my thoughts are inappropriate

Originally created by @1zilc on GitHub (Jan 14, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8409 Thanks very much for Ollama's outstanding work, which allows us AI novices to quickly experience the most advanced AI. Is it possible to provide the following directives to create aliases for models and manage them ```bash # create ollama alias create coder qwen2.5-coder:32b # remove ollama alias remove coder # list ollama alias [list] qwen2.5-coder:32b coder llama3.2-vision:latest vision ... ``` I think model aliases can seamlessly use the latest models in downstream tools, such as `Continue` and `Open WebUI`, without making any modifications, because they only need to configure the alias, and the specific association is controlled by ollama. I'm sorry if my thoughts are inappropriate
GiteaMirror added the feature request label 2026-04-12 16:38:27 -05:00
Author
Owner

@rick-github commented on GitHub (Jan 14, 2025):

ollama cp qwen2.5-coder:32b coder
<!-- gh-comment-id:2588684643 --> @rick-github commented on GitHub (Jan 14, 2025): ``` ollama cp qwen2.5-coder:32b coder ```
Author
Owner

@pdevine commented on GitHub (Jan 14, 2025):

@1zilc Hey thanks for the issue. As @rick-github mentioned, you can just use the cp command. Ollama automatically deduplicates any of the weights so you don't use up any additional disk space.

I'll go ahead and close the issue.

<!-- gh-comment-id:2588707653 --> @pdevine commented on GitHub (Jan 14, 2025): @1zilc Hey thanks for the issue. As @rick-github mentioned, you can just use the `cp` command. Ollama automatically deduplicates any of the weights so you don't use up any additional disk space. I'll go ahead and close the issue.
Author
Owner

@1zilc commented on GitHub (Jan 14, 2025):

Thanks

<!-- gh-comment-id:2588710084 --> @1zilc commented on GitHub (Jan 14, 2025): Thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#5402