Knowledge Base Sections ▾

Navigation

▸ Start here By roles

Categories

Tools 52
Glossary 12

Tools

JetBrains IDE + JoinGonka Gateway — your own endpoint instead of credits

In the JetBrains ecosystem (IntelliJ IDEA, PyCharm, WebStorm, GoLand, etc.), a custom inference-endpoint can be connected in two independent ways: the native AI Assistant accepts OpenAI-compatible providers, and GitHub Copilot for JetBrains, as of July 14, 2026, supports custom endpoints via BYOK on all plans. Both methods work with the JoinGonka Gateway: use Gonka decentralized network models at real-time network prices — hundreds of times lower than vendor card prices, without using up subscription credits.

Path 1: Native AI Assistant with an OpenAI-compatible provider

Starting from the 2026.1 series, AI Assistant supports third-party endpoints directly:

1. SettingsSettings → Tools → AI Assistant → Providers & API keys
2. ProviderSelect OpenAI Compatible
3. FieldsBase URL: https://gate.joingonka.ai/v1, API key: your jg-… (issued upon registration with 3M free tokens), enable the Tool calling toggle (without it, the model will not receive MCP tools), then Test Connection and Apply
4. ModelsIn the Models Assignment section, assign models to Core features and Instant helpers, and set the Context window: the standard 64,000 tokens is three times smaller than the shortest network window. Real values are 200000 for MiniMax M2.7, 380000 for DeepSeek V4 Flash, 390000 for GLM-5.3 Flash

Network models: MiniMaxAI/MiniMax-M2.7, deepseek-ai/DeepSeek-V4-Flash-0731, and zai-org/GLM-5.3-Flash (current list — GET /v1/models). For Core features with large files, use DeepSeek: 380K context, output up to 32,768 tokens.

Tip. The npx @joingonka/setup --tool jetbrains command will print the ready values for these fields — base URL, key, model ID, and its real limits (context window and output limit) — and will test that the gateway accepts them with a live request. The AI Assistant itself can only be configured via the UI — it lacks a configuration file that can be safely edited, so values must be pasted manually.

Path 2: Copilot for JetBrains with BYOK

If you use GitHub Copilot in JetBrains-IDE, since July 14, 2026, the plugin has supported custom OpenAI-compatible endpoints on all Copilot plans: open Copilot Chat → model list → Manage Models, select a provider with an OpenAI-compatible endpoint, click Add Models, and enter the Base URL https://gate.joingonka.ai/v1, your jg-… key, and the model ID. Click Save, check the model under your key, and save again — the network models will appear in the selector next to the built-in ones, and usage will not count towards your Copilot request quota. A detailed breakdown of the BYOK mechanics can be found in our GitHub Copilot BYOK guide.

Limitations — honestly

Custom providers in AI Assistant cover chat and core generation, but as of 2026.1, they do not work for Junie (JetBrains agent) and next-edit suggestions — these functions remain on the JetBrains cloud. Inline autocomplete on a third-party model requires compliance with the prompt scheme/FIM format — network chat models are strongest specifically in chat and agent scenarios. Vision tasks do not work through the gateway: the models are text-only.

Which path to choose

No Copilot subscription? Choose path 1: native AI Assistant with the 2026.1 free tier plus cheap gateway inference for chat and generation. Already paying for Copilot? Path 2 offloads your premium quota for agent sessions. The paths are independent: the provider for completion functions is configured separately from the chat provider; they can be combined.

Cost

Inference is billed at live Gonka network prices — see current values in the gateway price list; the rate is uniform for all models. The starting 3M free tokens are enough to run AI Assistant on your first tasks before topping up.

JetBrains-IDE connects to JoinGonka Gateway in two ways: Settings → Tools → AI Assistant → Providers & API keys → OpenAI Compatible (base URL gate.joingonka.ai/v1 + jg- key) — or BYOK in Copilot for JetBrains as of July 2026. Chat and core generation run on network models; Junie and next-edit currently remain on the JetBrains cloud.

Want to learn more?

Explore other sections or start earning GNK right now.

Get free tokens →