Voice Coding on Mac: Dictate Your Prompts to Claude Code, Cursor and ChatGPT

By Théo Belnou, maker of HoldTalk. Published November 17, 2026. Features and prices checked on the official pages on November 11, 2026.

Short answer: for voice coding in Claude Code, type /voice and hold the Space bar. The built-in tool does the job very well. Cursor and ChatGPT also have a microphone button, but each one only works inside its own app. To dictate everywhere on your Mac with one gesture (Terminal, editor, browser, Slack), use a system-wide dictation tool: Apple Dictation, HoldTalk, Wispr Flow or Superwhisper. Whatever you use, read the text before you send it.

A MacBook Pro open on a code editor
A spoken prompt often carries more context than a typed one: the file, the goal, the limits. Photo: Rodrigo Santos, Pexels.

Why dictate a prompt instead of typing it?

The first reason is speed. People type 52 words per minute on average, according to a study of 168,000 people (Dhakal et al., CHI 2018). When you speak, you reach about 130 words per minute, the low end of normal conversation. That is twice as fast.

The second reason is content. When you type, you cut corners and the agent has to guess the rest. When you talk, it is easy to name the file, say what you want and say what must not change. Cursor's own documentation gives the same advice: speak naturally, include file and function names, and review the transcription before you send it.

What voice features do Claude Code, Cursor and ChatGPT have?

Claude Code: the /voice command

In Claude Code, type /voice to turn on dictation. By default you hold the Space bar while you speak, and the text appears in the prompt as you talk. With /voice tap, one tap starts recording and a second tap sends the prompt, as long as it has at least three words.

Claude Code voice transcription is tuned for coding words. Anthropic lists regex, OAuth, JSON and localhost as examples, and it adds your project name and git branch as hints. It supports 20 dictation languages, which you set in /config. To dictate a prompt inside Claude Code, this tool does the job very well.

It has conditions. The audio goes to Anthropic's servers, and nothing is transcribed on your Mac. You must sign in with a Claude.ai account: dictation is not available with an API key, Amazon Bedrock, Google Cloud or Microsoft Foundry, or over SSH. On the plus side, transcription does not use Claude messages or tokens.

Cursor: the chat microphone

Cursor has dictation in the chat input: click the microphone icon, or press Cmd Shift Space in the IDE. In the Agents Window, hold Ctrl M while you talk. Since November 6, 2026, Cursor also has voice chat, a live call where the agent answers out loud. That is a separate feature for conversation. Cursor's documentation does not say where dictation is transcribed.

ChatGPT: the microphone icon

In ChatGPT, the microphone icon records your message, sends it to OpenAI's models for transcription, and gives you text you can edit before you send it. OpenAI keeps the dictation audio as long as the chat stays in your history. ChatGPT Voice is a different feature: it is a spoken conversation, not a way to fill in a prompt.

Where do these built-in tools stop?

Each one only works in its own app. The Claude Code Space bar does not type into Cursor, and the ChatGPT microphone does not help you reply to a GitHub issue or a Slack message. If you switch tools during the day, you learn three different gestures.

All three also send your voice to a server, or do not say where it goes. And Claude Code needs a Claude.ai account, so a team that uses an API key or Bedrock cannot use it.

Which dictation tool works in every Mac app?

A system-wide dictation tool types wherever your cursor is, in any app. Here is what each tool offers, based on the official pages read on November 11, 2026.

ToolWhere it worksLocal or cloudPrice
Claude Code /voiceClaude Code (terminal and VS Code extension)Cloud, Anthropic's serversNeeds a Claude.ai account, uses no tokens
Cursor dictationThe Cursor chatNot stated by CursorNo separate price listed
ChatGPT dictationThe ChatGPT message boxCloud, OpenAI's modelsNo separate price listed
Apple DictationAnywhere you can type textOn the Mac or on Apple's servers, depending on language and MacFree, built into macOS
HoldTalkEvery app, text pasted at the cursorLocal, Apple's engine on the MacFree up to 2,000 words per week, Pro €29 once
Wispr FlowEvery app, on Mac, Windows, iPhone and AndroidCloudFree with a weekly word limit, Pro $15 per user per month, or $12 billed annually
SuperwhisperEvery app, including Cursor and Claude CodeLocal on Free, local or cloud on ProFree with local models, Pro $8.49 per month, $84.99 per year or $249.99 lifetime

Apple Dictation costs nothing and is often enough to start. The guide to the Mac dictation shortcut shows the default key and how to change it. Wispr Flow and Superwhisper go further: they learn your names and jargon, and Superwhisper has modes that rewrite your text with an AI model. Both also work outside the Mac. For a full comparison, read the best dictation apps for Mac and Wispr Flow pricing explained.

How do you dictate a good prompt?

What does HoldTalk do for voice coding?

I built HoldTalk so I could stop typing on my Mac, in any app. You hold the fn key, speak, and the text appears at the cursor when you release. HoldTalk pastes it like Cmd V, so it works in the Terminal where Claude Code runs, in Cursor, in ChatGPT and everywhere else.

Transcription runs on your Mac with Apple's engine (SpeechAnalyzer). There is no server and no account, and the audio is not recorded. The app is available in English, French and Spanish.

To be honest about jargon: Apple's engine still makes mistakes on technical terms. The personal dictionary helps, because it fixes the words you add, and their misheard variants, after each dictation. It cannot fix a term it does not know, and Claude Code's /voice, tuned for code, does better on this point. The history keeps your last 1,000 texts, so you can find a long prompt again.

HoldTalk also has clear limits. It only runs on Apple silicon Macs with macOS 26 or later, not on Windows or phones, and it has no voice commands to edit text. The free plan covers 2,000 words per week, with 7 days of Pro on first launch, no card or account needed. Pro costs €29 once, for 2 Macs, with no subscription.

Dictate your prompts in every app

Hold fn, speak, release: the text lands in Terminal, your editor or your browser. Free up to 2,000 words per week, with no account.

Try it free

For Apple silicon Macs running macOS 26 or later.

Frequently asked questions

How do I turn on voice in Claude Code?

Type /voice in Claude Code, then hold the Space bar while you speak. You must sign in with a Claude.ai account: dictation does not work with an API key, Amazon Bedrock or over SSH. Set the dictation language in /config.

Does Claude Code voice mode transcribe on the Mac?

No. Anthropic's documentation says the audio streams to Anthropic's servers for transcription. Transcription does not use Claude messages or tokens and does not count toward the limits in /usage.

Does Cursor have dictation?

Yes. Click the microphone icon in the chat input, or press Cmd Shift Space in the IDE. In the Agents Window, hold Ctrl M while you talk. Cursor's documentation does not say where the transcription happens.

Can I dictate in Terminal on a Mac?

Yes. Apple Dictation works wherever you can type text, and HoldTalk pastes the text at the cursor like Cmd V, so it works in Terminal too. Inside Claude Code, /voice also does the job very well.

Does dictation get function names and jargon right?

Not always. Claude Code voice mode is tuned for coding words. Apple's engine, which HoldTalk uses, still makes mistakes on jargon: HoldTalk's personal dictionary fixes the words you add to it, but always read the prompt before you send it.

Sources

See also: the guide to dictation on Mac and Superwhisper vs Wispr Flow.