Tooling · 2026-08-30

JetBrains AI Assistant on an OpenAI-compatible endpoint
Add it under Providers & API keys

As of 2026-08-30 JetBrains documents OpenAI-compatible as a third-party provider. Next: Settings | Tools | AI Assistant | Providers & API keys, paste https://api.qcode.cc/v1 and a QCode key, then Test Connection.

#jetbrains#OpenAI-compatible#BYOK#AI Assistant

Takeaways

4

OpenAI-compatible fields

Official settings page: Provider, API Key, URL, and Tool calling (Tool calling is OpenAI-compatible only). Then Test Connection.

2026-08-30

Docs fetched

jetbrains.com/help/ai-assistant/use-custom-models.html and settings-reference-models.html, fetched 2026-08-30. The settings page title is Providers & API keys.

/v1

How far the URL goes

For QCode use https://api.qcode.cc/v1. Do not paste /chat/completions. YouTrack LLM-22911 notes some non-/v1 paths being rewritten to /v1.

Chat

What this page covers

Third-party models for chat and related features. AI Completion is a separate block; official docs require FIM, which typical chat models do not provide.

What third-party models mean in AI Assistant

AI Assistant defaults to cloud models through the JetBrains AI service. Official docs also let you bring an API key for Anthropic, Google, OpenAI, or an OpenAI-compatible endpoint (examples: llama.cpp, LiteLLM). QCode is an OpenAI-compatible gateway — that last option. This is not a client-id hack.

What people still search

In 2026-08 threads people still ask how JetBrains BYOK works. @JetBrainsHelp on 2026-08-21: a personal ChatGPT subscription cannot connect directly to AI Assistant Chat; use an OpenAI API key via BYOK. This page answers the official OpenAI-compatible fill-in, then what to do after you paste QCode.

Timeline

Docs as shipped

Use third-party and local models (28 July 2026) and the Providers & API keys settings page (15 July 2026): Settings | Tools | AI Assistant | Providers & API keys. Older help text may still say Models & API keys; trust the title in the IDE.

2026-07-28

Official list includes OpenAI-compatible endpoints. That provider needs a URL, API Key, and a Tool calling toggle. The 64 000-token default context window is documented for local models, not as the remote-gateway default on this page.

2026-08-21

@JetBrainsHelp: a personal ChatGPT subscription cannot attach directly to AI Assistant Chat; use an API key via BYOK. Docs also say IDE Services / JetBrains Central admins may lock third-party providers.

Confirmed vs watch-outs

Confirmed

AI Assistant documents OpenAI-compatible: URL + API Key + Test Connection. Provider models show up in the chat model selector. Docs fetched 2026-08-30.

Watch-outs

Not every AI Assistant feature works with third-party models; official docs suggest activating JetBrains AI alongside. AI Completion is independent of the chat provider and needs FIM. IDE Junie Agent in YouTrack LLM-22660 (2026-01) then required first-party Anthropic or OpenAI — this page does not treat Junie as the same path. No header-override or proxy recipes.

Which path

AI Assistant · OpenAI-compatible (this page)

Use this when you have a custom base URL. QCode is https://api.qcode.cc/v1. Assign remote models to Core features / Instant helpers under Model Assignment.

First-party providers / Junie

Anthropic, Google, and OpenAI first-party keys use their own Provider rows. Junie is a different product — do not copy this page into Junie. A ChatGPT personal subscription is not an API key.

What to do next

Open Settings | Tools | AI Assistant | Providers & API keys. Under Third-party AI providers choose OpenAI-compatible. URL https://api.qcode.cc/v1, paste the QCode API key, set Tool calling if needed, Test Connection, Apply. In AI Chat pick the model from that provider’s section. Copy model ids from /models. Switching models is an id change. For inline completion read the AI Completion block; do not assume a chat model does FIM.

On QCode

QCode exposes https://api.qcode.cc/v1 as an OpenAI-compatible endpoint. Wire it with AI Assistant’s official OpenAI-compatible provider. Which model ids work is the live /models list — this page does not freeze a catalog as always-on-sale.

FAQ

Can AI Assistant talk to a custom OpenAI-compatible gateway?

Yes. Use third-party and local models lists OpenAI-compatible endpoints. The settings page has URL and Test Connection.

What is the settings page called now?

The title fetched 2026-08-30 is Providers & API keys, path Settings | Tools | AI Assistant | Providers & API keys. Older help may still say Models & API keys; trust the IDE.

How far down should the URL go?

Stop at /v1, e.g. https://api.qcode.cc/v1. Do not append /chat/completions.

Does ChatGPT Plus count as an API key?

@JetBrainsHelp on 2026-08-21: a personal ChatGPT subscription cannot connect directly to AI Assistant Chat. Use an OpenAI API key via BYOK. A QCode key is that API-key path.

Can Junie take the same URL?

This page is AI Assistant only. YouTrack LLM-22660 (2026-01) then said Junie Agent needed first-party Anthropic or OpenAI. Junie CLI has a separate custom-model JSON path. Do not treat this page as a Junie recipe.

Will inline completion work after this?

Not necessarily. Official docs split AI Completion into its own block and require FIM for inline completion. Typical chat models do not offer that. Third-party models can also leave some features unavailable.

Sources

JetBrains Use third-party and local models (jetbrains.com/help/ai-assistant/use-custom-models.html, footer 28 July 2026) and Providers & API keys (settings-reference-models.html, 15 July 2026), fetched 2026-08-30. @JetBrainsHelp 2026-08-21 on ChatGPT subscriptions. YouTrack LLM-22660 and LLM-22911 cited as observations only.

Add OpenAI-compatible in AI Assistant

Official URL field + QCode /v1. Model ids follow /models.