> This page is for version v4.0.
> For other versions, use one of these documentation indexes:
> - v5.0 (default): https://humanloop.com/docs/v5/llms.txt
> - v4.0: https://humanloop.com/docs/v4/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://humanloop.com/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://humanloop.com/docs/_mcp/server.

> Experiments allow you to set up A/B test between multiple different Prompts.

Experiments allow you to set up A/B test between multiple different [Prompts](/docs/explanation/prompts).

Experiments can be used to compare different prompt templates, different parameter combinations (such as temperature and presence penalties) and even different base models.

This enables you to try out alternative prompts or models and use the feedback from your users to determine which works better.

![](/docs/_fern-img/0df7208026acefd0ffaa2cc22e7e60c9cd1d0ea9fb0829a251334a7241443558.webp)