Claude Code has its own voice dictation: run /voice, hold Space, and talk. It is good at coding vocabulary, and it even adds your project name and git branch as recognition hints. But it does not work everywhere, and the error messages do not always say why. Here is where it stops, and what to use in those places.
Disclosure first: we make Yap, one of the system-wide dictation apps mentioned at the end. Everything about /voice below comes from Anthropic's own documentation as it read on 30 November 2026, linked at the bottom.
What /voice does
- Hold Space to talk (the default), or switch to tap mode with
/voice tap: tap Space once to start, tap again to send. A tap-mode recording stops by itself after 60 seconds with no recognized words or after 10 minutes, and a transcript of three words or more is submitted for you. - Your audio goes to Anthropic for transcription. The docs say: "Voice dictation streams your recorded audio to Anthropic's servers for transcription. Audio is not processed locally."
- It costs nothing extra: "Transcription does not consume Claude messages or tokens and does not count toward the limits shown in /usage."
- 20 languages, including English, German, French, Spanish, Japanese and Korean.
Where it does not work
"/voice needs a Claude subscription" or "/voice isn't available with "
/voice needs a Claude.ai sign-in. It is not available when Claude Code runs with:
- an Anthropic API key
- Amazon Bedrock
- Google Cloud's Agent Platform
- Microsoft Foundry
If your company runs Claude Code through Bedrock or an API key, this is the wall you hit, and no setting changes it. The docs add one more trap: if ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, an apiKeyHelper setting or a third-party provider is set, it takes precedence over your Claude.ai sign-in, so /voice refuses even when you are logged in. Remove it and restart Claude Code.
A related message, "Voice mode needs a Claude.ai account", means Claude Code could not find a usable sign-in; /login fixes it.
SSH, cloud sessions and remote containers
The docs list SSH sessions and cloud sessions as unsupported, and in VS Code also Remote SSH, Dev Containers and Codespaces. The microphone is on your machine; the session is somewhere else.
"Voice mode is disabled by your organization's policy"
An admin can switch it off for the whole organization.
WSL
In WSL, /voice needs WSLg, which comes with WSL2 from the Microsoft Store. On WSL1 the docs suggest running Claude Code in native Windows instead.
What to use instead
The trick for all of these cases: dictate on your own computer and let the text arrive as typing. Your terminal sends keystrokes to the remote shell exactly as if you typed them, so this works over SSH, inside containers, and with any sign-in.
- macOS Dictation (free): press the Dictation shortcut in the terminal. On Apple silicon it runs on the Mac for many languages.
- Windows Voice Access (free, Windows 11): Microsoft says it works without an internet connection, and it can also control the PC by voice.
- VS Code's own dictation (free): on desktop, "the default speech recognition model processes microphone audio on your device", and works offline after its download. It works inside VS Code only.
- A system-wide dictation app that types into any window: open-source ones such as Handy, or paid ones such as Superwhisper, Wispr Flow and Yap (ours). Check where each one processes your audio: some run fully on your device, others send audio to a server, which matters if you dictate code or client details.
Whatever you pick, read the prompt before you press Enter. Dictated prompts are long, and one misheard file name sends the agent somewhere you did not mean.
Sources
- Claude Code docs, Voice dictation and Data usage
- Microsoft, Voice access FAQ
- VS Code, Voice support
- Our comparison of what each coding voice tool sends: yapapp.cc/voice-coding



