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
JoinGonka Gateway — a full overview
JoinGonka Gateway is our service that provides an OpenAI + Anthropic compatible API to the decentralized Gonka network. Register, get a key, replace base_url—and any application written for OpenAI (/v1/chat/completions) or Anthropic (/v1/messages) works through Gonka for $0.001/1M tokens.
This is not just a proxy. JoinGonka Gateway is a full-fledged platform: billing, monitoring, API keys, referral program, support for multiple payment methods. Everything needed for using AI in production—from an indie developer to a company with hundreds of thousands of requests per day.
JoinGonka is the only gateway to Gonka with Anthropic Messages API support. Claude Code connects directly, without a proxy—through the native Anthropic format.
This article provides a detailed overview: how it works, how much it costs, how it differs from competitors, and why it is the cheapest OpenAI + Anthropic compatible API in the world.
What is JoinGonka Gateway
JoinGonka Gateway is an intermediary layer between your application and the Gonka network. Architecture:
- Your application sends a request to
gate.joingonka.ai/v1/chat/completions(OpenAI format) orgate.joingonka.ai/v1/messages(Anthropic format). - Gateway accepts the request in either format, checks the API key and balance, and forwards it to the Gonka network.
- Gonka network processes the request on one of ~582 MLNodes with the Qwen3-235B model.
- Gateway receives the response, calculates consumed tokens, debits the balance, and returns the response to your application—in the same format as the request was received (OpenAI or Anthropic).
Two API formats: The Gateway supports both OpenAI Chat Completions API (/v1/chat/completions) and Anthropic Messages API (/v1/messages). This means that tools like Cursor and LangChain work via the OpenAI format, while Claude Code connects directly via the Anthropic format—without proxies or converters.
Why use Gateway if there's a direct Gonka API? The direct Gonka API requires a crypto wallet, GNK transaction signing, and blockchain understanding. JoinGonka Gateway removes this complexity: you pay in a convenient currency (GNK, USDT, fiat), get a familiar OpenAI- or Anthropic-format API, use the Dashboard for monitoring—without any knowledge of cryptocurrencies.
Technical stack: Fastify (Node.js), PostgreSQL, nginx. The Gateway handles up to 1000 requests/sec, supports streaming (SSE in both formats), tool calling, and all parameters of OpenAI Chat Completions + Anthropic Messages API. Latency overhead is less than 50ms.
How to start: from registration to the first request
The entire process takes 2 minutes:
- Registration: go to gate.joingonka.ai/register. Email + password—standard form.
- Bonus: upon registration, 10,000,000 free tokens are automatically credited. This is enough for thousands of AI requests—sufficient for testing and initial integrations.
- Key creation: in Dashboard → API Keys → Create Key. The key starts with
jg-, e.g.,jg-abc123def456. It is displayed once—save it. - First request: use the key in any OpenAI- or Anthropic-compatible client. For OpenAI format, replace
base_urlwithhttps://gate.joingonka.ai/v1. For Anthropic format (Claude Code)—ANTHROPIC_BASE_URL=https://gate.joingonka.ai.
Ready-made instructions for popular tools: Cursor, Claude Code, Aider, Continue.dev, Cline, LangChain, n8n, Open WebUI, LibreChat. Code examples (curl, Python, TypeScript) are in the API quickstart.
Dashboard: in your personal account, you will see: current token balance, request history, daily consumption, API keys, referral link. This is a full-fledged CRM for managing AI expenses.
Comparison with competitors
There are several gateways to the Gonka network on the market, and of course, centralized providers. Let's compare:
| Provider | Price per 1M tokens | Markup to Gonka | Payment | Dashboard | Tool calling | Anthropic API | Referral program |
|---|---|---|---|---|---|---|---|
| JoinGonka Gateway | $0.001 | ~10% | GNK, USDT, fiat | Yes | Yes | Yes | 10% L1 + 3% L2 |
| GonkaGate | $0.0009 | ~0% | Only GNK | Basic | Yes | No | No |
| Gonka Broker | $0.35 | 389x | Cards, crypto | No | No | No | No |
| OpenGNK | Free (1M) | 0% | Free | No | No | No | No |
| Mingles | Variable | ~10-50% | Crypto | No | No | No | No |
| OpenAI GPT-4o | $2.50 — $10.00 | 2,778x — 11,111x | Cards | Yes | Yes | No | No |
| Anthropic Claude | $3.00 — $15.00 | 3,333x — 16,667x | Cards | Yes | Yes | Yes (native) | No |
Anthropic API — JoinGonka only. No other gateway to Gonka supports the Anthropic Messages API (/v1/messages). This means that tools working via Anthropic format—Claude Code, Cline (in Anthropic mode)—connect to Gonka only through JoinGonka Gateway.
Why JoinGonka Gateway, not GonkaGate? GonkaGate only accepts GNK—you need to buy tokens on an exchange, have a crypto wallet, sign transactions. Plus GonkaGate only supports OpenAI format. JoinGonka Gateway accepts USDT (5% fee), fiat via On-Ramp, and GNK (0% fee). Plus: Dashboard with analytics, referral program (10% L1 + 3% L2), tool calling support, and both API formats—OpenAI and Anthropic.
Why not Gonka Broker? Gonka Broker charges a 389x markup—$0.35 per 1M tokens at a cost of $0.0009. This is still cheaper than OpenAI, but 389 times more expensive than it needs to be. JoinGonka Gateway operates with minimal markup.
Benefits of JoinGonka Gateway
Eight key advantages:
- The cheapest OpenAI + Anthropic compatible API: $0.001/1M tokens—2800 times cheaper than OpenAI GPT-4o. For most tasks, the quality difference is negligible, but the cost difference is drastic.
- Two API formats—OpenAI and Anthropic:
/v1/chat/completions(OpenAI) and/v1/messages(Anthropic)—both work with a single key. Cursor, LangChain, openai SDK—via OpenAI format. Claude Code—via Anthropic format, directly, without a proxy. No competitor offers this. - Native tool calling: Qwen3-235B supports function calling in both formats—OpenAI and Anthropic. Agents, chains, automation—everything works reliably.
- Free start: 10M tokens upon registration. This is enough for weeks of testing and initial integrations—without payment.
- Flexible payment: GNK (0% fee), USDT (5%), fiat via On-Ramp. No need to understand cryptocurrencies—you can pay by card.
- Referral program: 10% of the spending of referred users (L1) + 3% of their referrals' spending (L2). Share the link—earn tokens.
- Dashboard and analytics: a full-fledged CRM—balance, consumption, request history, API keys. All in one interface.
- Full ecosystem compatibility: works with any OpenAI-compatible client (Cursor, n8n, LangChain) and Anthropic-compatible client (Claude Code)—without modifications.
Pricing and billing
JoinGonka Gateway billing operates in GNK tokens (internal unit):
- Top-up GNK: 0% fee. You send GNK to the Gateway address, the balance is credited instantly.
- Top-up USDT: 5% fee. Pay with USDT (via OxaPay), Gateway automatically converts to GNK. 5% is a convenience fee (no Gonka crypto-wallet needed).
- Top-up fiat: via On-Ramp (card → USDT → GNK). Fee depends on the On-Ramp provider.
Platform fee: a 10% fee is applied to the base cost of inference on the Gonka network. This fee is already included in the final price of ~$0.001/1M tokens. The base cost on the network is ~$0.0009/1M, with the fee—~$0.001/1M. The fee covers the costs of Gateway infrastructure (servers, DB, monitoring).
How consumption is calculated: each API request (both via OpenAI format and Anthropic format) consumes tokens from a single balance. The Gateway calculates prompt_tokens (input) + completion_tokens (output) and debits the balance. Cost: $0.001 per 1M tokens (~0.001 GNK at the current exchange rate). One key, one balance—for both API formats.
Tool calling: function calls (tools) also consume tokens—function definitions are added to the prompt. A typical tool calling request consumes 1.5-3x more tokens than a regular one—but at $0.001/1M, it's still pennies.
Referral program: every user gets a unique referral link in the Dashboard. When an invited user spends tokens—you receive 10% of their spending (L1). If your referral also invites people—you receive 3% of their spending (L2). Referral earnings—in GNK tokens to your balance.
Transparency: all transactions are visible in the Dashboard—top-ups, debits, referral earnings. The API returns a usage object with each response—you always know how many tokens the request consumed.
Model parameters: the current Qwen3-235B model supports a context window of 128K tokens. Maximum response length—2048 tokens (default 1024). Supported API parameters: model, messages, max_tokens, temperature, tools, tool_choice, stream.