# AI Calls

These instructions apply to the current Admin Console.

{% hint style="info" %}
AI Calls are in early access and may not be available in your account. [Contact Contextual support](mailto:help@contextual.io) to request that AI Calls be enabled for your tenant.
{% endhint %}

An **AI Call** is a saved, versioned prompt with its generation configuration. It names an AI Route and stores what the model receives, the variables the prompt needs, model settings, tool definitions, and the output shape. An application runs a Call by its ID through AI Gateway and sends only the values that change per request, such as variables.

Calls let teams manage, edit, and test prompts on the platform separately from application code. An application selects the current version, an exact version, or a version label when it runs the Call.

## Calls, Routes, and Connections

A Call sits on top of the AI components you already use:

| Component | What It Holds | What Uses It |
| --- | --- | --- |
| [AI Connection](https://docs.contextual.io/connect/connections/types-of-connections/ai-connections.md) | Credentials and the endpoint for one AI provider | AI Routes |
| [AI Route](https://docs.contextual.io/connect/ai-routes.md) | Ordered provider and model choices, retries, and fallback | AI Calls and direct generation requests |
| **AI Call** | Prompt content, variables, settings, tools, output shape, application data, and the ID of one AI Route | Applications, through the AI Gateway Call endpoints |

AI Gateway starts with the Route's generation settings and provider options. A setting or option saved in the Call replaces the corresponding Route value. A value sent in `overrides.settings` or `overrides.providerOptions` takes precedence for that request.

A Call version does not pin its Route or its output Object Type. AI Gateway reads both when each request runs. A change to the Route applies to every Call that uses it. Each response reports the Route version it used, so you can trace a result to its exact configuration.

## Availability

In the Admin Console, open **Connect → AI Calls**. If your tenant has AI Calls enabled and the page is missing, ask your tenant administrator to check your AI Calls permissions.

## Use AI Calls

* [Create and manage a Call](https://docs.contextual.io/connect/ai-calls/create-and-manage.md) in the Admin Console.
* [Inspect, render, and run a Call from the CLI](https://docs.contextual.io/connect/ai-calls/contextual-cli.md).
* [Run a saved Call from code](https://docs.contextual.io/connect/ai-calls/run-from-code.md) through the AI Gateway API.
