API token cost vs. self hosting on AWS?


If I wanted to use an LLM like BLOOM or Mistral which would be more cost effective- Buying tokens and getting an API from them or running on AWS myself? Also what other pros / cons are their for each option?

Thanks a lot