96 Cent GS3 or Nexus 4

I'm looking to replace my current AT&T phone. I'm stuck with AT&T due to my parents so switching carriers in not an option. I'll install Cyanogenmod on the phone regardless of the stock OS. What phone should I buy?