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

# Relace

> Connect your Relace API key to run Relace Open Models through Braintrust.

Connect a Relace API key to use [Relace Open Models](https://docs.relace.ai/docs/open-models/quickstart) in Braintrust playgrounds and through the [Braintrust gateway](https://docs.braintrust.dev/deploy/gateway.md).

## Setup

1. Create a Relace API key by following the [Relace Open Models quickstart](https://docs.relace.ai/docs/open-models/quickstart).
2. Add an [organization or project AI provider](https://docs.braintrust.dev/admin/ai-providers.md#add-a-provider) and choose **Relace**.
3. Enter your Relace API key on **Setup** and click **Create**.

## Call Relace models through the gateway

Send an [OpenAI Chat Completions request](https://docs.braintrust.dev/deploy/gateway.md) with your Braintrust API key and a model ID that lists Relace as a provider in [supported models](https://docs.braintrust.dev/deploy/supported-models.md). When the gateway routes the request to Relace, it forwards the request to `https://models.relace.ai/v1/chat/completions` using your configured Relace key.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.