Dalton signed a 6 year, $115M deal. It's likely structured similarly to Kaepernick's, as the Bengals explicitly made Kaepernick a comp:
When Bengals owner Mike Brown recently said that quarterback Andy Dalton was worth a new deal similar to the one 49ers quarterback Colin Kaepernick recently inked, he wasn't kidding around. On Monday morning, ESPN's Adam Schefter and Adam Caplan broke the news that the Bengals and Dalton had agreed to a new six-year, $115 million contract extension that will ostensibly keep Dalton in Cincy through the 2020 season. Kaepernick signed a seven-year, $126.97 million extension on June 4.
Of course, all NFL contracts have numerous escape clauses for the teams involved, and though the terms of the deal have not yet been released, it's likely that the Dalton deal is like Kaepernick's in that the guarantee will be low (Kaepernick's guarantee was only $13.073 million at signing), and it will be more of a "pay-as-you-go" deal in which the team can cut loose from the contract down the road if Dalton doesn't measure up.
There's also some analysis of Andy Dalton at the link.