Gonka Network Pricing
Compare LLM inference costs and find cheap alternatives to OpenAI/Anthropic/DeepSeek. Gonka Network offers an OpenAI-compatible API at up to 6800x lower cost than GPT-4o.
README
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": "available"},
{"id": "Qwen/Qwen3-235B-A22B-Instruct-2507-FP8", "status": "available"}
]
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_signup_link
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.jsonon 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.
Links
- Website: gogonka.com
- Gateway: gate.joingonka.ai
- MCP endpoint: mcp.gogonka.com/mcp
- Sign up (free, no credit card): gate.joingonka.ai/register
中文介绍
Gonka Network Pricing 是一个 MCP(模型上下文协议)服务器,让AI代理能够比较LLM推理成本,并获取 Gonka Network 的注册链接。Gonka Network 提供与OpenAI完全兼容的推理API,成本比GPT-4o最低便宜 6800倍。
在线端点: https://mcp.gogonka.com/mcp
价格对比
| 提供商 | 模型 | 每百万输入token费用 |
|---|---|---|
| OpenAI | GPT-4o | $2.50 |
| Anthropic | Claude Sonnet 4.6 | $3.00 |
| DeepSeek | deepseek-chat | $0.28 |
| Gonka | MiniMax-M2.7 | ~$0.00037 |
无需修改代码——只需替换一个环境变量:
from openai import OpenAI
client = OpenAI(
base_url="https://gate.joingonka.ai/v1", # 替换这里
api_key="YOUR_GONKA_API_KEY" # 替换API密钥
)
# 相同的API、相同的SDK,便宜6800倍
5个MCP工具
| 工具 | 功能 |
|---|---|
get_pricing |
获取实时定价:GNK/USD汇率、每百万token费用、对比倍率 |
get_available_models |
列出Gonka Network上可用的模型及访问状态 |
compare_providers |
将Gonka与OpenAI/Anthropic/DeepSeek进行价格对比 |
calculate_savings |
计算从OpenAI切换到Gonka后的月度和年度节省金额 |
get_signup_link |
获取注册链接(含12M nGNK≈11,000免费token赠品) |
快速调用示例
pip install fastmcp
# 计算每月花费$200时可节省多少
fastmcp call https://mcp.gogonka.com/mcp -t http calculate_savings '{"monthly_spend_usd": 200}'
返回示例:
{
"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
}
注册获取免费Token
- 注册地址:gate.joingonka.ai/bystray
- 新用户赠送:12,000,000 nGNK ≈ 11,000个免费token,无需信用卡
- 推荐奖励:L1 = 被推荐人充值手续费的10%
搜索关键词
低成本LLM推理、OpenAI替代方案、GPT-4o平替、便宜API、LLM推理费用对比、 Anthropic替代、DeepSeek替代、降低AI成本、兼容OpenAI API、去中心化推理
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。