Google: Gemini 4 Neon
Chatgoogle/gemini-4-neonGemini 4 Neon is Google’s model for fast, end-to-end completion of complex software engineering, knowledge work and science tasks. It accepts text, image, audio, video and PDF input and supports tool calling and structured output. Input, thinking and output share a 1,048,576-token window, with up to 65,536 output tokens per request by default. Thinking levels are low, medium, high and xhigh. Only implicit context caching is supported.
Context Window
1M
Max Output Tokens
66K
Released
2026-11-18
Capabilities
VisionFunction CallingReasoningPrompt CachingWeb SearchAudio InputVideo InputPDF Input
Available Providers
Gemini
Supported Protocols
openaigemini
Providers
Gemini
provider.type: "gemini"Input Tokens
$3/M
Output Tokens
$15/M
Cache Read
$0.15/M
Audio Input
$3/M
Cached Image
$0.15/M
Cached Audio
$0.15/M
Cached Video
$0.15/M
Web Search
$0.014/R
Protocols
openai
/v1/chat/completionsgemini
Documentation
How to call Gemini 4 Neon on OfoxAI: model IDs, request parameters and the errors you are most likely to hit.
- Gemini API guideModel IDs, choosing an endpoint, code examples and common errors.
- Thinking and reasoning settingsTurn thinking on or off, set the effort or token budget, and read the reasoning output.
- Web searchLet the model search the web and return sources with its answer.
- PDF, audio and structured outputSend PDF and audio as input and constrain the response to a schema.
Code Examples
from google import genaiclient = genai.Client(api_key="YOUR_OFOX_API_KEY",http_options={"api_version": "v1beta", "base_url": "https://api.ofox.ai/gemini"},)response = client.models.generate_content(model="google/gemini-4-neon",contents="Hello!",)print(response.text)
Related Models
Frequently Asked Questions
Google: Gemini 4 Neon on Ofox.ai costs $3 per million input tokens and $15 per million output tokens. Pay-as-you-go, no monthly fees.
Google: Gemini 4 Neon supports a context window of 1M tokens with max output of 66K tokens, allowing you to process large documents and maintain long conversations.
Simply set your base URL to https://api.ofox.ai/v1 and use your Ofox API key. The API is OpenAI-compatible — just change the base URL and API key in your existing code.
Google: Gemini 4 Neon supports the following capabilities: Vision, Function Calling, Reasoning, Prompt Caching, Web Search, Audio Input, Video Input, PDF Input. Access all features through the Ofox.ai unified API.