AI Gateway/Documentation
Integration Guide

Connect to AI Gateway

Universal OpenAI-compatible endpoint. Works with any app or SDK.

Base URL
https://key.q3dtech.ru/v1
Auth Header
Authorization: Bearer sk_live_...

OpenCode

Add to your opencode.json or ~/.config/opencode/config.json:

{
  "providers": {
    "custom": {
      "name": "AI Gateway",
      "apiKey": "sk_live_your_universal_key_here",
      "baseURL": "https://key.q3dtech.ru/v1",
      "models": ["gpt-4o", "claude-3-5-sonnet-20241022"]
    }
  }
}