Quick Start
Make your first request after creating an API key.
Get started
Gemini API guide — models with -c use per-request billing; models without -c use token-based billing.
Default API endpoint:
https://api.llmnex.comHong Kong acceleration endpoint: https://hk.llmnex.com. Change only the host; keep the API path unchanged. https://www.llmnex.com is the console, not an API endpoint. See Endpoints & Authentication.
Only Gemini models are currently supported. Models with the -c suffix use per-request billing; models without -c use token-based billing. Use the exact names from the models available to your key. Prices and actual charges are determined by the console and your account bill.
| Integration | Notes |
|---|---|
HTTP generateContent | Use our endpoint and key, and explicitly request IMAGE output |
| Google Gemini SDK | Configure the endpoint, key and output modality for your SDK; changing only the URL is not guaranteed to work with every version |
Check compatibility limits before integrating
A compatible interface does not mean that every official parameter takes effect. Allow sufficient client timeout and review the Gemini parameter limitations.