This comparative effectiveness research study examines the association between racial differences in pain assessment and false beliefs about biologization of race by large language models compared with a human baseline.