Here is how it tends to go for newcomers: the sticker price makes one vial look like the obvious budget pick, then a different size shows up and the whole ranking changes. Instead of comparing the total at checkout, compare cost per mg for the same amount you would actually use over the next stretch.
I keep a two-column note, total amount and cost per mg, because a 5 mg vial looked cheaper to me until I lined it up against a 10 mg vial. That one habit has saved me from assuming smaller price means smaller spend for about three months now.
It also keeps a one-off bargain from getting mixed up with a normal pattern. My mild annoyance is having to redo the math when a size disappears.
Do you keep a per-unit column, or just eyeball the total?