Skip to main content

ccr model get

Discover available models from a provider non-interactively.

Usage

ccr model get <provider-name>

Description

Fetches the list of available models from the specified provider's API, parses the response using configurable paths, and appends any new models to your local configuration. Existing models are preserved — only missing models are added.

The provider must already be configured in your config.json with at least baseUrl and apiKey set.

Examples

Discover OpenAI models

ccr model get openai

Discover DeepSeek models

ccr model get deepseek

Discover Groq models

ccr model get groq

Discover Cursor models

Cursor providers are detected when the provider name is cursor or when transformer.use includes cursor-sdk. Models are listed via @cursor/sdk (Cursor.models.list), not a REST /models URL.

ccr model get cursor

Auth uses a provider api_key starting with crsr_, or CURSOR_API_KEY. See the Cursor SDK guide.