3rd party AI agents and token usage

已回答

Hi,

If I install a 3rd-party AI agent, such as Gemini CLI, does the token usage count toward my JetBrains subscription or my Google Gemini subscription?

Also, other 3rd-party agents, such as OpenCode, allow you to connect to a wide variety of 3rd-party LLMs. How can I do that within the IDE? If not possible now, will it be possible in the future?

 

Thanks

 

PyCharm 2025.3.2.1
Build #PY-253.30387.173, built on February 2, 2026
Source revision: a8022cf9f987d
Licensed to ===
You have a perpetual fallback license for this version.
Subscription is active until December 8, 2026.
Runtime version: 21.0.9+10-b1163.94 amd64 (JCEF 137.0.17)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 6.12.63-gentoo-dist
Gentoo Linux; glibc: 2.41
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4096M
Cores: 16
Registry:
  ide.balloon.shadow.size=0
  debugger.new.tool.window.layout=true
  ide.intellij.laf.enable.animation=true
  ide.experimental.ui=true
Non-Bundled Plugins:
  org.jetbrains.junie (253.620.53)
  IdeaVIM (2.29.0)
  com.google.tools.ij.aiplugin (1.45.2-253)
  com.intellij.ml.llm (253.30387.186)
  mobi.hsz.idea.gitignore (4.5.7)
  org.jetbrains.security.package-checker (253.30387.20)
  com.github.copilot (1.5.64-243)
Current Desktop: KDE
0

When you install a third‑party AI agent like Gemini CLI, the token usage is billed to your Google Gemini subscription (or whichever LLM provider you authenticate with), not your AccuLynx JetBrains subscription. JetBrains only covers the IDE license and any bundled AI features they provide; external tools consume tokens from their own provider accounts.

0

Sorry, I think I didn't make myself clear. By “install a 3rd party agent”,  I mean from here:

I think the “Install from ACP…” option is new. When you select it, you can choose many other 3rd party agents, like here, I have added gemini and opencode.

0
Hi Xi,
 When using a 3rd-party AI agent (e.g., Gemini CLI) in your JetBrains IDE, the token usage is billed by the agent provider (e.g., Google for Gemini), not JetBrains. Your JetBrains AI subscription quota is only used for features powered by the JetBrains AI service. JetBrains IDEs (2025.3.2 and later) now support the ACP Agent Registry, which allows you to easily discover, install, and use a wide variety of 3rd-party AI agents (including OpenCode, Gemini CLI, etc.) directly from the IDE by going to Settings | Tools | AI Assistant | Agents or using the agent picker menu.

https://www.jetbrains.com/help/ai-assistant/acp.html#install-agent-from-registry

For agents not listed in the registry, you can manually configure them by editing the acp.json file, and you can also use the BYOK (Bring Your Own Key) feature to connect your own API keys from supported providers (OpenAI, Anthropic, etc.) or run local models via OpenAI-compatible endpoints (Ollama, LM Studio, etc.). Some advanced features (like cloud code completion) may still require a JetBrains AI subscription, but chat and agent features are available via BYOK or ACP agents.

Kind regards,
0

请先登录再写评论。