It will be very expensive. I know AT&T sells only two prepaid data plans, 1MB for $4.99 and 100MB for $19.99.
I'm not sure what T-Mobile offers. You would also need to add a hacked carrier file to your iPhone to allow data to work on 3.0 and above. The only way to get this work is to buy a GoPhone, activate it, take the sim out and place it in the iPhone. They don't sell only activated sim cards, you need to buy a GoPhone to activate.