> ## Documentation Index
> Fetch the complete documentation index at: https://docs-v1.latitude.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Learn about the key concepts of Latitude experiments

## What are Experiments?

**Experiments** in Latitude are a feature that let you systematically test, evaluate, and compare different prompt configurations, model versions, and parameters (like temperature) across a dataset. This enables you to find out which prompts and models work best for your use case, using real, measurable results.

***

## How Experiments Work

* **Run Location:**
  You can run experiments directly from the Prompt Playground
  <img src="https://mintcdn.com/latitudellms/Ssq9dzRdSVyjHEcj/assets/run-experiment-playground-button.png?fit=max&auto=format&n=Ssq9dzRdSVyjHEcj&q=85&s=34253539f4dc54d8b9920a630dc56f21" alt="Run experiment in playground" width="999" height="363" data-path="assets/run-experiment-playground-button.png" />
  or from a Latitude Evaluation
  <img src="https://mintcdn.com/latitudellms/Ssq9dzRdSVyjHEcj/assets/run-evaluation-experiment.png?fit=max&auto=format&n=Ssq9dzRdSVyjHEcj&q=85&s=eb3cc9f14b61002b067a41961eaa596a" alt="Open experiment modal" width="1046" height="272" data-path="assets/run-evaluation-experiment.png" />

* **Experiments Tab:**
  Each prompt in Latitude has an Experiments tab, where you can compare results from different experiments side-by-side.

***

## Experiment Components

* **Prompt Variants:**
  Test different prompt wordings, instructions, or templates.
* **Model Versions:**
  Compare outputs from different models (e.g., `gpt-4.1`, `gpt-4.1-mini`).
* **Parameters:**
  Adjust settings like temperature to influence model behavior.
* **Evaluations:**
  Attach evaluation metrics (e.g., accuracy, sentiment analysis) to automatically assess experiment outputs.

***

## Running an Experiment

1. **Define Variants:**
   Choose your prompt(s), model, and settings.
2. **Pick Evaluations:**
   Select which evaluation metrics to run (optional).
3. **Select Dataset:**
   Pick or generate a dataset to use for testing.

<img src="https://mintcdn.com/latitudellms/Ssq9dzRdSVyjHEcj/assets/run-experiment.png?fit=max&auto=format&n=Ssq9dzRdSVyjHEcj&q=85&s=a2ff107feb0e16f88c69b4785c6afa9f" alt="Running an experiment" width="1283" height="871" data-path="assets/run-experiment.png" />

Click **Run Experiment** to execute, and Latitude will process each combination and display the results.

***

## Comparing Experiments

* Use the **Experiments** tab to select and compare multiple experiment runs.
* Review metrics like accuracy, cost, duration, and token usage.
* See detailed results, including logs and evaluation scores, for each experiment.
  <img src="https://mintcdn.com/latitudellms/NYIRJRDqJuCM5TjZ/assets/experiments-tab-comparison.png?fit=max&auto=format&n=NYIRJRDqJuCM5TjZ&q=85&s=78a1f99aba525a718268c07ac567a201" alt="Experiments tab comparison" width="2201" height="1032" data-path="assets/experiments-tab-comparison.png" />

***

## Benefits

* **Objective Comparison:**
  Quickly see which prompts and models perform best on your tasks.
* **Visual Analysis:**
  Side-by-side results make differences easy to spot.
* **Cost Tracking:**
  Monitor token and cost usage for each variant.
