# Source: https://docs.promptlayer.com/why-promptlayer/playground.md

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

# Playground

The Playground is a native way to create and run new LLM requests all through PromptLayer. Your run history will be tracked in the sidebar. The Playground is most useful as a tool to "replay" and debug old requests.

## Replay requests

The Playground allows PromptLayer users to rerun previous LLM requests. Simply click "Open in Playground" on any historical request.

<div style={{width: '90%'}}>
    <img src="https://mintcdn.com/promptlayer/jUVR1Bx755pIFGwB/images/playground/open-in-playground.png?fit=max&auto=format&n=jUVR1Bx755pIFGwB&q=85&s=25772afbd2d2a61934560eed0d838d5a" alt="Open in Playground screenshot" data-og-width="1248" width="1248" data-og-height="498" height="498" data-path="images/playground/open-in-playground.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/promptlayer/jUVR1Bx755pIFGwB/images/playground/open-in-playground.png?w=280&fit=max&auto=format&n=jUVR1Bx755pIFGwB&q=85&s=d919c79a553517d98ebe29a2871b9510 280w, https://mintcdn.com/promptlayer/jUVR1Bx755pIFGwB/images/playground/open-in-playground.png?w=560&fit=max&auto=format&n=jUVR1Bx755pIFGwB&q=85&s=ba910fd4acd60d65c1a0528a460c0200 560w, https://mintcdn.com/promptlayer/jUVR1Bx755pIFGwB/images/playground/open-in-playground.png?w=840&fit=max&auto=format&n=jUVR1Bx755pIFGwB&q=85&s=5428eb7874b2762e5900abaa66fab48b 840w, https://mintcdn.com/promptlayer/jUVR1Bx755pIFGwB/images/playground/open-in-playground.png?w=1100&fit=max&auto=format&n=jUVR1Bx755pIFGwB&q=85&s=2d475babd04d183d1659245c4f83c151 1100w, https://mintcdn.com/promptlayer/jUVR1Bx755pIFGwB/images/playground/open-in-playground.png?w=1650&fit=max&auto=format&n=jUVR1Bx755pIFGwB&q=85&s=dadd1695533855b8602a36561cbb4248 1650w, https://mintcdn.com/promptlayer/jUVR1Bx755pIFGwB/images/playground/open-in-playground.png?w=2500&fit=max&auto=format&n=jUVR1Bx755pIFGwB&q=85&s=5fe86d0cc85178dec772ff6f68a6b97d 2500w" />
</div>

## OpenAI Tools

The Playground fully supports [OpenAI function calling](https://platform.openai.com/docs/guides/function-calling). These tools can be accessed directly from the Playground interface and can be incorporated into your requests as needed. *Not even OpenAI's playground does this 👀*

<div style={{width: '70%'}}>
    <img src="https://mintcdn.com/promptlayer/jUVR1Bx755pIFGwB/images/playground/tools.png?fit=max&auto=format&n=jUVR1Bx755pIFGwB&q=85&s=2fcd00c9bcaaebcb20ccede13b18fd68" alt="Tools dialogue" data-og-width="1740" width="1740" data-og-height="1200" height="1200" data-path="images/playground/tools.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/promptlayer/jUVR1Bx755pIFGwB/images/playground/tools.png?w=280&fit=max&auto=format&n=jUVR1Bx755pIFGwB&q=85&s=2883d641fd349e71116e186c07e6e5f5 280w, https://mintcdn.com/promptlayer/jUVR1Bx755pIFGwB/images/playground/tools.png?w=560&fit=max&auto=format&n=jUVR1Bx755pIFGwB&q=85&s=a6c64d59d4e269a8e01d355b56e163d5 560w, https://mintcdn.com/promptlayer/jUVR1Bx755pIFGwB/images/playground/tools.png?w=840&fit=max&auto=format&n=jUVR1Bx755pIFGwB&q=85&s=5214e0b833283c8f93d272c1633a2c3b 840w, https://mintcdn.com/promptlayer/jUVR1Bx755pIFGwB/images/playground/tools.png?w=1100&fit=max&auto=format&n=jUVR1Bx755pIFGwB&q=85&s=8aaa136a2de5604a1960bf59e5bbc327 1100w, https://mintcdn.com/promptlayer/jUVR1Bx755pIFGwB/images/playground/tools.png?w=1650&fit=max&auto=format&n=jUVR1Bx755pIFGwB&q=85&s=355ce4343be1894725ecb78ad3555c19 1650w, https://mintcdn.com/promptlayer/jUVR1Bx755pIFGwB/images/playground/tools.png?w=2500&fit=max&auto=format&n=jUVR1Bx755pIFGwB&q=85&s=992bdcfd35e979d7a07a46f3ec1c212c 2500w" />
</div>

## Custom models

The Playground also supports the use of custom models for LLM requests. This means you can use a fine-tuned model or a dedicated OpenAI instance.