Non-consumptive effects (NCEs) of predators occur as prey alters their habitat use and foraging decisions to avoid predation. Although NCEs are recognized as being important across disparate ecosystems, the factors influencing their strength and importance remain poorly understood. Ecological context, such as time of day, predator identity, and prey condition, may modify how prey species perceive and respond to risk, thereby altering NCEs. To investigate how predator identity affects foraging of herbivorous coral reef fishes, we simulated predation risk using fiberglass models of two predator species (grouper Mycteroperca bonaci and barracuda Sphyraena barracuda) with different hunting modes. We quantified how predation risk alters herbivory rates across space (distance from predator) and time (dawn, mid-day, and dusk) to examine how prey reconciles the conflicting demands of avoiding predation vs. foraging. When we averaged the effect of both predators across space and time, they suppressed herbivory similarly. Yet, they altered feeding differently depending on time of day and distance from the model. Although feeding increased strongly with increasing distance from the predators particularly during dawn, we found that the barracuda model suppressed herbivory more strongly than the grouper model during mid-day. We suggest that prey hunger level and differences in predator hunting modes could influence these patterns. Understanding how context mediates NCEs provides insight into the emergent effects of predator-prey interactions on food webs. These insights have broad implications for understanding how anthropogenic alterations to predator abundances can affect the spatial and temporal dynamics of important ecosystem processes.