mirror of
https://github.com/Hopiu/llm.git
synced 2026-05-05 04:14:53 +00:00
933 B
933 B
(aliases)=
Model aliases
LLM supports model aliases, which allow you to refer to a model by a short name instead of its full ID.
Listing aliases
To list current aliases, run this:
llm aliases
Example output:
3.5 : gpt-3.5-turbo
chatgpt : gpt-3.5-turbo
chatgpt-16k : gpt-3.5-turbo-16k
3.5-16k : gpt-3.5-turbo-16k
4 : gpt-4
gpt4 : gpt-4
4-32k : gpt-4-32k
Add --json to get that list back as JSON:
llm aliases list --json
Example output:
{
"3.5": "gpt-3.5-turbo",
"chatgpt": "gpt-3.5-turbo",
"chatgpt-16k": "gpt-3.5-turbo-16k",
"3.5-16k": "gpt-3.5-turbo-16k",
"4": "gpt-4",
"gpt4": "gpt-4",
"4-32k": "gpt-4-32k"
}