The cost is $12,000 * 300 million minus income taxes raised. Most plans have a slight increase in personal income tax attached, that leads to a breakeven at around $36K -> $40K.
And the comparative cost in the budget is the cost of the program minus all existing welfare programs this replaces. $1,145 billion was the guesstimate for welfare, so for the USA at $3.5 trillion, it would be a cost of $2 trillion.
I wonder too if there aren't more cuts than just welfare that can be made as a flow on of this. The proposal I saw from a conservative economist was $13K, with $3k reserved for healthcare. That would replace a lot of the medical schemes that exist, which many states likely pay for as well.
Still, it is gonna be hella expensive for the first country that does it at scale.