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

# Novita

> Novita AI provides GPU cloud inference for both text and image generation, supporting LLM chat completions alongside Stable Diffusion image synthesis through a unified platform.

Novita offers 11 models through Lava's AI Gateway, supporting Chat Completions, Embeddings. Authentication uses `Authorization: Bearer`. See the [Novita API docs](https://novita.ai/docs/api-reference) 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.novita.ai%2Fv3%2Fopenai%2Fchat%2Fcompletions', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    Authorization: `Bearer ${forwardToken}`,
  },
  body: JSON.stringify({
    model: 'deepseek/deepseek-r1-0528',
    messages: [{ role: "user", content: "Hello!" }],
  }),
});
```

## Chat Completions

**Target URL:** `https://api.novita.ai/v3/openai/chat/completions`

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

| Model | Input / 1M tokens | Output / 1M tokens |
| - | - | - |
| deepseek/deepseek\_v3 | \$0.89 | \$0.89 |
| deepseek/deepseek-r1-0528 | \$0.70 | \$2.50 |
| deepseek/deepseek-r1-turbo | \$0.70 | \$2.50 |
| microsoft/wizardlm-2-8x22b | \$0.62 | \$0.62 |
| meta-llama/llama-4-maverick-17b-128e-instruct-fp8 | \$0.27 | \$0.85 |
| meta-llama/llama-4-scout-17b-16e-instruct | \$0.18 | \$0.59 |
| meta-llama/llama-3.3-70b-instruct | \$0.135 | \$0.40 |
| google/gemma-3-27b-it | \$0.119 | \$0.20 |
| Sao10K/L3-8B-Stheno-v3.2 | \$0.05 | \$0.05 |
| meta-llama/llama-3.1-8b-instruct | \$0.02 | \$0.05 |

## Embeddings

**Target URL:** `https://api.novita.ai/v3/openai/embeddings`

| | |
| - | - |
| **Content Type** | `application/json` |
| **Streaming** | No |

| Model | Input | Output |
| - | - | - |
| baai/bge-m3 | Free | Free |

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