Varenicline is a non-branded version of Chantix. It comes in the same doses and contains the same active ingredient. So it should work in exactly the same way in the body. The only main differences are the excipient ingredients used to make the tablets (which can change how the tablets look), the packaging and the price (branded medicines are usually more expensive).