Ai Model Experiments
v0.2.1AI Model Experiments MCP ('Model Lab') — run the same prompts across many AI models simultaneously…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
experiment_models
List AI models available for experiments (about 300 across Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, Qwen and more), with context window and OUR per-token prices (provider cost × 1.5 — what experiments actually bill). Filter by name/vendor search, minimum context, or max price. Use the returned model ids in experiment_create. Example: experiment_models({ search: "claude", min_context: 100000 })
| Parameter | Type | Description |
|---|---|---|
limit | number | Max models to return (default 30) |
max_price_per_mtok | number | Max billed OUTPUT price in USD per million tokens |
min_context | number | Minimum context window in tokens |
search | string | Substring match on model id or name, e.g. "claude", "gpt", "llama" |
experiment_estimate
Dry-run cost estimate for an experiment BEFORE creating it — cell count and estimated billed cost range (at our 1.5× pricing) for prompts × models × reps. Free to call, no side effects, does not need credit balance. Same spec shape as experiment_create. Example: experiment_estimate({ prompts: ["Summarize: ..."], models: ["anthropic/claude-sonnet-4.5", "openai/gpt-5"], reps: 2 })
| Parameter | Type | Description |
|---|---|---|
models * | array | Model ids from experiment_models (max 12) |
prompts * | array | Prompts to test (max 20) |
params | object | Optional {system, temperature, max_tokens} |
reps | number | Repetitions per prompt×model, 1-5 (default 1) |
summary | boolean | Include the AI-written comparison summary stage (default true) |
experiment_create
Model Lab: run one prompt across many AI models at once and compare their outputs, cost, and latency side by side. Create and start an experiment: run each prompt against each model (× reps), collecting output, tokens, latency, and billed cost per cell. PREPAID: requires Pipeworx credit balance ≥ max_spend_usd (top up via experiment_topup); bills actual provider cost × 1.5 with a $0.10 minimum per experiment. ASYNC: returns experiment_id immediately — execution starts within ~1 minute; poll experiment_status until complete, then call experiment_results. Do NOT wait synchronously. Set sum…
| Parameter | Type | Description |
|---|---|---|
max_spend_usd * | number | REQUIRED hard spend cap in USD for this experiment (max 100). Execution stops when reached. |
models * | array | Model ids from experiment_models (max 12) |
prompts * | array | Prompts to test (max 20) |
name | string | Short experiment name |
params | object | Optional {system, temperature, max_tokens (default 512)} |
reps | number | Repetitions per prompt×model for variance, 1-5 (default 1) |
summary | boolean | AI-written comparison of the models' outputs when the run completes (default true) |
experiment_status
Progress of an experiment: cell counts by state (pending/running/ok/error/skipped), spend so far vs cap, and whether it is complete. Poll this after experiment_create (every few seconds). Example: experiment_status({ experiment_id: "..." })
| Parameter | Type | Description |
|---|---|---|
experiment_id * | string | From experiment_create |
experiment_results
Results of an experiment: per-model aggregates (mean latency, tokens, total billed cost, error rate), per-cell outputs, and the AI-written summary comparing how the models differed (if enabled). Use include_outputs:false for aggregates only. Example: experiment_results({ experiment_id: "..." })
| Parameter | Type | Description |
|---|---|---|
experiment_id * | string | From experiment_create |
include_outputs | boolean | Include full model outputs per cell (default true) |
experiment_list
List your experiments, newest first, with status and spend. Example: experiment_list({ limit: 10 })
| Parameter | Type | Description |
|---|---|---|
limit | number | Max experiments (default 20) |
experiment_cancel
Cancel a running experiment: pending cells are skipped (not billed); in-flight cells finish and bill. Example: experiment_cancel({ experiment_id: "..." })
| Parameter | Type | Description |
|---|---|---|
experiment_id * | string | From experiment_create |
experiment_topup
How to add prepaid credits for experiments (and your current balance). Payment is x402 — USDC on Base, paid in-band by any wallet-equipped agent: POST https://gateway.pipeworx.io/credits/topup?amount_usd=10 responds HTTP 402 with payment requirements; retry with PAYMENT-SIGNATURE to settle and the credits land instantly. Example: experiment_topup({})
| Parameter | Type | Description |
|---|---|---|
amount_usd | number | Intended top-up amount in USD (1-500) — echoed into the instructions |