Skip to main content
Glama
bystray

Gonka Network Pricing

Gonka Network Pricing — MCP Server

An MCP (Model Context Protocol) server that lets AI agents compare LLM inference costs and get sign-up links for Gonka Network — an OpenAI-compatible inference API up to 6800× cheaper than GPT-4o.

Live endpoint: https://mcp.gogonka.com/mcp


Why Gonka?

Provider

Model

$/1M input tokens

OpenAI

GPT-4o

$2.50

Anthropic

Claude Sonnet 4.6

$3.00

DeepSeek

deepseek-chat

$0.28

Gonka

MiniMax-M2.7

~$0.00037

Zero code changes needed — swap one environment variable:

from openai import OpenAI

client = OpenAI(
    base_url="https://gate.joingonka.ai/v1",
    api_key="YOUR_GONKA_API_KEY"
)
# Same API, same SDK, 6800× cheaper

MCP Tools

get_pricing

Returns live pricing: GNK/USD rate, cost per 1M tokens, comparison ratios, deposit example.

{
  "usd_per_1m_tokens": 0.000370,
  "vs_openai_ratio": 6749,
  "vs_deepseek_ratio": 756,
  "deposit_50_usd_tokens": 128000000000
}

get_available_models

Lists models available on Gonka Network with their access status.

[
  {"id": "MiniMaxAI/MiniMax-M2.7", "status": "available"},
  {"id": "moonshotai/Kimi-K2.6",   "status": "restricted"},
  {"id": "Qwen/Qwen3-235B-A22B-Instruct-2507-FP8", "status": "restricted"}
]

compare_providers

Compare Gonka against a competitor provider.

Parameters: provider — one of "openai", "anthropic", "deepseek" (default: "openai")

{
  "gonka_usd_per_1m_input": 0.000370,
  "competitor_usd_per_1m_input": 2.50,
  "gonka_is_cheaper_by": "6749x"
}

calculate_savings

Calculate monthly and annual savings when switching from OpenAI to Gonka.

Parameters: monthly_spend_usd — your current OpenAI spend in USD

{
  "current_monthly_spend_usd": 200,
  "gonka_monthly_cost_usd": 0.0296,
  "monthly_savings_usd": 199.97,
  "annual_savings_usd": 2399.64,
  "savings_percentage": 99.9,
  "signup_url": "https://gate.joingonka.ai/register?ref=..."
}

Get the Gonka sign-up URL with referral bonus (12,000,000 nGNK ≈ 11,000 free tokens) and a Python quick-start snippet.


Connecting to the server

Claude Desktop / claude.ai

Add to your MCP settings:

{
  "mcpServers": {
    "gonka-pricing": {
      "url": "https://mcp.gogonka.com/mcp",
      "transport": "http"
    }
  }
}

Python (MCP SDK)

from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client

async with streamablehttp_client("https://mcp.gogonka.com/mcp") as (r, w, _):
    async with ClientSession(r, w) as session:
        await session.initialize()
        result = await session.call_tool("calculate_savings", {"monthly_spend_usd": 200})
        print(result)

fastmcp CLI

pip install fastmcp
fastmcp call https://mcp.gogonka.com/mcp -t http calculate_savings '{"monthly_spend_usd": 200}'

curl (Streamable HTTP)

# Step 1 — initialize session
SESSION=$(curl -sD - -X POST https://mcp.gogonka.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}},"id":1}' \
  | grep -i mcp-session-id | awk '{print $2}' | tr -d '\r')

# Step 2 — call a tool
curl -s -X POST https://mcp.gogonka.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Mcp-Session-Id: $SESSION" \
  -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"calculate_savings","arguments":{"monthly_spend_usd":200}},"id":2}'

Pricing data freshness

  • GNK/USD rate — updated every 10 minutes from the Gonka Network API

  • Competitor prices (OpenAI, Anthropic, DeepSeek) — updated daily from the LiteLLM pricing database

  • All prices served from /var/www/gogonka/pricing.json on the server


Self-hosting

git clone https://github.com/gogonka/gonka-mcp-server
cd gonka-mcp-server
pip install -r requirements.txt
python server.py
# Server starts on http://127.0.0.1:8643

The server reads pricing data from /var/www/gogonka/pricing.json. For a standalone deployment, replace PRICING_FILE in server.py with your own pricing JSON path or fetch prices directly from the Gonka Network API.


F
license - not found
-
quality - not tested
C
maintenance

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bystray/gonka-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server