Question: are all cantrips bonus actions?
Answer: Not all cantrips are cast as bonus actions, and you can find the casting time on the spell's description. Similarly, some non-cantrip spells can be cast with a bonus action. Again, the spell's description should specify the casting time. In most cases, you can only cast one non-cantrip spell per turn.