Skip to content
SecondStack SecondStack Docs

Models, Chat Profiles and access

Updated · Checked against SecondStack v3.7.2This page as Markdown
On this page
Labels on this page
the Chat App channel
Access from Chat App
the direct API channel
Access via direct API
everyone
All Users
keys for apps and agents
Apps & Agents keys
every agent on its own budget
All Agents
an API-billed row of a model
API route
a subscription row of a model
Subscription route

Model access in ControlTower is denied by default: a model that nobody has granted is reachable by nobody, in the Chat App or over the API. An administrator adds a provider under LLM Providers, registers a model under Models, grants it on two channels and shapes the picker under Chat Profiles. The mockup below shows one model’s access.

Edit Model· ControlTower · Models

Claude Sonnet 5.5

Configure the model, its provider routing, pricing and access.

Clear access

API route

Access from Chat App

All Users

Access via direct API

Teams Finance Engineering Users m.kim Apps & Agents keys billing-sync Named Agents All Agents

Subscription route

Access from Chat App

Teams Engineering

Access via direct API

Hidden
Cancel Save
One model's access at v3.7.2: the API route is open to All Users in the Chat App and to two teams, one person, one key and All Agents over the API, while the subscription route reaches one team in the Chat App and stays Hidden over the API.

How you add a provider

A provider is an account at a model vendor or a local inference server, added once under LLM Providers with its credentials. SecondStack does not host or resell models: every provider is your own account or your own server.

  1. Choose LLM Providers in the sidebar, then Add New Provider.
  2. Pick the Authentication: API Key for a vendor account, or one of the subscription kinds, ChatGPT subscription pool, ChatGPT relay pool, ChatGPT individual subscriptions, Claude subscription pool, Claude relay pool and Claude individual subscriptions.
  3. Pick the backend. A SecondGate backend names the vendor API it speaks, such as OpenAI, Anthropic, Gemini, Vertex AI, Azure, Bedrock, Databricks, xAI, OpenRouter or a hosted vLLM server; a vllm backend is the platform’s own local inference service.
  4. Set the Fallback Priority, which orders the providers of one model when the first fails, and save. The list shows each provider’s Backend Type, Account, Fallback Priority, Enable switch and Provider Key Check.

How you add a model and its routes

A model is registered once under Models and can have two rows, an API route and a Subscription route, each with its own access. The two rows exist because an API-billed call and a subscription call are paid differently, and a site often wants different people on each.

  1. Choose Models, then Add New Model, and give the model its ID and display name.
  2. Map the model to one or more providers. An API mapping carries a Priority, and SecondGate tries the mappings in that order when one fails; subscription rows rotate across their pool instead. No setting on screen changes those two strategies.
  3. Set the pricing and the trust tags SecondGuard’s guards select on.
  4. Grant access on each channel, as the next section describes. The Models list shows the result in two columns, Chat App and API, with the rows grouped under API route and Subscription route.

How you grant access

Access is granted per model and per channel: Access from Chat App decides who sees the model in the Chat App, and Access via direct API decides whose keys may call it. A model with nothing on a channel shows Hidden there.

  • On both channels you pick All Users, named Teams or named Users. All Users stands alone: choosing it clears the other subjects.
  • On the API channel you can also pick Apps & Agents keys and Named Agents. All Agents grants every agent that runs on its own budget, and it stands alone in the same way; an agent that charges whoever uses it calls the model with the caller’s access. Keys and agents cannot be granted on the Chat App channel.
  • Each row grants on its own. A person granted the API route of a model has no subscription route until that row grants them too.
  • A group cannot hold a model grant at v3.7.2, and an import that names one is refused. A group narrows a Chat Profile’s picker, as described next.

A change in access applies on the next SecondGate deploy from Configs Deployment, and no service restarts for it. Sync Job 3, ControlTower → SecondGate, carries budgets and key settings on its own schedule.

How Chat Profiles shape the picker

A Chat Profile is a ControlTower definition of one entry in the Chat App model picker: which model it uses, how it is labelled and grouped, and who sees it. The picker on The Chat App page shows the result.

  1. Choose Chat Profiles, then open or add a profile.
  2. Pick the Gateway Model it runs on, or No model (composite pipe) for an entry that runs its own pipeline. Give it a Display Name and a Slug (Technical Name).
  3. Place it with Picker Group, Group Order and Order in Group, and decide whether it is Visible by default.
  4. Set its Access: All Users, Teams, Groups, Users and, on agent-platform profiles, Named Agents.

A profile cannot show a model to someone who lacks access to it: a profile wider than the model’s Chat App access fails when the configuration is compiled. A Groups entry narrows the picker only, and it needs a model that is granted to all users in the Chat App. Visibility in the picker is a courtesy to the reader; SecondGate’s grants are the boundary.

What model access does not do

  • Model access does not grant through groups at v3.7.2. Groups narrow a Chat Profile and map people into teams; a grant names all users, teams, users, keys or agents.
  • Model access does not apply the moment you save it. It waits for the next SecondGate deploy.
  • Model access does not choose a routing strategy. API rows fail over by priority and subscription rows rotate across their pool, with nothing to set on screen.
  • Hiding a profile does not revoke access. A person with an API grant still calls the model over the API.
  • A Chat Profile does not change what a model costs. The cost badge in the picker follows the route the profile runs on.
  • An administrator cannot grant a model to an agent that charges whoever uses it. That agent runs on the caller’s access.