This is the 17178th most frequent Russian word.
стоил
"Стоил" means "cost" (past tense of "стоить").
The word 'стоил' is used here to describe the past cost or value of the house, indicating a completed action.
Этот дом стоил миллионы рублей.
This house cost millions of rubles.
The word 'стоил' in this sentence conveys the meaning of being 'worth' or 'deserving,' often followed by what was expended or given to achieve something.
Он стоил тех усилий, которые мне пришлось приложить.
It was worth the effort I had to put in.
Here, 'стоил' refers to the consequences or price paid (non-financial) related to an action or decision.