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

# Model selection

<Warning>
  **Git Integration (formerly Qodo Merge)** – AI code review agents for pull requests. This documentation describes the Qodo v1 experience. For the Qodo v2 documentation, click [here.](/code-review)
</Warning>

Qodo supports a wide range of LLMs (Large Language Models). This guide walks you through configuring different models, including commercial APIs, open-source models, and local setups.

<Note>
  This feature is available for **on-prem users** only.
</Note>

<Warning>
  **We strongly recommend keeping the default model.**

  Only change it when meeting LLM provider limitations on on-prem installations.

  **Do not change the default model for any other reason.**

  ### Qodo **works the best with its default model.**
</Warning>

### Default model

Qodo is continuously benchmarking the performance of the latest LLM models and we always use the models that produce the best results for code review. The default models used by Qodo (as of December 2025) is GPT-5.2. In some cases we use other models from the major LLM providers (Anthropic and Google) for redundancy and for higher suitability with specific use cases.

### Restrict Qodo to use a specific model

To restrict Qodo to using only one model, add this setting to the [configuration file](/v1/configuration/configuration-file):

```bash theme={null}
[config]
model = "..."
```

The models currently supported are:

* `gpt-5`

* `claude-4-sonnet`

* `o4-mini`

* `gemini-2.5-pro`

* `deepseek/r1`

### Change model

To switch models, edit the [configuration file](/v1/configuration/configuration-file):

```bash theme={null}
[config]
model = "..."
fallback_models = ["..."]
```

Some models require additional parameters or API keys, depending on the provider. These can be configured either in `.secrets.toml` or as environment variables.

Refer to the [LiteLLM documentation](https://litellm.vercel.app/docs/proxy/quick_start#supported-llms) for up-to-date model-specific variables.
