> For the complete documentation index, see [llms.txt](https://docs.lleverage.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lleverage.ai/administer-and-govern/control/ai-models.md).

# AI Models

Configure bring-your-own model-provider credentials at project or organisation scope.

AI Models configures model-provider connections that Lleverage can use.

![Connecting a model provider by selecting an existing Secret or Variable rather than pasting the provider key into the AI Models page.](https://3370306531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlgSglJDQZxDZdn20CUcl%2Fuploads%2FiB2aIAGcilHucQoKzQ5w%2Fcontrol-ai-models.png?alt=media)

Current providers shown in the product include **OpenAI, Anthropic, Google, TogetherAI and Mistral**.

A model-provider connection can exist at **Project** or **organisation** scope. The setup surface shows the provider's required configuration key, such as `OPENAI_API_KEY`, and asks you to **Select secret or env var**. You do not paste the credential directly into AI Models; create the sensitive value under [Secrets](/administer-and-govern/control/secrets.md) first, or use Variables only for non-secret configuration.

### Current constraint

There can currently be only **one connection per model provider per Project**, and one per provider at organisation scope. If a Project already has an OpenAI connection, for example, you cannot add a second independent OpenAI connection to that same Project.

The optional nickname changes how the connection is presented; it does not create a second provider slot.

### Plan visibility

AI Models is **not shown** in the Control navigation on the Free plan. Treat that as current navigation behaviour rather than a promise that the underlying route is technically unavailable.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.lleverage.ai/administer-and-govern/control/ai-models.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
