Knowledge Base Sections ▾
Navigation
▸ Start here By rolesCategories
- OpenCode: free models, providers and API key
- Cursor + Gonka AI - cheap LLM for coding
- Claude Code + Gonka AI - LLM for the terminal
- DeepSeek Harness: Your Own Provider via JoinGonka Gateway
- Codex CLI: your own key instead of a subscription
- Pi + JoinGonka Gateway — terminal agent on cheap inference
- omp (Oh My Pi) + JoinGonka Gateway: an agent with model roles
- Zoo Code + JoinGonka Gateway: Migrating from Roo Code to Gonka models
- Kilo Code + Gonka AI — AI-Agent in VS Code
- ZCode: GLM Coding Plan tiers, prices and limits
- Hermes Agent + DeepSeek on the Gonka network — an autonomous agent for pennies
- OpenClaw + Gonka AI - affordable AI agents
- 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
- Roo Code + Gonka AI — Autonomous AI Agent in VS Code
- LlamaIndex + Gonka AI — RAG applications for pennies
- PydanticAI + Gonka — typed AI agents for pennies
- Vercel AI SDK + Gonka AI — AI applications in TypeScript for pennies
- TanStack AI + Gonka — AI applications in TypeScript for pennies
- API quick start — curl, Python, TypeScript
- JoinGonka Gateway — a full overview
- Management Keys — SaaS on Gonka
- How Much Does an AI API Cost: Price Comparison per Million Tokens
- How to buy AI tokens and an API key: 3 methods in 2026
- Free AI API: tokens on sign-up and for referrals
- Cursor Pro request limit reached — breakdown and cheaper alternative
- Cheaper Claude Code: GLM and DeepSeek instead of Claude
- Claude Code + DeepSeek V4 Flash: How to Connect It and What a Task Costs
- Cline is burning money — why the agent spends so much
- OpenClaw is expensive — why the agent burns through tokens and how to save
- OpenRouter alternative: the same models, many times cheaper
- Best AI model for coding in 2026: comparison and prices
- Cheap alternative to GitHub Copilot without limits
- A cheap Windsurf alternative without credits or limits
- The cheapest API for AI agents in 2026
- JetBrains IDE + JoinGonka Gateway — your own endpoint instead of credits
- GitHub Copilot BYOK — own models instead of quotas
- Zed + JoinGonka Gateway — cheap inference in your editor
- MiniMax Code: MiniMax agent with your own key via Gonka
- Warp + JoinGonka Gateway — terminal agent on your own endpoint
- Trae + JoinGonka Gateway — Gonka network models in AI-IDE
- Cherry Studio + JoinGonka Gateway — desktop AI client
- OpenHands + JoinGonka Gateway: agent on your own endpoint
- Qwen Code after the closure of qwen-oauth: working via JoinGonka Gateway
- Goose + JoinGonka Gateway: your own provider and key in the keyring
- Crush + JoinGonka Gateway: Charm agent on Gonka network models
- Kimi Code CLI: Moonshot AI agent on your key via Gonka
- Factory Droid + JoinGonka Gateway: BYOK on Gonka network models
- MiMo Code + JoinGonka Gateway: Xiaomi agent on Gonka network models
Tools
OpenRouter alternative: the same models, many times cheaper
In short: if on OpenRouter you use open models — GLM, DeepSeek or MiniMax — those same models through JoinGonka Gateway cost many times less. It's a router to the models of the decentralized Gonka network with an OpenAI- and Anthropic-compatible API. GLM-5.3 Flash here is roughly 5 times cheaper than the cheapest provider on OpenRouter, and DeepSeek V4 Flash is 8–10 times cheaper. For coding agents that read almost their entire input from cache, the gap is smaller — the math is below. To switch, you just change the API address, the key and the model names. You can try it for free: sign up — new accounts get 3M tokens.
OpenRouter is stronger where choice matters: more than 400 models, closed-source Claude, GPT and Gemini, images and audio. Below are prices for the same models, where each option wins, what Stripe's acquisition of OpenRouter means for users, and how to switch. OpenRouter prices are taken from its API on November 2, 2026.
What OpenRouter really costs
Model prices on OpenRouter are set by providers — the companies that run the model on their own servers. OpenRouter states that it doesn't add a markup to those prices and instead earns from a commission when you buy credits:
- 5.5% when paying by card (minimum $0.80), 5% — with cryptocurrency (USDC), 8% — on the Business plan;
- your own provider keys (BYOK) — no commission as long as your spend at list price stays under $25,000 per month, then 5%;
- free models — up to 50 requests per day, and up to 1,000 after buying $10 in credits.
A single model on OpenRouter can have dozens of providers: GLM-5.3 Flash has 35, DeepSeek V4 Flash has 23, and the most expensive one charges 7–13 times more than the cheapest. By default OpenRouter picks a provider not only by price but also by speed and reliability, so a request can go to a more expensive one. Only sorting by price guarantees the lowest price: the :floor suffix on the model name or "provider": {"sort": "price"} in the request.
So the fair comparison isn't with the price on the model's card, but with the cheapest provider. That's how we calculate it from here on.
The same models: OpenRouter prices vs. ours
We compare the same model: on OpenRouter — at the lowest price across all its providers, and with us — at the gateway price. Prices per 1M tokens, input / output. OpenRouter prices are from its API as of November 2, 2026; our price on this page is live and moves with the GNK rate.
| Model | OpenRouter, lowest price | JoinGonka Gateway | How many times cheaper (input / output) |
|---|---|---|---|
| GLM-5.3 Flash | $0.0285 / $0.0923 | $0.0062 / $0.019 | ×5 / ×5 |
| DeepSeek V4 Flash | $0.059 / $0.14 | $0.0062 / $0.019 | ×10 / ×8 |
| MiniMax M2.7 | $0.21 / $0.84 | $0.0062 / $0.019 | ×34 / ×45 |
For DeepSeek V4 Flash the cheapest input and the cheapest output come from different providers; the table uses the minimum for each. Our price is the same for all three models, and the gateway commission is already included in it.
MiniMax M2.7 is a model on its way out: MiniMax itself closed its official API to new users on October 19 and is shutting it down on November 18, 2026. For new projects, go with GLM or DeepSeek.
Cache changes the picture. With many providers on OpenRouter, a cache re-read costs several times less than a regular input, and coding agents — Claude Code, OpenCode, Cline — read almost all of their input from cache. We don't have a separate cache price: all input costs the same. So let's run two typical months, each time using the cheapest provider on OpenRouter for that scenario:
| Model | Chat or app: 20M input and 5M output | Coding agent: 100M input (95% from cache) and 1M output |
|---|---|---|
| GLM-5.3 Flash on OpenRouter | $1.03 | $1.65 |
| DeepSeek V4 Flash on OpenRouter | $2.10 | $1.46 |
| MiniMax M2.7 on OpenRouter | $8.40 | $5.88 |
| JoinGonka Gateway, any of the three | $0.22 | $0.64 |
At prices as of November 2, 2026, it works out like this: without cache, GLM and DeepSeek through the gateway are 5–10 times cheaper; for an agent with an active cache, 2–3 times cheaper; MiniMax, 9–39 times cheaper. The amounts in this table don't update on their own — only the per-token price in the table above is live.
Where OpenRouter is better, and where JoinGonka is
OpenRouter is the better choice when you need the variety and capabilities of a large platform:
- Models. Over 400 models from 80+ providers, including closed-source Claude, GPT, and Gemini. JoinGonka offers three open models from the Gonka network: GLM-5.3 Flash, DeepSeek V4 Flash, and MiniMax M2.7.
- Images, audio, and video. OpenRouter has models for those too. Gonka network models handle text only.
- Long context. Many OpenRouter providers let GLM-5.3 Flash and DeepSeek V4 Flash accept up to 1M tokens. Our window is 390K and 380K tokens, with outputs up to 8,192 and 32,768 tokens.
- Provider redundancy. If one provider fails, OpenRouter reroutes the request to another — popular models have dozens of them.
- Discounts and modes. Separate cache pricing at many providers, batch processing (Batch API) — providers typically charge half price for it, bring your own provider keys (BYOK).
- For companies. SSO, contractual SLAs, request processing restricted to the EU or the US only.
- Free models with a daily request limit.
JoinGonka is the better deal if you need GLM, DeepSeek, or MiniMax:
- Price. The same models at many times cheaper than the cheapest OpenRouter provider (see the calculation above).
- One price. No need to pick a provider based on price: all three models cost the same, and the gateway fee is already included.
- Free start. New accounts get 3M tokens on the same models, no card required.
- Payment. By card via a partner, in USDT or GNK. Top-ups in GNK carry no fee from us; in USDT it's 5% down to 2.5% depending on the amount.
- App integration. The installer
npx @joingonka/setupknows 25 apps: for Claude Code, Codex CLI, OpenCode, and others it writes the endpoint, key, and model into the config itself, and for Cursor, Cline, and those where you enter the key in a settings window, it outputs ready-to-use values.
| What you need | What to choose |
|---|---|
| Claude, GPT, Gemini, or hundreds of models to choose from | OpenRouter |
| Images, audio, or video | OpenRouter |
| Context over 390K tokens | OpenRouter |
| GLM, DeepSeek, or MiniMax for agents and code — as cheap as possible | JoinGonka Gateway |
| Payment in GNK or USDT | JoinGonka Gateway |
| Both | Both: open models via JoinGonka, everything else via OpenRouter |
Stripe buys OpenRouter: what it means for users
On August 19, 2026, Stripe announced it had agreed to buy OpenRouter. The companies did not disclose the sum; according to Bloomberg, it is more than $7 billion. OpenRouter had already been handling its accounts and payments through Stripe before the deal.
In its blog, OpenRouter promised that the service would continue to operate as before: the same name, the same product, and the same plans, with no need to change integrations. According to the company, the provider for each request will still be chosen in the user's interest — regardless of models, providers, or owner. The deal was expected to close "in the coming weeks"; as of November 2, 2026, neither Stripe nor OpenRouter had announced a closing.
What this means in practice:
- Nothing changes right now. Keys, models, provider prices, and the top-up fee remain the same.
- Model prices are still set by providers. The companies have not announced new rates after the deal.
- What happens after the deal closes is currently known only from the companies' statements. If it matters to you not to depend on a single platform, keep the API address and model name in your settings, not in your code. Then switching providers is a single line: from OpenRouter to any OpenAI-compatible gateway, including ours, and back.
How to switch from OpenRouter to JoinGonka
The gateway understands the same request formats as OpenRouter: OpenAI Chat Completions and Responses, plus Anthropic Messages. Three things change — the address, the key, and the model names.
Step 1. The key. Sign up for JoinGonka Gateway — after email confirmation, new accounts get 3M free tokens — and create a jg-… key in your dashboard.
Step 2. Address and key. In code using the OpenAI SDK it looks like this (comments show what was on OpenRouter):
from openai import OpenAI
client = OpenAI(
base_url="https://gate.joingonka.ai/v1", # was https://openrouter.ai/api/v1
api_key="jg-your-key", # was sk-or-v1-...
)
response = client.chat.completions.create(
model="zai-org/GLM-5.3-Flash", # was z-ai/glm-5.3-flash
messages=[{"role": "user", "content": "Say hello in one sentence."}],
)
print(response.choices[0].message.content)Step 3. Model names. The gateway does not accept OpenRouter identifiers: it will respond with a 400 error listing the available models. Replace them using the table (case doesn't matter):
| Model | On OpenRouter | In JoinGonka |
|---|---|---|
| GLM-5.3 Flash | z-ai/glm-5.3-flash | zai-org/GLM-5.3-Flash |
| DeepSeek V4 Flash | deepseek/deepseek-v4-flash-0731 | deepseek-ai/DeepSeek-V4-Flash-0731 |
| MiniMax M2.7 | minimax/minimax-m2.7 | MiniMaxAI/MiniMax-M2.7 |
Fields that only exist on OpenRouter (provider, models, transforms) are not used by the gateway: requests with them go through and they don't affect the response. If the model field is not specified, GLM-5.3 Flash responds.
Step 4. Programs. For agents and code editors there is an installer. It will ask for the key, then write the address, key, and model into the program's config itself or show you what to paste into its settings:
npx @joingonka/setupIt knows 25 programs. Programs on the Anthropic protocol, like Claude Code, need the address https://gate.joingonka.ai without /v1 — on OpenRouter that's https://openrouter.ai/api. For details, see the guide Claude Code cheaper; all addresses, protocols, and parameters are in the Gonka API reference.
Step 5. You can keep OpenRouter. Nothing stops you from using both: open models through the gateway, Claude, GPT, and images through OpenRouter. They have separate keys and balances.
Frequently asked questions
Does OpenRouter mark up model prices? According to its own terms — no: provider prices pass through without markup. OpenRouter charges a commission when you buy credits — 5.5% by card (minimum $0.80), 5% by crypto, and 8% on the Business plan.
Why are the same models cheaper through JoinGonka? The gateway pulls them from the decentralized Gonka network: requests are processed by GPUs of independent hosts, and the network itself rewards them for computation in GNK tokens. Our per-token price is the same for all three models, including all gateway fees.
Can I start for free? OpenRouter has free models with a limit of up to 50 requests per day. In JoinGonka, new accounts get 3M tokens on the same paid models — GLM, DeepSeek, and MiniMax.
Want to learn more?
Explore other sections or start earning GNK right now.
Try via JoinGonka Gateway →