JetBrains

JetBrains AI offers AI-powered code assistance and coding agents integrated into JetBrains IDEs for smarter, faster development.

Last verified:

Visit JetBrains

What is JetBrains?

JetBrains AI is an intelligent coding assistance platform built directly into JetBrains IDEs, offering AI-powered features that help developers write, understand, refactor, and improve code faster. The platform includes AI Assistant with context-aware AI Chat for asking questions about code and projects, coding agents that handle complex multi-step tasks across multiple files, and in-editor AI assistance for generating code from natural language prompts. Key capabilities include inline code completion, next edit suggestions, code explanation, refactoring suggestions, issue detection, and automation of routine tasks like generating documentation, unit tests, commit messages, and pull request summaries.

The platform supports multiple AI models and agents, giving developers freedom to choose their preferred AI approach without vendor lock-in. Users can access top-tier cloud models from OpenAI (including Codex agent), Anthropic (Claude Agent), Google (Gemini), and xAI (Grok) through the JetBrains AI service. The platform also includes JetBrains' proprietary models like Mellum optimized for code completion, supports Bring Your Own Key (BYOK) for connecting individual API keys, and allows local AI models via Ollama or LM Studio. Junie, JetBrains' own coding agent, handles planning, writing, refining, and testing code.

JetBrains AI is designed for software developers working in JetBrains IDEs including IntelliJ IDEA, PyCharm, WebStorm, GoLand, PhpStorm, Rider, RubyMine, RustRover, as well as ReSharper and Android Studio. It caters to individual developers, teams, and enterprise organizations seeking to optimize development workflows. The platform emphasizes privacy and control, ensuring code and data remain entirely with the user and are never used to train AI models, while offering on-premises solutions for organizations requiring deeper customization and air-gapped security.

Key features include context-aware AI Chat that provides relevant insights based on current project context, coding agents for delegating complex tasks, in-editor code generation from prompts, code insights for explanation and improvement suggestions, and routine automation reducing manual work. The platform also supports version control assistance, runtime error analysis with explanation and fix suggestions, database-related tasks, and merge conflict resolution. Multi-file edits and MCP server integration are available in beta, along with web search in chat functionality.

JetBrains pricing

Pricing model: Freemium

JetBrains AI offers four subscription tiers: AI Free (free) includes 3 AI Credits per 30 days, unlimited local code completion, and context-aware chat; AI Pro ($100/per user, per year) includes 10 AI Credits per 30 days, anytime top-ups, and is included at no additional cost with Individual IDE subscriptions (~$24.90/month) and All Products Pack (~$38.90/month); AI Ultimate ($300/per user, per year) includes 35 AI Credits per 30 days, anytime top-ups, and bonus credits; AI Enterprise ($720/per user, per year) offers maximum credits, enterprise security, and custom AI integrations as part of IDE Services. All Products Pack includes 10 AI Credits per 30 days for $299 first year. A 30-day AI Pro trial is included when first activating. 1 AI Credit equals USD $1.00. Top-up AI Credits cost $100 and remain valid for 12 months.

JetBrains pros

  • Built directly into JetBrains IDEs without breaking developer flow
  • Unlimited local code completion that doesn't consume AI credits
  • Choice of multiple AI providers including OpenAI, Anthropic, Google, xAI
  • Supports Bring Your Own Key (BYOK) with no JetBrains AI subscription needed for chat
  • Local AI model support via Ollama and LM Studio for offline mode
  • Junie coding agent handles planning, writing, refining, and testing automatically
  • Context-aware AI Chat understands project structure and current code context
  • Coding agents work across multiple files for complex multi-step tasks
  • Next edit suggestions predict what changes might be needed next
  • Generates documentation, unit tests, commit messages, and PR summaries automatically
  • Explains code, runtime errors, build errors with suggested fixes
  • Suggests refactoring with explanations of why changes are necessary
  • No vendor lock-in - developers choose their agents and providers
  • Code and data never used to train AI models - privacy guaranteed
  • On-premises deployment option for enterprise security and air-gapped environments
  • AI Free plan available to all users with active JetBrains IDE licenses
  • 30-day free trial of AI Pro when first activating JetBrains AI
  • Web search functionality integrated into AI chat
  • Beta features include multi-file edits and MCP server integration
  • RAG-based context awareness for relevant code and recent files

JetBrains cons

  • AI Free plan not available in Android Studio, IntelliJ IDEA without Ultimate, or PyCharm without Pro
  • Cloud code completion requires JetBrains AI subscription, not available with BYOK alone
  • AI credits quota resets every 30 days with no rollover of unused credits
  • Junie coding agent not available in China due to regional compliance
  • Some features like next edit suggestions don't support local models
  • AI features restricted in certain countries due to third-party provider limitations
  • In China, only Alibaba's Tongyi Qianwen models available, limiting model choices
  • Cannot choose LLM providers or connect local models in ReSharper
  • AI Pro not included in complimentary All Products Pack for students, teachers, classrooms, or open source
  • Top-up AI Credits cost $100 and require active JetBrains AI license

