Skip to content

Command line

Every library call is also a command, generated from the library itself, so this page and the Python API describe the same operations. Function names become commands with dashes (llmdyno.search_models() is llmdyno search-models), methods of an object become llmdyno <object> <method> ID (Run.transcript() is llmdyno run transcript RUN_ID), parameters without a default are positional and the rest are --options. Keyword settings, such as the profile settings of cloud-model and local-model, go in --set key=value, read as JSON when the value parses (--set ctx=32768 --set thinking=true).

llmdyno on its own starts the web app, like llmdyno serve. llmdyno --version prints the version.

Options every command takes

Option Description
--json Machine-readable output: JSON, or one JSON object per line for streams such as watch.
--data DIR The data folder to use. Default: LLMDYNO_DATA, else the usual folder for your system.
--url URL Run the command on a LLMDyno server on another machine. Default: LLMDYNO_URL, else this machine. See Remote mode.
--api-token TOKEN That server's access token. Default: LLMDYNO_TOKEN.
-h, --help Show the command's help and exit.

Server and maintenance

Hand-written commands that are not library calls.

llmdyno serve

Start the web app and its API. llmdyno with no command does the same.

llmdyno serve [options]
Argument Type Default Description
--host text 127.0.0.1 address to listen on; anything but 127.0.0.1 or localhost lets other machines in, and they need the access token (llmdyno token)
--port integer port (default: the port setting, 8777)
--open flag open the browser

llmdyno doctor

Print notes about this machine (architecture, GPU, memory) and the state of everything benchmarks need: Docker, the sandbox and code-quality images, llama.cpp, the harness images and the SWE-bench harness. llmdyno setup installs what is missing.

llmdyno doctor

llmdyno specs

Print the detected hardware (CPU, RAM, GPUs, driver, disks, Docker) as JSON.

llmdyno specs

llmdyno ci

Compare results with a baseline for CI: exit 1 when a configuration's score dropped by more than --max-drop points or is missing.

llmdyno ci [options]
Argument Type Default Description
--baseline text, required results JSON to compare with (llmdyno results --json)
--plans text, one or more values plans to check (default: every plan)
--results text a results JSON instead of --plans
--metric text final final, correctness, quality, … (0-100)
--max-drop number 2.0 allowed drop in points (default 2)
--allow-missing flag a configuration missing from the results is fine
--save text also save the current results there (next baseline)

llmdyno token

Print the API token remote clients and browsers must present. It is shown when it is made; --rotate replaces it (the old one stops working at once).

llmdyno token [options]
Argument Type Default Description
--rotate flag make a new token

Library calls

One command per llmdyno.<function>(), grouped like the API reference.

Data folder

llmdyno data-dir

The data folder in use (models, runs, database, keys).

llmdyno data-dir

Setup, system and jobs

llmdyno active-work

What panic() would stop right now: running jobs, plans, containers and the llama-server.

llmdyno active-work

llmdyno cleanup

Remove sandbox containers left behind by crashed or interrupted runs; returns how many were removed.

llmdyno cleanup

llmdyno clear-jobs

Forget finished jobs (done, failed, cancelled, interrupted); returns how many were removed.

llmdyno clear-jobs

llmdyno gpu-usage

Live GPU readings: utilisation, VRAM used and free, temperature and power for each GPU.

llmdyno gpu-usage

llmdyno install-docker

