The cost of a gallon of gas in Massachusetts has inched up by a penny in the past week.

AAA Southern New England reports Monday that self-serve, regular is up to $3.41 per gallon, 12 cents above the national average.

The current price is still 13 cents lower than a month ago, but 12 cents higher than this time last year.

Advertisement - Continue Reading Below

AAA found self-serve, regular as low as $3.24 per gallon and as high as $3.75.

Meanwhile, oil prices are up slightly Monday after U.S. political leaders indicated they are closer to a compromise, just hours ahead of the ‘‘fiscal cliff’’ deadline.

Benchmark oil for February is up 49 cents to $91.29 per barrel in New York. The contract fell 7 cents to finish at $90.80 per barrel on Friday.

Negotiators for the White House and congressional Republicans in Congress, working against a midnight deadline, narrowed their differences Monday on legislation to avert across-the-board tax increases and spending cuts set to trigger on Jan. 1.

But Republicans and Democrats remain divided over how to avert the so-called ‘‘fiscal cliff,’’ and it appears likely that financial markets will start 2013 without a clear picture of the budget policy of the U.S. economy.