Risk-free rates (RFRs) play a central role in the reform of interest rate benchmarks. We study a model for RFRs driven by a general affine process. In this context, under minimal assumptions, we derive explicit valuation formulas for forward-looking and backward-looking caplets/floorlets,...