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.
Gemini 4 Neon
Google's multimodal reasoning model, suitable for software engineering, data analysis, and scientific questions. The public model ID is gemini-4-neon.
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 the documentation for each API for 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. Put text in the parts of each message.
Thinking and Output
Thinking and visible content share the output budget. When setting an 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 charged at the output rate; actual Credits usage can be verified in request logs.
Frequently Asked Questions
Which model name should I enter?
Enter gemini-4-neon, including the hyphens.
How do I use an existing OpenAI client?
Select the Gemini Chat Completions endpoint and keep the messages request format.
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 matched Tokens.
Does the official synchronous output limit guarantee content length?
Actual content length depends on input length, thinking usage, output budget, and the 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

