Oil prices climbed on Thursday, driven by a stronger demand outlook in the US following a larger-than-expected decline in fuel inventories.