KODER CLI / 0.8.1

Model discovery and configuration updates

Documentation from the exact 0.8.1 package. Release notes retain known limits and separate native-platform acceptance.

Model discovery and configuration updates

Starting with 0.4.7, Setup → Model checks the current account's Models API and downloads public provider configuration hints. Refreshing never changes your selected model, API key or billing route.

Use it

  1. Run koder setup, or /setup in chat. A configured account is queried at its existing endpoint. During initial setup, choose a provider and initial model, then enter the key; discovery follows key entry.
  2. Open Current account models to choose a newly discovered ID. Type that label to filter the menu. You can still enter an ID manually.
  3. Inspect the source, retrieval time, declared tool capability and any returned context/output limits. Only an explicit model selection is saved. Environment or provider-file overrides remain owned by that source.
  4. Refresh model information now bypasses the cache. Automatic model updates turns automatic discovery off; manual refresh remains available.
koder model refresh
koder model refresh <saved-model-name>
koder model catalog-refresh
koder model models
koder model test --tools

Account lists have a six-hour cache; public hints have a 24-hour cache. Checks run when the model page opens or a key is first configured, with a five-second default deadline covering pagination. Esc cancels. A failed refresh keeps the last good list and saved configuration. No additional daemon or inference request is started.

Sources and boundaries

The provider Models API supplies IDs visible to the configured account. Cache identity includes the endpoint, protocol and credential fingerprint; the cache does not store the API key. Unknown tool capability is labeled rather than silently filtered out. Explicitly tool-incompatible or retired models are unavailable in the task picker. A listed model is not proof of a successful tool loop: use model test --tools.

Public configuration hints come from https://karmenloop.com/install/model-catalog-v1.json without credentials. Each entry records its provider documentation URL and review date. This is a maintained snapshot, not a claim of continuous live coverage of every provider. New hints can arrive without reinstalling the CLI; protocol implementation changes still require a runtime update. Invalid or older data cannot replace the cache. A changed endpoint or protocol is flagged for review, never used to move a saved key or change billing products. Existing unavailable providers remain disabled.

Alibaba Coding Plan documents that it does not expose its model list through an API. That route uses documented presets and manual IDs instead of treating a missing Models API as inference failure. Metered APIs, Token/Coding Plans and regions retain separate credentials and endpoints.

Missing token limits are not guessed from names. Unknown models keep conservative defaults; declared limits are bounded and applied only when a model is explicitly selected. Refreshing alone does not increase the current model's context. Limits can still be set in Setup.

fresh means retrieved this time; cached means within TTL; stale means refresh failed and previous data remains. unavailable, unsupported, held, disabled and cancelled distinguish missing listings, unsupported listing APIs, known integration issues, disabled refresh and user cancellation. HTTP 401 requires checking credentials for that exact service. A listing failure is not an inference failure.

Tests use isolated protocol fixtures and terminal input. Native Windows consoles, real provider accounts and paid inference retain separate acceptance status.

Official references