The cost of a generic depends, somewhat, on where the buyer lives. GoodRx examined the average cash price of about 500 generic drugs at pharmacies across the country and found wide disparities in cost. Some of that had to do with where you lived: the cities with the highest costs were San Francisco and New York.
But that doesn’t explain all of the variation. “For instance, prices for drugs in Washington D.C.—where the cost of living is relatively high—are 9.60% lower than the national average,” GoodRx points out. “Alternatively, Raleigh, which has a lower cost of living, has higher prescription drug costs, around 4.30% higher than the national average.”