Brazill, who was tried as an adult, had faced at least 25 years behind bars and as much as life in prison for killing Barry Grunow at Lake Worth Middle School more than a year ago.
Wearing a bright red jumpsuit and shackles, the boy said nothing as Circuit Judge Richard Wennet handed down the sentence, which carries no possibility of parole or time off for good behavior.
The sentence, just three years more than the legal minimum, shocked some relatives of the victim, who had warned that the boy is a danger to society and should be put away for the rest of his life.
The case - along with the life sentence given earlier this year to 14-year-old Lionel Tate, who said he was imitating pro wrestlers when he beat a 6-year-old girl to death - has renewed criticism of a tough-on-crime Florida law that allows prosecutors to try juveniles as adults and subject them to mandatory prison sentences.
Brazill's lawyer said the boy will appeal and, after the process is complete, ask the governor for clemency if necessary.