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

# LithosAI

> LithosAI serves open-weight models (GLM 5.3 Flash, GLM 5.3, Kimi K3, DeepSeek V4.1 Flash) on its own inference engine in Base, Fast, Ultra and Ultra Chat tiers.

LithosAI offers 4 models through Lava's AI Gateway, supporting Chat Completions. Authentication uses `Authorization: Bearer`. See the [LithosAI API docs](https://docs.lithosai.com) 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.lithosai.cloud%2Fv1%2Fchat%2Fcompletions', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    Authorization: `Bearer ${forwardToken}`,
  },
  body: JSON.stringify({
    model: 'lithosai-glm-5.3-flash-ultra-chat',
    messages: [{ role: "user", content: "Hello!" }],
  }),
});
```

## Chat Completions

**Target URL:** `https://api.lithosai.cloud/v1/chat/completions`

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

| Model | Input / 1M tokens | Output / 1M tokens |
| - | - | - |
| lithosai-deepseek-v4.1-flash-1017-ultra | \$0.35 | \$1.40 |
| lithosai-deepseek-v4.1-flash-1017-ultra-chat | \$0.35 | \$1.40 |
| lithosai-glm-5.3-flash-ultra-chat | \$0.30 | \$1.00 |
| lithosai-glm-5.3-flash-ultra | \$0.30 | \$1.00 |

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