# Projects use only their own provider keys

Source: https://agenta.ai/docs/changelog/project-provider-keys-only
Date: 2026-10-25

**

Prompts and evaluators now run on the provider keys saved in the project. A project without a key for a provider gets the error "No API key found for model". Add the key in **Settings > Providers & Models**.

Custom providers need their own API key, except Bedrock, SageMaker and Vertex. Self-hosted Enterprise deployments can opt in to keys set on the services container.

**

## What changes

A prompt or an evaluator runs on the provider keys saved in its project.

- If a project has no key for a provider, the run fails with "No API key found for model". Add the key in **Settings > Providers & Models**.
- A custom provider that signs in with a key needs its own non-empty API key. Bedrock, SageMaker and Vertex use their own credentials. Without a key, the run stops with a `400` configuration error before it calls the provider.

## Self-hosting

Provider keys set on the services container (for example `OPENAI_API_KEY`) serve projects that have no key of their own only when `AGENTA_SERVICES_ENV_PROVIDER_KEYS_ENABLED` is `true`.

| Edition | Default |
| --- | --- |
| Open source | `true` (unchanged) |
| Enterprise | `false` |

To keep shared keys in an Enterprise deployment, set `AGENTA_SERVICES_ENV_PROVIDER_KEYS_ENABLED=true`. A custom provider always uses its own key. See the [configuration reference](https://agenta.ai/docs/self-host/reference/configuration.md) for details.
