A square pyramid!:)

Triangular prism

A pyramid

A square pyramid has the characteristics you list.

Octagon

A pyramid

A rectangular prism

What shape has 5 faces, 8 edges, and 5 vertices