It spends about 2 to 10 ACU per hour in the small VM, and ten times as much on the large one. No credits spent during sleep and "waiting for response" time as far as I observed.
a helpful benchmark is that a typical frontend task is about 1-2 ACUs, but really depends on the complexity of the task