Oil prices rebound from earlier losses on Wednesday after government data showed U.S. crude stocks rose less than expected and the Saudi energy minister signaled that oil producers will not prematurely end a deal to limit output.
U.S. West Texas Intermediate crude futures ended Wednesday's session up $1.41, or 2.4 percent, at $60.60 a barrel. Brent crude futures were up $1.68, or 2.7 percent, at $64.40 per barrel by 2:29 p.m. ET.
U.S. crude inventories rose 1.8 million barrels last week, Energy Information Administration (EIA) data showed compared with expectations for an increase of 2.8 million barrels. Crude stocks fell again at the Cushing, Oklahoma storage hub, and have been cut in half since early November.
Refining rates fell as U.S. refiners reduce activity for seasonal maintenance. Gasoline inventories, however, rose 3.6 million barrels, more than expected.
"Refiners continue to process significantly more crude oil than they have in the past, resulting in higher production of gasoline which is leading to higher product inventories," said Andrew Lipow, president of Lipow Oil Associates in Houston.
The market bounced around earlier, losing ground after stronger-than-expected U.S. inflation figures that boosted the dollar. Oil tends to move in the opposite direction of the dollar, and has been trading in tandem with risk assets like stocks of late.
However, the market recovered after the Saudi oil minister, Khalid al-Falih, said the Organization of the Petroleum Exporting Countries would rather leave the oil market slightly short of supplies rather than ending too early a deal on cutting output.
OPEC and its partners, including Russia, have curbed supply since January 2017 in a bid to drain global inventories in an agreement that continues through the end of the year. There has been concern about that deal's efficacy due to the sharper-than-expected increase in U.S. production.
The International Energy Agency on Tuesday raised its forecast for 2018 demand growth by 100,000 bpd to 1.4 million bpd, but said the rapid increase in global supply, particularly in the United States, could overtake consumption.
U.S. production rose to 10.27 million bpd last week, EIA data showed, which, if confirmed by monthly data, would represent an all-time record for U.S. output.
"The rising profile of the country's oil production remains the predominant bearish factor for oil prices, and the trend is being closely watched by countries participating in the OPEC-led output cut agreement," said Abhishek Kumar, senior energy analyst at Interfax Energys Global Gas Analytics in London.
The physical markets are reflecting this concern. Prices for barrels of crude from the North Sea, Russia, the United States and Middle East have dropped to multi-month lows.
"Investors should not discount the caution signs that have been emerging," investment bank RBC Capital Markets said.
"Pockets of oversupply have been emerging in the physical market," the bank said in a note. "The tempering physical oil backdrop is ... playing a central role in the recent price softness."
U.S. crude is also increasingly appearing on global markets, and more is set to come as the Louisiana Offshore Oil Port starts testing supertankers for exports.
— CNBC's Tom DiChristopher contributed to this report.