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

# Fireworks

> Fireworks AI delivers fast open-source model inference with integrated fine-tuning capabilities, allowing teams to both deploy and customize models through the same platform.

Fireworks offers 20 models through Lava's AI Gateway, supporting Chat Completions. Authentication uses `Authorization: Bearer`. See the [Fireworks API docs](https://docs.fireworks.ai/api-reference) for provider-specific parameters.

<Info>Supports both **managed** (Lava's API keys) and **unmanaged** (bring your own credentials) mode.</Info>

## Quick Start

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

## Chat Completions

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

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

| Model                                               | Input / 1M tokens | Output / 1M tokens |
| --------------------------------------------------- | ----------------- | ------------------ |
| accounts/fireworks/models/deepseek-v4-pro           | \$1.74            | \$3.48             |
| accounts/fireworks/models/glm-5p1                   | \$1.40            | \$4.40             |
| accounts/fireworks/models/mixtral-8x22b-instruct    | \$1.20            | \$1.20             |
| accounts/fireworks/models/glm-5                     | \$1.00            | \$3.20             |
| accounts/fireworks/models/kimi-k2p5-turbo           | \$0.99            | \$4.94             |
| accounts/fireworks/models/kimi-k2p6                 | \$0.95            | \$4.00             |
| accounts/fireworks/models/llama-v3p3-70b-instruct   | \$0.90            | \$0.90             |
| accounts/fireworks/models/kimi-k2-instruct          | \$0.60            | \$2.50             |
| accounts/fireworks/models/kimi-k2-thinking          | \$0.60            | \$2.50             |
| accounts/fireworks/models/kimi-k2p5                 | \$0.60            | \$3.00             |
| accounts/fireworks/models/glm-4p7                   | \$0.60            | \$2.20             |
| accounts/fireworks/models/deepseek-v3p1             | \$0.56            | \$1.68             |
| accounts/fireworks/models/deepseek-v3p2             | \$0.56            | \$1.68             |
| accounts/fireworks/models/qwen3p6-plus              | \$0.50            | \$3.00             |
| accounts/fireworks/models/minimax-m2p5              | \$0.30            | \$1.20             |
| accounts/fireworks/models/minimax-m2p7              | \$0.30            | \$1.20             |
| accounts/fireworks/models/minimax-m3                | \$0.30            | \$1.20             |
| accounts/fireworks/models/qwen3-vl-30b-a3b-thinking | \$0.15            | \$0.60             |
| accounts/fireworks/models/gpt-oss-120b              | \$0.15            | \$0.60             |
| accounts/fireworks/models/gpt-oss-20b               | \$0.07            | \$0.30             |

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
