All models

gemini-4-neon API ★

GoogleChatReasoningVision
Get your API key

Gemini 4 Neon

Google's multimodal reasoning model for software engineering, data analysis, and scientific problems. The public model ID is gemini-4-neon.

STANDARD APIs · QUICK SETUP

Keep your SDK. Connect in minutes.

Point the Base URL to api.acedata.cloud, configure your platform API key and the model ID below, and use your compatible SDK or client.

API host
api.acedata.cloud
model
gemini-4-neon
Get your API key
OpenAI Python SDK
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["ACEDATACLOUD_API_KEY"],
    base_url="https://api.acedata.cloud/v1",
)
response = client.responses.create(
    model="gemini-4-neon",
    input="Hello!",
)
print(response.output_text)

Choose an available protocol for this model. OpenAI SDK uses a Base URL ending in /v1; Anthropic SDK uses the root URL. See each guide for protocol-specific parameters, tools and response formats.

Model specifications

Official context window
1,048,576 tokens shared between input and output
Official synchronous output limit
65,536 tokens
Input and output
The official model accepts text, images, video, audio, and PDFs, and outputs text. See each API's documentation for the fields accepted by the platform.

Chat Completions

Send messages to /gemini/chat/completions and enter gemini-4-neon in the model field.

Generate Content

Send contents to /v1/models/gemini-4-neon:generateContent. Place text in the parts of each message.

Thinking and output

Thinking and visible text share the output budget. When setting the output limit, leave room for reasoning and check the returned stop reason.

Billing

Input, implicit cache hits, and output are billed separately. Thinking tokens are billed at the output rate, and actual Credits consumption can be checked in the request record.

Frequently asked questions

Which model name should I enter?

Enter gemini-4-neon, including the hyphens.

How do I use an existing OpenAI client?

Chat Completions uses messages, and Responses uses input. Existing Anthropic clients can use Messages, with messages and max_tokens in the request.

How do I reuse native Gemini requests?

Select the Generate Content endpoint and use the contents and parts fields.

Can I create an explicit cache?

Google provides implicit caching for Neon. The returned usage reflects tokens served from the cache.

Does the official synchronous output limit guarantee the length of the visible text?

The actual length of the visible text depends on input length, thinking usage, output budget, and the stop reason.