Both roads are constantly under construction. We travel from Los Angeles north at least 2-3 times a year. We always take Hwy99. I-5 may be a few minutes faster, but it's soooo desolate.
We take Hwy99 to the Hwy4 that cuts over to Stockton and onto I-5. You'll travel about 50 miles north on I-5 where you'll reach Lodi. Exit Hwy12 off ramp and you'll find multiple gas stations from 76 to AM/PM. They always have some decent prices because of the multiple stations. This point in your trip will put you at about 350 miles depending on where in L.A you started. From Lodi on, you're about 45 minutes out of Sacramento and traverse the maze through Sacramento with a full tank.
Don & Mary
2019 Newmar Dutch Star 4018 - All Electric
2019 Ford Raptor Crew Cab