The assistant runs 100% offline on a CPU. It uses only about 255 MB of memory and responds 1.5 to 3.5 seconds after I stop talking.

Demo

Here it is running on the phone: a voice command, a reminder, and no network connection.

A 39-second demo, recorded on the phone.

The phone

My first phone was an Oppo A33f from 2015. It has a Snapdragon 410, four Cortex-A53 cores at 1.2 GHz, 32-bit only, 916 MB of RAM, and Android 5.1.1. By modern standards it is a museum piece. It cannot install a current build of Chrome, and most apps dropped support for Android 5 years ago.

I turned it into my desk voice assistant. I say "jumbo, remind me to write an article tonight 10", the phone vibrates, thinks for two seconds, and sets the reminder. No Wi-Fi is involved, and nothing leaves the device.

What runs on it

Everything runs on the CPU, on the phone, with no network.

StageWhat I usedSize
Wake wordKeyword spotter (3.3M-param zipformer, int8)~6 MB
Speech-to-textKroko streaming zipformer70 MB
Language modelSmolLM2-135M-Instruct, via llama.cpp92 MB
Text-to-speechSVOX Pico (formant synthesis)1.7 MB
Glue~2,000 lines of Java + a 278 KB C TTS server-

Together they use about 255 MB of RAM, and 2-3% of one core while idle with the microphone open.

The memory budget on the 916 MB phone:

PartMemory
Assistant process129 MB
LLM server126 MB
Android335 MB
Free326 MB

The voice assistant's total is 255 MB.

Where the 916 MB of RAM goes
Phone RAM
  • Assistant 129 MB
  • LLM server 126 MB
  • Android 335 MB
  • Free 326 MB

The blue part is what the assistant uses: 255 MB, about 28% of the phone.

How it started: badly

I loaded the stock SmolLM2-135M and asked it to set a reminder. It did not.

You saidThe stock model replied
remind me to write an article tonight 10 (as a voice assistant)I'm glad you're interested in writing an article tonight. I'll be happy to help you with that.
remind me to write an article tonight 10 (asked for XML)10. I'm glad you're interested in writing an article tonight. I'll start by sharing some of the most recent research on the impact of climate change on the Arctic…

There was no reminder, no time, nothing. A model this small just chats, or rambles. It also gets facts wrong. Asked for the height of Everest, it stated a figure, contradicted itself, and invented a mountain in China. It sometimes echoed the wake word back as "Jumbo jumbo jumbo jumbo".

The fix: teach it one job

Instead of a bigger model, I fine-tuned the small one for a single task: turn a spoken sentence into one small piece of XML.

The same phone, prompt, and sentences gave a very different result:

You gaveStock modelFine-tuned
remind me to write an article tonight 1010. I'm glad you're interested in writing an article.<reminder><title>write an article</title><when>today 10:00 PM</when></reminder>
tomorrow at 8:30 am turn off stoverepeats the sentence back<reminder><title>turn off stove</title><when>tomorrow 8:30 AM</when></reminder>
i already finished clean ceiling fanrepeats the instructions it was given<done><item>clean ceiling fan</item></done>
drop package at post officeYou are Jumbo. You are not allowed to drop the package at the post office.<todo><item>drop package at post office</item></todo>

The system prompt is short. Here it is in full:

System prompt
You are Jumbo. Route the request to XML only: <reminder><title>...</title><when>...</when></reminder>, <todo><item>...</item></todo>, <done><item>...</item></done>, <note><text>...</text></note>, or <reply>...</reply>.

It tells the model who it is, and that every answer must be one XML element from a fixed set:

  • Role: "You are Jumbo." The assistant has one identity, so it does not describe itself or chat.
  • Output rule: "Route the request to XML only." Nothing outside the XML is allowed.
  • Reminder: <reminder> with a <title> for what to do and a <when> for the time.
  • To-do: <todo> with an <item> for a task to add.
  • Done: <done> with an <item> for a task to mark complete.
  • Note: <note> with a <text> for anything worth keeping.
  • Fallback: <reply> for a direct answer when none of the other formats fit.

