Terry has $3 more than Allie, so if Allie has x amount of money, Terry must have x + $3. Together, they have $21, so we can set up the equation x + (x + $3) = $21. Simplifying this equation, we get 2x + $3 = $21. Solving for x, we subtract $3 from both sides and divide by 2, giving us x = $9. Therefore, Allie has $9.