compare_federal_student_loan_repayment_plans
Compare every federal repayment plan a loan can elect (Standard, RAP, IBR, PAYE, ICR) on the current federal rules: monthly payment, lifetime cost, forgiveness timing and the estimated tax on forgiven balances. Plans the loan cannot elect are listed with the reason. For Parent PLUS it also runs the consolidation path unprompted, because that is the number that decides. loanType drives PLAN ELIGIBILITY, not just the rate: choose accurately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balance | Yes | Current federal loan balance in dollars. | |
| ratePct | Yes | Weighted average interest rate as a percentage, e.g. 6.54 for 6.54%. | |
| loanType | No | direct_unsubsidized | direct_subsidized | grad_plus_legacy | parent_plus | direct_consolidation | direct_consolidation_with_plus | direct_unsubsidized |
| spouseAgi | No | Spouse's annual AGI. Only used when filingStatus is mfj. | |
| dependents | No | Number of qualifying dependents. A spouse is NOT a dependent. | |
| borrowerAgi | Yes | Borrower's adjusted gross income in dollars, annual. | |
| filingStatus | No | Tax filing status: single, mfj, mfs, hoh. | single |