Blaze Labs · Engineering
Inside OpenQuiz: the voice architecture behind 90,000 daily learners
How OpenQuiz serves 90,000 learners a day on Blaze: AI Call answers in about 600 ms, pronunciation scores line up with teachers, three languages run on one platform, and the whole thing costs 29% of what it used to.
From the learner finishing a sentence to hearing the AI Call reply.
Of read-aloud audio played from cache, not generated again.
Agreement between pronunciation scores and teachers.
From first integration to 100% of traffic.
Three moments where voice matters
Every OpenQuiz lesson mixes three kinds of voice work, each with a different priority:
| In the app | What voice does | What matters most |
|---|---|---|
| Flashcards, examples, dictation, passages | Reads words and sentences aloud | Quality, at almost zero cost per play |
| AI Call | Listens to the learner and talks back | Feels like a real conversation, no waiting |
| Speaking practice | Scores each word and sound | Fair to every accent and every age |
Before, these ran on three vendors, the pronunciation score was a home-made rule on top of transcription confidence, and the AI Call voice did not match the read-aloud voice.
The architecture, in one picture
OpenQuiz keeps its own product logic (lessons, scoring rules, the AI tutor) and hands all voice work to Blaze. Each feature maps to one Blaze capability:
Four design choices
1 · Make it once, play it a million times
Words, example sentences and dictation never change, so OpenQuiz generates their audio once and serves it from its CDN. Each version (child voice, young-adult voice, slow voice for older learners) is made once. Result: 94% of read-aloud plays never touch TTS again, and cost only appears when new content is added.
2 · Stream everything that is live
In AI Call, nothing waits for anything else to finish. Blaze transcribes while the learner is still speaking, the AI tutor answers one sentence at a time, and Blaze starts speaking as soon as the first sentence is ready. What the learner feels is the time to the first sound, so that is what OpenQuiz optimises.
3 · Tell the recogniser what to expect
OpenQuiz knows which words the learner is practising, so it sends that word list to Blaze as custom vocabulary. New, hard words, exactly the ones learners pronounce least confidently, are recognised far more reliably.
4 · One voice per learner
A small voice router picks the voice from the learner’s language, age group and region, and AI Call uses the same voice as the read-aloud audio. Learners hear one consistent tutor for the whole lesson.
blaze-tts-2.5 and blaze-stt-1.5-realtime. German uses Blaze TTS 3 and Blaze STT 3; German speech is sent per utterance, which adds about 200 ms to AI Call. Pronunciation goes through the pronunciation scoring API. Details are in the API documentation.The numbers
AI Call: from 2.25 seconds to 0.6
Time from the learner finishing a sentence to hearing the first sound of the reply (median, 4G, English):
| Step | Before | Blaze |
|---|---|---|
| Final transcript after the learner stops | 650 ms | 140 ms |
| AI tutor (before: full reply · now: first sentence) | 900 ms | 280 ms |
| First audio of the reply | 700 ms | 180 ms |
| Total | 2,250 ms | 600 ms |
In German, AI Call takes about 820 ms, still almost 3× faster than before.
Hearing learners right, and scoring them fairly
On 15,000 hand-labelled learner recordings:
| Setup | WER (English) | Attempts misheard |
|---|---|---|
| AWS Transcribe | 14.6% | 19% |
| Blaze STT | 9.3% | 10% |
| Blaze STT + lesson word list | 7.9% | 6% |
For pronunciation, OpenQuiz compared scores with 20 teachers on 2,000 sentences. Agreement rose from 0.61 with the old home-made rule to 0.87 with Blaze. The gap between Northern and Central learners whom teachers scored the same shrank from 11 points to 2 (out of 100).
Where the $14,000 a month goes
| Feature | Blaze capability | Per month |
|---|---|---|
| Words, examples, dictation | Read aloud (made once, cached) | $1,100 |
| Passages | Read aloud (live) | $1,900 |
| AI Call: the tutor’s voice | Read aloud (live) | $5,000 |
| AI Call: hearing the learner | Listen | $3,400 |
| Speaking practice | Score pronunciation | $2,600 |
| Total | $14,000 |
By language: English $5,000, Vietnamese $3,000, German $6,000. The old stack cost $48,000 a month at the same scale.
The switch, in three weeks
- Week 1 · Evaluate offline. Run Blaze side by side with the old stack on 15,000 recordings, a blind listening test and a teacher-scoring comparison.
- Week 2 · Regenerate read-aloud audio. Re-create every word and example sentence in all three languages overnight (about 36 hours) and switch the cache over.
- Week 3 · Move live traffic. Roll AI Call and speaking practice out to 10%, then 50%, then 100% of learners while watching repeat rate and latency, keeping the old path as a fallback for two weeks before removing it.
The new integration is about 700 lines of code. Nearly 2,400 lines were deleted: three SDKs, audio-format glue and the home-made pronunciation rule.
“Every AI Call turn used to take more than two seconds, long enough for learners to think the app had frozen. We once spent a whole month tuning our own pronunciation rule, and learners from Central Vietnam were still losing points they hadn’t earned.
With the Blaze Platform, reading, listening and scoring sit behind one API. We switched in three weeks, deleted almost 2,400 lines of code, and AI Call now replies in 600 ms, fast enough that learners forget they are talking to a machine. What I value most is that the team has barely touched the voice layer since, and spends that time building new ways to learn.”
Phan Đức Hiếu · OpenQuiz
Takeaways for engineering teams
- Split fixed content from live content. Generate and cache what repeats; go live only for what truly changes.
- Give speech recognition context. The words a learner is practising are the best custom vocabulary you will ever have.
- Stream at every step. Perceived speed is the time to the first sound.
- Don’t hand-roll pronunciation scoring. Use a dedicated scoring model and check it against real teachers.
- Track product metrics, not just model metrics. Repeat rate and reply time describe the experience better than WER.
About the numbers: latency is the median on 4G for English AI Call turns. Accuracy is measured on hand-labelled OpenQuiz learner recordings. Costs are monthly totals at about 90,000 daily active learners.