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

# Model Providers

> Connect Nagare to OpenAI-compatible or Google APIs, manage API keys, and choose a default model.

Nagare does not ship with a language model. You need to add at least one **model provider**.

## Compatibility types

| Type | Used for |
| - | - |
| `OpenAI` | OpenAI and any service with an OpenAI-compatible API (usually by setting a custom **Base URL**). |
| `Google` | Google Gemini API. |

## Add a provider

Go to **Settings → Model providers** and fill in:

| Field | Description |
| - | - |
| **Name** | Display name, for example `OpenAI` or `Local LLM`. |
| **Compatible** | `OpenAI` or `Google`. |
| **Base URL** | API address. For type `OpenAI`, enter the full URL, for example `https://api.openai.com/v1` or the address of a compatible service. For type `Google`, you can leave it blank to use the default address. |
| **API key** or **Credential** | Enter the API key directly, or select a saved credential. |
| **Models** | List of models allowed to be used with this provider. |

After saving, Nagare can fetch the list of available models directly from the provider's API.

## Credentials

**Settings → Credentials** saves API keys under a name for reuse across multiple providers. You can add, rename, update the key, or delete a credential. The API will never return the key value after it has been saved.

## Default model and summary model

Go to **Settings → General**:

| Setting | Meaning |
| - | - |
| **Default model** | Provider and model used for new conversations. |
| **Summary model** | Model used when compacting a conversation. Leave blank ("Use conversation model") to use the conversation's model. |

Each chat session can switch to a different model without affecting the default setting.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.