Oil prices rose slightly to reach their highest levels since April on Thursday as declining inventories and production cuts helped boost prices amid the annual summer surge in demand.