freellmpool
v0.13.0OpenAI-compatible MCP gateway cataloging 22 LLM providers, with routing, failover, and tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
free_llm_ask
Ask a free LLM (pooled across configured free providers, with automatic failover). Offload a self-contained subtask — drafting, summarizing, classifying, brainstorming, a quick lookup — to a free model. The reply tells you which provider/model actually served it.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The question or task. |
max_tokens | integer | Max output tokens (default 1024). |
model | string | Optional model name or provider/model (e.g. groq/llama-3.3-70b-versatile). Default: auto. |
provider | string | Optional provider id to restrict to (e.g. groq, cerebras). |
routing | string | How to pick the model: agent (strongest healthy tier with quota spreading), quality (capability matched to prompt), spread (whole-pool breadth), fast (lowest latency), fair (provider balance), or auto… |
system | string | Optional system instruction. |
task | string | Optional task hint for quality routing; auto classifies locally. |
free_llm_panel
Ask the SAME prompt to several different free models at once and get every answer back side by side - the agent-facing second-opinion surface. Great for cross-checking a fact, comparing approaches, or reducing single-model bias. Optionally have a strong model synthesize the best combined answer.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The question or task to ask every model. |
max_tokens | integer | Max output tokens per model (default 512). |
n | integer | How many distinct models to ask (2-5, default 3). |
routing | string | How to rank candidate panel models (default: quality). |
synthesize | boolean | If true, a quality-routed model synthesizes the panel into one best answer. |
system | string | Optional system instruction. |
free_llm_second_opinion
Run the shared small-panel second-opinion flow. Same behavior as `free_llm_panel` — exposed as its own agent-facing tool so callers can declare their intent (a *second opinion*) without reasoning about the panel primitive. The panel size is bounded (2-5) and the per-model token budget is clamped.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The question or task to ask every model. |
max_tokens | integer | Max output tokens per model (default 512). |
n | integer | How many distinct models to ask (2-5, default 3). |
routing | string | How to rank candidate panel models (default: quality). |
synthesize | boolean | If true, a quality-routed model synthesizes the panel into one best answer. |
system | string | Optional system instruction. |
free_llm_battle
Compare a prompt across a small bounded panel of free models and render the result as a Markdown comparison table. Bounded to a few models (2-5) — for the broader eligible-target stress test use `tokenmax`. Per-model failures stay visible in the rendered output rather than failing the whole call.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The question or task to compare across models. |
max_tokens | integer | Max output tokens per model (default 512). |
n | integer | How many distinct models to ask (2-5, default 3). |
routing | string | How to rank candidate panel models (default: quality). |
synthesize | boolean | If true, a quality-routed model synthesizes the panel into one best answer. |
free_llm_recipe
Run a bundled recipe end-to-end (e.g. `pr-review`, `second-opinion`, `repo-summary`). Recipes are bounded, role-driven, and pre-shaped — supply `name` plus whatever inputs the recipe declares. Missing recipe input or template variables return a tool error, never a traceback.
| Parameter | Type | Description |
|---|---|---|
name * | string | Recipe name (e.g. `pr-review`, `second-opinion`, `repo-summary`). |
input | string | Optional alias for `prompt` (recipe `input` template variable). |
max_tokens | integer | Max output tokens (default 1024 for text recipes; panel recipes honor recipe defaults). |
opinions | integer | Panel size for panel-output recipes (2-5, default 3). |
path | string | Optional glob for path-input recipes (e.g. `repo-summary --path 'src/**/*.py'`). |
prompt | string | Optional inline text input (used for text-input recipes). |
synthesize | boolean | If true, a quality-routed model synthesizes the panel into one best answer. |
validation_output | string | Optional validation/test output for recipes that template it (e.g. `metaswarm-worker-review`). |
free_llm_roles
List bundled ask-role presets (e.g. `coder`, `critic`, `summarizer`, `second-opinion`) with their routing mode, max-tokens, temperature, and recommended use. Pass `name` to get the full details for one role.
| Parameter | Type | Description |
|---|---|---|
name | string | Optional role name to fetch a single role's details. |
free_llm_tailnet_info
Show safe Tailscale Tailnet connection instructions for serving `freellmpool proxy` on another machine. Includes the local Tailnet IPv4, status, and OpenAI / Anthropic client env-var hints. Output NEVER contains a real local bearer token — it uses a `<proxy-key>` placeholder — and never leaks provider API keys. Degrades cleanly when `tailscale` is absent.
| Parameter | Type | Description |
|---|---|---|
port | integer | Optional proxy port to include in setup hints (default 8080). |
free_llm_quota_wise
Show local quota-wise status and headroom advice built from your locally tracked counters. Active mode, recommended mode, and per-provider used / limit / remaining. Output NEVER recommends account rotation or rate-limit bypass — it only suggests waiting for reset, lowering fan-out or token budget, or making an explicit paid choice outside the default flow.
tokenmax
🌈 TOKENMAX 🌈 — gloriously excessive: fan the SAME prompt out to automatically eligible ranked targets across configured providers (hard cap 256; a max, routing policy, or CLI wise mode may narrow the swarm), then YOU (the calling model) synthesize the single best answer from the returned responses. Maximum cross-checking. Tongue-in-cheek, but genuinely useful for hard questions. Call this tool DIRECTLY (your client receives live `🌈 TOKENMAXXING ▸ N/total` progress as each model answers) — do NOT shell out to the CLI, which hides that from the user. To let the human watch the fla…
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The prompt to send to the selected eligible targets. |
max_models | integer | Optional cap that narrows the eligible ranked set (hard max 256). |
max_tokens | integer | Max output tokens per model (default 400). |
system | string | Optional system instruction. |
free_llm_route
Explain where a prompt WOULD be routed without spending a single token: the estimated difficulty and the ranked list of candidate models (with capability scores) for the chosen routing mode. Use it to understand or debug routing.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The prompt to analyze. |
routing | string | Routing mode to explain (default: the server's mode). |
task | string | Optional task hint to explain. |
free_llm_models
List the available free provider/model ids freellmpool can route to.
free_llm_quota
Show today's free-tier usage (UTC): per-provider request counts and daily-limit headroom, plus session totals and estimated cost avoided.
free_llm_stats
Show freellmpool's LIFETIME totals (persisted across restarts): tokens served free, requests, and estimated cost avoided vs Claude Opus 4.8 — the number that keeps growing.