This Azure AI Services post will show how to use Azure CLI to list all the available LLM models in Azure using CLI.
A large language model (LLM), such as GPT-4, is a type of artificial intelligence trained on a vast dataset of text from the Internet, books, articles, and other sources to understand and generate human-like text.
Azure AI offers access to many LLM models, like GPT-4
, and GPT-3.5
, text-davinci-003
and many more.
Azure CLI
The following commands uses Azure CLI and PowerShell to save the list in a JSON format and filter it before listing and displaying it on the screen.
$json = az cognitiveservices model list --location eastus | ConvertFrom-Json
$json | ForEach-Object { [PSCustomObject]@{ Kind = $_.kind; Name = $_.model.name; UsageName = $_.model.skus[0].usageName } } | Format-Table
More AI articles
- Get Started With Azure Open AI .NET SDK
- Use Azure OpenAI with C# Application
- Deploy Azure OpenAI Resource With Terraform
- Connect to Azure OpenAI Using Postman
- Azure AI vs Azure Open AI
- Azure AI Studio vs Microsoft Copilot Studio
- Get Started With Azure AI Studio
- Create Prompt Flow for an LLM App in Azure AI Studio
- Detect Language using Azure AI Services
- Use GitHub Copilot to Write and Manage Code
- Install and use GitHub Copilot with Visual Studio
- Build Copilot With Azure AI Studio and Add Your Data
- Create Azure OpenAI Resource Using Azure CLI
- How to use the AzureOpenAI Client Class
- List All Azure AI LLM Model List With Azure CLI
Processing…
Success! You're on the list.
Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.