Command reference ยท Claude Code
/voice
Toggles voice dictation on or off.
Turns voice dictation on or off, or directly activates a specific mode: /voice hold holds down a key while speaking (default mode), /voice tap starts and stops the recording by tapping, /voice off deactivates it. Without an argument, the command just toggles between on and off and keeps the mode last used. A Claude.ai account is required โ voice dictation doesn't work with a plain API key, Amazon Bedrock, Google Cloud, or Microsoft Foundry. A local microphone is also needed; in remote environments like Claude Code on the web or over SSH, the feature isn't available. Transcription doesn't consume any messages or tokens and doesn't count toward the limit in /usage.
โ WHEN TO USE IT?
Speak into the terminal instead of typing
/voice tap โ tap the space bar once, speak, tap again; from three words on it's sent automatically.
Only dictate while a key is held down
/voice hold โ hold the space bar, speak, releasing it inserts the text at the cursor position and waits for Enter.
โ WHEN NOT TO?
Remote session or Claude Code on the web
According to the docs, voice dictation needs a local microphone and doesn't work in remote environments like Claude Code on the web or SSH sessions.
Better: keep typing on the keyboard
Only API key, Amazon Bedrock, Google Cloud, or Microsoft Foundry without a Claude.ai account
According to the docs, the speech-to-text service is only available with a Claude.ai account, not with a direct Anthropic API key, Bedrock, Vertex, or Foundry configuration.
Better: connect a Claude.ai account with /login, or keep typing on the keyboard
SOURCES
- Claude Code docs (official) โ code.claude.com
MORE COMMANDS ยท Claude Code