A simplified answer: both teletype and ansible have 4 channels of gate and cv outputs. They can both store sequences.
The actual answer is less simple than that, and depends on how you use them. For example there are scenarios where you could use the cv outs to control gates/triggers as well, so you could control 8 voices of triggers/gates only with either device. Or if you connect ansible and teletype together over the i2c bus, you can use ansible as a teletype expander and control 8 voices of cv and gates with teletype.
teletype can store 32 scenes which each include 4x64 patterns. ansible can (for example with kria, which is one of 3 grid apps for ansible) store 8 scenes of 16 x 16 length patterns in flash memory. With either, though, if you’re willing to backup/restore to a USB drive the storage is really pretty much unlimited.
Those are just some examples - they are pretty deep devices.