First-baseman Brandon Belt will stay in San Francisco after accepting an $18.4 million qualifying offer from the Giants.