Gemini 4 Neon
gemini-4-neonUse the Gemini 4 Neon API to work through software engineering questions, compare technical options, and turn complex source material into clear written analysis. Supply a task, the relevant code or documents, and the criteria the answer must address. Use it to review a proposed implementation, reconcile requirements from several sources, or prepare a decision memo that separates evidence from assumptions. Images can supplement the task when the selected provider route accepts the required format. Specify the response structure and output budget to suit the work. The detail page provides request examples, supported parameters, provider selection, and token-based usage pricing.
Auto route pricing
Route source: neolink
This route has conditional pricing. Review its tiers and requirements before calling.
- Published rate
- Conditional pricing
- Billing unit
- / 1M tokens
- Context / Max output
- — / —
- Live routes
- 1
On this page
Overview
Overview for neolink
Meet Gemini 4 Neon
Gemini 4 Neon: artwork published with Google's model announcement
This image is published model artwork, not a generated OpenAny output. View Google's announcement.
Try a focused task
Compare implementation options
Start with the source material and a specific question. State the required answer structure and ask the model to identify missing information instead of filling gaps with assumptions. The template below supplies a small task you can inspect before adapting it to larger documents or a codebase.
Compare the following two approaches for a small internal reporting service. Write a decision memo covering operational complexity, data freshness, failure handling, and unanswered questions.
Option A: query the source database for every report.
Option B: build an hourly materialized reporting table.
Constraints: one engineering team, daily business reporting, and occasional manual refresh requests.Review the answer against the input. Check that every claim follows from the supplied material and that proposed actions address the stated constraints. For a coding task, run relevant checks in your own development environment before accepting a change.
Quickstart on OpenAny
Set OPENANY_API_KEY and submit a Chat Completions request. The public ID is gemini-4-neon; the configured upstream mapping uses ge-4-ne. The sample pins the neolink provider.
curl 'https://api.openany.si/v1/chat/completions' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"model": "gemini-4-neon",
"route": {
"provider": "neolink"
},
"messages": [
{
"role": "user",
"content": "Compare the following two approaches for a small internal reporting service. Write a decision memo covering operational complexity, data freshness, failure handling, and unanswered questions.\nOption A: query the source database for every report.\nOption B: build an hourly materialized reporting table.\nConstraints: one engineering team, daily business reporting, and occasional manual refresh requests."
}
],
"max_tokens": 2048,
"stream": false
}'Use the API host for your environment. The example uses the production host; for Dev, replace it with https://api-dev.openany.si. This request template has not been executed as part of package preparation.
Read the response
A non-streaming Chat Completions response contains assistant content under choices[0].message.content and reports token usage in usage. The response below illustrates the structure only: its ID, timestamp, text, and usage values are placeholders.
{
"id": "chatcmpl-EXAMPLE",
"object": "chat.completion",
"created": 0,
"model": "gemini-4-neon",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "[Generated analysis appears here. This is a response-schema placeholder, not a captured model result.]"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0
}
}The API and Playground example stores this same placeholder response with an explicit schema-example marker. It does not demonstrate successful generation, cache hits, entitlement, or billing for this route.
Context, output limits, and input formats
Setting | Evidence and practical use |
|---|---|
Context window | 1,048,576 unified tokens in Google's model documentation; the supplied Neo capture rounds this to 1.1M. |
Neo advertised maximum output | 65.5K in the supplied capture. This is an advertised maximum, not the output budget of the example. |
Synchronous example output | 2,048 tokens requested; the example schema caps the synchronous budget at 65,536. |
Long output | Google documents output beyond the synchronous default through long decode. Support for that mode has not been verified on this provider route. |
Provider-listed features | Tool calling, reasoning, content caching, multimodal input. |
Input and output | Text request template and text output. Google's model documentation also lists image, audio, video, and PDF inputs; accepted payloads depend on the selected provider interface. |
Google's Gemini 4 Neon model documentation describes the manufacturer limits. Context is shared by input and output, so a large prompt leaves less room for generation. Before sending media, verify that the selected interface accepts its encoding and size. This package does not introduce unverified audio, video, PDF, or long-decode request fields.
Choose request parameters
Parameter | How to use it |
|---|---|
model | Use gemini-4-neon in client requests. |
messages | Provide your question and source material. The example starts with one user message. |
max_tokens | Choose an output budget suitable for the task; the template uses 2,048. |
stream | The template requests a complete JSON response with false. |
route.provider | The example selects neolink rather than leaving provider choice automatic. |
Pricing and caching
All amounts below are USD per 1,000,000 tokens. OpenAny retail prices are 95% of the selected Google Standard list prices, a 5% discount.
Usage | Official list price | OpenAny retail price (95%) |
|---|---|---|
Input | $3 | $2.85 |
Output (including thinking tokens) | $15 | $14.25 |
Cache read | $0.15 | $0.1425 |
The comparison uses the published Google Standard paid-tier prices, rather than Batch, Flex, Priority, or free-tier rates. View Google's official pricing and effective dates.
Cache-read pricing applies to input usage reported as cached. No cache-creation quote was supplied, so a cache-write amount remains unconfigured. Google's documentation describes implicit caching; this guide does not add an explicit cache-management endpoint. Tool services such as search grounding have separate manufacturer charges and are not included in this token-price comparison.
Common questions
Does the 1.1M figure guarantee a 1.1M-token answer?
No. The source interface rounds the figure, and the manufacturer distinguishes the synchronous default from long decode. The total context limit also constrains input plus output.
Can I use the request with a different provider?
Select a compatible provider route and check that its model mapping, accepted inputs, and pricing match your needs. The upstream identifier in this package is specific to the configured provider.
Why does the preview show placeholder text?
No captured result was supplied for these four models. The configured response is a labeled structural example so readers can see the shape of the JSON. Replace it in the model's response-example editor when a real response is available.
Where are translations and model specifications applied?
The main configuration import creates the model, route, English description, Overview, and public examples. The current importer archives translated descriptions and detailed specifications as documents; the accompanying editor files identify the fields to apply separately.
Playground
Software engineering and evidence-based analysis. Request template with an explicitly labeled placeholder response.
Other parameters (1)
Result preview
neolink · 4321ms
Response example. Run to see the actual response.
{
"id": "chatcmpl-EXAMPLE",
"model": "gemini-4-neon",
"usage": {
"total_tokens": 0,
"prompt_tokens": 0,
"completion_tokens": 0
},
"object": "chat.completion",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "[Generated analysis appears here. This is a response-schema placeholder, not a captured model result.]"
},
"finish_reason": "stop"
}
],
"created": 0
}Agent handoff preview
Providers
| Provider | Pricing | Latency | Uptime | Supply | Route |
|---|---|---|---|---|---|
Live | Input $2.850 / 1M tokensSave 5% vs official Output $14.250Save 5% vs official Cache read $0.143 Cache write — | 4321ms | — | Verified |
- Input
- $2.850Save 5% vs official
- Output
- $14.250Save 5% vs official
- Cache read
- $0.143
Source: the selected provider route in OpenAny's public model catalog. A price update timestamp is not supplied.
API
- Base URL
https://api.openany.si/v1- POST
/v1/chat/completions- Authentication
Authorization: Bearer $OPENANY_API_KEY
Request parameters
| Parameter | Type / range | Default value | Required | Description |
|---|---|---|---|---|
prompt | string | Compare the following two approaches for a small internal reporting service. Write a decision memo covering operational complexity, data freshness, failure handling, and unanswered questions.
Option A: query the source database for every report.
Option B: build an hourly materialized reporting table.
Constraints: one engineering team, daily business reporting, and occasional manual refresh requests. | Yes | Prompt |
max_tokens | integer · 1 ~ 65536 | 2048 | No | Maximum output tokens |
Request example
curl 'https://api.openany.si/v1/chat/completions' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"max_tokens": 2048,
"messages": [
{
"content": "Compare the following two approaches for a small internal reporting service. Write a decision memo covering operational complexity, data freshness, failure handling, and unanswered questions.\nOption A: query the source database for every report.\nOption B: build an hourly materialized reporting table.\nConstraints: one engineering team, daily business reporting, and occasional manual refresh requests.",
"role": "user"
}
],
"model": "gemini-4-neon",
"stream": false
}'Response example
Official schema example with placeholders, not a live response
{
"id": "chatcmpl-EXAMPLE",
"model": "gemini-4-neon",
"usage": {
"total_tokens": 0,
"prompt_tokens": 0,
"completion_tokens": 0
},
"object": "chat.completion",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "[Generated analysis appears here. This is a response-schema placeholder, not a captured model result.]"
},
"finish_reason": "stop"
}
],
"created": 0
}Error handling
400Check the model ID and request fields.429Retry with exponential backoff.5xxRetry only temporary provider failures.JSON Schema
{
"type": "object",
"required": [
"model",
"messages"
],
"properties": {
"model": {
"type": "string",
"default": "gemini-4-neon"
},
"stream": {
"type": "boolean",
"default": false
},
"messages": {
"type": "array",
"items": {
"type": "object",
"required": [
"role",
"content"
],
"properties": {
"role": {
"enum": [
"system",
"user",
"assistant",
"tool"
],
"type": "string"
},
"content": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "object"
}
}
]
}
},
"additionalProperties": true
},
"minItems": 1
},
"max_tokens": {
"type": "integer",
"default": 2048,
"maximum": 65536,
"minimum": 1,
"description": "Synchronous example output budget. Larger advertised output requires long-decode support not established for this route."
}
},
"additionalProperties": true
}Examples
Request example
POST /v1/chat/completionscurl 'https://api.openany.si/v1/chat/completions' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"max_tokens": 2048,
"messages": [
{
"content": "Compare the following two approaches for a small internal reporting service. Write a decision memo covering operational complexity, data freshness, failure handling, and unanswered questions.\nOption A: query the source database for every report.\nOption B: build an hourly materialized reporting table.\nConstraints: one engineering team, daily business reporting, and occasional manual refresh requests.",
"role": "user"
}
],
"model": "gemini-4-neon",
"stream": false
}'