probelm is a Rust CLI for probing and benchmarking models through an OpenAI-compatible gateway. It measures availability, time to first token (TTFT), total latency, throughput, and model capabilities.
brew install keton-id/tap/probelm# Install globally
npm install -g @keton-id/probelm
# Or run directly without installing
npx @keton-id/probelm --helpcargo install probelmscoop bucket add keton-id https://github.com/keton-id/scoop-bucket
scoop install probelmcurl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/keton-id/probelm/master/script/install.sh | bashTo install from a local checkout:
./script/install.shirm https://raw.githubusercontent.com/keton-id/probelm/master/script/install.ps1 | iexThe installers select the published binary for the current operating system and architecture. PROBELM_VERSION or the PowerShell -Version parameter can pin a release.
git clone https://github.com/keton-id/probelm.git
cd probelm
cargo build --releaseprobelm init --global -y
probelm testprobelm init [options]
probelm list [options]
probelm test [models] [options]
probelm sync-specs
probelm tui [options]
probelm config [options]
test also accepts the aliases probe, check, bench, and run.
tui also accepts the aliases manage and dashboard.
probelm can run as a local MCP server over stdio. Register it with an
agent harness through Kurir:
# Interactive TTY installer
probelm mcp install
# Non-interactive registration
probelm mcp install --client claude-code
probelm mcp install --client codex --project
# The command launched by the harness
probelm mcp serveThe interactive installer requires a real TTY so it can present the harness
selection menu. Pass --client in automation. Registration writes a stdio
entry that launches probelm mcp serve; the server reads the same gateway
configuration used by the CLI and keeps protocol output on stdout.
probelm init --global -y
probelm init --url http://localhost:20128 --api-key sk-...Configuration resolution order:
--config <path>ROUTER_KEYandROUTER_URL./config.json$HOME/.config/probelm/config.json
Example configuration:
{
"endpoint": {
"baseUrl": "http://localhost:20128",
"apiKey": "sk-..."
},
"models": ["midas/glm-5.2", "midas/deepseek-v4-pro"],
"defaultPrompt": "Reply with exactly: OK",
"maxTokens": 64,
"temperature": 0.0,
"timeoutSeconds": 120
}# Models from configuration
probelm test
# One or more explicit models
probelm test midas/glm-5.2 midas/deepseek-v4-pro
# Every model exposed by the gateway
probelm test --all
# Wildcards, prefixes, ownership, and capabilities
probelm test 'cx/*'
probelm test --prefix cx,ag,midas
probelm test --owned-by combo
probelm test --all --cap reasoning
# Custom prompt and parallel jobs
probelm test midas/deepseek-v4-pro --prompt 'Reply in two sentences.'
probelm test --all --jobs 8probelm test --all --sort ctx,speed
probelm test --all --sort ttft:asc
probelm test --all --md
probelm test --all --json
probelm test --ping
probelm test --latency
probelm test --all --caps-onlySort keys include ctx/context, speed/rate, ttft/latency, out/max_out, ping/status, and name/model.
probelm list
probelm list --prefix cx --owned-by midas
probelm list --prefix midas --list-models midas-models.json
probelm sync-specssync-specs downloads the authoritative model specification database from LiteLLM and updates local metadata used by the probe.
cargo build --release --locked
cargo run --release -- test --help
make check-allThe release build produces probelm as the primary binary.
Published releases provide six archives:
- macOS Apple silicon:
probelm-macos-aarch64.tar.gz - macOS Intel:
probelm-macos-x86_64.tar.gz - Windows ARM64:
probelm-windows-aarch64.zip - Windows x86-64:
probelm-windows-x86_64.zip - Linux ARM64:
probelm-linux-aarch64.tar.gz - Linux x86-64:
probelm-linux-x86_64.tar.gz
Each archive has a matching .sha256 file and is listed in SHA256SUMS. Homebrew, Scoop, npm, and the PowerShell installer consume these same assets.
Do not commit gateway API keys. Use environment variables or a configuration file excluded by .gitignore. Report vulnerabilities privately through the process in SECURITY.md.
Read CONTRIBUTING.md, CODE_OF_CONDUCT.md, and CLAUDE.md before opening a change.
MIT. See the package metadata and repository distribution terms.