Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/github-models/use-github-models/integrating-ai-models-into-your-development-workflow
What changes are you suggesting?
Describe the bug
The documentation for the gh models run command uses an invalid model name (gpt-4.1) in its example. When following the example, users receive the error:
Error: The specified model name is not found. Run 'gh models list' to see available models or 'gh models run' to select interactively.
Steps to reproduce
- Run the following command as shown in the docs:
gh models run gpt-4.1 "Why is the sky blue?"
- Observe the error message about the model name not being found.
Expected behavior
The documentation should use a valid model name, such as openai/gpt-4.1, so that the example works as intended.
Screenshots

Additional context
- The CLI help and
gh models list show that openai/gpt-4.1 is a valid model name.
- Updating the docs will help users avoid confusion and errors.
Additional information
No response
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/github-models/use-github-models/integrating-ai-models-into-your-development-workflow
What changes are you suggesting?
Describe the bug
The documentation for the
gh models runcommand uses an invalid model name (gpt-4.1) in its example. When following the example, users receive the error:Error: The specified model name is not found. Run 'gh models list' to see available models or 'gh models run' to select interactively.Steps to reproduce
Expected behavior
The documentation should use a valid model name, such as
openai/gpt-4.1, so that the example works as intended.Screenshots
Additional context
gh models listshow thatopenai/gpt-4.1is a valid model name.Additional information
No response