VM instances vary a great deal in price. Notice how the two following screenshots differ. The left-hand side screenshot shows a high-end configuration that includes TPUs (specialized processors for ML applications that are in high demand these days). These machines cost about $946/month, whereas the far simpler machine type in the right-hand side screenshot costs just $3.88/month:
