



const { OpenAI } = require('openai');
const api = new OpenAI({
baseURL: 'https://api.ai.cc/v1',
apiKey: '',
});
const main = async () => {
const result = await api.chat.completions.create({
model: 'google/gemma-3-4b-it',
messages: [
{
role: 'system',
content: 'You are an AI assistant who knows everything.',
},
{
role: 'user',
content: 'Tell me, why is the sky blue?'
}
],
});
const message = result.choices[0].message.content;
console.log(`Assistant: ${message}`);
};
main();
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.ai.cc/v1",
api_key="",
)
response = client.chat.completions.create(
model="google/gemma-3-4b-it",
messages=[
{
"role": "system",
"content": "You are an AI assistant who knows everything.",
},
{
"role": "user",
"content": "Tell me, why is the sky blue?"
},
],
)
message = response.choices[0].message.content
print(f"Assistant: {message}")
-
AI Playground

Test all API models in the sandbox environment before you integrate.
We provide more than 300 models to integrate into your app.


Product Detail
Gemma 3 (4B): An Advanced Multimodal AI Overview
Gemma 3 (4B) represents a cutting-edge multimodal AI system, expertly engineered to combine robust capabilities in both text and visual comprehension. This sophisticated model is equipped with a substantial 131,000-token context window, enabling it to process and understand extensive information with remarkable depth. Furthermore, it integrates advanced function calling, facilitating the efficient execution of complex and sophisticated tasks. Designed for versatile deployment, Gemma 3 consistently delivers a powerful blend of high performance and resource efficiency, ensuring optimal operation across a wide spectrum of platforms, from modern smartphones to high-end workstations.
🔧 Core Technical Specifications
- 💭 Extended Context Window: A massive 131,000 tokens, crucial for maintaining coherence and understanding across very long inputs and dialogues.
- 🎨 Multimodal Capability: Native support for processing both textual and image-based inputs, enabling richer interactions.
- 🌍 Broad Language Support: Comprehension and generation across more than 140 languages, enhancing global utility.
✅ Key Features & Strategic Advantages
- Unified Multimodal Understanding: Seamlessly combines visual and textual data streams to generate comprehensive, context-aware, and coherent responses.
- Superior Extended Context Handling: Maintains high levels of accuracy and relevance, even when dealing with exceptionally long documents or prolonged interaction sessions.
- Effortless Multilingual Processing: Facilitates smooth communication, accurate translation, and content generation across a diverse spectrum of global languages.
- Optimized Deployment Flexibility: Engineered for efficient operation in various environments, including resource-constrained hardware such as single-GPU systems, ensuring wide accessibility.
📈 Intended Applications & Use Cases
- Dynamic Content Creation: Ideal for generating rich, engaging text and visual content tailored for various media, marketing, and publishing platforms.
- Advanced Language Translation: Delivers highly accurate and contextually relevant translations across an extensive range of supported languages.
- Interactive Educational Tools: Powers innovative and multimodal learning applications, significantly enriching and personalizing educational experiences.
- Intelligent Data Analysis: Provides robust assistance with summarization, detailed interpretation, and complex reasoning over large and intricate datasets.
💻 Utilizing Gemma 3 (4B)
To harness the powerful capabilities of Gemma 3 (4B), developers can integrate it into their applications via standard API calls. This enables a wide array of functionalities, from sophisticated content generation to deep data insights. For comprehensive integration guidelines and practical examples, refer to the official Google documentation.
💯 Ethical AI & Responsible Development
Google places paramount importance on ethical AI development, emphasizing clear transparency regarding Gemma 3’s capabilities and its inherent limitations. We strongly encourage responsible usage to proactively mitigate potential risks of misuse or the generation of harmful outputs. Adherence to ethical AI principles is fundamental for fostering a positive and beneficial impact.
📝 Licensing & Terms of Use
Gemma 3 is distributed under the comprehensive Gemma Terms of Use, which features a commercially-friendly license model. This flexible license is designed to support a broad spectrum of applications, encompassing both cutting-edge research initiatives and various commercial deployments, all while rigorously ensuring strict adherence to established ethical standards.
💬 Frequently Asked Questions (FAQ)
A1: Gemma 3 (4B) is multimodal because it can simultaneously understand and process information from both text and visual inputs, generating coherent responses based on this combined understanding.
A2: This large context window allows the model to process and maintain understanding across very long documents or extended conversational sessions, leading to more relevant and consistent outputs.
A3: Yes, Gemma 3 is released under the Gemma Terms of Use with a commercially-friendly license, making it suitable for both research and commercial deployments.
A4: Gemma 3 (4B) is optimized for flexible deployment and resource efficiency, allowing it to operate effectively across a range of platforms, from smartphones to high-end workstations, including single-GPU systems.
A5: Its primary applications include content creation (text and visual), accurate language translation, supporting interactive educational tools, and advanced data analysis for summarization and reasoning.
Learn how you can transformyour company with AICC APIs



Log in