I've been a similar situation lots of times. I'd say, without hesitance, that being the dumbest guy in the room is the best move and I'm trying to do the same.
I also find that I'm at my best when surrounded by people who I admire. When I'm the smartest guy in the room or overqualified for something, I tend to perform very poorly because there's just this feeling of malaise when you stop learning.