Gemini 4 Neon
Google's multimodal reasoning model, suited for software engineering, information analysis, and scientific problems. The public model ID is gemini-4-neon.
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
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["ACEDATACLOUD_API_KEY"],
base_url="https://api.acedata.cloud/v1",
)
response = client.chat.completions.create(
model="gemini-4-neon",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)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 PDF, 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 /v1beta/models/gemini-4-neon:generateContent. Place text in the parts of each message.
Thinking and output
Thinking and the visible response 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 records.
Frequently asked questions
Which model name should I enter?
Enter gemini-4-neon, including the hyphens.
How can I use an existing OpenAI client?
Choose the Gemini Chat Completions endpoint and retain the messages request format.
How can I reuse native Gemini requests?
Choose 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 cache-hit tokens.
Does the official synchronous output limit guarantee the response length?
The actual response length depends on input length, thinking usage, output budget, and stop reason.
Use it in your favorite tools
Choose a development approach or application suited to this model and follow its setup guide.
Connect gemini-4-neon to OpenAI SDK
OpenAI Chat Completions API
SDK installation, authentication and examplesConnect gemini-4-neon to LangChain
LangChain Integration Guide
SDK installation, authentication and examplesConnect gemini-4-neon to Cherry Studio
Using Ace Data Cloud with Cherry Studio
Chat client setup · Base URL, API key and modelConnect gemini-4-neon to ChatBox
Using Ace Data Cloud with ChatBox
Chat client setup · Base URL, API key and model

