Tweak each loan independently and see which one actually costs you less.
$2,326
$258,215
$558,215
Loan A saves you $0 in total interest vs Loan B.
Loan A is $0 cheaper per month than Loan B.