Gonka Network, billed in USD
Gonka API
Gonka API is the GonkaGate overview page for Gonka Network API access. If you’re looking for Gonka AI API, this is the right starting point: OpenAI-compatible requests, prepaid USD billing, clear cost fields, and direct paths to quickstart, reference, pricing, and live models. Quickstart gets you from API key to first request.
- OpenAI-compatible requests and SDKs
- Prepaid USD balance instead of wallets or tokens
- Per-response cost fields: network cost + platform fee
- One hub that routes you to quickstart, API reference, pricing, and models
Need exact schemas, streaming behavior, and error payloads? API Reference covers parameters, streaming, and models.
Endpoints
POST /v1/chat/completions
Auth
Bearer API key
Streaming
SSE responses
Tool calling
tool_choice + function calls
Models
See /v1/models
Need official Gonka Network protocol or network docs? Use gonka.ai.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.gonkagate.com/v1",
apiKey: "YOUR_API_KEY"
});
const response = await client.chat.completions.create({
model: "qwen/qwen3-32b-fp8",
messages: [{ role: "user", content: "..." }]
});
const { usage } = response;
console.log(
usage?.base_cost_usd,
usage?.platform_fee_usd,
usage?.total_cost_usd
);What is Gonka API on GonkaGate?
Use this page as the main overview for Gonka API and Gonka AI API access via GonkaGate.
Gonka API on GonkaGate is the developer-facing gateway to Gonka Network. You keep an OpenAI-style request surface, but replace wallet and token operations with prepaid USD billing and API key authentication.
Use this owner page when you need the product overview first, then move to Quickstart for the first request, API Reference for shared contract details, Pricing for billing rules, and Models for live availability.
What stays familiar
Chat completions, streaming, and SDK flows stay close to the OpenAI-style developer path.
What GonkaGate adds
Prepaid USD balance, API key auth, and usage fields such as base_cost_usd, platform_fee_usd, and total_cost_usd.
What to verify live
Use GET /v1/models to confirm current model IDs and live availability before automation or rollout.
What the Gonka API surface supports today
Supported request patterns at a glance; full parameter details stay in the API reference.
OpenAI SDK
SupportedDrop-in support for official SDK calls.
Chat Completions
SupportedOpenAI chat completions request/response format.
Streaming
SupportedSSE streaming responses on supported models.
Tool calling
Partialtool_choice + function calls where available.
response_format
PartialStructured response format for supported models.
Ready now vs model-dependent
This page stays at overview level; use the spoke pages when you need implementation detail.
- Supported — OpenAI SDK, chat completions, streaming.
- Partial — Tool calling and structured response formats depend on model support.
- Live check — Use /v1/models to confirm live availability.
Not supported yet
- Image endpoints
- Video endpoints
- Audio endpoints
Core Gonka API endpoints
The main request surface at a glance; full schemas stay in the API reference.
Shared request basics
Base URL
https://api.gonkagate.com/v1Authorization header
Authorization: Bearer YOUR_API_KEYChat completions request with streaming where supported.
Model list plus live availability.
What these endpoints cover
These two routes cover chat and discovery; full parameter details stay in the API reference.
- Costs — usage can include base_cost_usd, platform_fee_usd, and total_cost_usd.
- Streaming — SSE responses are available on supported models.
- Discovery —
/v1/modelsis the source of availability.
Open the right Gonka API page next
After the overview, go straight to the setup, reference, billing, auth, migration, or models page you actually need.
Quickstart
Send the first request and verify API key, base URL, and model ID.
API Reference
Open the shared contract, endpoint details, parameters, streaming, and errors.
Authentication
API key setup, Authorization header usage, and key-handling basics.
Migration guide
Switch an existing OpenAI-compatible integration to GonkaGate without guessing the next step.
Pricing details
See billing rules, network cost + platform fee logic, and worked examples.
Models catalog
Check live model IDs and current availability on Gonka Network.