benchmark_models
Compare multiple LLM models on the same scenarios for an agent. Runs baseline model once, then each challenger model, producing per-scenario deltas with statistical rigor (3 runs per scenario, median scoring). Returns a jobId immediately — use get_benchmark_status to poll.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Optimization goal (default: quality). Affects winner selection. | |
| agentId | Yes | The agent ID to benchmark. | |
| maxTurns | No | Max conversation turns per scenario (default: 5). | |
| modelIds | Yes | Array of 2-6 model IDs. First model is the baseline (current model). Remaining models are challengers. | |
| customerId | No | (Converra superadmin only) Target customer ID. | |
| baselineModelId | No | Explicit baseline model ID (overrides modelIds[0]). | |
| fineTunedModels | No | Fine-tuned Fireworks models to make runnable for this call. Required for every accounts/<account>/models/<model> id in modelIds. Prices come from the Fireworks pricing page for the base model; latency is null until measured. | |
| runsPerScenario | No | Runs per scenario per model (default: 3, min: 1). More runs = more reliable but slower. |