LLM Reference
Together AI

Gemma 3n 4B (free) on Together AI

Gemma 3 · Google DeepMind

ServerlessOpen Source

Last refreshed 2026-05-11. Next refresh: weekly.

Why use Gemma 3n 4B (free) on Together AI?

Together AI offers Gemma 3n 4B (free) with pay-as-you-go pricing at $0.02/1M input tokens. Together AI is a platform for running open-source and proprietary LLMs with fast serverless and dedicated endpoints at competitive inference pricing.

Compare Gemma 3n 4B (free) across 3 providers to find the best fit for your use case
Input / 1M
$0.020
Output / 1M
$0.040
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install together
Auth
export TOGETHER_API_KEY=...
Call
from together import Together
client = Together()  # reads TOGETHER_API_KEY from env
response = client.chat.completions.create(
    model="gemma-3n-e4b-it",
Model ID
gemma-3n-e4b-it

Request example

from together import Together

client = Together()  # reads TOGETHER_API_KEY from env
response = client.chat.completions.create(
    model="gemma-3n-e4b-it",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Together uses "organization/model-name" format, e.g. "meta-llama/Llama-4-Scout-17B-16E-Instruct" or "Qwen/QwQ-32B". See the Together model catalog for the exact ID.
  • The examples expect TOGETHER_API_KEY; rename it only if your application config maps the new variable.

Compare Gemma 3n 4B (free) Across Providers

ProviderInput (per 1M)Output (per 1M)
NVIDIA NIM
Together AI$0.02$0.04
OpenRouter$0.06$0.12

Pricing

TypePrice (per 1M)
Input tokens$0.02
Output tokens$0.04

Capabilities

Structured Outputs

About Gemma 3n 4B (free)

Google: Gemma 3n 4B (free) available via OpenRouter. Pricing: $null/1M input, $null/1M output.

FAQ

What does Gemma 3n 4B (free) cost on Together AI?

On Together AI, Gemma 3n 4B (free) costs $0.02 per 1M input tokens and $0.04 per 1M output tokens.

What is the context window for Gemma 3n 4B (free) on Together AI?

Gemma 3n 4B (free) supports a 8,000 token context window on Together AI.

How does Together AI compare to other Gemma 3n 4B (free) providers?

Gemma 3n 4B (free) is available from 3 providers. The cheapest input pricing is $0.02/1M tokens from Together AI.

Who created Gemma 3n 4B (free)?

Gemma 3n 4B (free) was created by Google DeepMind as part of the Gemma 3 model family.

Is Gemma 3n 4B (free) open source?

Gemma 3n 4B (free) is open source according to the seed data.

Get Started

Model Specs

Released2025-04-03
Context8K
ArchitectureDecoder Only
Knowledge cutoff2024-06

GPU-Hour Providers(1)

Related Models on Together AI