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

# LibreChat

> Add NagaAI as a custom endpoint in a self-hosted LibreChat.

Add NagaAI to `librechat.yaml`, following the [LibreChat custom endpoint reference](https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/custom_endpoint):

```yaml theme={null}
endpoints:
  custom:
    - name: "NagaAI"
      apiKey: "${NAGAAI_API_KEY}"
      baseURL: "https://api.naga.ac/v1"
      models:
        default: ["claude-sonnet-5", "deepseek-v4.1-flash"]
        fetch: false
      titleConvo: true
      titleModel: "deepseek-v4.1-flash"
      modelDisplayLabel: "NagaAI"
      customParams:
        reasoningFormat: reasoning_effort
```

Set `NAGAAI_API_KEY` in LibreChat's `.env`, or use `apiKey: "user_provided"` to let each user enter their own key.

* Keep `fetch: false` and list the models you want. With `fetch: true` LibreChat loads every model from `/v1/models`, including image, audio and embedding models.
* `reasoningFormat: reasoning_effort` makes LibreChat send `reasoning_effort`, the field NagaAI reads.

NagaAI runs a hosted LibreChat at [chat.naga.ac](/product/chat-interface).
