gk ai models
List the GitKraken-hosted AI models available for the model override
Synopsis
List the models the GitKraken AI backend offers, including which is the default
and each model’s token limits. Use a model id with gk ai provider set gitkraken --model <id>
to override the model used for all GitKraken-hosted AI calls.
The list is task-scoped on the backend (models are registered per task type); this shows the models for the default task type, which is the set valid for the GitKraken model override. Results are cached for 4 hours; use –refresh to force a fresh fetch.
gk ai models [flags]
Options
-h, --help help for models
--refresh Bypass the 4h cache and refetch the model list
Options inherited from parent commands
--no-telemetry Disable telemetry (OTel spans, Sentry) for this invocation
--output string Output format: text or json (default "text")
--session string (Optional) Isolate auth and cache under a named session
SEE ALSO
- gk ai - Use AI in the CLI