Typically cost models are derived using data gathered from years of experience with a wide range of software projects.
Software projects differ greatly, and models represent all their varieties. 
Cost models tend to not involve any software projects.