About the Google API
Gemini API models on llmbox
llmbox gives you Google's Gemini models with one key and one base URL, alongside models from other vendors. You don't need a Google account, an AI Studio key or a Google Cloud project, and usage across all models is deducted from a single prepaid balance as you go. Every request appears in the request log with its status and cost, so comparing Gemini with other vendors on the same workload is straightforward.
The catalog covers three areas: text, images and video.
- Gemini 4 Argon — Google's flagship reasoning model for complex code, agents, math and science;
- Gemini 4 Hydrogen — a fast Gemini 4 generation model for everyday coding and agents, Google's recommended upgrade from 3.8 Flash;
- Gemini 3.8 Flash — the newest Flash model, which Google describes as the most intelligent in the line, for agents and high-volume product workloads;
- Gemini 3.6 Flash — the previous Flash generation, for code generation and fast agent loops;
- Gemini 3.1 Pro — the Pro tier of Gemini 3, reasoning at the high level by default;
- Gemini 3.1 Flash Lite — a lightweight text model for classification, data extraction and short answers;
- Gemini 3 Pro Image — the larger image model, for complex scenes and work with reference images;
- Gemini 3.1 Flash Image — an image model for fast, high-volume tasks;
- Veo 3.1 — the full Veo 3.1 model, with sound, for final versions;
- Veo 3.1 Fast — the same capabilities, sound included, for iterations and series;
- Veo 3.1 Lite — short videos from a prompt or an image in high volume.
According to Google's documentation, Gemini 4 Argon, 4 Hydrogen, 3.8 Flash, 3.6 Flash and 3.1 Pro have a 1,048,576-token context window and return up to 65,536 tokens per response. The table also lists Gemini 3.5 Flash and Gemini 3.7 Flash — Google has deprecated them and recommends moving to 3.6 Flash and 3.8 Flash — and the Gemini 3.1 Pro Preview version. The current list and rates are in the table on this page, and every model has its own page with pricing, a sample request and answers to common questions.
What you get
Access works the same way for every vendor on llmbox:
- one API key for every model in the catalog;
- an OpenAI-compatible API, plus the Responses API for Gemini 4 Argon, 4 Hydrogen and 3.8 Flash;
- one prepaid balance that covers usage across all models;
- a request log with the status, tokens and cost of every call;
- separate keys per project, each with its own spend limit.
Text, image and Veo models are all available with one key, even though their request formats differ. That helps when a product has several steps: Flash Lite writes a product description and an image model draws an illustration for it — all paid from the same balance.
How to connect
- Create an API key in the API keys section of your dashboard. You can copy it later with the Show key button.
- Give your client the key and the llmbox base URL from the Quickstart.
- Pick a model, for example
google/gemini-3.8-flash, and send your first request.
Topping up is described in Balance and pricing. Don't ship the key in browser or mobile code: it can be extracted from a client app. If requests start in a front end, route them through your own server.
Which Gemini model to choose
Gemini model names read as generation plus tier. A higher number means a newer model. The Pro tier and the Argon flagship are built for reasoning depth, Hydrogen and Flash for speed and cost at high request volume, and Flash Lite for the simplest, highest-volume tasks.
| Task | Start with | Compare with |
|---|---|---|
| Agents and coding assistants in Codex CLI, Cursor, OpenCode | Gemini 4 Hydrogen | Gemini 3.8 Flash |
| An agent where a larger model plans and a fast one executes the steps | Gemini 4 Argon + Gemini 4 Hydrogen | Gemini 3.8 Flash |
| The hardest reasoning, math, large code changes | Gemini 4 Argon | Gemini 3.1 Pro |
| Fast code generation in short iterations | Gemini 3.6 Flash | Gemini 3.8 Flash |
| Analytics and answers over long documents | Gemini 3.1 Pro | Gemini 4 Argon |
| Classification, field extraction, short answers | Gemini 3.1 Flash Lite | Gemini 3.8 Flash |
| Images: fast and in volume | Gemini 3.1 Flash Image | Gemini 3 Pro Image |
| Images: complex scenes and references | Gemini 3 Pro Image | Gemini 3.1 Flash Image |
| A final video with sound | Veo 3.1 | Veo 3.1 Fast |
| Video series with sound, variants | Veo 3.1 Fast | Veo 3.1 |
| Many short videos | Veo 3.1 Lite | video models |
A practical approach: start with the smallest model that fits, test it on real data, and move up only where results fall short. The key stays the same when you switch models, and the request log makes it easy to compare what the same workflow costs on different models.
Reasoning
Gemini text models reason before they answer. Per Google's documentation, Gemini 4 Argon and 3.8 Flash have three levels — low, medium and high, with medium as the default; Gemini 4 Hydrogen adds a fourth, xhigh; Gemini 3.1 Pro runs at high by default. Keep the high levels for tasks where the model has to plan and check its own work; on simple agent steps a low level helps cut spend, since reasoning tokens count as output.
Typical use cases
- a support agent that calls your functions and returns JSON that conforms to a schema — Gemini 3.8 Flash;
- a coding assistant in Codex CLI or Cursor — Gemini 4 Hydrogen, with Gemini 4 Argon for the hardest tasks;
- labeling and classifying a stream of reviews, requests and tickets — Gemini 3.1 Flash Lite;
- pulling invoice details out of documents and screenshots — Gemini 3.8 Flash with image input;
- illustrations, covers and product-card visuals — Gemini image models;
- an ad with dialogue and sound effects — Veo 3.1, drafts for it — Veo 3.1 Fast;
- short vertical clips for social media and animated product photos — Veo 3.1 Lite.
Image and video generation take noticeable time, so run them in the background. Save finished files to your own storage so you can show them to users without generating them again.
SDKs and tools
The official OpenAI libraries for Python and Node work, as does a plain HTTP client. Gemini 4 Argon, 4 Hydrogen and 3.8 Flash plug into Codex CLI, Cursor and OpenCode; Gemini 3.1 Flash Lite into Cursor and OpenCode. Image and video models don't plug into these tools — call them from your own code. Ready-made settings are in Integrations.
What's available through llmbox
Gemini 4 Argon, 4 Hydrogen and 3.8 Flash support reasoning, calling your own functions, JSON-schema output, streaming, caching of a repeated prompt prefix and image input. Each other model's page shows which features it has. Request formats are covered in Chat Completions, Images and Video.
Pricing and balance
You pay from a prepaid balance as you go — no subscriptions and no mandatory monthly payments. Text models are billed per input and output token at rates per 1M tokens, image models per generated image, and Veo models per second of finished video according to the rate table on the model's page.
Your balance is shown in the Balance section of your dashboard. Spend by day and by model is in the Usage section, and every request with its cost is in the Logs section.
Keys and spend control
You can have several keys: one for production, one for testing, one per service. Each key gets its own spend limit; once it's reached, requests with that key stop while other keys keep working. A compromised key is revoked in the dashboard — then issue a new one and update it in your app's environment.
Request data
Messages, prompts and reference images are processed by Google's model — it can't answer without them. If your data contains personal information or confidential material, take that into account when you design the workflow.
Getting started
- Pick a model in the table above and open its page — it lists the rates, a sample request and the use cases the model fits.
- Create a key in the dashboard and set up your client as described in How to connect.
- Send test requests with a few typical inputs from your workload.
- Open the request log: status, tokens and cost per call show whether the model fits or whether to compare it with its neighbor in the table.