Gemini API

Gemini API through NekoRouter: gemini-3.1-pro and Flash over the OpenAI-compatible API and native /v1beta. Pay with USDT/USDC from $1.

The same models as the official API, at relay prices. A NekoRouter key works with the OpenAI SDK and with the google-genai SDK (native /v1beta).

Step-by-step guide: Gemini on NekoRouter

Models and prices

Model Input Output Cache read Cache write
gemini-3.1-pro 0.36 2.16 0.036 —
gemini-3.8-flash 0.135 0.675 0.0135 —
gemini-3.7-flash 0.135 0.675 0.0135 —

Prices are USD per 1M tokens, as of 2026-10-27 (https://nekorouter.cc/pricing). "—" means the rate does not apply.

Quick start

  1. https://nekorouter.cc/sign-up → Wallet → Top up → Keys → API keys → Create API key.
  2. Call it with google-genai:
from google import genai
from google.genai import types
client = genai.Client(api_key="sk-...",
    http_options=types.HttpOptions(base_url="https://nekorouter.cc"))
r = client.models.generate_content(model="gemini-3.8-flash", contents="Hello!")
print(r.text)

Give the base URL without /v1beta — the SDK adds it (otherwise 404). With the OpenAI SDK: base_url="https://nekorouter.cc/v1", model="gemini-3.1-pro".

Payment

Payment is USDT (BEP20, TRC20) and USDC (BEP20, Polygon, Solana) only. Minimum top-up is $1; an invoice is valid for 20 minutes. Sign up with a username and password at https://nekorouter.cc/sign-up, no email confirmation. New users get $1.

FAQ

Is the native Gemini format supported? Yes: /v1beta paths, auth with x-goog-api-key, ?key= or Bearer.

Support: Telegram @nekorouter_cc.