The objective of this paper is to make allowance for cost of claims in experience rating. We design here a bonus-malus system for the pure premium of insurance contracts, from a rating based on their individual characteristics. Empirical results are presented, that are drawn from a French data base of automobile insurance contracts.