you can get refurbished G400 mice right
here on ebay for $43,67 (including shipping).
i just ordered one myself, so i could let you know if you're curious to whether it's in good shape (and functioning properly) or not.
for me, it has to ship to the netherlands (from the us), so:
"Estimated delivery between Thursday, Dec. 4 and Wednesday, Dec. 24"
edit: in case your G400 isn't broken and you're just looking to 'upgrade':
personally, i would stay away from the G400S and the g402.
other than that, i don't really know what i could suggest. i suppose you could look at reviews of the G502, i presume there are a few G400 vs G502 comparisons to be found.
if your G400 is broken, though, you might want to try and find out what the cause is.
if your PC does not register the mouse when plugged in, or it's disconnecting/reconnecting randomly/frequently, then it's likely that your mouse suffers from the legendary cable/cord issue.
if this is the case, then i would suggest that you order a cable (like
this one) for the G400.
installing a new cord for the G400 is incredibly easy (it does
not require any soldering).
a nice bonus too, is that these cables are significantly more sturdy than the original cable on the G400.
there's plenty of information on this cable issue/fix of the G400 on google, in case you're interested (and unfamiliar).
also; the G400 shares the same cable-connection as a bunch of other Logitech mice.
so you could find out which mice have that same cable-connection, and then you'd be able to also search for a cable for that mouse.
sorry for the long post
i wanted to make sure you don't spend more money than you have to, or feel forced to switch to another mouse.