For pre 3E, 12 seemed good for me.
For 3E, my games tended to end around 16. I like the E6 (or E8) houserules Ryan Stoughton devised.
For 4E, I don't know yet. I have a paragon game going and am playing in another one. I lean toward a level 20 cap because of how the numbers scale.
In general...