Canceling the contract is just you paying the remaining subsidy for your phone. Just make sure you get it unlocked first so you can use it with any carrier (if it is an iphone, your cheapest bet is unlocking through your carrier, if it is android, check out ebay)