Since you mentioned locally presentable categories, I'll give one sufficient condition involving that.
Let $\mathcal{A}$ be a locally finitely presentable additive category. Then the canonical morphism $\sum_{i \in I} A_i \to \prod_{i \in I} A_i$ is a monomorphism. This is true when $I$ is finite because $\mathcal{A}$ is additive. Suppose $I$ is (possibly) infinite. Then $\sum_{i \in I} A_i$ is a filtered colimit of all its finite "sub-coproducts". But for any finite subset $I' \subseteq I$, the canonical morphism $\sum_{i \in I'} A_i \cong \prod_{i \in I'} A_i \to \prod_{i \in I} A_i$ is a (split!) monomorphism, and filtered colimits preserve monomorphisms, so the canonical morphism $\sum_{i \in I} A_i \to \prod_{i \in I} A_i$ is indeed a monomorphism.
In fact, all we really needed was Grothendieck's axiom AB5 (in addition to AB3 and AB3*, of course), i.e. that filtered colimits in $\mathcal{A}$ are exact.