google/gemma-3-4b-it
Model Card
Gemma 3 4B Instruct is Google's compact multimodal open model supporting text and images with a 128K token context window. It's optimized for deployment on laptops and edge devices while maintaining strong capabilities.
Context Window
N/A
tokens
Max Output
N/A
tokens
Input Cost
$0.02
per million tokens
Output Cost
$0.07
per million tokens
API Usage Example
Add Google: Gemma 3 4B to your app with just a few lines of code.
No API keys, no backend, no configuration required.
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain quantum computing in simple terms", {
model: "google/gemma-3-4b-it"
}).then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
Get started with Puter.js
Add Google: Gemma 3 4B to your app without worrying about API keys or setup.
Read the Docs View Tutorials