Skip to main content

Gonka API Documentation

Access Gonka Network models through GonkaGate's OpenAI-compatible API. Get started in minutes with familiar tools.

https://api.gonkagate.com/v1
Try in Playground

Installation

Install the official OpenAI SDK — GonkaGate is fully compatible:

python
pip install openai

Authentication

Get your API key from the Dashboard and use it in the Authorization header:

Authorization: Bearer gp-your-api-key

Your First Request

Use the standard OpenAI SDK with GonkaGate's base_url:

main.py
from openai import OpenAI

client = OpenAI(
    base_url="https://api.gonkagate.com/v1",
    api_key="your-gonkagate-api-key"
)

response = client.chat.completions.create(
    model="Qwen/Qwen3-235B",
    messages=[{"role": "user", "content": "Hello, Gonka!"}]
)

print(response.choices[0].message.content)

What's Different from OpenAI

GonkaGate uses the same API format as OpenAI. Key differences:

Base URL
OpenAI
api.openai.com/v1
GonkaGate
api.gonkagate.com/v1
Model format
OpenAI
gpt-4o
GonkaGate
Provider/Model
Key prefix
OpenAI
sk-...
GonkaGate
gp-...
Billing
OpenAI
Subscription + usage
GonkaGate
Usage only
Was this page helpful?