The disclosure generally relates to the novel compounds of formula I, including pharmaceutically acceptable salts, which are CGRP receptor antagonists. The disclosure also relates to pharmaceutical compositions and methods for using the compounds in the treatment of CGRP related disorders including migraine and other headaches, neurogenic vasodilation, neurogenic inflammation, thermal injury, circulatory shock, flushing associated with menopause, airway inflammatory diseases such as asthma, and chronic obstructive pulmonary disease (COPD).