Knowledge Base Sections ▾
For Beginners
For Investors
- Where does GNK token value come from
- Gonka vs Competitors: Render, Akash, io.net
- The Libermans: from biophysics to decentralized AI
- GNK Tokenomics
- Risks and Prospects of Gonka: Objective Analysis
- Gonka vs Render Network: Detailed Comparison
- Gonka vs Akash: AI Inference vs Containers
- Gonka vs io.net: Inference vs GPU Marketplace
- Gonka vs Bittensor: A Detailed Comparison of Two Approaches to AI
- Gonka vs Flux: Two Approaches to Useful Mining
- Governance in Gonka: How a Decentralized Network is Managed
Technical
Analytics
Tools
- Cursor + Gonka AI - cheap LLM for coding
- Claude Code + Gonka AI - LLM for the terminal
- OpenClaw + Gonka AI - affordable AI agents
- OpenCode + Gonka AI - free AI for code
- Continue.dev + Gonka AI - AI for VS Code/JetBrains
- Cline + Gonka AI - AI agent in VS Code
- Aider + Gonka AI - pair programming with AI
- LangChain + Gonka AI - AI applications for pennies
- n8n + Gonka AI - automation with cheap AI
- Open WebUI + Gonka AI - your own ChatGPT
- LibreChat + Gonka AI — open-source ChatGPT
- API quick start — curl, Python, TypeScript
- JoinGonka Gateway — a full overview
- Management Keys — SaaS on Gonka
Tools
OpenCode + Gonka AI - free AI for code
OpenCode - an open-source AI coding assistant that works directly in the terminal. No subscriptions, no vendor lock-in. Supports autocompletion, code generation, refactoring, and explanations - all through an OpenAI-compatible API.
Unlike proprietary tools (GitHub Copilot, Cursor Pro), OpenCode is completely free and open. The only expense is the API provider for LLM. With JoinGonka Gateway, this expense is reduced to $0.30 per month.
Setup takes 30 seconds via environment variables.
Step 1: Get API Key
Standard procedure for all tools:
- Register at gate.joingonka.ai/register.
- A bonus of 10M free tokens is automatically credited.
- Create an API key (format
jg-xxx) in Dashboard.
The same key works with Cursor, Cline, Continue.dev and any OpenAI-compatible client.
Step 2: Configure OpenCode
OpenCode uses standard OpenAI environment variables. Add to ~/.bashrc or ~/.zshrc:
export OPENAI_BASE_URL=https://gate.joingonka.ai/v1
export OPENAI_API_KEY=jg-your-keyRestart your terminal: source ~/.bashrc
Or run OpenCode with inline variables:
OPENAI_BASE_URL=https://gate.joingonka.ai/v1 \
OPENAI_API_KEY=jg-your-key \
opencodeModel selection: if OpenCode asks for a model, specify Qwen/Qwen3-235B-A22B-Instruct-2507-FP8.
Verification: Run opencode and ask it to write a function. If a response comes, the setup is complete.
Why OpenCode + Gonka is the best combination
Three reasons why the OpenCode + Gonka combination is optimal for developers:
- Completely open-source: Both OpenCode and Gonka Network are open source. No vendor lock-in, no proprietary dependencies. You control every component.
- Cost: $0.001/1M tokens — thousands of times cheaper than any proprietary analog. GitHub Copilot costs $19-39/month with limits. OpenCode + Gonka — unlimited, for pennies.
- Privacy: Your code is not sent to Microsoft/OpenAI/Anthropic servers. Requests go through a decentralized network — there is no single repository for your data.
OpenCode supports many LLM providers, but with JoinGonka Gateway, you get the optimal balance of price, quality, and privacy. Alternative terminal tools: Claude Code, Aider.
Model parameters: context window – 128K tokens, maximum response length – 2048 tokens. Specifications: HuggingFace.