crewship provider
Reads the LLM provider registry compiled into the binary, and — withcheck —
dials a provider once to prove the wiring end to end.
check reaches the provider directly from the machine you run
it on, which means it can test a local backend the server itself cannot see.
Background on what these tables are:
Multi-provider LLM configuration.
Subcommands
list
Example:
--all appends the catalog-only providers (amazon-bedrock, deepseek,
google, mistral, openrouter, xai), sorted, with a dash in every column
but PROVIDER, NAME and MODELS. That dash is the point: deepseek is
listed because the catalog prices it, not because an evaluator slot can
select it.
--format json adds registered, key_required, key_set and catalog_id
per row, which is the shape to script against:
route
list answers the other half of the provider question. provider list says
which providers this binary can construct and whether their key is in your
environment; route list says how an agent’s CLI reaches a provider through
its sidecar — the path it dials on 127.0.0.1:9119, where the sidecar forwards
it, and which header or query parameter the credential is written into on the
way out.
The two tables are deliberately different sets. A provider here does not have to
be one crewshipd can call, and vice versa.
Example:
show prints one route in full, including every auth branch:
provider route show anthropic prints an Auth (token sk-ant-oat…) line above its
Auth (default) one, which is how an OAuth token ends up in Authorization
and an API key in x-api-key without either being a special case in the
router.
Like list and unlike check, both are local and read-only: the descriptor
table is compiled in, nothing reads the credential vault, and no server is
contacted. An unknown provider exits 3:
crewship credential create — and
for a from credential upstream,
an OpenAI-compatible endpoint.
check
Example — a local backend, no key:
pricing key is the line to read twice. It is Provider.Name(), not the
preset key you passed — ollama-openai bills as ollama and vllm bills as
local, which is how a self-hosted backend lands on a free rate row.
Exit codes follow the usual CLI contract. The two you will
meet:
Related
- Multi-provider LLM configuration — what the registry and the codecs are.
crewship model— which model ids exist, and what they cost.- Paymaster — the rate card
checkreports against. crewship keeper— where a provider id is actually selected.