Researchers tested leading commercial large language models with real mortgage applications from the Home Mortgage Disclosure Act data. They changed applicants’ stated race, names, locations and credit quality, then asked the systems to recommend whether to approve loans and what interest rates to offer.

The systems produced more negative recommendations for Black applicants, especially for riskier loans. A prompt to avoid bias reduced disparities when race was stated directly, partly narrowed the pricing gap linked to names and had little effect on the gap linked to geography.