Docs / Gemini (SDK / protocol)

Gemini (SDK / protocol)

Gemini-native (/v1beta)

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

Base URL
https://llmapi.pro
API Key
sk-... (create in Console → API Keys)
Choose a model
Copy the exact model ID from the subscription model list or pay-as-you-go channels, and check that your client protocol supports it. The model catalogue labels each model’s billing mode.
A monthly subscription uses a subscription key, with supported models sharing the plan quota. Pay-as-you-go API billing uses a separate key and balance. Select the matching key type in the Console, then configure your client protocol. Topping up API credit does not increase subscription quota.

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://llmapi.pro"),
)
resp = client.models.generate_content(
    model="gemini-3.1-pro",
    contents="Hello",
)
print(resp.text)
  1. Or verify with curl:
curl "https://llmapi.pro/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://llmapi.pro/v1, key = your sk-..., type the model name. Or email support@llmapi.pro.
Need help? Email support@llmapi.pro · Home