I built a tiny dictation tool on Cloudflare's free AI tier

December 1, 2026

I dictate almost everything now: blog posts, messages, long prompts for Claude. I pay for Wispr Flow Pro and use it on my phone and my MacBook.

Then I started using my old Lenovo Y500 again, a 2013 laptop I run Ubuntu on. Wispr Flow doesn’t have a Linux version. So I went looking for one that worked on Linux, and found Handy.

Handy deserves a proper shout-out first. It’s a free, open-source dictation app by CJ Pais. Press a shortcut, speak, press it again, and the text appears wherever your cursor is. It runs the speech model on your own computer, so nothing leaves the machine. It’s well made, it’s improving every few weeks, and if your computer is reasonably modern, you should use it.

Mine isn’t. This is the story of what broke, why I wanted a free fix, and how a free cloud tier and an afternoon with Claude Opus 5.5 got me there.

The laptop couldn’t keep up

Running a speech model locally means your computer does all the work. Mine is twelve years old, and it showed in two ways.

First, waiting. Handy’s default model only starts after you stop talking. A 39-second dictation took 36 seconds to come out. Talk for a few minutes and you could make tea while it caught up.

Second, missing sentences. Handy also offers faster “streaming” models that transcribe while you talk. We switched to one, and the wait vanished: an 85-second dictation was ready about a second after I stopped. Then long dictations started coming out half-empty. One 31-second dictation produced 41 words, when normal speech would be closer to 75.

So I read the same paragraph aloud and we compared the output word by word. Out of about 130 words, the local model caught 39. It had skipped two whole paragraphs.

Better models exist. My laptop just can’t run them.

I wanted it free

The obvious fix is a paid speech service. Several are good, and some cost about $0.12 per hour of audio. That’s cheap. But dictation is a habit, not a project: it’s dozens of small recordings a day, every day. I didn’t want another subscription or another meter running for something I’d use this casually.

So the brief was simple. Big-model accuracy, on old hardware, for free.

Cloudflare to the rescue

Cloudflare, the company behind a large chunk of the internet’s plumbing, runs AI models on its own GPUs through a service called Workers AI. The free plan includes a daily allowance, and one of the models on it is Whisper Large v3 Turbo: the big version of OpenAI’s speech model, the kind my laptop could never run.

How far the free allowance goes:

  • Cloudflare gives 10,000 “neurons” a day for free.
  • Whisper Turbo uses about 47 neurons per minute of audio.
  • That’s roughly 210 minutes of transcription a day, more than I’ll ever dictate.

Same paragraph, same laptop, now transcribed in the cloud:

  • Local model: 39 of about 130 words.
  • Whisper on Cloudflare: all 131, with half the errors.

In normal day-to-day dictation it’s been close to word-perfect. Over my first ten real dictations, the median wait after I stopped talking was 3 seconds.

Build, fork, or bolt on?

Once the cloud model clearly won, there was a product decision to make.

Ask Handy to add it? Handy is local-only on purpose. That’s a fair design choice, and it’s not mine to change.

Bolt it on? Recent Handy versions let a script swap the text just before it’s pasted. That works, but Handy would still run its own model on every dictation first, and on my laptop that’s the expensive part we’d be throwing away.

Build something small? We listed what the tool actually has to do:

  • start and stop on a shortcut,
  • record my voice,
  • send it to Cloudflare,
  • paste the text where the cursor is,
  • show me that it’s listening.

Every item except the model was already something the operating system could do. The job was small, even though the app around it was big. So we built the small thing.

Meet dictate

dictate is one small program. Press Ctrl+Space, talk, press it again, and the text appears where you’re typing. Your clipboard is left as it was.

If the internet is down or Cloudflare has a bad moment, it quietly falls back to Handy’s local model, so a dictation is never lost. There’s also a switch to keep everything on the laptop when I don’t want audio leaving it.

The part that took two tries was the simplest-sounding one: knowing it’s recording. I keep the top bar hidden, so the system’s microphone icon never showed. Making the bar appear during recording didn’t work on my setup. What worked was a small bubble at the bottom of the screen, like Wispr Flow’s, with a level meter that moves with your voice.

Two small dark pills: one with a red dot, a level meter and a 0:07 timer; one with a red dot and the word Transcribing
Recording, then "Transcribing…" until the text lands.

One honest limitation: I often mix Hindi and English, and Whisper doesn’t handle that well. It picks one language and translates the rest. dictate can switch to other speech services for those moments, but that’s a story for another post.

Set it up yourself

You’ll need Linux with the GNOME desktop on Wayland, plus a few standard tools (PipeWire, ffmpeg, wl-clipboard, ydotool). The README has the details, and the install script tells you if anything is missing.

1. Create a free Cloudflare account at dash.cloudflare.com.

2. Create an API key that can only run AI models. Go to My Profile → API Tokens → Create token, give it a name, and pick the Workers AI template.

Cloudflare's Create token page with the name dictate and a list of templates, Workers AI at the bottom
Name the token, then choose the Workers AI template at the bottom of the list.
The token form with an account policy granting Workers AI Read and Workers AI Write
The template grants exactly two permissions: Workers AI Read and Write. Nothing else on your account.

3. Create it and copy it. Click Continue to summary, check it, then Create Token. Cloudflare shows the key once, so copy it straight away.

Token summary: name dictate, no expiration, Workers AI Read and Edit on all accounts
The summary before you create it.

4. Find your account ID. It’s the long string in the dashboard’s address bar: dash.cloudflare.com/<account-id>/home.

5. Save both. Each command waits for you to paste, so the key never ends up in your shell history:

read "t?Paste Cloudflare API token: " && echo "export CLOUDFLARE_AI_TOKEN=$t" >> ~/.zshrc && source ~/.zshrc && echo "Saved"
read "a?Paste Cloudflare account ID: " && echo "export CLOUDFLARE_ACCOUNT_ID=$a" >> ~/.zshrc && source ~/.zshrc && echo "Saved"

6. Install dictate:

git clone https://github.com/Alafazam/dictate.git ~/dictate && ~/dictate/install.sh

Then press Ctrl+Space and talk.

What I took away

  • Separate the job from the app. Handy is a full product. The job I needed done was five small steps, and only one of them was hard.
  • Old hardware plus a free cloud tier is a real combination. My laptop records and pastes. A GPU somewhere else does the heavy lifting, at no cost.
  • Credit the shoulders you stand on. Handy showed me what good dictation feels like, and it’s still my offline backup.

What’s something you’ve kept using on old hardware by moving just one piece of it to the cloud?