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

# Meta

> Meta Model API serves Meta’s closed-weight agentic models: Muse Wonder, its frontier tier for long-running professional and agentic work, the lower-cost Muse Spark family, and Muse Ember, its smallest and cheapest model for high-volume sub-agent and tool-call work.

Meta offers 10 models through Lava's AI Gateway, supporting Chat Completions, Chat Completions (Native). Authentication uses `Authorization: Bearer`. See the [Meta API docs](https://dev.meta.ai/docs) for provider-specific parameters.

> [!NOTE]
>
> Supports both **managed** (Lava's API keys) and **unmanaged** (bring your own credentials) mode.

## Quick Start

```typescript theme={null}
const response = await fetch('https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.meta.ai%2Fv1%2Fchat%2Fcompletions', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    Authorization: `Bearer ${forwardToken}`,
  },
  body: JSON.stringify({
    model: 'muse-ember-1.0',
    messages: [{ role: "user", content: "Hello!" }],
  }),
});
```

## Chat Completions

**Target URL:** `https://api.meta.ai/v1/chat/completions`

| | |
| - | - |
| **Content Type** | `application/json` |
| **Streaming** | Yes (set `stream: true` in request body) |

| Model | Input / 1M tokens | Output / 1M tokens |
| - | - | - |
| muse-wonder-1.0 | \$4.00 | \$20.00 |
| muse-spark-1.3 | \$1.25 | \$4.25 |
| muse-spark-1.2 | \$1.25 | \$4.25 |
| muse-spark-1.1 | \$1.25 | \$4.25 |
| muse-ember-1.0 | \$0.10 | \$0.50 |

## Chat Completions (Native)

**Target URL:** `https://api.meta.ai/v1/messages`

| | |
| - | - |
| **Content Type** | `application/json` |
| **Streaming** | Yes (set `stream: true` in request body) |

| Model | Input / 1M tokens | Output / 1M tokens |
| - | - | - |
| muse-wonder-1.0 | \$4.00 | \$20.00 |
| muse-spark-1.3 | \$1.25 | \$4.25 |
| muse-spark-1.2 | \$1.25 | \$4.25 |
| muse-spark-1.1 | \$1.25 | \$4.25 |
| muse-ember-1.0 | \$0.10 | \$0.50 |

## Next Steps

> [card] [All Providers](https://lava.so/docs/gateway/supported-providers.md)
>
> Browse all supported AI providers

> [card] [Forward Proxy](https://lava.so/docs/gateway/forward-proxy.md)
>
> Learn how to construct proxy URLs and authenticate requests


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