El Pinell de Brai is a municipality in the comarca of la Terra Alta in Catalonia, Spain. It has a population of 948 .