Skip to content

Direct Keys

Direct keys let you connect to the Gonka GPU network directly using the Gonka SDK. Your inference traffic goes peer-to-peer — Gonka Broker only manages billing and key lifecycle.

Your app → Gonka GPU Network → Response
Gonka Broker (billing only)
  1. Your application uses the Gonka SDK with your direct key
  2. Inference requests go directly from your app to the GPU network
  3. Gonka Broker tracks usage for billing purposes but never sees your prompts or responses
  • Lower latency — no proxy hop; your requests go straight to the network
  • Maximum privacy — prompts and completions never pass through Gonka Broker’s servers
  • Full SDK access — use all features of the Gonka SDK, not just the OpenAI-compatible subset

Direct keys are designed for developers building their own products on top of the Gonka network. Use them when:

  • You are integrating the Gonka SDK into your application
  • You want peer-to-peer inference without a proxy
  • Privacy is a critical requirement and you want zero intermediaries

If you want OpenAI drop-in compatibility or plan to use third-party tools, use a managed key instead.

FeatureManaged keyDirect key
ProtocolOpenAI-compatible APIGonka SDK
Traffic routingThrough Gonka Broker proxyPeer-to-peer
Prompt visibilityBroker forwards but does not storeBroker never sees prompts
Key rotationSupportedNot supported (archive and re-create)
Use with third-party toolsYesNo
  • Direct key secrets should be treated as sensitive credentials
  • If a key is compromised, archive it immediately and create a new one
  • Direct keys cannot be rotated — archiving is permanent