Prompt A/B Test Designer
Plan a prompt A/B test: sample size per variant from a two-proportion z-test with Bonferroni correction, cost, duration and a Markdown plan.
Prompt A/B Test Designer
Updated . Provided as is. Check the output before you rely on it in production.
How to use Prompt A/B Test Designer
- 1
Define prompt variants
Add two or more prompt variants using the variant editor. Each variant has a name and the full prompt text. The diff view highlights differences between variants.
- 2
Configure experiment parameters
Set the significance level (default 0.95), minimum detectable effect (default 5%), and baseline success rate. These determine the required sample size.
- 3
Review sample size and cost
The calculator shows the required samples per variant, total samples, and estimated experiment cost based on your selected model and average tokens per evaluation.
- 4
Export the experiment plan
Click Export Plan to generate a complete experiment document with hypothesis, variants, sample size rationale, metrics, timeline, and budget in markdown format.
Questions and answers
What is Prompt A/B Test Designer?
How is sample size calculated?
Does it send my prompts to a server?
Can I export the experiment plan?
For AI agents: how to call this tool
Machine-readable contract, endpoints and examples. Humans can ignore this section.
Best Path For Builders
Browser workflow
Runs instantly in the browser with private local processing and copy/export-ready output.
Browser Workflow
This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.
/prompt-ab-test-designer/
For automation planning, fetch the canonical contract at /api/tool/prompt-ab-test-designer.json.