Because the set is closed, the device only has to parse one small XML element per request.

The fine-tuned model got the reminder right, with the time. The fridge question, which is not a task at all, still comes out wrong.

On 20 held-out test prompts:

  • Stock model: 3 / 20
  • Fine-tuned model: 19 / 20
Stock model
3 of 20 correct
  • Correct 3
  • Wrong 17
Fine-tuned model
19 of 20 correct
  • Correct 19
  • Wrong 1

Treat that as a sign the model learned the format, not as a benchmark. The test was written by the same script as the training data, and notes are still its weakest intent.

Token speed

The assistant reaches roughly 13-14 tokens per second, including end-to-end voice input and output handling.

ConfigurationTokens/sFirst token
1 thread, model alone4.97.3 s
2 threads, model alone8.93.7 s
3 threads, model alone12.32.5 s
4 threads, model alone14.61.9 s
3 threads + 1 thread for the voice12.52 s
Tokens per second by thread count
4.9
8.9
12.3
14.6
12.5
1 thread
2 threads
3 threads
4 threads
3 threads + voice thread

Higher is better. The last row keeps one thread free for the voice.

The fine-tuned model is on Hugging Face, with a one-line command to run it: jumbo-smollm2-135m.

The voice was the other problem

I tried Piper and Supertonic, both strong small TTS models by current standards. On this phone, Piper produced speech at 2.3x slower than real time, and Supertonic at 4.9x slower. Three seconds of audio took 7 to 15 seconds to synthesize.

EngineCPU seconds per second of speech (lower is better)
Neural TTS (Supertonic int8)4.92x
Neural TTS (Piper, full precision)2.28x
Neural TTS (Piper int8)3.93x
SVOX Pico (2012 formant)0.04x (25x faster than real time)
CPU seconds per second of speech
4.92x
2.28x
3.93x
0.04x
Supertonic int8
Piper, full precision
Piper int8
SVOX Pico (2012 formant)

Lower is better. Anything above 1.0 is slower than real time.

The fix was to go backwards. SVOX Pico is a formant synthesizer from the Android 2.x era: 278 KB of C code and 1.4 MB of voice data. It produces 6.7 seconds of speech in 0.27 seconds, about 25 times faster than real time. It sounds like 2012, but it starts instantly. Because it renders faster than it plays, sentences can be piped into one continuous audio stream with no gaps.

A few more things the old phone did not make easy:

  • Android 5.1 refused to load the modern ONNX Runtime, so I patched its ELF headers by hand.
  • With the loudspeaker dead, the assistant speaks into the earpiece, with a speech-band boost and a soft limiter.
  • Any beep gets picked up by the microphone, so "I heard you" is a 70 ms vibration instead.

The numbers

MeasurementResult
Speech-to-text speed0.57-0.69x real time (faster than you speak)
Speech-to-text accuracy6 of 6 test questions transcribed exactly
Model load time32 s for the recognizer, once at start-up
Wake word, 24 "jumbo" clips (8 synthetic voices)19 detected
Wake word, 18 look-alikes ("gumbo", "jumper", "number", "hello world")0 false positives
Always-on cost, quiet room2-3% of one core
Time from end of question to first spoken word1.5-3.5 s
Wake word: does it respond to the right word only?
Saying "jumbo" (24 clips)
  • Woke up 19
  • Missed 5
Similar words like "gumbo" (18 clips)
  • Ignored 18
  • False wake-ups 0

Takeaways

  • I wanted a voice assistant on a phone I already had, and the stock model could not set a reminder. So I trained a small model for one job, and it handled the reminders.
  • The voice came from the same kind of trade-off: the modern voices were too slow on this phone, so I used an old one that starts instantly.
  • An old phone can still do useful work if the job is small and everything runs on the device.