Docs · Models
Gemini 4 Neon
Call Google’s gemini-4-neon on TopxAI at 80% of the list price: text and images, reasoning effort, automatic caching, limits and the backup line.
Use gemini-4-neon with a key on the Gemini route (gemini-shared, shown on the API keys page as Gemini · 80% of list price) or with an Auto route key. It is Google's own model, sold at 80% of Google's list price in every lane.
| Setting | gemini-4-neon |
|---|---|
| Input | Text and images |
| Context window | 1,048,576 tokens |
| Maximum output | 65,536 tokens |
| Endpoints | /v1/chat/completions; /v1/messages is converted |
| Reasoning effort | low, medium (default), high, xhigh |
| Price per 1M tokens | $2.40 input, $0.12 cache read, $12 output |
| Google list price | $3 input, $0.15 cache read, $15 output |
Google's price was checked on its pricing page on December 2, 2026. The price is the same at every prompt length.
Send a request
curl https://api.topxai.xyz/v1/chat/completions \
-H "Authorization: Bearer $TOPXAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-4-neon",
"reasoning_effort": "low",
"messages": [{"role": "user", "content": "Say hello in one sentence."}]
}'
stream: true streams the answer; add "stream_options": {"include_usage": true} to get the usage in the last chunk. Images go in a message part of type image_url, as a base64 data URL.
A /v1/messages request is converted to Chat Completions and answered in the Messages format. A max_tokens above 65,536, which Claude clients often send, is lowered to 65,536.
Reasoning effort
A request without reasoning_effort runs at medium. The model always reasons, so none, minimal and a disabled thinking switch run as low, and max runs as xhigh; a Messages request's effort is mapped the same way. Reasoning tokens are billed as output.
Tools
Tool calls work with tool_choice set to auto, the default, or none, which answers in text. A tool_choice that forces a call is refused with a 400 before it reaches the model: required, one named function, or a Messages tool_choice of type any or tool. Gemini 4 Neon cannot be forced to call a tool.
Caching
Caching is automatic. When a request starts with a prefix the model has just seen, those tokens are billed at the cache-read price, 5% of the input price, and the usage log shows them as cache reads. There is no cache-write charge and nothing to mark in the request; see prompt caching.
Web search
Gemini 4 Neon does not search the web on TopxAI. A request that asks for a search is answered without one and without a search fee, and the response carries the header X-TopxAI-Web-Search: unavailable.
Backup line
The model has a backup line at the same price. A request moves to it only when the main line fails before answering; a stream that already started is not resent. The backup line adds about 9,500 input tokens of its own to each request it serves, usually about 7,400 of them billed as cache reads, which comes to about $0.006 a request. The usage log shows the input tokens each request was billed for.
Models: gemini-4-neon · Models & pricing
Related
- Gemini 4 Neon API pricing
- Routes and the auto route
- Prompt caching: the automatic Claude cache and how to turn it off
- API reference: every endpoint, with an OpenAPI specification
- How requests are billed
Previous: Claude Opus 5.5 special offer · Next: Top up with a card, Alipay or WeChat Pay
Other languages: 简体中文