Download and run the Docker Desktop installer (Windows and macOS; Linux uses the distribution's packages).

llmdyno install-docker

llmdyno list-jobs

Background jobs, newest first (downloads, builds, plans, reviews, imports). active=True keeps the queued and running ones; kind filters by type ("download", "build", "plan", "judge", "import", "install", …).

llmdyno list-jobs [options]
Argument Type Default
--active / --no-active flag --no-active
--kind text
--limit integer 100

llmdyno panic

Stop everything at once (the red button): cancels every job and plan, kills LLMDyno's containers and the llama-server. Finished runs are kept. Returns what was stopped.

llmdyno panic

llmdyno repair-docker

Restart Docker Desktop after moving aside stale sockets that keep it from starting (a known Windows issue).

llmdyno repair-docker

llmdyno setup

Install what benchmarks need, skipping what is already there: the sandbox image, the code-quality image, harness images, a llama.cpp build for this machine (True picks the best one; or pass a variant such as "cuda-13", "metal", "vulkan", "cpu"), and optionally the SWE-bench harness and the polyglot toolchain image. These download several GB the first time. Docker must be running.

llmdyno setup [options]
Argument Type Default
--harnesses text, one or more values pi
--quality / --no-quality flag --quality
--llama-cpp text True
--no-llama-cpp flag
--swebench / --no-swebench flag --no-swebench
--polyglot / --no-polyglot flag --no-polyglot
--verbose / --no-verbose flag --no-verbose

llmdyno start-docker

Start Docker Desktop (Windows and macOS); it takes about a minute to come up.

llmdyno start-docker

llmdyno use-llama-cpp

Use a llama.cpp build you already have (the folder holding llama-server) instead of installing one.

llmdyno use-llama-cpp PATH
Argument Type Default
PATH positional, text

Profiles

llmdyno cloud-model

A cloud model to benchmark, e.g. cloud_model("anthropic", "claude-sonnet-5-5", reasoning_effort="low").

vendor: openai, anthropic, google, deepseek, moonshot, zai, qwen, minimax, xai, mistral, openrouter, groq, together, fireworks, cerebras, litellm (a LiteLLM proxy: see litellm_model()), or custom (any OpenAI-compatible base_url, such as Ollama or vLLM: see ollama_model() and openai_compatible()). api_key: saved in the data folder (DPAPI-encrypted on Windows, a file only you can read elsewhere); when omitted, the usual environment variable (OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, …) or else the saved key is used. The key only ever reaches LLMDyno's proxy. budget_usd: hard spend cap of the provider, shared by all its models (new providers default to $5); on an existing provider it changes the cap. base_url and api_style are provider settings too. pricing: "auto" looks the model up in OpenRouter's catalog; or {"input": $, "output": $, "cached": $} per 1M tokens. Other keywords are profile settings: ctx, max_output_tokens, reasoning_effort, temperature, top_p, extra_body.

llmdyno cloud-model VENDOR MODEL [options]
Argument Type Default Description
VENDOR positional, text
MODEL positional, text
--api-key text
--name text
--base-url text
--api-style text
--budget-usd number
--pricing JSON auto
--set KEY=VALUE text, repeatable a setting; the value is read as JSON when it parses

llmdyno import-profile

Create a profile from an exported profile file (a path or the dict Profile.export() returned). Its model must already be downloaded here, or a provider of its vendor added, first.

llmdyno import-profile SOURCE
Argument Type Default
SOURCE positional, JSON

llmdyno list-profiles

Every profile in the data folder (optionally only "local" or "cloud").

llmdyno list-profiles [options]
Argument Type Default
--kind text

llmdyno local-model

A GGUF model run by llama.cpp on this machine.

From Hugging Face: local_model("unsloth/Qwen3.8-27B-GGUF", quant="UD-Q3_K_XL", ctx=49152) downloads the file (resumable, checksum-verified) unless it is already in the data folder; download=False only uses what is there. From disk: local_model(path="D:/models/qwen.gguf") registers the file where it is (no copy). Other keywords are profile settings: ctx, cache_k / cache_v (or kv_cache for both), gpu_layers, n_cpu_moe, flash_attn, thinking, max_output_tokens, temperature, top_p, top_k, min_p, …

llmdyno local-model [options]
Argument Type Default Description
--repo text
--quant text
--path text
--name text
--download / --no-download flag --download
--set KEY=VALUE text, repeatable a setting; the value is read as JSON when it parses

llmdyno profile-defaults

The settings a new profile starts from: for "local", tuned to a model (Model, id or name) and this machine; for "cloud", the cloud defaults.

llmdyno profile-defaults [options]
Argument Type Default
--kind text local
--model text

Models

llmdyno download-model

Download one quant of a Hugging Face GGUF repository into the models folder (resumable, checksum-verified). Returns the Model when done, or the download Job with wait=False. An interrupted download resumes.

llmdyno download-model REPO QUANT [options]
Argument Type Default
REPO positional, text
QUANT positional, text
--wait / --no-wait flag --wait

llmdyno estimate

Will it fit, before downloading anything: reads the GGUF header over HTTP and projects GPU and system memory for these settings (same keywords as local_model(): ctx, kv_cache, n_cpu_moe, …). Returns {"check": verdict, projected memory and warnings, "contexts": the table for other context sizes, "params", "meta"}.

llmdyno estimate REPO QUANT [options]
Argument Type Default Description
REPO positional, text
QUANT positional, text
--set KEY=VALUE text, repeatable a setting; the value is read as JSON when it parses

llmdyno import-models

Register the GGUF files in a folder where they are (nothing is copied); returns the models added.

llmdyno import-models FOLDER
Argument Type Default
FOLDER positional, text

llmdyno list-models

Models in the data folder, newest first; status="ready" keeps the usable ones.

llmdyno list-models [options]
Argument Type Default
--status text

LLMDyno's suggested local models for coding agents, each with why and whether it is already downloaded.

llmdyno recommended-models

llmdyno repo-info

A Hugging Face repository's GGUF variants (quant, size, files, a first fit hint for this GPU) plus its license, downloads, likes, tags and whether it is gated.

llmdyno repo-info REPO
Argument Type Default
REPO positional, text

llmdyno search-models

Search Hugging Face for GGUF repositories (sort: downloads, likes or lastModified).

llmdyno search-models QUERY [options]
Argument Type Default
QUERY positional, text
--sort text downloads
--limit integer 30

Providers

llmdyno add-provider

Add a provider account. vendor is one of vendors() ("custom" for any OpenAI-compatible endpoint, which needs base_url). cloud_model() does this for you when no provider of that vendor exists yet.

llmdyno add-provider VENDOR [options]
Argument Type Default
VENDOR positional, text
--api-key text
--name text
--base-url text
--api-style text
--budget-usd number 5.0

llmdyno list-providers

Your cloud providers (optionally of one vendor).

llmdyno list-providers [options]
Argument Type Default
--vendor text

llmdyno litellm-model

A model behind a LiteLLM proxy (Azure OpenAI, Bedrock, Vertex AI, … through one OpenAI-compatible endpoint): litellm_model("bedrock/anthropic.claude-sonnet-4-5", reasoning_effort="low"). Start the proxy yourself, e.g. litellm --model bedrock/... or litellm --config config.yaml (pip install "litellm[proxy]"); base_url defaults to it on this machine's port 4000. Prices come from LiteLLM's table when the litellm package is installed ("llmdyno[litellm]"); budgets cap spend as for any cloud provider.

llmdyno litellm-model MODEL [options]
Argument Type Default Description
MODEL positional, text
--base-url text
--api-key text
--name text
--budget-usd number
--pricing text auto
--set KEY=VALUE text, repeatable a setting; the value is read as JSON when it parses

llmdyno local-servers

OpenAI-compatible servers running on the machine LLMDyno runs on (Ollama, LM Studio, vLLM, SGLang, a llama.cpp server, a LiteLLM proxy), each with its URL, the URL the sandbox uses, and its models.

llmdyno local-servers

llmdyno lookup-price

Price per 1M tokens ({"input", "output", "cached"}, plus context length and the matched model) from OpenRouter's catalog, or None when the model is not found.

llmdyno lookup-price VENDOR MODEL
Argument Type Default
VENDOR positional, text
MODEL positional, text

llmdyno ollama-model

A model served by Ollama on this machine, as a profile: ollama_model("qwen3-coder:30b", ctx=65536). Ollama must be running (it is found on its usual port, 11434).

llmdyno ollama-model MODEL [options]
Argument Type Default Description
MODEL positional, text
--name text
--set KEY=VALUE text, repeatable a setting; the value is read as JSON when it parses

llmdyno openai-compatible

Any OpenAI-compatible endpoint as a profile: LM Studio, vLLM, SGLang, a llama.cpp server, a gateway. localhost URLs are rewritten so the sandbox can reach them. Without model=, the endpoint must serve exactly one (it is looked up among local_servers()).

llmdyno openai-compatible BASE_URL [options]
Argument Type Default Description
BASE_URL positional, text
--model text
--api-key text
--name text
--api-style text
--set KEY=VALUE text, repeatable a setting; the value is read as JSON when it parses

llmdyno vendors

Supported vendors with their API styles, endpoints, where to get a key and notes.

llmdyno vendors

Harnesses

llmdyno add-harness

Add your own harness from a manifest (a dict or a JSON file; see harness_schema() and docs/HARNESSES.md): id, name, install lines (Dockerfile instructions), the command with $PROMPT, config files, API styles. build=True builds its image right away.

llmdyno add-harness MANIFEST [options]
Argument Type Default
MANIFEST positional, JSON
--build / --no-build flag --no-build

llmdyno harness-schema

The JSON schema of a custom harness manifest.

llmdyno harness-schema

llmdyno list-harnesses

Built-in and custom harnesses with their image status; ready=True keeps the ones whose image is built.

llmdyno list-harnesses [options]
Argument Type Default
--ready text

Your own agent as a harness

llmdyno node-harness

Make a harness from a JavaScript or TypeScript function ("agent.ts:run"; run, or the default export, when no name is given). It runs on Node 24 in the sandbox, which runs TypeScript directly (type annotations only: no enums or namespaces). packages are npm packages installed for it (pin versions, e.g. "ai@7.0.179"); when omitted, the entry file's export const PACKAGES = [...] list is used, and a package.json in the source folder is installed as well. source is the agent's file, or a folder that the entry point's path is relative to (node_modules, .git and build output are left out). The function gets one object: prompt, model, baseUrl, apiKey, workspace, stage, ctx, maxTokens, reasoning. id defaults to "js-".

llmdyno node-harness ENTRYPOINT [options]
Argument Type Default
ENTRYPOINT positional, text
--packages text, one or more values
--source text
--id text
--name text
--apis text, one or more values openai-chat
--multi-stage text fresh
--build / --no-build flag --no-build
--replace / --no-replace flag --replace

llmdyno python-harness

Make a harness from a Python function ("module:function"). requirements are pip packages installed into the image (pin versions for repeatable results); source is the module's file or package folder (found on your path when omitted). id defaults to "py-". replace=True updates an existing harness with that id. build=True builds the image right away (it also builds on first use).

llmdyno python-harness ENTRYPOINT [options]
Argument Type Default
ENTRYPOINT positional, text
--requirements text, one or more values
--source text
--id text
--name text
--apis text, one or more values openai-chat
--multi-stage text fresh
--build / --no-build flag --no-build
--replace / --no-replace flag --replace

Benchmarks and suites

llmdyno build-polyglot-image

Build the polyglot toolchain image (C++, Go, Java, JavaScript, Rust; a few GB).

llmdyno build-polyglot-image

llmdyno create-benchmark

Create your own benchmark from a spec, the same one the benchmark editor builds: id, title, prompts per stage, starter files, hidden tests or checks for the grader, an optional reference solution. See docs/BENCHMARKS.md.

llmdyno create-benchmark SPEC
Argument Type Default
SPEC positional, JSON

llmdyno create-suite

A new suite of benchmarks (Benchmark objects or ids).

llmdyno create-suite NAME BENCHMARKS … [options]
Argument Type Default
NAME positional, text
BENCHMARKS positional, text, one or more
--description text ``

llmdyno import-benchmark

Add a benchmark from a zip (a path or its bytes), such as one Benchmark.export() made on another machine.

llmdyno import-benchmark SOURCE
Argument Type Default
SOURCE positional, text

llmdyno import-catalog

What can be imported and what is ready: SWE-bench datasets and its harness, the polyglot languages, image and exercise cache, and how many of each are imported.

llmdyno import-catalog

llmdyno import-polyglot

Import Aider's polyglot benchmark (cpp, go, java, javascript, python, rust). Needs the toolchain image: setup(polyglot=True).

llmdyno import-polyglot [options]
Argument Type Default
--languages text, one or more values

llmdyno import-swebench

Import SWE-bench tasks as benchmarks: dataset "verified" (500), "lite" (300) or "verified_mini" (50). Grading needs the official harness: setup(swebench=True). Returns the new benchmark ids and suite id.

llmdyno import-swebench [options]
Argument Type Default
--dataset text verified_mini
--limit integer
--instance-ids text, one or more values

llmdyno install-swebench-harness

Install the official SWE-bench harness into its own virtual environment (about 250 MB).

llmdyno install-swebench-harness

llmdyno list-benchmarks

Benchmarks in the data folder (built-in, your own and imported), as dicts with id, title, category, …

llmdyno list-benchmarks [options]
Argument Type Default
--category text
--search text

llmdyno list-suites

Suites (named groups of benchmarks): built-in ones plus yours and those created by imports.

llmdyno list-suites

llmdyno remove-imported

Delete every imported benchmark of one kind ("swebench" or "polyglot") and its suites; returns how many benchmarks were removed. They can be imported again at any time.

llmdyno remove-imported KIND
Argument Type Default
KIND positional, text

Plans

llmdyno bench

Run models × harnesses × benchmarks × iterations and return the scored Results.

models: Profiles (from cloud_model / local_model) or profile names. benchmarks: benchmark or suite ids (see list_benchmarks() and list_suites()); harnesses: pi, opencode, codex, qwen-code, crush, aider, mini-swe-agent. budget_usd caps this plan's cloud spend on top of each provider's own cap. Local models share the GPU one at a time; cloud runs go in parallel. The plan is checked first and PreflightError lists anything that blocks it; danger warnings (spill, out of memory, …) need acknowledge_risks=True. wait=False returns the running Plan instead; on_event(ev) gets every live Event while it runs (see watch()). auto_log sends the results on when the plan finishes: "mlflow", "wandb", "langfuse", "otel", a list of them, or {"mlflow": {"experiment": "x"}, …}.

llmdyno bench MODELS … [options]
Argument Type Default Description
MODELS positional, text, one or more
--benchmarks text, one or more values suite_quick
--harnesses text, one or more values pi
--iterations integer 1
--name text
--budget-usd number
--quality / --no-quality flag --quality
--timeout-multiplier number
--cloud-concurrency integer
--allow-spill / --no-allow-spill flag --no-allow-spill
--acknowledge-risks / --no-acknowledge-risks flag --no-acknowledge-risks
--wait / --no-wait flag --wait
--auto-log text
--view leaderboard / runs / cells / rubric / agreement / reviews / reference / public which table of the results to show
--export text also save the Results page export there
--level runs / cells / configs configs
--fmt csv / json csv

llmdyno list-plans

Every plan in the data folder, newest first.

llmdyno list-plans

llmdyno preflight

What bench() would check before starting: blocking problems, warnings, and time and cost estimates.

llmdyno preflight MODELS … [options]
Argument Type Default Description
MODELS positional, text, one or more
--benchmarks text, one or more values suite_quick
--harnesses text, one or more values pi
--iterations integer 1
--set KEY=VALUE text, repeatable a setting; the value is read as JSON when it parses

Results

llmdyno load-results-from-hub

Results someone published with Results.push_to_hub(); needs "llmdyno[hub]".

llmdyno load-results-from-hub REPO_ID [options]
Argument Type Default Description
REPO_ID positional, text
--revision text
--token text
--view leaderboard / runs / cells / rubric / agreement / reviews / reference / public which table of the results to show
--export text also save the Results page export there
--level runs / cells / configs configs
--fmt csv / json csv

llmdyno load-sample

Load the bundled sample results into this data folder to explore the dashboard and the API without running anything; returns its plan id. results() leaves it out unless you pass include_sample=True or its plan id.

llmdyno load-sample

llmdyno results

Scored results for some plans (default: every plan except the bundled sample), with every option of the Results page: the four weights reshape the final score (defaults 50/15/25/10); quality_weights splits code quality between "static", "probes" and "review"; benchmarks limits it to some benchmarks; pass_threshold is the correctness that counts as a pass (pass@k); efficiency_ref compares speed and cost among "local" or "all" runs.

llmdyno results [options]
Argument Type Default Description
--plans text, one or more values
--include-sample / --no-include-sample flag --no-include-sample
--correctness number
--instruction-following number
--quality number
--efficiency number
--quality-weights JSON
--benchmarks text, one or more values
--pass-threshold number 0.8
--efficiency-ref text local
--view leaderboard / runs / cells / rubric / agreement / reviews / reference / public which table of the results to show
--export text also save the Results page export there
--level runs / cells / configs configs
--fmt csv / json csv

llmdyno sample-status

{"available", "loaded", "plan_id"} for the bundled sample results (15 configurations measured on an RTX 5080).

llmdyno sample-status

llmdyno save-weights

Save the default score weights (what results() and the Results page start from). The four main weights are relative (defaults 50/15/25/10); quality_weights splits code quality between "static", "probes" and "review". Returns the saved {"weights", "quality_weights"}.

llmdyno save-weights [options]
Argument Type Default
--correctness number
--instruction-following number
--quality number
--efficiency number
--quality-weights JSON

llmdyno unload-sample

Remove the sample plan, its runs, reviews and profiles.

llmdyno unload-sample

Judging

llmdyno delete-reviews

Delete one judge's reviews (a judge profile or its id), everywhere or only for one plan; returns how many.

llmdyno delete-reviews JUDGE [options]
Argument Type Default
JUDGE positional, text
--plan text

llmdyno judge-defaults

LLMDyno's default judging setup: the rubric (dimensions with descriptions), the guidance judges get, and the default budget, concurrency and output limit.

llmdyno judge-defaults

llmdyno review

Blind LLM code review of finished runs by one or more judge profiles (cloud or local), then fresh Results whose code-quality score includes the reviews. judges is required: a profile, its name, or a list (two from different vendors let LLMDyno check agreement and self-preference). Review whole plans, or only some runs with runs=. budget_usd caps the judges' spend. rubric and guidance replace the defaults (see judge_defaults(): a rubric is a list of {"key", "label", "description"} dimensions); include_static shows judges the static-analysis findings; skip_reviewed=False reviews again runs a judge already reviewed. wait=False returns the Job.

llmdyno review [options]
Argument Type Default Description
--plans text, one or more values
--judges text, one or more values
--runs text, one or more values
--budget-usd number 1.0
--concurrency integer 4
--rubric text, one or more values
--guidance text
--include-static / --no-include-static flag --no-include-static
--max-output-tokens integer
--skip-reviewed / --no-skip-reviewed flag --skip-reviewed
--wait / --no-wait flag --wait
--view leaderboard / runs / cells / rubric / agreement / reviews / reference / public which table of the results to show
--export text also save the Results page export there
--level runs / cells / configs configs
--fmt csv / json csv

llmdyno reviews

Reviews of a plan's runs or of one run (overall score, per-dimension scores, summary, issues, judge).

llmdyno reviews [options]
Argument Type Default
--plan text
--run text

Live events

llmdyno watch

Iterate over what happens to a plan, run or job until it stops:

plan = llmdyno.bench(qwen, "suite_quick", wait=False)
for ev in llmdyno.watch(plan):
    if ev.kind == "run" and ev.finished:
        print(ev.data["benchmark_id"], ev.status, ev.data["correctness"])

Events come live from work running in this process (bench(), review(), downloads, …) and from a remote LLMDyno. Work running elsewhere, such as in a separate web server on this machine, is followed by polling every poll_s seconds (run and plan changes only). transcript=True adds every agent event and model request; gpu=False drops the GPU samples. timeout (seconds) stops waiting early.

llmdyno watch TARGET [options]
Argument Type Default
TARGET positional, text
--transcript / --no-transcript flag --no-transcript
--gpu / --no-gpu flag --gpu
--timeout number
--poll-s number 2.0

Artificial Analysis reference numbers

llmdyno aa-reference

Whether a key is set and when the data was fetched, each profile's matched model and score ("matches", by profile id, with "manual" for hand-picked ones), and the model list to pick matches from.

llmdyno aa-reference

llmdyno refresh-aa

Download the latest Artificial Analysis numbers (refreshed at most every 12 hours unless force=True; the free tier allows 100 requests a day). Returns {"models", "fetched_at"}.

llmdyno refresh-aa [options]
Argument Type Default
--force / --no-force flag --no-force

llmdyno remove-aa-key

Delete the saved Artificial Analysis API key.

llmdyno remove-aa-key

llmdyno set-aa-key

Save an Artificial Analysis API key in the data folder's secret store (free at artificialanalysis.ai).

llmdyno set-aa-key KEY
Argument Type Default
KEY positional, text

llmdyno set-aa-match

Pick which Artificial Analysis model a profile is compared with (its slug from aa_reference()["model_list"]), or None to go back to the automatic match. Returns every override.

llmdyno set-aa-match PROFILE SLUG
Argument Type Default
PROFILE positional, text
SLUG positional, text

Settings

llmdyno remove-hf-token

Delete the saved Hugging Face token.

llmdyno remove-hf-token

llmdyno set-hf-token

Save a Hugging Face token in the data folder's secret store, for gated models and higher rate limits.

llmdyno set-hf-token TOKEN
Argument Type Default
TOKEN positional, text

llmdyno settings

The current settings.

llmdyno settings

Interop and CI

llmdyno compare-results

Compare results with a baseline, configuration by configuration (profile × harness), for CI. current and baseline are Results, plan ids, or results JSON files (Results.to_json(), llmdyno results --json). A configuration regresses when its metric (final, correctness, quality, … on 0-100) drops by more than max_drop points; one missing from current fails the check unless allow_missing. Returns {"ok", "rows", "regressions", "missing", "new"}.

llmdyno compare-results CURRENT BASELINE [options]
Argument Type Default
CURRENT positional, text
BASELINE positional, text
--metric text final
--max-drop number 2.0
--allow-missing / --no-allow-missing flag --no-allow-missing

Objects

Commands for one object, by id (or by name, where names are unique). show prints everything about it; the other actions are its methods.

llmdyno profile

A model plus the settings it is benchmarked with (the app's "LLM profile").

Action What it does
show everything about one profile
check Memory fit for a local profile: verdict ("fits", "tight", "spill", "oom", …), projected GPU memory and warnings.
delete Delete the profile.
duplicate A copy (" (copy)" unless you name it), optionally with changed settings.
export The profile as a shareable file (settings, pricing and which model or vendor, never keys); written to path if given.
test Quick test (about 20 s locally): loads the model, measures speed and VRAM, and checks tool calling.
update Change settings, e.g. update(ctx=32768, cache_k="q4_0") or update(reasoning_effort="high"), and the name, notes, tags, pricing ({"input", "output", "cached"} USD per 1M tokens) or a cloud profile's model.

llmdyno profile show

everything about one profile

llmdyno profile show ID
Argument Type Default
ID positional, text

llmdyno profile check

Memory fit for a local profile: verdict ("fits", "tight", "spill", "oom", …), projected GPU memory and warnings. exact=True asks llama-fit-params instead of estimating (needs llama.cpp and the downloaded file).

llmdyno profile check ID [options]
Argument Type Default Description
ID positional, text the profile's id or name
--exact / --no-exact flag --no-exact

llmdyno profile delete

Delete the profile. Results of past runs are kept; the server refuses while runs of it are queued or running.

llmdyno profile delete ID
Argument Type Default Description
ID positional, text the profile's id or name

llmdyno profile duplicate

A copy (" (copy)" unless you name it), optionally with changed settings.

llmdyno profile duplicate ID [options]
Argument Type Default Description
ID positional, text the profile's id or name
--name text
--set KEY=VALUE text, repeatable a setting; the value is read as JSON when it parses

llmdyno profile export

The profile as a shareable file (settings, pricing and which model or vendor, never keys); written to path if given. import_profile() reads it back, here or on another machine.

llmdyno profile export ID [options]
Argument Type Default Description
ID positional, text the profile's id or name
--path text

llmdyno profile test

Quick test (about 20 s locally): loads the model, measures speed and VRAM, and checks tool calling.

llmdyno profile test ID
Argument Type Default Description
ID positional, text the profile's id or name

llmdyno profile update

Change settings, e.g. update(ctx=32768, cache_k="q4_0") or update(reasoning_effort="high"), and the name, notes, tags, pricing ({"input", "output", "cached"} USD per 1M tokens) or a cloud profile's model.

llmdyno profile update ID [options]
Argument Type Default Description
ID positional, text the profile's id or name
--name text
--notes text
--tags text, one or more values
--pricing JSON
--remote-model text
--set KEY=VALUE text, repeatable a setting; the value is read as JSON when it parses

llmdyno model

A GGUF model in the data folder, downloaded from Hugging Face or registered from disk.

Action What it does
show everything about one model
contexts Projected memory and verdict at each context size with the default settings for this machine (what the model page's context table shows).
delete Forget the model.
pause Pause its download (the partial file is kept; resume() carries on).
profile A local profile for this model with these settings (same keywords as local_model()).
resume Carry on with an interrupted or paused download.

llmdyno model show

everything about one model

llmdyno model show ID
Argument Type Default
ID positional, text

llmdyno model contexts

Projected memory and verdict at each context size with the default settings for this machine (what the model page's context table shows). Empty until the model is downloaded.

llmdyno model contexts ID
Argument Type Default Description
ID positional, text the model's id or name

llmdyno model delete

Forget the model. files=True also deletes downloaded files (files you imported are never deleted). Profiles using it stay, without a model. Returns what was removed.

llmdyno model delete ID [options]
Argument Type Default Description
ID positional, text the model's id or name
--files / --no-files flag --no-files

llmdyno model pause

Pause its download (the partial file is kept; resume() carries on).

llmdyno model pause ID
Argument Type Default Description
ID positional, text the model's id or name

llmdyno model profile

A local profile for this model with these settings (same keywords as local_model()).

llmdyno model profile ID [options]
Argument Type Default Description
ID positional, text the model's id or name
--name text
--set KEY=VALUE text, repeatable a setting; the value is read as JSON when it parses

llmdyno model resume

Carry on with an interrupted or paused download. wait=False returns the download Job.

llmdyno model resume ID [options]
Argument Type Default Description
ID positional, text the model's id or name
--wait / --no-wait flag --wait

llmdyno provider

A cloud provider account: vendor, endpoint, API key (kept in the data folder's secret store, never returned), a hard budget and what has been spent against it.

Action What it does
show everything about one provider
delete Remove the provider and its key (refused while profiles use it).
models Model ids this provider offers (from the last connection test; refresh=True tests again).
remove-key Delete the provider's saved API key.
reset-spend Start counting spend against the budget from zero again.
set-key Save a new API key for this provider.
test Check the key and endpoint by listing models: {"ok", "error", "models", "latency_ms"}.
update Rename, change the budget (USD, a hard cap), the API style ("openai-chat", "openai-responses", "anthropic", …) or the base URL.

llmdyno provider show

everything about one provider

llmdyno provider show ID
Argument Type Default
ID positional, text

llmdyno provider delete

Remove the provider and its key (refused while profiles use it).

llmdyno provider delete ID
Argument Type Default Description
ID positional, text the provider's id or name

llmdyno provider models

Model ids this provider offers (from the last connection test; refresh=True tests again).

llmdyno provider models ID [options]
Argument Type Default Description
ID positional, text the provider's id or name
--refresh / --no-refresh flag --no-refresh

llmdyno provider remove-key

Delete the provider's saved API key.

llmdyno provider remove-key ID
Argument Type Default Description
ID positional, text the provider's id or name

llmdyno provider reset-spend

Start counting spend against the budget from zero again.

llmdyno provider reset-spend ID
Argument Type Default Description
ID positional, text the provider's id or name

llmdyno provider set-key

Save a new API key for this provider. It replaces the old one and is never shown again.

llmdyno provider set-key ID API_KEY
Argument Type Default Description
ID positional, text the provider's id or name
API_KEY positional, text

llmdyno provider test

Check the key and endpoint by listing models: {"ok", "error", "models", "latency_ms"}.

llmdyno provider test ID
Argument Type Default Description
ID positional, text the provider's id or name

llmdyno provider update

Rename, change the budget (USD, a hard cap), the API style ("openai-chat", "openai-responses", "anthropic", …) or the base URL.

llmdyno provider update ID [options]
Argument Type Default Description
ID positional, text the provider's id or name
--name text
--budget-usd number
--api-style text
--base-url text

llmdyno harness

A coding-agent harness (Pi, OpenCode, Codex CLI, Qwen Code, Crush, Aider, mini-SWE-agent, or your own) and the Docker image it runs in.

Action What it does
show everything about one harness
build Build (or rebuild) its image on top of the sandbox image, then smoke-test it.
build-runtime Build the portable runtime for a platform.
delete Remove a custom harness.
dockerfile The Dockerfile its image is built from.
preview Exactly what a run would execute, for a sample endpoint: config files written into the agent's HOME, environment, the first command and the command that continues a multi-stage task.
remove-image Delete its Docker image (build() makes it again).
runtime Its portable runtime (used inside benchmarks that bring their own image, such as SWE-bench) for a platform ("linux/amd64", "linux/arm64"; default this machine's): whether it is built, plus its Dockerfile.
update Replace a custom harness's manifest (rebuild afterwards for image changes to take effect).

llmdyno harness show

everything about one harness

llmdyno harness show ID
Argument Type Default
ID positional, text

llmdyno harness build

Build (or rebuild) its image on top of the sandbox image, then smoke-test it. wait=False returns the Job.

llmdyno harness build ID [options]
Argument Type Default Description
ID positional, text the harness's id or name
--wait / --no-wait flag --wait

llmdyno harness build-runtime

Build the portable runtime for a platform. Returns its status, or the Job with wait=False.

llmdyno harness build-runtime ID [options]
Argument Type Default Description
ID positional, text the harness's id or name
--platform text ``
--wait / --no-wait flag --wait

llmdyno harness delete

Remove a custom harness.

llmdyno harness delete ID
Argument Type Default Description
ID positional, text the harness's id or name

llmdyno harness dockerfile

The Dockerfile its image is built from.

llmdyno harness dockerfile ID
Argument Type Default Description
ID positional, text the harness's id or name

llmdyno harness preview

Exactly what a run would execute, for a sample endpoint: config files written into the agent's HOME, environment, the first command and the command that continues a multi-stage task.

llmdyno harness preview ID [options]
Argument Type Default Description
ID positional, text the harness's id or name
--api-style text openai-chat

llmdyno harness remove-image

Delete its Docker image (build() makes it again).

llmdyno harness remove-image ID
Argument Type Default Description
ID positional, text the harness's id or name

llmdyno harness runtime

Its portable runtime (used inside benchmarks that bring their own image, such as SWE-bench) for a platform ("linux/amd64", "linux/arm64"; default this machine's): whether it is built, plus its Dockerfile.

llmdyno harness runtime ID [options]
Argument Type Default Description
ID positional, text the harness's id or name
--platform text ``

llmdyno harness update

Replace a custom harness's manifest (rebuild afterwards for image changes to take effect).

llmdyno harness update ID MANIFEST
Argument Type Default Description
ID positional, text the harness's id or name
MANIFEST positional, JSON

llmdyno benchmark

A benchmark: its stages and prompts, starter workspace, grader and reference solution.

Action What it does
show everything about one benchmark
delete Delete a benchmark you made or imported.
duplicate An editable copy under a new id (3-61 lowercase letters, digits or underscores).
export The benchmark as a zip (its folder: benchmark.json, workspace, grader, reference); written to path if given.
spec The editable definition of one of your benchmarks (what create_benchmark() and update() take).
update Replace one of your benchmarks with a new spec (built-in ones are read-only: duplicate() them first).
validate Check the grader: the starter workspace must fail it and the reference solution must pass.

llmdyno benchmark show

everything about one benchmark

llmdyno benchmark show ID
Argument Type Default
ID positional, text

llmdyno benchmark delete

Delete a benchmark you made or imported. Results of past runs are kept.

llmdyno benchmark delete ID
Argument Type Default Description
ID positional, text the benchmark's id or name

llmdyno benchmark duplicate

An editable copy under a new id (3-61 lowercase letters, digits or underscores).

llmdyno benchmark duplicate ID NEW_ID
Argument Type Default Description
ID positional, text the benchmark's id or name
NEW_ID positional, text

llmdyno benchmark export

The benchmark as a zip (its folder: benchmark.json, workspace, grader, reference); written to path if given. import_benchmark() reads it back.

llmdyno benchmark export ID [options]
Argument Type Default Description
ID positional, text the benchmark's id or name
--path text

llmdyno benchmark spec

The editable definition of one of your benchmarks (what create_benchmark() and update() take).

llmdyno benchmark spec ID
Argument Type Default Description
ID positional, text the benchmark's id or name

llmdyno benchmark update

Replace one of your benchmarks with a new spec (built-in ones are read-only: duplicate() them first).

llmdyno benchmark update ID SPEC
Argument Type Default Description
ID positional, text the benchmark's id or name
SPEC positional, JSON

llmdyno benchmark validate

Check the grader: the starter workspace must fail it and the reference solution must pass. Returns the report (or the Job with wait=False). Needs Docker and the sandbox image.

llmdyno benchmark validate ID [options]
Argument Type Default Description
ID positional, text the benchmark's id or name
--wait / --no-wait flag --wait

llmdyno suite

A named group of benchmarks; pass its id wherever benchmarks are expected.

Action What it does
show everything about one suite
delete Delete a suite you made.
update Rename it, change its description or its benchmarks (built-in suites are read-only).

llmdyno suite show

everything about one suite

llmdyno suite show ID
Argument Type Default
ID positional, text

llmdyno suite delete

Delete a suite you made. The benchmarks in it are kept.

llmdyno suite delete ID
Argument Type Default Description
ID positional, text the suite's id or name

llmdyno suite update

Rename it, change its description or its benchmarks (built-in suites are read-only).

llmdyno suite update ID [options]
Argument Type Default Description
ID positional, text the suite's id or name
--name text
--benchmarks text, one or more values
--description text

llmdyno plan

A benchmark plan: its runs, live status, and results once it finishes.

Action What it does
show everything about one plan
cancel Stop the plan: running agents stop and those runs are marked cancelled; finished results are kept.
delete Delete the plan, its runs and reviews, and (unless files=False) the run folders: workspaces, logs.
get-runs Every run as a Run object (transcript, files, logs, retry, …).
live A Jupyter widget that follows the plan as it runs (progress, finished runs, GPU); needs "llmdyno[notebook]".
open Open this plan in the dashboard (starts the web app in the background if it is not running).
pause Pause the plan: runs in progress finish, queued runs wait for resume().
rename Give the plan a new name.
results Scored results of this plan, with the options of results() (weights, pass_threshold, …).
resume Continue a paused, cancelled or failed plan that still has queued runs.
retry Run the failed and cancelled runs again (or those with the given statuses) and, with wait=True, wait for the plan and return its Results; otherwise return how many runs were queued.
runs Every run with its status, scores and timing (dicts; run(id) or get_runs() give Run objects).
swebench-predictions The plan's SWE-bench patches in the official predictions JSONL format (written to path if given).
wait Block until the plan stops, printing each run as it finishes, then return its Results.

llmdyno plan show

everything about one plan

llmdyno plan show ID
Argument Type Default
ID positional, text

llmdyno plan cancel

Stop the plan: running agents stop and those runs are marked cancelled; finished results are kept.

llmdyno plan cancel ID
Argument Type Default Description
ID positional, text the plan's id or name

llmdyno plan delete

Delete the plan, its runs and reviews, and (unless files=False) the run folders: workspaces, logs.

llmdyno plan delete ID [options]
Argument Type Default Description
ID positional, text the plan's id or name
--files / --no-files flag --files

llmdyno plan get-runs

Every run as a Run object (transcript, files, logs, retry, …).

llmdyno plan get-runs ID
Argument Type Default Description
ID positional, text the plan's id or name

llmdyno plan live

A Jupyter widget that follows the plan as it runs (progress, finished runs, GPU); needs "llmdyno[notebook]". Display it as the last expression of a cell.

llmdyno plan live ID
Argument Type Default Description
ID positional, text the plan's id or name

llmdyno plan open

Open this plan in the dashboard (starts the web app in the background if it is not running).

llmdyno plan open ID
Argument Type Default Description
ID positional, text the plan's id or name

llmdyno plan pause

Pause the plan: runs in progress finish, queued runs wait for resume().

llmdyno plan pause ID
Argument Type Default Description
ID positional, text the plan's id or name

llmdyno plan rename

Give the plan a new name.

llmdyno plan rename ID NAME
Argument Type Default Description
ID positional, text the plan's id or name
NAME positional, text

llmdyno plan results

Scored results of this plan, with the options of results() (weights, pass_threshold, …).

llmdyno plan results ID [options]
Argument Type Default Description
ID positional, text the plan's id or name
--set KEY=VALUE text, repeatable a setting; the value is read as JSON when it parses
--view leaderboard / runs / cells / rubric / agreement / reviews / reference / public which table of the results to show
--export text also save the Results page export there
--level runs / cells / configs configs
--fmt csv / json csv

llmdyno plan resume

Continue a paused, cancelled or failed plan that still has queued runs. Like bench(), it waits for the plan and returns its Results; wait=False returns the Plan at once.

llmdyno plan resume ID [options]
Argument Type Default Description
ID positional, text the plan's id or name
--wait / --no-wait flag --wait

llmdyno plan retry

Run the failed and cancelled runs again (or those with the given statuses) and, with wait=True, wait for the plan and return its Results; otherwise return how many runs were queued.

llmdyno plan retry ID [options]
Argument Type Default Description
ID positional, text the plan's id or name
--statuses text, one or more values failed cancelled
--wait / --no-wait flag --wait

llmdyno plan runs

Every run with its status, scores and timing (dicts; run(id) or get_runs() give Run objects).

llmdyno plan runs ID
Argument Type Default Description
ID positional, text the plan's id or name

llmdyno plan swebench-predictions

The plan's SWE-bench patches in the official predictions JSONL format (written to path if given).

llmdyno plan swebench-predictions ID [options]
Argument Type Default Description
ID positional, text the plan's id or name
--path text

llmdyno plan wait

Block until the plan stops, printing each run as it finishes, then return its Results. on_event(ev) is called for every live Event (see watch(); transcript=True adds agent events). progress shows a tqdm bar (default: when tqdm is installed and the output is a terminal or notebook). Ctrl+C cancels the plan.

llmdyno plan wait ID [options]
Argument Type Default Description
ID positional, text the plan's id or name
--transcript / --no-transcript flag --no-transcript
--progress text
--view leaderboard / runs / cells / rubric / agreement / reviews / reference / public which table of the results to show
--export text also save the Results page export there
--level runs / cells / configs configs
--fmt csv / json csv

llmdyno run

One benchmark run: a profile × harness × benchmark × iteration, with its scores, transcript and workspace.

Action What it does
show everything about one run
cancel Stop the run.
download Save the run's workspace as a zip (default: -workspace.zip in the current folder).
files Files the agent left in its workspace (home=True: the agent's home folder, with its config and sessions): [{"path", "size", "mtime"}].
gpu GPU telemetry samples taken while the run was going (utilisation, VRAM, power, temperature).
log The harness's output for one stage (stream "stdout" or "stderr"); the last 400 kB.
plan The plan this run belongs to.
read-file A workspace file's text (or a note when it is binary or larger than 2 MB).
regrade Grade the finished workspace again (after fixing a grader, say) without re-running the agent.
requests Each model request through LLMDyno's proxy: tokens, timings, time to first token, cost, finish reason.
retry Queue the run again (its old results are cleared).
server-log The llama-server log of the plan's local model (empty for cloud runs).
transcript Everything the agent and the model said, as a Transcript (turns(), tool_calls(), thinking(), usage()).

llmdyno run show

everything about one run

llmdyno run show ID
Argument Type Default
ID positional, text

llmdyno run cancel

Stop the run. It is marked cancelled, and what it did so far is kept.

llmdyno run cancel ID
Argument Type Default Description
ID positional, text the run's id or name

llmdyno run download

Save the run's workspace as a zip (default: -workspace.zip in the current folder).

llmdyno run download ID [options]
Argument Type Default Description
ID positional, text the run's id or name
--path text

llmdyno run files

Files the agent left in its workspace (home=True: the agent's home folder, with its config and sessions): [{"path", "size", "mtime"}].

llmdyno run files ID [options]
Argument Type Default Description
ID positional, text the run's id or name
--home / --no-home flag --no-home

llmdyno run gpu

GPU telemetry samples taken while the run was going (utilisation, VRAM, power, temperature).

llmdyno run gpu ID [options]
Argument Type Default Description
ID positional, text the run's id or name
--max-points integer 600

llmdyno run log

The harness's output for one stage (stream "stdout" or "stderr"); the last 400 kB.

llmdyno run log ID [options]
Argument Type Default Description
ID positional, text the run's id or name
--stage integer 1
--stream text stdout

llmdyno run plan

The plan this run belongs to.

llmdyno run plan ID
Argument Type Default Description
ID positional, text the run's id or name

llmdyno run read-file

A workspace file's text (or a note when it is binary or larger than 2 MB).

llmdyno run read-file ID PATH [options]
Argument Type Default Description
ID positional, text the run's id or name
PATH positional, text
--home / --no-home flag --no-home

llmdyno run regrade

Grade the finished workspace again (after fixing a grader, say) without re-running the agent.

llmdyno run regrade ID [options]
Argument Type Default Description
ID positional, text the run's id or name
--wait / --no-wait flag --wait

llmdyno run requests

Each model request through LLMDyno's proxy: tokens, timings, time to first token, cost, finish reason.

llmdyno run requests ID
Argument Type Default Description
ID positional, text the run's id or name

llmdyno run retry

Queue the run again (its old results are cleared). Restarts the plan if it had stopped and returns that plan's Job; follow it with watch() or plan().wait().

llmdyno run retry ID
Argument Type Default Description
ID positional, text the run's id or name

llmdyno run server-log

The llama-server log of the plan's local model (empty for cloud runs).

llmdyno run server-log ID
Argument Type Default Description
ID positional, text the run's id or name

llmdyno run transcript

Everything the agent and the model said, as a Transcript (turns(), tool_calls(), thinking(), usage()).

llmdyno run transcript ID [options]
Argument Type Default Description
ID positional, text the run's id or name
--start integer 0
--limit integer 20000
--view turns / tool-calls / thinking / final / usage / events turns which view of the transcript

llmdyno job

A background task: a download, image build, plan, review or import.

Action What it does
show everything about one job
cancel Stop the job (a download keeps what it has, a plan keeps finished runs).
drain Wait (quietly) for a cancelled job to actually stop.
wait Block until the job ends, printing its progress, and return its result.

llmdyno job show

everything about one job

llmdyno job show ID
Argument Type Default
ID positional, text

llmdyno job cancel

Stop the job (a download keeps what it has, a plan keeps finished runs).

llmdyno job cancel ID
Argument Type Default Description
ID positional, text the job's id or name

llmdyno job drain

Wait (quietly) for a cancelled job to actually stop.

llmdyno job drain ID [options]
Argument Type Default Description
ID positional, text the job's id or name
--timeout-s integer 120

llmdyno job wait

Block until the job ends, printing its progress, and return its result. Ctrl+C cancels the job; a failed, cancelled, paused or interrupted job raises LLMDynoError.

llmdyno job wait ID [options]
Argument Type Default Description
ID positional, text the job's id or name
--verbose / --no-verbose flag --no-verbose
--every-s number 2.0