Knowledge Base Sections ▾

Navigation

▸ Start here By roles

Categories

Tools 54
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 with the 2026.1 line, AI Assistant can use 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 when you register with 3M free tokens), enable the Tool calling toggle (without it the model won't get 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 almost three times smaller than the shortest window on the network. The real values are 180000 for MiniMax M2.7, 380000 for DeepSeek V4 Flash, and 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 (the current list is GET /v1/models). For Core functions with large files, go with DeepSeek: 380K context, output up to 32768 tokens.

Tip. The command npx @joingonka/setup --tool jetbrains will print ready-made values for these fields — base URL, key, model id, and its real limits: context window and response ceiling — and will verify with a live request that the gateway accepts them. AI Assistant itself can only be configured through the UI — it has no file you can safely edit, so you have to paste the values in by hand.

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 don't work for Junie (the JetBrains agent) or next-edit suggestions — those features stay on the JetBrains cloud. Inline autocomplete doesn't work on models from this section either: it needs FIM models, and the network's models are chat models, so leave AI Completion on JetBrains models. Vision tasks don't 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 →