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

# Connecting an LLM provider

> Axosun model profiles: Anthropic or OpenAI-compatible endpoint, secure API key storage and connection verification.

> [!WARNING]
>
> Axosun is currently unavailable, and its return to service is not planned in the near future.

Axosun works through **profiles of the** model. The profile describes which LLM provider to connect to and with what parameters. Without at least one profile with the key on, the assistant will not start launching - the panel will warn you about this.

> [!NOTE]
>
> Administrator: Required rights: access to the **Axosun** section of the panel; valid API key of the selected LLM provider.

## Supported providers

| Type | Description of |
| - | - |
| `anthropic` | Anthropic Messages API |
| `openai_compatible` | Any OpenAI-compatible chat-endpoint; be sure to specify the base URL |

## What's stored in the profile

| Field | Default |
| - | - |
| Profile Name | |
| Provider Type | - |
| Basic URL (for OpenAI-compatible) | - |
| | |
| API key | stored in a secure secret storage |
| Temperature | 0.2 |
| Maximum tokens | 2048 |
| Timeout, seconds | 60 |
| On/off | - |
| Default Profile | - |

> [!NOTE]
>
> The API key is entered once and immediately stored in the secure storage of the panel secrets; only the link to the entry remains in the profile. **not re-displayed** It's not the interface, it's not the API. [Warehouse of secrets](https://docs.axottle.com/en/security/secrets.md).

## Preliminary requirements

* Administrative session of the panel.
* The API key of the provider (Anthropic or OpenAI-compatible service).
* For an OpenAI-compatible provider, a basic endpoint URL, such as `https://llm.example.com/v1`, is used.

## Connection.

**1. Open profiles.**

Panel → **Axosun** → tab **Profiles**.

**2. Create a profile**

Specify the name, type of provider, model name; for OpenAI-compatible, the base URL.

**3. Enter the API key**

Insert the key (e.g., `sk-ant-xxxxxxxx...` — use your own key), and once saved, it will go to the secret store and will no longer be shown.

**4. Check the connection.**

Click **Check the connection**. The panel will execute a short real request to the provider and record the result and the delay on the profile.

**5. Assign a profile by default**

Mark the profile as the main one if there are several profiles.

## How to choose a profile to run

Priority: explicitly specified profile → default profile from policy → default profile → default flag profile → first key profile included. If none fits, launch will not start.

## Verification

**1. Connection test**

On the profile, click **Check the connection**.

**2. Trial launch**

Open the Axosun chat room and ask a simple question – the answer should come without any errors from the provider.

> [!TIP]
>
> The connection test is successful, the profile shows the time of the last check and the delay.

If the key is incorrect, the test will return the ISP error (e.g., `401 unauthorized`); it will remain on the profile as a result of the last check, and a red status indicator will appear in the interface.

## Rollback

* **Change the key**Edit the profile and enter a new key – the old one will be replaced in the secret store.
* **Temporarily disable**Transfer the profile to the “off” state – the assistant will stop using it.
* **Delete**: Deletion of the profile removes its credentials from the secret repository.

## Limitations and risks

* The key is impossible to see after saving – if you lost it, create a new one from the provider and replace it in your profile.
* A provider error in the middle of the streaming response completes the launch with the status of “error” – the chat fixes the move, not freezes.
* Agent mode requires the profile model to support tool calling; otherwise, launches are performed in classic mode.

## Typical errors

> [accordion] Connection test drops from 401
>
> The key is wrong or withdrawn. Create a new key from the provider and update your profile.

> [accordion] OpenAI-compatible profile is not saved
>
> For the `openai_compatible` type, the base URL is required.

> [accordion] Chat says there is no available profile
>
> There's not a single key profile that's turned on. Create a profile or enable an existing one.

## Related pages

* [Axosun – Review of ](https://docs.axottle.com/en/axosun/overview.md)
* [Storage of Secrets](https://docs.axottle.com/en/security/secrets.md)
* [Sessions and launches](https://docs.axottle.com/en/axosun/sessions-and-runs.md)


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