Skip to main content

Breign models (platform engines)

A platform engine is an AI engine whose API key belongs to the platform, not to an organization. Its models appear to organizations as Breign models ("Key managed by Breign"), next to their own engines, without the key ever being shown.

Platform engines are managed by the platform superadmin, in the Breign App Superadmin dashboard (/superadmin), section Platform engines. An organization only sees the models the superadmin opened to it.

Add a platform engine​

  1. Open Platform engines and click Add an engine.
  2. Choose the engine type and give it a name (for example "OpenAI Breign").
  3. Enter the Breign API key, then See models for this key.
  4. In Models usable with this key, check the models to offer. For an engine type that doesn't publish its model list, use Add a model by hand and enter the Model identifier.
  5. For each offered model, set:
    • the Display name users will see;
    • its capabilities (Vision, Tools, Reasoning, Embedding, Speech to text, Audio, OCR…);
    • optionally the Input price / million tokens and Output price / million tokens, with their Currency. Fetch prices suggests them from Breign's configuration or a public catalog; the fields stay editable. Reasoning tokens follow the output price.
  6. Save. You see "Platform engine created".

A new engine is offered to no organization yet: open its access (below).

Decide which organizations can use it​

On the engine, click Organisations with access. The dialog Access to the {engine} engine lists the organizations:

  • With Same access for every model turned on, tick the organizations that may use every model of the engine. Select all / Unselect all apply to the whole list, and Search an organisation… filters it.
  • Turn it off to choose model by model: select a model, then tick its organizations.

The summary shows how many models and organizations have access. Saving shows "Engine access updated".

Withdrawing access from an organization that already uses these models asks for confirmation (Revoke access to Breign engines?) and shows what breaks: the agents that use a Breign engine, whether it is the organization's default engine, and the knowledge bases indexed with its embeddings. Once revoked, those agents stop answering until another engine is chosen.

Inside an organization, access to Breign models is managed by the superadmin only. Organization administrators decide who may use the models of their own engines (see AI engines), and they always keep access themselves.

Limits and usage​

Organization quotas and budgets only cover the organization's own engines. For Breign models, open the organization in the superadmin dashboard, then Breign models: it sets the limits of Breign models for that organization (agent chat and AI Gateway) and shows their usage. See Rate limiting.

Change or delete an engine​

  • Removing an offered model that is still in use asks for confirmation (Remove models in use?) and lists, per model, the agents and default engines that will be detached.
  • Replace the API key changes the key; Keep the current key leaves it as is.
  • Deleting an engine stops offering it to every organization. Agents using it are detached, and knowledge bases indexed with its embeddings must be reindexed ({n} agent(s) detached, {n} knowledge base(s) to reindex.).

If something goes wrong​

  • "This key does not grant access to any model.": the key is wrong or has no model access at the provider.
  • "Set a currency whenever a per-token price is provided.": choose the currency of the prices.
  • An organization doesn't see a Breign model: the model isn't opened to it. Check the engine's access, model by model.
  • The AI Gateway answers 403 MODEL_NOT_ALLOWED_FOR_USER: the caller's organization, or the user, has no access to that model.