Presets
Available Presets
Section titled “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 |
openai | https://api.openai.com/v1 | gpt-4o |
deepseek | https://api.deepseek.com | deepseek-v4-pro |
ollama | http://localhost:11434/v1 | llama3 |
# Use OpenAI with an API keyrusty --preset openai --api-key sk-...
# Use local Ollamarusty --preset ollama
# Use DeepSeekrusty --preset deepseek --api-key sk-...Custom Endpoints
Section titled “Custom Endpoints”For providers not listed as presets, set --api-base and --model directly:
rusty --api-base https://your-provider.com/v1 --api-key YOUR_KEY --model your-modelAny OpenAI-compatible API endpoint works, including:
- Azure OpenAI
- Together AI
- Groq
- Fireworks AI
- Self-hosted vLLM or text-generation-inference
Presets vs Settings
Section titled “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:
# Use Xiaomi preset but with a different modelrusty --preset xiaomi --model mimo-v2-lite --api-key YOUR_KEYConfiguring a Default Provider
Section titled “Configuring a Default Provider”To set a default provider without using flags every time, edit ~/.rusty/settings.json:
{ "api_base": "https://api.openai.com/v1", "default_model": "gpt-4o", "credential_store": "keyring"}Then run with just:
rusty