# JoinGonka Gateway > OpenAI- and Anthropic-compatible API to the Gonka decentralized AI network — the same open-source models cost tens to hundreds of times more elsewhere. 3M free tokens on signup, no crypto or wallet required. > > OpenAI base URL `https://gate.joingonka.ai/v1`; Anthropic base URL `https://gate.joingonka.ai` (without `/v1`). API key in the `Authorization: Bearer ` or `x-api-key: ` header; a person creates it at https://gate.joingonka.ai/keys. ## For AI agents - [Setup instructions for AI agents](https://gate.joingonka.ai/docs/agents.md): connect a coding tool or SDK step by step: rules, facts, one-command setup, verification, troubleshooting. - [Agent skill](https://gate.joingonka.ai/.well-known/agent-skills/joingonka-gateway/SKILL.md): the same instructions as an installable skill: `npx skills add https://gate.joingonka.ai`. - [Full documentation](https://gate.joingonka.ai/llms-full.txt): every documentation page in English in one Markdown file. ## Documentation - [Overview](https://gate.joingonka.ai/docs.md): Connect Claude Code, Cursor, or your own code to Gonka network models through an OpenAI- and Anthropic-compatible API. The same open models at a fraction of the cost, with free tokens when you sign up. - [API](https://gate.joingonka.ai/docs/api.md): Reference for the OpenAI- and Anthropic-compatible API to Gonka network models: keys, parameters, streaming, tools, plugins. Free tokens when you sign up. - [Models](https://gate.joingonka.ai/docs/models.md): Gonka network models in a single API: id for the model field, context, output limit, pricing, and status. The same open models at a fraction of the cost. - [Errors & Rate Limits](https://gate.joingonka.ai/docs/errors.md): Gateway error codes, request limits, and timeouts: what each response means and when to retry your request. - [Pricing & Account](https://gate.joingonka.ai/docs/billing.md): Gonka network models priced per token: free tokens to start, top up with GNK, USDT, or a card, all fees out in the open, and an account API to track your spending. - [For Agents](https://gate.joingonka.ai/docs/agents.md): Hand the link to your AI agent and it will connect Claude Code, Cursor, or Codex to Gonka network models on its own: ready-made prompt, guide, and skill. ## API endpoints - [POST /v1/chat/completions](https://gate.joingonka.ai/docs/api.md): OpenAI Chat Completions; base URL `https://gate.joingonka.ai/v1`. - [POST /v1/responses](https://gate.joingonka.ai/docs/api.md): OpenAI Responses API without server-side state: send the whole conversation in `input`. - [POST /v1/messages](https://gate.joingonka.ai/docs/api.md): Anthropic Messages; base URL `https://gate.joingonka.ai` without `/v1` (the SDK appends `/v1/messages`). - [POST /v1/completions](https://gate.joingonka.ai/docs/api.md): Legacy OpenAI Completions: raw `prompt` in, `choices[].text` out (editor autocomplete and inline edits). - [GET /v1/models](https://gate.joingonka.ai/v1/models): Models the gateway serves right now, OpenAI format. - [GET /v1/models/{model}](https://gate.joingonka.ai/docs/models.md): One model card. Model ids contain `/`: send the id as is or with `%2F`. - [GET /v1/capabilities](https://gate.joingonka.ai/v1/capabilities): Feature flags, supported parameters, endpoints and models as JSON. Includes `limits`: rate limits, timeouts, request size and max_tokens per model. - [GET /v1/plugins](https://gate.joingonka.ai/v1/plugins): Inference plugins a request can enable. - [GET /v1/nodes](https://gate.joingonka.ai/v1/nodes): Summary of the Gonka node pool behind the gateway: size, active and quarantined nodes, epoch. - [GET /v1/web-search/engines](https://gate.joingonka.ai/v1/web-search/engines): Health of the search engines behind the `web` plugin. - [Feature flags](https://gate.joingonka.ai/v1/capabilities): tool calling: yes; streaming (SSE): yes; function calling: yes; JSON mode (`response_format: json_object`): yes; structured outputs (`response_format: json_schema`): yes; image input (vision): no; web search (plugin `web`): yes; request cost in `usage`: yes; cost fields: cost_gnk, platform_fee_gnk, total_cost_gnk, total_cost_usd (GNK); plugins: response-healing, privacy-sanitization, file-parser, web. - [Request parameters](https://gate.joingonka.ai/docs/api.md): supported: temperature, top_p, top_k, min_p, frequency_penalty, presence_penalty, repetition_penalty, stop, seed, max_tokens, max_completion_tokens, tools, tool_choice, response_format. ## Models - [Live model list](https://gate.joingonka.ai/v1/models): the models the gateway serves right now (OpenAI format); the list below is a snapshot taken at build time. - [MiniMax M2.7](https://gate.joingonka.ai/docs/models.md): `MiniMaxAI/MiniMax-M2.7`; context window 200000 tokens; max output 8192 tokens; recommended; used when `model` is omitted. - [DeepSeek V4 Flash](https://gate.joingonka.ai/docs/models.md): `deepseek-ai/DeepSeek-V4-Flash-0731`; context window 380000 tokens; max output 32768 tokens. - [GLM 5.3 Flash](https://gate.joingonka.ai/docs/models.md): `zai-org/GLM-5.3-Flash`; context window 390000 tokens; max output 8192 tokens. ## Status and pricing - [Network status](https://gate.joingonka.ai/status): Real-time availability of Gonka network models: latencies, uptime for the day and week, incident history for 48 hours. - [Status API](https://gate.joingonka.ai/v1/network-status): per-model availability, latency and incidents as JSON. - [Pricing API](https://gate.joingonka.ai/api/pricing): live per-model prices, fees and the GNK rate as JSON; no key needed. - [Updates](https://gate.joingonka.ai/updates): What's new in JoinGonka Gateway: new Gonka network models, API changes, pricing and limits, incidents and their analysis. ## Integration guides - [Cursor](https://joingonka.ai/en/knowledge/cursor/): step-by-step setup with this gateway; installer: `--tool cursor`. - [Claude Code](https://joingonka.ai/en/knowledge/claude-code/): step-by-step setup with this gateway; installer: `--tool claude-code`. - [OpenClaw](https://joingonka.ai/en/knowledge/openclaw/): step-by-step setup with this gateway; installer: `--tool openclaw`. - [OpenCode](https://joingonka.ai/en/knowledge/opencode/): step-by-step setup with this gateway; installer: `--tool opencode`. - [Continue](https://joingonka.ai/en/knowledge/continue-dev/): step-by-step setup with this gateway; installer: `--tool continue`. - [Cline](https://joingonka.ai/en/knowledge/cline/): step-by-step setup with this gateway; installer: `--tool cline`. - [Aider](https://joingonka.ai/en/knowledge/aider/): step-by-step setup with this gateway; installer: `--tool aider`. - [LangChain](https://joingonka.ai/en/knowledge/langchain/): step-by-step setup with this gateway. - [n8n](https://joingonka.ai/en/knowledge/n8n/): step-by-step setup with this gateway. - [Open WebUI](https://joingonka.ai/en/knowledge/open-webui/): step-by-step setup with this gateway. - [LibreChat](https://joingonka.ai/en/knowledge/librechat/): step-by-step setup with this gateway. - [Hermes](https://joingonka.ai/en/knowledge/hermes/): step-by-step setup with this gateway; installer: `--tool hermes`. - [Kilo Code](https://joingonka.ai/en/knowledge/kilo-code/): step-by-step setup with this gateway; installer: `--tool kilo`. - [Roo Code](https://joingonka.ai/en/knowledge/roo-code/): step-by-step setup with this gateway; installer: `--tool roo`. - [LlamaIndex](https://joingonka.ai/en/knowledge/llamaindex/): step-by-step setup with this gateway. - [PydanticAI](https://joingonka.ai/en/knowledge/pydantic-ai/): step-by-step setup with this gateway. - [Vercel AI SDK](https://joingonka.ai/en/knowledge/vercel-ai-sdk/): step-by-step setup with this gateway. - [TanStack AI](https://joingonka.ai/en/knowledge/tanstack-ai/): step-by-step setup with this gateway. - [ZCode](https://joingonka.ai/en/knowledge/zcode/): step-by-step setup with this gateway; installer: `--tool zcode`. - [JetBrains](https://joingonka.ai/en/knowledge/jetbrains/): step-by-step setup with this gateway; installer: `--tool jetbrains`. - [Copilot BYOK](https://joingonka.ai/en/knowledge/copilot-byok/): step-by-step setup with this gateway; installer: `--tool copilot-byok`. - [Zed](https://joingonka.ai/en/knowledge/zed/): step-by-step setup with this gateway; installer: `--tool zed`. - [Pi](https://joingonka.ai/en/knowledge/pi/): step-by-step setup with this gateway; installer: `--tool pi`. - [Codex CLI](https://joingonka.ai/en/knowledge/codex/): step-by-step setup with this gateway; installer: `--tool codex`. - [DeepSeek Harness](https://joingonka.ai/en/knowledge/deepseek-harness/): step-by-step setup with this gateway. - [MiniMax Code](https://joingonka.ai/en/knowledge/minimax-code/): step-by-step setup with this gateway; installer: `--tool minimax-code`. - [Warp](https://joingonka.ai/en/knowledge/warp/): step-by-step setup with this gateway. - [Trae](https://joingonka.ai/en/knowledge/trae/): step-by-step setup with this gateway. - [Cherry Studio](https://joingonka.ai/en/knowledge/cherry-studio/): step-by-step setup with this gateway. - [omp (Oh My Pi)](https://joingonka.ai/en/knowledge/omp/): step-by-step setup with this gateway; installer: `--tool omp`. - [OpenHands](https://joingonka.ai/en/knowledge/openhands/): step-by-step setup with this gateway. - [Qwen Code](https://joingonka.ai/en/knowledge/qwen-code/): step-by-step setup with this gateway; installer: `--tool qwen-code`. - [Goose](https://joingonka.ai/en/knowledge/goose/): step-by-step setup with this gateway; installer: `--tool goose`. - [Crush](https://joingonka.ai/en/knowledge/crush/): step-by-step setup with this gateway; installer: `--tool crush`. - [Zoo Code](https://joingonka.ai/en/knowledge/zoo-code/): step-by-step setup with this gateway; installer: `--tool zoo`. - [Kimi Code](https://joingonka.ai/en/knowledge/kimi-code/): step-by-step setup with this gateway; installer: `--tool kimi-code`. - [Factory Droid](https://joingonka.ai/en/knowledge/factory-droid/): step-by-step setup with this gateway; installer: `--tool droid`. - [MiMo Code](https://joingonka.ai/en/knowledge/mimo-code/): step-by-step setup with this gateway; installer: `--tool mimo-code`. ## Optional - [Privacy Policy](https://gate.joingonka.ai/privacy): What data JoinGonka Gateway collects, why, and for how long. Prompts and responses are not stored, usage statistics are kept for 90 days. - [Terms of Use](https://gate.joingonka.ai/terms): Terms of use for the JoinGonka API gateway to the Gonka network: token-based pricing, deposits in GNK and USDT, limitations and liability of the parties.