Transmitting information about the location of a predator in social animal species can be seen as an investment in a public good, where information is the resource and group members benefit from reduced fatalities of kin and cooperation partners in their community. As few empirical tests of this idea exist in natural settings, we conducted a field experiment using snake models in wild sooty mangabeys, Cercocebus atys atys. We tested sooty mangabey alarm-calling patterns when exposed to viper models, investigating whether individuals called to signal fitness, to warn specific group members, or when information about the threat is not public, as would be predicted by public goods games. Strong interindividual differences in the likelihood of alarm calling existed. We found that overlap between callers was rare. Individuals were more likely to call if fewer individuals were present at the encounter site and if they had not heard other alarm calls before arriving at the site, indicating that alarm calls extended the information about the threat to following group members. This group size effect is in line with predictions of the volunteer's dilemma, a public goods game. We found no indications that individuals called specifically to warn ignorant individuals, kin or cooperation partners. Calling when information about the threat was not public allowed individuals to warn following group members while avoiding redundancy. Public goods games have not been employed widely in studies of the evolution of primate cooperation and animal communication in general but may provide useful models for understanding group level cooperation.