Available Presets
Rusty ships with presets for popular LLM providers. Use--preset to select one:
| Preset | API Base | Default Model |
|---|---|---|
xiaomi | https://token-plan-cn.xiaomimimo.com/v1 | mimo-v2.5-pro |
kimi | https://api.kimi.com/coding/v1/ | kimi-k2.6 |
openai | https://api.openai.com/v1 | gpt-4o |
deepseek | https://api.deepseek.com | deepseek-v4-pro |
ollama | http://localhost:11434/v1 | llama3 |
Usage
Custom Endpoints
For providers not listed as presets, set--api-base and --model directly:
- Azure OpenAI
- Together AI
- Groq
- Fireworks AI
- Self-hosted vLLM or text-generation-inference
Presets vs Settings
When using--preset, the preset’s api_base and default_model override what is in ~/.rusty/settings.json. You can still override individual fields with CLI flags:
Configuring a Default Provider
To set a default provider without using flags every time, edit~/.rusty/settings.json: