Skip to Content
almyty docs — v1
AI Models

AI Models

AI Models connect language model providers to your agent pipelines and LLM-powered tools. almyty supports 14 providers out of the box and any OpenAI-compatible endpoint.

Models page

In the UI

  1. Navigate to Models in the sidebar
  2. Click Add Provider

Add Provider dialog

  1. Select the provider type
  2. Enter a display name and your API key
  3. Choose a default model from the dropdown
  4. Optionally adjust temperature, max tokens, and top-p
  5. Click Test Connection — almyty sends a lightweight request to verify the key and model
  6. Click Save

The provider now appears in the Models list and is available in agent pipeline LLM Call nodes and LLM-type tools.

Via the API

Add a provider

curl -X POST /llm-providers \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{ "name": "OpenAI Production", "provider": "openai", "apiKey": "sk-...", "model": "gpt-4o" }'

Test connection

curl -X POST /llm-providers/{id}/test \ -H "Authorization: Bearer $TOKEN"

Returns the model name, response time, and status.

Chat

curl -X POST /llm-providers/{id}/chat \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{ "message": "What can you help me with?", "sessionId": "session-uuid" }'

Sessions are stored server-side and maintain full message history.

Update a provider

curl -X PATCH /llm-providers/{id} \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{ "model": "gpt-4o-mini", "configuration": { "temperature": 0.5 } }'

Delete a provider

curl -X DELETE /llm-providers/{id} \ -H "Authorization: Bearer $TOKEN"

Supported providers

ProviderTypeNotes
OpenAIopenaiGPT-4o, GPT-4o-mini, o1, o3, etc.
AnthropicanthropicClaude Opus, Sonnet, Haiku
Google GeminiopenaiVia OpenAI-compatible endpoint
Azure OpenAIopenaiSet baseUrl to your Azure deployment
AWS BedrockopenaiVia OpenAI-compatible proxy
Google VertexopenaiVia OpenAI-compatible proxy
MistralopenaiSet baseUrl to https://api.mistral.ai/v1
CohereopenaiVia OpenAI-compatible endpoint
GroqopenaiSet baseUrl to https://api.groq.com/openai/v1
TogetheropenaiSet baseUrl to https://api.together.xyz/v1
PerplexityopenaiSet baseUrl to https://api.perplexity.ai
DeepSeekopenaiSet baseUrl to https://api.deepseek.com/v1
OllamaopenaiSet baseUrl to http://localhost:11434/v1
CustomopenaiAny OpenAI-compatible HTTP endpoint

For providers listed as type openai, set the baseUrl field to point at the provider’s OpenAI-compatible endpoint. The apiKey field accepts whatever token the provider expects.

Configuration reference

ParameterTypeDefaultDescription
namestringDisplay name
providerstringopenai or anthropic
apiKeystringProvider API key (encrypted at rest)
modelstringDefault model identifier
baseUrlstringhttps://api.openai.com/v1Override for compatible APIs
temperaturenumber0.7Sampling temperature (0-2)
maxTokensnumber4096Maximum response tokens
topPnumber1.0Nucleus sampling

Cost tracking

almyty tracks token usage and estimated cost for every LLM call. View aggregate costs per provider in the Analytics dashboard or on the provider detail page.

Usage in agents

When building an agent pipeline, LLM Call nodes reference a provider by ID. The provider’s default model and parameters are used unless overridden in the node configuration. See Agents for details.