AI Assistant 2026.1 Help

Supported models

AI Assistant uses a variety of AI models to power its features and AI Chat. By default, these models are provided through the JetBrains AI service, but you can also access models from third-party providers using your own API key or connect to locally hosted models.

This flexibility allows you to choose a setup that best fits your workflow and privacy requirements.

JetBrains AI service models

The table below lists models available in AI Assistant with the JetBrains AI service subscription:

  • Reasoning model – these models are better suited for tasks that require logical reasoning, structured output, or deeper contextual understanding.

  • Supports images – these models can process images, allowing you to add visual context to your request.

Model

Capabilities

Model context window

Anthropic   Claude 4.6 Opus

 

200k

Anthropic   Claude 4.6 Sonnet

200k

Anthropic   Claude 4.5 Opus

 

200k

Anthropic   Claude 4.5 Sonnet

 

200k

Anthropic   Claude 4.5 Haiku

200k

Anthropic   Claude 4.1 Opus

 

200k

Anthropic   Claude 4 Sonnet

200k

Google   Gemini 3.1 Pro

 

1M

Google   Gemini 3 Flash

1M

Google   Gemini 2.5 Pro

1M

Google   Gemini 2.5 Flash

1M

Google   Gemini 2.5 Flash-Lite

1M

Google   Gemini 2.0 Flash

1M

OpenAI   GPT-5.4 mini

400k

OpenAI   GPT-5.4 nano

400k

OpenAI   GPT-5.4

 

1M

OpenAI   GPT-5.3 Codex

 

400k

OpenAI   GPT-5.2 Codex

 

400k

OpenAI   GPT-5.2

 

400k

OpenAI   GPT-5.1-Codex-Max

 

400k

OpenAI   GPT-5.1-Codex

 

400k

OpenAI   GPT-5.1-Codex-Mini

 

400k

OpenAI   GPT-5.1

 

400k

OpenAI   GPT-5-Codex

 

400k

OpenAI   GPT-5

 

400k

OpenAI   GPT-5 mini

 

400k

OpenAI   GPT-5 nano

 

400k

OpenAI   GPT-4.1

1M

OpenAI   GPT-4.1 mini

1M

OpenAI   GPT-4.1 nano

1M

OpenAI   GPT-4o

128k

OpenAI   o1

 

200k

OpenAI   o3

 

200k

OpenAI   o3-mini

200k

OpenAI   o4-mini

 

200k

xAI   Grok-4.1 Fast

 

2M

xAI   Grok-4.1 Fast (Non-Reasoning)

2M

xAI   Grok-4

 

256k

xAI   Grok Code Fast 1

256k

History of supported models

The table below lists AI models supported by AI Assistant, the IDE versions in which they became available, and their current status.

Model

Available in IDEs starting from version

Status

Anthropic   Claude 4.6 Opus

2025.3.x

Active

Anthropic   Claude 4.6 Sonnet

2025.3.x

Active

Anthropic   Claude 4.5 Opus

2025.2.x

Active

Anthropic   Claude 4.5 Sonnet

2025.2.x

Active

Anthropic   Claude 4.5 Haiku

2025.2.x

Active

Anthropic   Claude 4.1 Opus

2025.2.x

Active

Anthropic   Claude 4 Sonnet

2025.1.x

Active

Anthropic   Claude 3.7 Sonnet

2024.3.x

Deprecated by provider

Anthropic   Claude 3.5 Sonnet

2024.3.x

Deprecated by provider

Anthropic   Claude 3.5 Haiku

2024.3.x

Deprecated by provider

Google   Gemini 3.1 Pro

2025.3.x

Active

Google   Gemini 3 Pro

2025.2.x

Deprecated by provider

Google   Gemini 3 Flash

2025.2.x

Active

Google   Gemini 2.5 Pro

2025.1.x

Active

Google   Gemini 2.5 Flash

2025.1.x

Active

Google   Gemini 2.5 Flash-Lite

2025.2.x

Active

Google   Gemini 2.0 Flash

2024.3.x

Active

Google   Gemini 1.5 Pro

2024.3.x

Deprecated by provider

Google   Gemini 1.5 Flash

2024.3.x

Deprecated by provider

OpenAI   GPT-5.4 mini

2025.2.x

Active

OpenAI   GPT-5.4 nano

2025.2.x

Active

OpenAI   GPT-5.4

2025.2.x

Active

OpenAI   GPT-5.3 Codex

2025.3.x

Active

OpenAI   GPT-5.2 Codex

2025.3.x

Active

OpenAI   GPT-5.2

2025.2.x

Active

OpenAI   GPT-5.1-Codex-Max

2025.3.x

Active

OpenAI   GPT-5.1-Codex

2025.3.x

Active

OpenAI   GPT-5.1-Codex-Mini

2025.3.x

Active

OpenAI   GPT-5.1

2025.2.x

Active

OpenAI   GPT-5-Codex

2025.3.x

Active

OpenAI   GPT-5

2025.2.x

Active

OpenAI   GPT-5 mini

2025.2.x

Active

OpenAI   GPT-5 nano

2025.2.x

Active

OpenAI   GPT-4.1

2025.1.x

Active

OpenAI   GPT-4.1 mini

2025.1.x

Active

OpenAI   GPT-4.1 nano

2025.1.x

Active

OpenAI   GPT-4o

2024.2.x

Active

OpenAI   o4-mini

2025.1.x

Active

OpenAI   o3

2025.1.x

Active

OpenAI   o3-mini

2024.3.x

Active

OpenAI   o1

2024.3.x

Active

OpenAI   o1-mini

2024.3.x

Deprecated by provider

xAI   Grok-4.1 Fast

2025.2.x

Active

xAI   Grok-4.1 Fast (Non-Reasoning)

2025.2.x

Active

xAI   Grok-4

2025.2.x

Active

xAI   Grok Code Fast 1

2025.2.x

Active

Models from third-party AI providers

AI Assistant supports the Bring Your Own Key (BYOK) approach, which lets you use your own API key to access models from a third-party AI provider. With BYOK, you can use AI Assistant without a JetBrains AI service subscription.

You can configure the connection in Settings | Tools | AI Assistant | Providers & API keys.

Provide API key

Local models

Running models locally can be useful if you prefer to keep your data on your machine or want to experiment with locally hosted models.

AI Assistant supports a selection of models that can run locally on your machine through Ollama and LM Studio. This allows you to use AI-powered features without relying on cloud-based services.

You can configure the connection in Settings | Tools | AI Assistant | Providers & API keys.

Configure local models
24 March 2026