Selecting a model for Amazon Q chat in IDEs - Amazon Q Developer

Selecting a model for Amazon Q chat in IDEs

You can select the model you want Amazon Q to use while chatting in the IDE. The model you select persists across all future chat sessions.

The following table describes the models that are available for Amazon Q chat in the IDE and their context windows.

Model Context window
Claude Sonnet 3.7 200k
Claude Sonnet 4 (default) 200k

Select the model used for chatting in the IDE

To select the model Amazon Q uses when you chat in your IDE:

  1. Open the Amazon Q chat panel in your IDE.

  2. At the bottom of the text box, choose the model menu dropdown. Select the model you want to use from the available options.

    The model you select persists until you change it.

Context windows

The context window is the amount of context, including your conversation history and any explicit or automatic context, that Amazon Q can use to process and respond to your requests. Context is measured in tokens, which includes text and code.

For more information about context, see Adding context to the chat.