Docs / Gemini (SDK / protocol)

Gemini (SDK / protocol)

Gemini-native (/v1beta)

Native Gemini protocol (Google GenAI SDK / compatible apps).

Base URL
https://api.llmapi.pro:99
API Key
sk-... (create in Console → API Keys)
Recommended
claude-opus-4-8 · claude-sonnet-4-6 · claude-haiku-4-5

Setup steps

  1. We expose a native Gemini-compatible endpoint: path /v1beta/models/{model}:generateContent, auth via the x-goog-api-key header or ?key= with your sk-....
  2. With the Google GenAI SDK (Python), just point the base URL at us:
from google import genai
from google.genai import types

client = genai.Client(
    api_key="sk-YOUR_KEY",
    http_options=types.HttpOptions(base_url="https://api.llmapi.pro:99"),
)
resp = client.models.generate_content(
    model="gemini-3.1-pro",
    contents="Hello",
)
print(resp.text)
  1. Or verify with curl:
curl "https://api.llmapi.pro:99/v1beta/models/gemini-3.1-pro:generateContent" \
  -H "x-goog-api-key: sk-YOUR_KEY" \
  -H "content-type: application/json" \
  -d '{"contents":[{"parts":[{"text":"Hello"}]}]}'

Notes

Client not listed? Any "OpenAI-compatible" app works: Base URL = https://api.llmapi.pro:99/v1, key = your sk-..., type the model name. Or email [email protected].
Need help? Email [email protected] · Home