cheaplane
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DELEGATE_LOG | No | Where the savings ledger lives | ~/.cheaplane/usage.jsonl |
| DELEGATE_NO_LOG | No | Set to 1 to disable the ledger entirely | |
| DELEGATE_API_KEY | No | Key for that endpoint | sk-litellm |
| DELEGATE_TIMEOUT | No | Per-call timeout (seconds) | 120 |
| DELEGATE_BASE_URL | No | OpenAI-compatible endpoint (your proxy) | http://localhost:4000 |
| DELEGATE_MODEL_MAP | No | JSON remapping aliases, e.g. {"deepseek":"deepseek-v4-flash"} — overrides defaults, no code edit |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| delegateA | Offload a self-contained subtask to a cheaper model and return its output. WHEN TO USE: hand off replaceable grunt work to save your premium tokens — boilerplate code, small bug fixes, formatting, translation, reading/summarizing long documents, drafting routine copy. Do NOT delegate judgment work (planning, architecture, final review, talking to the user) — keep that for yourself. The delegated model sees ONLY the Args: task: Complete, self-contained instruction for the cheap model. model: "auto" (default) routes by task using the active rules — call list_models() to see them (the built-in example: code→deepseek, long docs→kimi, Chinese→qwen, multi-step→mimo, chores→flash). Or force an alias, or a raw proxy model_name. max_tokens: Output cap. Default 4000 (kept large so reasoning models that spend budget on hidden thinking still return non-empty text). Note: a call typically takes ~10-60s (longer for big inputs) and blocks until the cheap model returns, so prefer one focused task per call. Returns: The model's text output, or a string starting with "[delegate-error]" on failure. |
| savingsA | Show what delegating has kept off your premium quota (estimates, list prices). |
| list_modelsA | List the aliases delegate() can use and the active auto-routing rules. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
The three tools split cleanly into discovery (list_models), action (delegate), and reporting (savings), with no overlap in what they return or when to call them. An agent can pick the right one without reading beyond the first line.
All names are lowercase snake_case, but the pattern is not uniformly verb_noun: list_models is verb_object while delegate is a bare verb and savings is a bare noun. It is still readable and predictable enough that an agent would not misguess a name.
Three tools is thin but well matched to a focused delegator: one does the work, one explains the routing aliases the work depends on, and one reports the payoff. Nothing extraneous, though the surface is small enough that any missing operation is conspicuous.
The core lifecycle (discover aliases → delegate → measure savings) is covered, but list_models exposes active auto-routing rules with no tool to view detail or modify them, and there is no way to inspect delegation history or per-call cost. These are workarounds-by-omission rather than dead ends, since the user must leave the server to change routing.