CLI Reference¶
All commands are under basemode. Running basemode with no explicit subcommand defaults to run.
Generation¶
run¶
Generate continuation text (single stream or parallel branches).
| Option | Default | Description |
|---|---|---|
-m, --model |
stored default or gpt-4o-mini |
Model to use |
-n, --branches |
1 |
Number of parallel continuations |
-M, --max-tokens |
200 |
Max output tokens |
-t, --temperature |
0.9 |
Sampling temperature (when model allows) |
-s, --strategy |
auto | Force strategy selection |
--rewind |
false |
Rewind short trailing fragments before generation |
--show-strategy |
false |
Print selected strategy |
--show-usage |
false |
Print token estimate after generation |
--show-cost |
false |
Print estimated cost after generation |
PREFIX can come from stdin when omitted.
Discovery¶
models¶
List LiteLLM-known models.
--availablelimits to providers with configured keys.--verifiedlimits to models tracked in the verified-models registry.--jsonemits structured picker metadata (provider, availability, reliability, pricing fields when known).
providers¶
List all known providers.
strategies¶
List supported continuation strategies.
info¶
Show normalized model ID, selected strategy, token limits, and pricing metadata.
Configuration¶
keys¶
Manage persisted API keys (~/.config/basemode/auth.json).
default¶
Show/set/unset default model.