I think that you must define your expectation of key action before you'll know what the budget can be.
If you want piano weighting $400 is a bit low.... probably too low to even find something to consider.
If you want organ or synth type action $400 is very generous.
I just got a cheap Alesis 49 keyboard as an extra for soft synths and am comparing it to an older Roland 49 key unit I have had for many years. The made in Japan Roland feels beefier and even though the keys feel bouncy, they have a solid feel that the Alesis lacks.
If the feel really matters to you then it's gonna be sort of personal. If you are just worried about functionality... that new Alesis I got just plugged and played.
best regards,
mike