There are competitors charging a lot less.
Kimi K3 is a huge (3T parameter) open weight model, the cheapest it is available from 3rd party providers is $0.25/1M (non-cached) input, $9/1M output.
This model is not as good as the ones Anthropic uses, but it's not dramatically cheaper to run.
Inference is very cheap. Anthropic and OpenAI are both trying desperately to maintain the perception of very high token costs, to sustain the more expensive parts of their businesses. Neither of them wants to cut the costs, but also they compete for customers by having these subscriptions, which are in line with the external estimates for their actual costs.