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.
Glass wall vs concrete wall cost.
Costs to build a wall.
When direct costs are considered glass facades are much more costlier than brick walls atleast here in india as it requires highly skilled labor and higher material costs.
Poured concrete walls cost.
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.
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.
You re just comparing a window vs an entire window and wall system.
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.