There is nowhere as big of a difference as people want to believe.
I'm sure the more expensive basses sound better. They definitely have better quality (attention to detail etc), but the sound is not amazingly different.
For example, the wood makes no difference to tone, etc.