As nouns the difference between deontology and cosmopolitanism
is that
deontology is (ethics) the ethical study of duties, obligations, and rights, with an approach focusing on the rightness or wrongness of actions themselves and not on the goodness or badness of the consequences of those actions while
cosmopolitanism is the idea that all of humanity belongs to a single moral community.