In the US the PCR test is ~$100 if you're paying out of pocket and in some places there are backlogs. Antigen test was like $5 even before the "free" thing.
I think PCR test costs about $80 in my country if you do it in private clinic. But offcourse you can get tested for free if you feel symptoms and sign up on hot line.
As I understand, even if you test positive using one of these tests (if you are asymptomatic) there's a 97% chance that it is a false positive.
I heard that rapid antigen test isn't very accurate, but definitely not 97%. I got tested at work with antigen test and it was positive. Then I went to make PCR test and it was positive too, despite that my case was asymptomatic.
But in general I think that giving these free testest for everyone is waste of money and there is many ways to spent it better.