Your own AI providers and models
Add models to the AI providers Swarmix offers, or add your organization's own AI provider, such as a model your company hosts.
Who can do this:Org admin
Your organization can use models and AI providers that Swarmix doesn't list. Add a model to an AI provider Swarmix offers, or add your own AI provider, for example a model your company hosts behind its own address.
Before you start
You need the organization admin role and the Swarmix Studio desktop app. Open Settings → AI providers, click Admin, and find the sections below in the AI Provider Catalog.
Add a model to an AI provider
Use this when an AI provider offers a model that Swarmix doesn't list yet.
- Under Platform AI providers, expand the AI provider.
- Click + Add Org Model.
- Enter the Model ID the AI provider's API expects, such as
gpt-4o, and a Display name. - Optionally add a Description and choose a Tier.
- Enter the prices if you know them. See Model prices and limits.
- Click Add model.
The model appears under Org Models on the AI provider's card. Click Edit to change it, or the bin icon to remove it. The Model ID stays as you entered it.
The Tier tells Studio's session advisor when to suggest the model: Capable when a session is struggling, Balanced for everyday work, Efficient when the work is routine. With No tier, the advisor doesn't suggest it.
Add your own AI provider
Your own AI provider starts from a template that Swarmix offers, such as Claude API or OpenAI Codex. It runs the way the template runs, with your address, your sign-in method and your models.
- Under Organization AI providers, click + Add AI provider.
- Choose a Base Template.
- Enter a Name, such as "Nutanix GPT", and choose an Icon if you want one.
- Enter the Base URL of your endpoint. Studio fills Sample URL from it. Change the sample address if your endpoint differs.
- Choose the Auth Method, or keep Inherit from base. In Auth Env Var, enter the name of the variable that holds the key, such as
NUTANIX_API_KEY. - Under Models, click + Add Model for each model. Enter its ID and display name, tick Default for one model, and choose a tier and a price.
- Click Create AI provider.
Test on a member's AI provider card calls the sample address. Left empty, it calls the base URL followed by /models.
Give members the key
Your AI provider needs a key, unless its Auth Method is None. Choose one way:
- Enter the key once in the AI provider's Settings for all members. Members then use it without seeing it. See Keys and settings for all members.
- Let each member add their own key in AI providers.
To make your AI provider the default for new agents, choose it under Default AI Provider.
Certificates for test endpoints
Accept self-signed certificates turns off certificate checks for your AI provider's base address. Use it for non-production endpoints only: anyone who can intercept that connection could read prompts and the key. Members see a warning wherever they use this AI provider.
Change or delete your AI provider
Click Edit on its card to change it, and drag cards to change their order. To delete it, click Delete, then Yes.
Best practices
- Name your AI provider after what members recognize, such as the internal service's name. Members see it in their lists and agent settings.
- Add prices to your models. When an AI provider reports no cost, Swarmix counts a chat's cost from the model's price.
- Try your AI provider with one agent before you make it the default.
FAQ
The button shows only when Swarmix offers templates for your organization. Without a template, you can still add models to the AI providers Swarmix offers.
Yes. Open AI Providers in the web dashboard, then click Add Vendor under Organization Vendors. Set keys for all members in Studio.
Related
AI Provider Catalog
Choose which AI providers and models your organization uses, set the default for new agents, and pick the assistant's AI provider.
Keys and settings for all members
Give your members an AI provider's key, sign-in token, address or model once, so their agents use your values without anyone setting them up.