> For the complete documentation index, see [llms.txt](https://docs.tonic.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tonic.ai/textual/textual-install-administer/configuring-textual/enable-and-configure-textual-features/configuring-the-default-llm-provider-and-model.md).

# Configuring the default LLM provider and model

For Textual features that require a connection to an LLM model, you can configure a default provider and model to use.

You can override the default provider and model for specific features.

For every provider that you use, you [configure the connection information](/textual/textual-install-administer/configuring-textual/enable-and-configure-textual-features/configuring-connections-to-llm-providers.md).

## Setting the default LLM provider

To configure a default LLM provider, set the following environment variable:

`LLM_DEFAULT_PROVIDER`

The available values are:

* `Bedrock` - Indicates to use a model on Amazon Bedrock.
* `GoogleAiStudio` - Indicates to use a Google AI Studio model.
* `OpenAi` - Indicates to use an OpenAI-compatible model.
* `VertexAi` - Indicates to use a model on Gemini Enterprise Agent Platform (formerly Vertex AI).

## Setting the default LLM model

To configure the name of the default LLM model to use, set the following environment variable:

`LLM_DEFAULT_MODEL_NAME`

For information about recommended models, go to the provider connection information.


---

# 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.tonic.ai/textual/textual-install-administer/configuring-textual/enable-and-configure-textual-features/configuring-the-default-llm-provider-and-model.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.
