> ## Documentation Index
> Fetch the complete documentation index at: https://docs.domino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Model Variables

Only model owners or editors can create environment variables. When you set environment variables for active Endpoints, you’ll need to restart the Endpoints so they will be recognized.

In Domino 5.11, when you add a [model variable](https://docs.dominodatalab.com/en/5.11/user_guide/6ac5a1/environment-variables/), the values are pushed to all running model versions.

Project-level and user-level environment variables are not used in models and must be set separately for each model.

<img src="https://mintcdn.com/dominodatalab-e871cec4/SEsWOYyvlRclZqNC/images/6.0/model-env-variables.png?fit=max&auto=format&n=SEsWOYyvlRclZqNC&q=85&s=0fe1ada0c5b6491d16c136c3119baf4c" alt="Model environment variables" width="1337" height="534" data-path="images/6.0/model-env-variables.png" />

1. Open your **Model** and click **Settings**.

2. In the **Environment variables** section, add the following:

   1. **Name**: Enter the variable name. For example, `YOUR_NAME_MODEL_KEY`.

   2. **Value**: Enter a value for the variable. The maximum length for a value is 64K.

3. Click **Set Variable**.

## Next steps

* [Our Best Practices](/cloud/platform-capabilities/core-concepts/compute-environments/manage-compute-environments/1-best-practices-domino-environments) will guide you in setting up and maintaining your Domino environments.

* [Set up user environment variables](/cloud/platform-capabilities/core-concepts/compute-environments/manage-compute-environments/manage-environment-variables/4-setup-user-environment-variables) for each user. The system injects these variables at execution time for any run initiated by that user.

* Learn to [build project variables](/cloud/platform-capabilities/core-concepts/compute-environments/manage-compute-environments/manage-environment-variables/2-build-project-variables) to add, modify, or delete environment variables for your projects.

* The [Default Domino Variables](/cloud/platform-capabilities/core-concepts/compute-environments/manage-compute-environments/manage-environment-variables/5-glossary-default-variables) glossary contains details about variables automatically injected by Domino.
