You re just comparing a window vs an entire window and wall system.
Glass wall vs concrete wall cost.
Installing a new wall will run an average of 1 795 with a typical range of 939 and 2 696 due to the complexities of some homes the cost can reach as high as 8 000 installing walls seems easy to do but is ultimately a long messy affair typically involving framing electrical work and drywall.
While drywall is readily available in large quantities at local hardware stores glass walls are highly specialized requiring cut to fit glass suspended on an infrastructure of metal braces.
Poured concrete walls cost.
Costs to build a wall.
A poured concrete wall averages 6 153 for homeowners around the country with most people paying between 2 870 and 10 272 you might pay anywhere from 932 to 25 000 depending on the size materials design and overall labor.
I am guessing by using glass for walls you refer to glass facades.
So yes it is cheaper to replace a window than a glass wall but it is much much much cheaper and quicker to replace failed panels of a glass wall than sections of failed brick veneer or precast concrete.
On average however you can expect to pay about 31 ft of concrete wall and 34 per hour of labor for several contractors installing a concrete block wall.