Skip to content

AI endpoints: connect a provider and choose a model

Describes AI 0.29.1.

An endpoint is one ready-to-use AI configuration: a provider connection, a model and the settings it is called with. Everything else in the AI module (prompts, the Playground, other modules’ AI features) sends its calls through an endpoint.

Where to find it

In the admin sidebar, open AI, then Endpoints (/admin/ai/endpoints). Opening AI itself lands on this list. You need the AI permission to see the list. Creating, editing, enabling, disabling, reordering and deleting endpoints needs the Manage AI endpoints permission; without it the list shows names only, with no New Endpoint button and no row menu.

The AI module must be switched on under Modules. The API keys don’t live on the endpoint: each endpoint uses a connection set up under Settings → Integrations, so add one there first.

The AI endpoints list in PhoenixKit: Voice notes on Mistral and Assistant on OpenRouter, with status, provider, model, requests, tokens, cost and last use The AI endpoints list in PhoenixKit: Voice notes on Mistral and Assistant on OpenRouter, with status, provider, model, requests, tokens, cost and last use

AI endpoints: each a provider, a model and its settings.

The endpoint list

Each endpoint shows its name, an icon for its kind (Chat / completion model, Text-to-Speech model or Embedding model on hover), a status badge (Active or Disabled), the provider and the model. The numbers next to it count all its requests, tokens and cost, and when it was Last used (Never used if it never was). A disabled endpoint is shown faded.

A warning badge appears when the endpoint’s connection has a problem:

  • Integration missing: the connection it used was deleted. Edit the endpoint and pick another.
  • Integration error: the connection’s last test failed. Retest it under Settings → Integrations.
  • Not connected: the connection isn’t connected right now.
  • No integration: no connection was picked yet.

In card view the card also shows the connection’s name and the last characters of its key, masked.

The selector at the top sorts the list by Manual, Created, Name, Status, Model, Requests, Tokens, Cost or Last used. With Manual chosen (and the permission to manage endpoints), drag rows by their handle to set the order. The list shows 20 endpoints a page.

With no endpoints yet, the page says No Endpoints Yet and offers Create First Endpoint.

Row actions

The menu at the end of a row holds:

  • Edit: open the endpoint form.
  • Disable / Enable: a disabled endpoint can’t be used for AI requests. It stays in the list and keeps its history.
  • Delete: asks Are you sure you want to delete this endpoint? and removes it. Requests it made stay in the usage history.

Creating or editing an endpoint

New Endpoint opens the form (/admin/ai/endpoints/new). It has these sections.

The new AI endpoint form: name, description, provider OpenRouter and base URL, with no integration configured yet The new AI endpoint form: name, description, provider OpenRouter and base URL, with no integration configured yet

A new endpoint.

Basic Information

  • Name (required) and Description.
  • Enabled: shown only when editing. A new endpoint starts enabled.

Provider Configuration

  • Provider: the providers that offer AI and have a connection type in Integrations.
  • Base URL: filled in with the provider’s default. Change it only for a custom address.
  • The connection picker lists the connections of the chosen provider. If there is none, it links to adding one under Settings → Integrations.

An endpoint created before the Integrations system may show Legacy API key (recovery) with its old key masked. Add a connection with that key, pick it, and saving removes the stored key.

Model Selection

Once a connection is picked, the models load from the provider. If loading takes long, the page says so, and a Retry button appears when it fails. You can also type a model ID and press Set Model.

  • Model Type: filters the list to Chat / Completion, Text-to-Speech or Image Generation, as far as the provider offers them.
  • Current Model: the chosen model, with a button to clear it. Not in current model list means the saved model is no longer in what the provider returned.
  • For text-to-speech models, Default Voice: a Speaker and Mood picker when the provider lists voices, otherwise a text field. Some providers can’t make speech without a voice, and the form warns about that.
  • For image models, Default Size and Default Quality, or Default Aspect Ratio and Default Resolution for xAI.

Declared capabilities appears when the provider doesn’t report what the model can do (images, audio, tools and so on). Tick what it can. When the provider’s catalogue later reports it, its answer replaces yours. If the catalogue disagrees with what you ticked, the form says so and the catalogue wins. While Only verified models is on (see the AI tasks guide), ticking these needs the Manage the AI task guard permission.

Price entered by hand appears when the provider gives no price for the model, so its calls would cost nothing in the usage numbers and money limits. Enter Input, $ per 1M tokens and Output, $ per 1M tokens, and each call’s cost is counted from its tokens. A cost the provider reports for a call is still used first, and a catalogue price wins over yours. Setting a price needs the Manage the AI task guard permission, because it decides what money limits count.

Generation Parameters

The parameters the model supports: Temperature, Max Tokens, Top P, Top K, and under Advanced Parameters Frequency Penalty, Presence Penalty, Repetition Penalty, Seed and Stop Sequences (one per line). A model that lists no parameters gets temperature, max tokens, top P and stop sequences. The section also shows the model’s context size and maximum output when known.

For reasoning models, Enable Thinking turns chain-of-thought on, with an Effort Level, a Token Limit and Hide from response.

Optional Provider Settings

For OpenRouter only: HTTP Referer and X-Title, sent for OpenRouter’s rankings. Left blank, they take the site URL and project title from Settings.

Create Endpoint or Update Endpoint saves and returns to the list.

What it doesn’t do

  • An endpoint holds no API key of its own; keys are managed under Settings → Integrations.
  • Embedding models for OpenRouter don’t come from the provider’s model list; they come from a built-in list.
  • Disabling an endpoint doesn’t delete its history, and deleting one doesn’t delete its requests.