Ah, then there are just more sensors available.
Ultrasonic to the surface.
There are resistive ones.
Tuning fork may work in your app
RF Capacitive sensors.
But WOW! 1 cc out of a gallon is not going to be easy! You are talking about 2 hundredths of a percent!!
Say you poured your gallon into a tube to magnify the level change as VE1BLL suggests. Say the tube is 1 inch in diameter. Your column would be 294.267 inches tall(24.5 feet!) Now a one cc increase of this liquid would represent a column height change of 0.078 inches.
This is why no one does this.
How would you even know if you have an *exact* gallon to begin with?
Your only hope is to find something that does indeed measure the density of the water. Say a vibrating structure whose frequency changes with water density. Or an optical effect. Or measure a bulk capacitance change in the water.
The pressure sensor method may not actually work since the water column would get deeper but the water would be lighter. EEEEW!