On this page
Sommatic Docs
Open portal

LLM providers

An LLM provider is one concrete model deployment registered in your organization. AI nodes reference it by id, and Sommatic AI resolves the endpoint and key on the server when the node runs.

View as Markdown
Open in

An LLM provider tells Sommatic AI which model to call and how to reach it. You register it once; every AI node of every workflow then points to it with llm_provider_id. To move a workflow to another model, you change the provider the node references, not the workflow logic.

Provider types

provider_type decides which adapter Sommatic AI uses to talk to the model. It is stored as an object, for example { "id": 3, "name": "openai", "title": "OpenAI" }:

provider_typeTitle
link-loom-cloudLink Loom Cloud
azure-foundryAzure Foundry
openaiOpenAI
aws-bedrockAWS Bedrock
google-vertexGoogle Vertex AI
azure-openaiAzure OpenAI
generic-jsonGeneric JSON (the default)

Fields

FieldWhat it is
slug, name, descriptionStable key and labels. slug and name are required.
organization_id, project_idOwner organization and, optionally, project.
provider_typeOne of the types above.
transport_kindHow the provider is reached. The portal uses http-api.
endpoint, api_version, deployment_nameWhere the model lives and which deployment or model identifier to use.
default_parametersParameters applied when a call does not override them (for example temperature, max_tokens).
input_token_limit, output_token_limitToken limits of the deployment.
pricing, rate_limits, safety_settings, routing_rulesCost metadata, limits, safety constraints and routing rules of the provider.
is_defaultMarks the provider as the default of the organization.

Statuses: enabled, review, deprecated and archived.

Register a provider

Open the provider list

In the portal, go to Advanced → Cognitive Infrastructure → Model. The list shows every LLM provider of your organization.

Create the provider

Choose Create LLM Provider and fill in the provider type, the endpoint, the deployment name and the API version your deployment needs.

Use it in a node

In the workflow studio, open an AI node and pick the provider in LLM Provider. The node stores its id in llm_provider_id.

Call a provider directly

POST /cognitive-infrastructure/cognitive-assets/llm-provider/invoke runs one call against a provider. It is the same call AI nodes make in sync mode.

Shell
curl -X POST https://api.sommatic.ai/cognitive-infrastructure/cognitive-assets/llm-provider/invoke \
  -H "Authorization: Bearer $SOMMATIC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model_id": "<llm-provider-id>",
    "operation": "chat",
    "input": {
      "messages": [
        { "role": "system", "content": "Answer in one sentence." },
        { "role": "user", "content": "What is a flow version?" }
      ]
    }
  }'
JavaScript
const response = await fetch(
  'https://api.sommatic.ai/cognitive-infrastructure/cognitive-assets/llm-provider/invoke',
  {
    method: 'POST',
    headers: {
      Authorization: `Bearer ${token}`,
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({
      model_id: llmProviderId,
      operation: 'chat',
      input: {
        messages: [
          { role: 'system', content: 'Answer in one sentence.' },
          { role: 'user', content: 'What is a flow version?' },
        ],
      },
    }),
  },
);
const { success, result } = await response.json();
Body fieldRequiredWhat it is
model_idYesThe id of the LLM provider record.
inputYesThe call input. For chat, messages in the OpenAI shape (role, content).
operationNochat (default) or embedding.

The answer comes in the standard envelope { status, success, message, result }.

Next steps

Install agent tools

Give your coding agent the official Sommatic AI docs: skills, the docs MCP server and Markdown pages, so it never has to scrape the site.

Skills only. They do not update by themselves; run it again to refresh.

npx skills add https://docs.sommatic.ai
How agents read these docs