The primary borrower is the first person responsible for paying all fees associated with their loan, including the origination fee, prepayment penalty (if there is one), etc. If the primary borrower becomes unable to pay back their loan, the cosigner would then be responsible for paying back everything, including any fees.