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

# LobeChat

> Add MaxAPI as an OpenAI-compatible provider in LobeChat.

[LobeChat](https://lobechat.com/) supports custom OpenAI-compatible model providers.

<Steps>
  <Step title="Install and open settings">
    Install LobeChat, then open its model or provider settings.
  </Step>

  <Step title="Add MaxAPI">
    | Field             | Value                      |
    | ----------------- | -------------------------- |
    | Provider          | `OpenAI Compatible`        |
    | API Proxy Address | `https://api.maxapi.ai/v1` |
    | API Key           | `YOUR_API_KEY`             |
    | Model             | `YOUR_MODEL_ID`            |
  </Step>

  <Step title="Verify">
    Save the configuration, run the built-in connection test when available, then start a new chat.
  </Step>
</Steps>

<Warning>
  Store API keys only on trusted devices. Never commit a real key to Git or share it with others.
</Warning>

<Note>
  Some clients restrict agent mode or autocomplete when using third-party endpoints. These restrictions come from the client, not MaxAPI.
</Note>
