Gram
late 18th century: from French gramme, from late Latin gramma ‘a small weight’, from Greek.
wiktionary
From French gramme, from Ancient Greek γράμμα(grámma, “a small weight, a scruple”). Doublet of gramma.
From obsolete Portuguese gram (modern Portuguese grão), from Latin grānum. [1] Doublet of grain.
Diminutive of grandmother.
gram ( uncountable)
Clipping of Instagram.
etymonline
gram (n.)
also gramme, metric unit of weight, 1797, from French gramme (18c.), from Late Latin gramma "small weight," from Greek gramma "small weight," a special use of the classical word meaning "a letter of the alphabet" (see -gram). Adopted into English about two years before it was established in France as a unit in the metric system by law of 19 frimaire, year VIII (1799). "There seems to be no possible objection to adopting the more convenient shorter form, except that the -me records the unimportant fact that the word came to us through French" [Fowler].