Intelligence Is Relative
There is no single answer because "smarter" depends on what traits you value. Hummingbirds have small brains but are masters of hovering, navigation, and remembering flower locations.
Other Perspectives
Larger-brained animals such as corvids (crows, ravens) and primates are often considered more intelligent in problem-solving, tool use, and social complexity. Hummingbirds, however, are evolutionarily successful in their own niches.
Different species have evolved unique adaptations that make them successful in their own ways.