← Blog

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.

2.25 s → 0.6 s

From the learner finishing a sentence to hearing the AI Call reply.

94%

Of read-aloud audio played from cache, not generated again.

0.61 → 0.87

Agreement between pronunciation scores and teachers.

3 weeks

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 appWhat voice doesWhat matters most
Flashcards, examples, dictation, passagesReads words and sentences aloudQuality, at almost zero cost per play
AI CallListens to the learner and talks backFeels like a real conversation, no waiting
Speaking practiceScores each word and soundFair 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:

Learnerany age, any accentOPENQUIZ APPBLAZE VOICE PLATFORMLearn wordsflashcards · passagesmade once, cachedRead aloudtext-to-speechAI Calltalk with an AI tutorlive, both waysListen & replyspeech-to-text + TTSSpeaking practicerepeat after the modelrecording in, score outScorepronunciation
Each OpenQuiz feature uses one Blaze capability, through one API key.

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.

For developers: English and Vietnamese use 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):

Before2,250 ms
Blaze600 ms
StepBeforeBlaze
Final transcript after the learner stops650 ms140 ms
AI tutor (before: full reply · now: first sentence)900 ms280 ms
First audio of the reply700 ms180 ms
Total2,250 ms600 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:

SetupWER (English)Attempts misheard
AWS Transcribe14.6%19%
Blaze STT9.3%10%
Blaze STT + lesson word list7.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

FeatureBlaze capabilityPer month
Words, examples, dictationRead aloud (made once, cached)$1,100
PassagesRead aloud (live)$1,900
AI Call: the tutor’s voiceRead aloud (live)$5,000
AI Call: hearing the learnerListen$3,400
Speaking practiceScore 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

  1. 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.
  2. 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.
  3. 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.
Build voice on Blaze. TTS, real-time STT, custom vocabulary and pronunciation scoring share one API key. New accounts get 1,000 free credits at blaze.vn.

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.