# Your models

> Connect your own models to Eggent Enterprise through any OpenAI-compatible API, choose which models to offer, and decide who can use each one and which one a new chat starts on.

Source: https://eggent.ai/docs/enterprise-models/

Section **Models** in the [admin console](https://eggent.ai/docs/enterprise-console.md) connects the company's models and decides who can use them. Any endpoint with an OpenAI-compatible API works: a model running inside your perimeter or an external one.

## Connecting a model endpoint {#connect}

**Connect a model endpoint** asks for:

- **Name** — how the connection appears in the console, such as "Internal".
- **API address** — the address of the OpenAI-compatible API, such as `https://llm.company.tld/v1`.
- **Key** — if the endpoint needs one.

**Check and connect** asks the endpoint for its model list and detects its protocol (Responses or Chat Completions) by itself. Chat models are offered to your people at once; pictures, speech and embeddings from a vendor's list stay off. What to offer is set with the ticks under **Which models to offer** on the connection.

The address must be reachable from the Eggent server, not from the administrator's computer: `localhost` on a laptop will not do; give the address of the machine the model runs on.

You can connect several endpoints, for example an internal model and an external one. A connection set in the server's `.env` appears in the list as read-only, marked "from server settings". The administrator's agent can connect a server that needs no key on request ("connect our Qwen at …"); a server with a key is connected only in the console, so the key never enters a chat.

## Context window and price {#settings}

Under **Which models to offer** each model has two fields.

- **Context window**: how many tokens the model takes at once. Local servers (LM Studio, Ollama) often load a model with 4-8 thousand, while the agent needs 32 thousand or more: raise it on the server and enter the same number here. Without it Eggent assumes 128 thousand.
- **Price per million tokens** (input and output) makes a model paid: its use is counted in money and monthly limits apply to it. For models Eggent knows (for example when a vendor's key is connected) the vendor's price is filled in by itself. Leave it empty for an internal model: it is free.

## Who can use a model {#access}

Every offered model is available to the whole company by default. For each model you can narrow that to teams, to named people (by email or login), or both.

One model is the **company default**: a new chat starts on it.

## What employees see {#employees}

- The model picker shows the models available to that person.
- A model that is not available to them is shown locked, with "ask your administrator".
- The administrator's own workspace sees every model.
- Employees cannot switch their agent to keys of their own.

## Usage and limits {#limits}

The **Usage** section shows what your people used in a month: requests and tokens on every model, money on the paid ones, by model, by team and by person.

Monthly limits per person and per team count only paid models. While no model has a price, the limit fields are not shown in the console. The administrator's agent puts the same report together on request: "who used the most this month".
