Firepit is given as a single word in a number of dictionaries, including the online Merriam-Webster, which defines it thus:
a pit dug into the ground or encased in a surrounding structure (as of masonry or steel) in which a fire is kept burning for cooking, warmth, etc.
That dictionary also gives some usage examples. I'll add
firepit as a rare word.