copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Provide a way to list all the models currently supported by the Copilot CLI

Open doggy8088 opened this issue 4 weeks ago • 1 comments

Describe the feature or problem you'd like to solve

Provide a way to list all the models currently supported by the Copilot CLI

Proposed solution

I wish there is a way to list all the models including multiplier info currently offered by the Copilot CLI.

copilot --list-models

or

copilot help models

Example prompts or workflows

N/A

Additional context

No response

doggy8088 avatar Dec 02 '25 11:12 doggy8088

Hey! Is there a reason you want this programmatically as opposed to /model in the interactive. Also, the available models should be listed by the --model flag:

  --model <model>                     Set the AI model to use (choices: "claude-sonnet-4.5", "claude-haiku-4.5", "claude-opus-4.5", "claude-sonnet-4", "gpt-5", "gpt-5.1", "gpt-5.1-codex-mini", "gpt-5.1-codex", "gpt-5-mini", "gpt-4.1", "gemini-3-pro-preview")

Just wondering what your exact use case is here, thanks.

williammartin avatar Dec 02 '25 11:12 williammartin

@williammartin we might want to consider updating the error message for the --model flag so that it includes the list of models similar to the error when you give it an incorrect one.

With no model name:

Image

With a fake model name:

Image

patniko avatar Dec 03 '25 01:12 patniko

I think

copilot
/model <TAB><TAB>

should show the list of available models

jesperpedersen avatar Dec 04 '25 09:12 jesperpedersen

I agree this features is deeply missing, making it impossible to script usage model selection that would keep working over time. Also the error message when selecting a model is NOT related to the model you have enabled in your plan And you cannot use

copilot
/model

when calling the CLI from a script.

Also it would be great to have the token rate indicated. Similiarly than when using the CLI ❯ 1. Claude Sonnet 4.5 (1x) (default) (current) 2. Claude Opus 4.5 (Preview) (3x) 3. Claude Haiku 4.5 (0.33x) 4. Claude Sonnet 4 (1x) 5. GPT-5.1 (1x) 6. GPT-5.1-Codex-Mini (0.33x) 7. GPT-5.1-Codex-Max (1x) 8. GPT-5.1-Codex (1x) 9. GPT-5 (1x) 10. GPT-5-Mini (0x) 11. GPT-4.1 (0x) 12. Gemini 3 Pro (Preview) (1x)

kaostheory78 avatar Dec 08 '25 12:12 kaostheory78

Describe the feature or problem you'd like to solve

Provide a way to list all the models currently supported by the Copilot CLI

Proposed solution

I wish there is a way to list all the models including multiplier info currently offered by the Copilot CLI.

copilot --list-models

or

copilot help models

Example prompts or workflows

N/A

Additional context

No response

Domimueller85 avatar Dec 08 '25 13:12 Domimueller85