YFarmX logoYFarmX

Google: Gemma 3n 4B

google/gemma-3n-e4b-it · GoogleTokenizer lineage measured
Tokenizer lineage (measured)
Gemini
Entered catalogue
20 May 2025
Last tested
21 August 2026
Evidence confidence
High

Why high: one template-boundary shift from a group whose members all declare the same family.

Evidence
  • ✓ tokenizer signature one template-boundary shift from 22 models

Identity statement

Google: Gemma 3n 4B is Google's model. Its measured tokenizer sits with the Gemini group, which is evidence that it builds on the Gemini tokenizer. Tokenizer reuse is normal engineering, open vocabularies travel between labs, and this says nothing against Google's authorship of the model itself.

What we checked

Four different kinds of evidence, and what each one showed
We checkedWhat we foundWhere it came from
How it counts tokensCounted cleanly, and no other model in the catalogue counts the same waytk_a15512c7
How its API is set upA combination of settings no other listing in the catalogue usesapi_368482fa
How much it can read and writeReads up to 32,768 tokens at onceits own listing
Who served our requestsTogetherwe measured it, 21 August 2026

Shares this fingerprint

Exact signature first; template-boundary shifts of the same signature beneath
Google: Gemini 2.5 Flashgoogle/gemini-2.5-flashsame tokenizer · template shiftGoogle: Nano Banana (Gemini 2.5 Flash Image)google/gemini-2.5-flash-imagesame tokenizer · template shiftGoogle: Gemini 2.5 Flash Litegoogle/gemini-2.5-flash-litesame tokenizer · template shiftGoogle: Gemini 2.5 Progoogle/gemini-2.5-prosame tokenizer · template shiftGoogle: Gemini 2.5 Pro Preview 06-05google/gemini-2.5-pro-previewsame tokenizer · template shiftGoogle: Gemini 2.5 Pro Preview 05-06google/gemini-2.5-pro-preview-05-06same tokenizer · template shiftGoogle: Gemini 3 Flash Previewgoogle/gemini-3-flash-previewsame tokenizer · template shiftGoogle: Nano Banana 2 (Gemini 3.1 Flash Image Preview)google/gemini-3.1-flash-image-previewsame tokenizer · template shiftGoogle: Gemini 3.1 Flash Litegoogle/gemini-3.1-flash-litesame tokenizer · template shiftGoogle: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)google/gemini-3.1-flash-lite-imagesame tokenizer · template shiftGoogle: Gemini 3.1 Flash Lite Previewgoogle/gemini-3.1-flash-lite-previewsame tokenizer · template shiftGoogle: Gemini 3.1 Pro Previewgoogle/gemini-3.1-pro-previewsame tokenizer · template shiftGoogle: Gemini 3.1 Pro Preview Custom Toolsgoogle/gemini-3.1-pro-preview-customtoolssame tokenizer · template shiftGoogle: Gemini 3.5 Flashgoogle/gemini-3.5-flashsame tokenizer · template shiftGoogle: Gemini 3.5 Flash Litegoogle/gemini-3.5-flash-litesame tokenizer · template shiftGoogle: Gemini 3.6 Flashgoogle/gemini-3.6-flashsame tokenizer · template shiftGoogle: Gemini 3.7 Flashgoogle/gemini-3.7-flashsame tokenizer · template shiftGoogle: Gemini 3.8 Flashgoogle/gemini-3.8-flashsame tokenizer · template shiftGoogle: Nano Banana 2.1google/gemini-nano-banana-2.1same tokenizer · template shiftGoogle: Gemma 3 12Bgoogle/gemma-3-12b-itsame tokenizer · template shiftGoogle: Gemma 3 27Bgoogle/gemma-3-27b-itsame tokenizer · template shiftGoogle: Gemma 3 4Bgoogle/gemma-3-4b-itsame tokenizer · template shift

Closest measured models

Agreement across the mutually clean test strings

Click a row to open the full comparison.

The measured fingerprint

What each test string cost this model, in tokens

We sent Google: Gemma 3n 4B fifty short pieces of text and recorded what each one cost it in tokens. The bars below are those costs. Two models built on the same tokenizer produce the same bars; a model built on a different one produces a different set, which is what makes this a fingerprint.

All 50 rows

English and whitespace

en-prose14
en-long16
spaces-203
spaces-604
tabs-203
newlines-203
mixed-ws9

Digits

digits-99
digits-1212
digits-3030
digits-sep12
float-long22

CJK

zh-common10
zh-long12
zh-rare25
ja-kana7
ja-kanji9
ko11

Other scripts

ru12
ar10
he13
hi8
th10
el13

Emoji

emoji-basic5
emoji-skin10
emoji-zwj-family7
emoji-zwj-x321
emoji-flags8
emoji-prof11

Rare Unicode

math26
boxdraw17
combining10
cjk-ext-b16
surrogates27
zalgo22
rtl-mix5

Code

py-code28
py-indent18
json28
html14
regex44
camel6
snake11

Repetition and encodings

rare-word-x526
repeat-tok22
base6434
hex16
url23
uuid36

Overhead subtracted: 16 prompt tokens.

Declared record

What the catalogue claims about this model

Gemma 3n E4B-it is optimized for efficient execution on mobile and low-resource devices, such as phones, laptops, and tablets. It supports multimodal inputs—including text, visual data, and audio—enabling diverse tasks...

Modalities
text->text
Declared tokenizer
Other
Prompt price
$0.06 / M tokens
Completion price
$0.12 / M tokens

Supported parameters

frequency_penaltylogit_biasmax_tokensmin_ppresence_penaltyrepetition_penaltyresponse_formatstopstructured_outputstemperaturetop_ktop_p

defaults: {}

Catalogue entryWeights on Hugging Face

History

Every observation, kept as taken
  • 20 May 2025Enters the OpenRouter catalogue with no declared family.
  • 21 August 2026Fingerprinted in the YFarmX catalogue sweep · 50 of 50 strings measured clean.
  • 21 August 2026YFarmX assessment: consistent with the Gemini family, high confidence.

* Google: Gemma 3n 4B no longer appears in the OpenRouter catalogue, first absent from the snapshot of 3 September 2026. The record stays because the measurements above were real when they were taken and this address has been published.