Docs
On this page
task2 min readApplication: SOFI Core

Connect an LLM provider

Add a language model record by hand for a second provider or a model AI Setup does not offer, and the providers and tokens it can use.

Add a language model by hand when you use a second provider, or a model AI Setup does not offer. For your main provider, use Set up AI with AI Setup instead.

Before you begin

  • You need the administrator role.
  • Have an account with the provider and its credential. This is an API key, or for AWS Bedrock an access key ID and secret access key.

Steps

  1. In the Administration workspace, go to Integrations → API access → System API outbound tokens. Open the shipped token for your provider, enter the credential and save.

    The System API outbound tokens item in the Integrations menu.
  2. Go to AI models, cost & value → Models & settings → LLM models and select New.

    The LLM models item in the AI models, cost & value menu.
  3. Enter a Name, choose the Provider and enter the Model identifier the provider uses. For an Azure deployment, enter the deployment name.

  4. Set Model Type. Use Chat for assistants and prompts, and Embedding for embeddings. Decision Model answers typed questions for AI decisions and is never used for chat.

  5. On the Configuration & Connectivity tab, set Outbound API Token to the token from step 1. Fill in Base URL if the provider table below has no default. Select Active.

    An LLM model record with its provider, model identifier, model type and the Configuration & Connectivity tab.
  6. Save the record, then select Test Connection to send a request to the model.

  7. Go to AI models, cost & value → Models & settings → Settings. Choose the new model for the roles Sofi should use it for.

Providers

When a model has no Outbound API Token, Servicely uses the shipped token for its provider. If that token has no key, Servicely reads the provider’s API key from an environment variable on the server.

Provider Shipped token Default base URL
OpenAI (Chat Completions API) OpenAI https://api.openai.com/v1
OpenAI (Responses API) OpenAI https://api.openai.com/v1
Azure OpenAI (Chat Completions API) Azure OpenAI None, set per token
Microsoft Foundry Azure OpenAI None, set per token
AWS Bedrock AWS Bedrock None, set by region
Anthropic Anthropic Provider default
Groq Groq https://api.groq.com/openai/v1
Ollama None None, set on the model
Openrouter Openrouter https://openrouter.ai/api/v1
Google Google AI Gemini https://generativelanguage.googleapis.com/v1beta
Cerebras Cerebras https://api.cerebras.ai/v1
Servicely None Servicely’s internal service
LiteLLM None None, set on the model
TypeSafe TypeSafe None; serves decision models only

Result

The models are active, and Sofi’s assistants, agents and prompts use them for the roles you set. Each call is recorded in AI models, cost & value → Usage & Cost → LLM usage logs, with its model, tokens and cost.

Last updated 3 December 2026commit 6777698daac5Chris Jones
Back to top