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

# Model Playground

> Langtrace has a model playground where you can interate on your prompts with different models and model settings to see how they perform.

## How to use the model playground

Step 1: Make sure you add your model API keys from Langtrace settings.

<Note>
  We do **NOT** store your API keys. They are stored in your browser's local
  storage.
</Note>

<img src="https://mintcdn.com/langtraceai-2/m7BVnnhK3Cx2yRxS/images/playground_1.png?fit=max&auto=format&n=m7BVnnhK3Cx2yRxS&q=85&s=f161f1b8a3410684668310cd3c2bd292" alt="API Key Settings" width="3150" height="1864" data-path="images/playground_1.png" />

Step 2: Go to the Model Playground tab inside your project. Here you can add your prompts(3), switch roles, and select different models(2) and model settings(5) to see how they perform.

<img src="https://mintcdn.com/langtraceai-2/m7BVnnhK3Cx2yRxS/images/playground_2.png?fit=max&auto=format&n=m7BVnnhK3Cx2yRxS&q=85&s=269434ab2274b6c680ef291c7fa50430" alt="Playground" width="3154" height="1858" data-path="images/playground_2.png" />

Step 3: Additionally, you can also import entire conversations that were traced and also prompts from prompt registry for iteration and testing.

<img src="https://mintcdn.com/langtraceai-2/m7BVnnhK3Cx2yRxS/images/playground_3.png?fit=max&auto=format&n=m7BVnnhK3Cx2yRxS&q=85&s=af3d0090be172a06cd67753f07867a3e" alt="Playground" width="2314" height="1830" data-path="images/playground_3.png" />

**How to import traced conversations**

<img src="https://mintcdn.com/langtraceai-2/m7BVnnhK3Cx2yRxS/images/playground_4.png?fit=max&auto=format&n=m7BVnnhK3Cx2yRxS&q=85&s=2d74f92f19f515a8f6a0cec12dde0253" alt="Playground" width="3132" height="1840" data-path="images/playground_4.png" />

**How to import prompts from prompt registry**

<img src="https://mintcdn.com/langtraceai-2/m7BVnnhK3Cx2yRxS/images/playground_5.png?fit=max&auto=format&n=m7BVnnhK3Cx2yRxS&q=85&s=d8849854cf59d9dceb770ce50c64f14b" alt="Playground" width="2758" height="1822" data-path="images/playground_5.png" />