Frequently asked questions about JetBrains

What is JetBrains AI Assistant and what does it do?

AI Assistant provides AI-powered features designed to support your development workflow including context-aware AI Chat for asking questions about code and navigating project structure, coding agents that delegate complex multi-step tasks across multiple files, in-editor AI assistance for generating code from natural language prompts, inline code completion and next edit suggestions, code insights for explanation and refactoring suggestions, and routine automation for generating documentation, unit tests, commit messages, and pull request summaries.

Is there a free tier for JetBrains AI?

Yes, AI Free is available to all users with active JetBrains IDE licenses including educational licenses, classroom licenses, open source licenses, IDE trial licenses, and Startup Program licenses. The AI Free plan includes 3 AI Credits per 30 days, unlimited local code completion, and context-aware chat. However, AI Free is not available in Android Studio, IntelliJ IDEA without an Ultimate subscription, and PyCharm without a Pro subscription.

What AI models and agents are supported?

JetBrains AI provides access to cloud models from OpenAI (including Codex agent), Anthropic (Claude Agent), Google (Gemini), and xAI (Grok). Code completion and next edit suggestions use JetBrains' proprietary models like Mellum optimized for coding. Users can also connect their own API keys via BYOK for OpenAI and Anthropic, connect local models via Ollama or LM Studio, and in China use exclusively Alibaba's Tongyi Qianwen models.

What are AI Credits and how do they work?

AI Credits regulate access to AI agents and features powered by third-party AI models. Code completion and next edit suggestions powered by JetBrains' tailored models do not consume AI quota. The quota matches the plan price, meaning 1 AI Credit equals USD $1.00. AI Free includes 3 credits per 30 days, AI Pro includes 10 credits, AI Ultimate includes 35 credits (plus $5 bonus). Unused included quota does not roll over and resets every 30 days from activation date.

Can I use my own API keys instead of subscribing to JetBrains AI?

Yes, JetBrains supports Bring Your Own Key (BYOK) which lets you connect your own API keys from OpenAI, Anthropic, and other OpenAI-compatible providers to use their models directly in JetBrains IDEs. No JetBrains AI subscription is required for BYOK chat and agents. However, to access cloud code completion and other advanced editor features, you need to sign in to JetBrains AI. You can use BYOK and JetBrains AI together for full feature coverage.

What is Junie and how does it differ from other agents?

Junie is JetBrains' own coding agent that can take care of planning, writing, refining, and testing your code so developers can focus on creativity and problem-solving. It is available in IntelliJ IDEA Ultimate, PyCharm with PyCharm Pro, WebStorm, GoLand, PhpStorm, Rider, RubyMine, and RustRover. Junie enhances productivity through smart suggestions and is included with AI Pro and AI Ultimate subscriptions, but it is not available in China due to regional compliance requirements.

How does JetBrains handle data privacy and security?

Your code and data remain entirely yours - JetBrains never uses them to train AI models. Data sharing is opt-in for all paid licenses. JetBrains does not persist customer data unless users explicitly opt in to detailed data collection, which is used exclusively to improve product quality and retained for up to one year. No data is retained by third-party providers. For organizations requiring deeper control, AI Enterprise offers on-premises installation with air-gapped environment support.

Can I use JetBrains AI offline or without cloud connectivity?

Yes, you can use AI Assistant in offline mode by connecting locally hosted large language models via LM Studio or Ollama. You can also disable AI assistance completely or enable offline mode in settings. However, some features like next edit suggestions and Junie do not support local models. For organizations requiring secure air-gapped environments, AI Enterprise offers on-premises installation as part of JetBrains IDE Services.

Is JetBrains AI available in China?

Yes, JetBrains AI is available in China and works exclusively with Alibaba's Tongyi Qianwen large language models for compliance with local regulations. In Mainland China, AI features are powered exclusively by these models. AI Assistant is accessible only through the AI Pro subscription plan in China. However, Junie coding agent is not available in China at this time due to regional compliance requirements.

What happens when I exhaust my AI credit quota?

When your monthly AI quota is exhausted, cloud-powered JetBrains AI features pause until your quota renews. Your included quota resets every 30 days from the date you first activated your JetBrains AI license, which may not match your billing cycle. You can purchase additional Top-up AI Credits to continue using AI features. Top-up credits remain valid for 12 months and for organizations are shared across the team's JetBrains AI licenses.

Categories

Use cases

Browse all AI tools on NeedAnAI