This repository provides runnable GonkaGate examples for developers who need a fast path from API key to production-ready integration.
GonkaGate is an OpenAI-compatible API gateway to Gonka Network with USD billing. Most integrations work by changing api_key and base_url/baseURL.
- Reduce time to first successful request to 5-10 minutes.
- Validate chat and streaming flows with copy-paste commands.
- Reuse production-style examples for web apps and agents.
- Standardize handling for
401,402,429, and503errors.
- Clone this repository.
- Choose an example from
sdk/orexamples/. - Copy
.env.exampleto.envin that folder. - Set
GONKAGATE_API_KEYandGONKAGATE_MODEL. - Run the commands from that example README.
/
README.md
AGENTS.md
.github/
workflows/ci.yml
sdk/
<language>/<example-name>/
examples/
<example-name>/
agents/<example-name>/
- cURL Chat Completions
- C# OpenAI Chat
- C# OpenAI Streaming
- Go OpenAI Chat
- Go OpenAI Streaming
- Java OpenAI Chat
- Java OpenAI Streaming
- Node.js OpenAI Chat
- Node.js OpenAI Streaming
- Python OpenAI Chat
- Python OpenAI Streaming
- Next.js Vercel AI SDK Chat
- Cross-Platform CLI Chat (Go)
- LangChain Basic Agent
- LangChain Streaming Agent
- LangChain Structured Output Agent
- Python SDK docs
- TypeScript SDK docs (Node.js)
- Go SDK docs
- .NET SDK docs (C#)
- Java SDK docs
- cURL setup path
Each example folder should include:
README.mdwith setup, run commands, expected output, and troubleshooting..env.examplewith placeholders only.- Self-contained source files that run independently.
- Gonka API
- GonkaGate SDK Overview
- Quickstart Guide
- API Reference
- Available Models
- Pricing
- Public Chat Playground
- SDK index: sdk/README.md
- Examples index: examples/README.md
- Contributing guide: CONTRIBUTING.md
- Support: SUPPORT.md
- Security policy: SECURITY.md
Apache-2.0. See LICENSE.