Last refreshed 2026-06-15. 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 caseSetup recipe
Python + curlpip install togetherexport TOGETHER_API_KEY=...from together import Together
client = Together() # reads TOGETHER_API_KEY from env
response = client.chat.completions.create(
model="gemma-3n-e4b-it",gemma-3n-e4b-itRequest 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
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| NVIDIA NIM | — | — |
| Together AI | $0.02 | $0.04 |
| OpenRouter | $0.06 | $0.12 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.02 |
| Output tokens | $0.04 |
Capabilities
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 8k 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) has open weights under Gemma according to the seed data, but that does not necessarily mean an OSI-approved open-source license.