Can an att iphone work on tmobile prepaid?

I know an att iphone is compatiable on tmobile's network because i checked, but will it work on their prepaid plan? I only want unlimited texting for 15 dollars a month and i'll use wifi for interenet.

I don't know how you checked it out and came up with it being compatible with Tmobile but unless it's unlocked, it's not.