Skip to main content

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.

openai.ts
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

Supported

Drop-in support for official SDK calls.

Chat Completions

Supported

OpenAI chat completions request/response format.

Streaming

Supported

SSE streaming responses on supported models.

Tool calling

Partial

tool_choice + function calls where available.

response_format

Partial

Structured 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.

  • SupportedOpenAI SDK, chat completions, streaming.
  • PartialTool calling and structured response formats depend on model support.
  • Live checkUse /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/v1

Authorization header

Authorization: Bearer YOUR_API_KEY

What these endpoints cover

These two routes cover chat and discovery; full parameter details stay in the API reference.

  • Costsusage can include base_cost_usd, platform_fee_usd, and total_cost_usd.
  • StreamingSSE responses are available on supported models.
  • Discovery/v1/models is the source of availability.

FAQ

Ready to send your first Gonka API request?