It's used as both here. Extremely intelligent or, colloquially, as something excellent, very good. "You passed your exams? That's brilliant!"
And, if you want to get really colloquial... in Glasgow we'd go even further and call it 'pure dead brilliant'.

LabRat
