Model Selection

Qodo Merge 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.

We strongly recommend keeping the default model.

Default model

The default models used by Qodo Merge (August 2025) are a combination of GPT-5 and Gemini 2.5 Pro.

Restrict Qodo Merge to use a specific model

To restrict Qodo Merge to using only one model, add this setting to the configuration file:

[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:

[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 for up-to-date model-specific variables.

Last updated

Was this helpful?