> ## 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.

# Meta

> Connect your Meta Model API key to run Muse models through Braintrust

Connect a [Meta Model API](https://dev.meta.ai/docs/models) key to use Muse models in Braintrust playgrounds and through the [Braintrust gateway](https://docs.braintrust.dev/deploy/gateway.md).

## Setup

1. Create a Meta Model API key in the [Meta developer console](https://dev.meta.ai/). See [Meta authentication](https://dev.meta.ai/docs/authentication) for details.
2. Add an [organization or project AI provider](https://docs.braintrust.dev/admin/ai-providers.md#add-a-provider) and choose **Meta**.
3. Enter your Meta API key on **Setup** and click **Create**.

## Call Muse models through the gateway

Send a Braintrust API key to the gateway and use the [direct Meta model ID](https://docs.braintrust.dev/deploy/supported-models.md), such as `muse-wonder-1.0`. The gateway uses the Meta key you configured to call Meta.

Use OpenAI Chat Completions, OpenAI Responses, or Anthropic Messages. The Messages endpoint also supports [counting input tokens](https://dev.meta.ai/docs/api-reference/messages/count-tokens).


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