The backwards-compatible PlayStation 3 models are the 20GB, 60GB, and 80GB versions. Here's a closer look if you want the details:
The 20GB and 60GB models offer the most backwards compatibility, running PlayStation 2 games via built-in hardware. The 80GB model can't play every PS2 title, since it relies on software emulation instead.
If your priority is playing more PS1 games than PS2, the 250GB PS3 is a solid pick. Keep in mind that the PS3 Slim can't play PS2 games at all—it only handles PS1 titles.