Depends from country to country. I live in India so I can chip in on the situation I suppose and give my/(India's?) perspective on this.
So firstly, it would depend if they are doing remote-job/offshoring directly to a dev or if they are contacting a consultancy instead.
A consultancy can seriously bloat the amount of cost but usually non tech are the ones going to a consultancy but in a consultancy very few (like 5%-10%) goes to the actual workers and they are paid from a fresh dev very low amount of money and I would be going on the high end if I said that they paid something like 16k usd for a complete junior and 40k usd would actually put you at a seriously senior level
Though even the 16k can make a very decent living in India.
My brother works at a company (he freelances as well but parents want security so doesn't do it full time) and he earns around 16k usd from the company but 4x the amount of money through freelancing directly
My cousin works at a company and he's working for 4 years now and he could be considered as maybe senior in just a few years and his salary is 30k USD
my brother actually works at one such consultancy and he mentions that most of the companies are actually non-tech which go to consultancies so I am assuming that since replit is a tech company they are doing remote-job
Now I know that my brother has been approached by companies to do full time but its just risky to work in a startup with the current hiring freeze and he manages to do both somehow I would consider that something like 40-60k (60k as an higher end for a great developer), as always things can even reach 70k sometimes but I am talking on a more average basis of sorts.
Off topic but as someone genuinely interested in this craft, (well I am not sure about coding itself, I have coded but I like golang and sys-admin right now, I want to do so much in this software craft and sometimes I am overwhelmed but its so exciting but I genuinely like tinkering/using linux and making software like alternative frontends for some website which blocked me (doubtnut -> doubt.nanotimestamps.org for my own usecase, I code / use LLM's to solve problems I am facing right now or I am curious about and also recently built a custom liveiso for cachy)
Gotta go hand copy some papers oof. Have a nice day!