Skip to main content

Model endpoint settings

This page lists the fields of the Add inference endpoint panel under Settings, AI Agent, for each service. For step-by-step instructions, see Connect a model.

Role needed: An Admin or Super Admin account.

Fields by service​

A dash means the panel does not show the field for that service. Required fields are marked Required.

FieldOpenAIAzure OpenAIAnthropicGoogle GeminiMistralCohereOpenAI-compatible
API KeyRequiredRequiredRequiredRequiredRequiredRequiredOptional
Model IDRequired-RequiredRequiredRequiredRequiredRequired
Max TokensOptionalOptionalOptionalOptionalOptionalOptionalOptional
URLOptional-Optional---Required
OrganizationOptional------
Endpoint-Required-----
Deployment-Required-----
API version-Optional-----

What each field means​

FieldMeaning
ServiceThe provider. It cannot be changed after the endpoint is saved.
API KeyThe key for the provider. It is stored encrypted on the appliance and is never shown again. When you edit an endpoint, leave it as it is to keep the stored key.
Model IDThe name of the model. Pick one from the list or type one. The list shows the models the provider offers the key you entered, or suggested models when the provider cannot be asked.
Max TokensThe most tokens the model may generate for one reply, from 1 to 200,000. Leave it empty for the default of 4096.
URLThe base address of the provider's service. Leave it empty to use the provider's own address. Required for OpenAI-compatible, where it includes the version path, for example https://llm.example.com:8000/v1; the console adds /chat/completions and /models to it.
OrganizationThe OpenAI organisation to bill.
EndpointThe address of your Azure OpenAI resource, for example https://my-resource.openai.azure.com.
DeploymentThe name of the model deployment. It is also used as the model name.
API versionLeave empty for the default.
Model task typeAlways chat_completion. It cannot be changed.
Display nameHow the endpoint is named in the chat's model menu, up to 120 characters. Defaults to the service and the model.
Inference endpoint IDThe identifier of the endpoint: 1 to 63 lower-case letters, digits, hyphens or underscores, starting with a letter or digit. It cannot be changed after the endpoint is saved.

Rules for addresses​

  • An address must start with http:// or https:// and must not contain a user name or password. Use https:// for a public provider.
  • The console refuses an address that points at the appliance itself, a loopback address, a link-local address or another reserved address. The error reads Model endpoint refused, followed by the reason.
  • An address on a private network is allowed, so a model server inside your network works.
  • A host name must resolve from the appliance. If it does not, the error says it could not resolve the host.
  • For https://, the server's certificate must be issued by a public certificate authority. A self-signed certificate or one from an internal certificate authority is refused, and there is no console setting to add one. See Choose how to secure the connection.
  • The appliance waits up to 10 seconds to connect and up to 2 minutes for the provider to start or continue an answer.

The connection test​

Select Save and the console tests the endpoint before it stores anything. It sends one short request with one test tool and checks that the model answers and calls the tool.

ResultMessage
The model answered and called the toolThe endpoint is saved.
The model answered without calling the toolThe model answered but did not call the test tool. The AI Agent needs a model that supports tool calling.
The provider could not be reachedCould not reach the model provider, followed by the kind of failure.
The provider took too longThe model provider did not answer in time
The provider refused the requestThe model provider returned, followed by the provider's status and message, for example a wrong key.

The same address and key rules apply each time a user asks a question. If the appliance has an outbound proxy enabled on Interfaces & Proxy, requests to every model endpoint go through it, including a model server on your own network. See Interfaces, proxy and DNS.

Next steps​