The insurance costs a monthly premium. It depends on the cover you choose: death only, plus incapacity for work, or plus unemployment. You can see the cost in the loan application before you decide, and in the insurance confirmation.
You pay the premium together with your monthly instalment; it is shown on your bill, together with the Swiss Federal stamp duty. The premium remains payable even while the insurance is paying benefits.