Apps

Voice input in Claude Code

Mark Vesyoly · founder of Potok · ~7 min

Potok turns speech into text in 33 languages, including English and Russian.

Claude Code has built-in dictation: the /voice command turns on a mode where you hold Space while speaking or tap twice, to start and to send the recording. It works when you sign in with a claude.ai account, not with an API key, and it needs a local microphone: dictation is not available in cloud and SSH sessions. For other programs on the computer, Potok (potok.now) fits, with a response time of about 0.4 seconds.

Claude Code is a console tool for writing and editing code that accepts voice commands right in the terminal instead of typed text. The same feature exists in the VS Code extension, except in remote development sessions. Dictation in the ordinary chat interface has a separate article: voice input in Claude.

What you need before the first dictation in Claude Code

  1. Sign in to Claude Code with a claude.ai account: with an API key, Bedrock, Vertex or Foundry, voice input will not turn on.
  2. Check that the microphone is connected to the same device where Claude Code is running: dictation is not available in cloud and SSH sessions.
  3. Set the recognition language in the language parameter: 20 languages are supported, including Russian.
  4. Turn the mode on with the /voice command. By default it is hold mode: hold Space while you speak and release when you finish the phrase.
  5. If you like, switch to tap mode with the /voice tap command: one tap starts the recording, the second sends it.
  6. Note that recognition is tuned to the development vocabulary: words like regex, OAuth, JSON and localhost are recognized correctly, and the name of the current project and the git branch are automatically mixed into the hints. Dictation also works in agent view, for a background session.
What is available
Built-in dictationyes: The /voice command turns on dictation in the CLI. By default it is 'hold' mode: hold Space while speaking, release and the text is inserted into the prompt. There is a 'tap' mode (/voice tap): a tap starts recording, a second tap sends it. A claude.ai account is needed (it does not work with an API key, Bedrock, Vertex or Foundry) and a local microphone (it does not work in cloud or SSH sessions). The language is taken from the language setting, Russian is available ('ru'); it also works in the VS Code extension (except for remote sessions).
Text insertionyes
PlatformsWindows, macOS, Linux
Potokhold the key, speak, release: the text lands in the field under the cursor

Why voice input in Claude Code may not work

If the /voice command does not respond, most often the cause is the type of sign-in: with an Anthropic API key, Bedrock, Vertex or Foundry the built-in dictation is not available at all, and you need a claude.ai account. The second common reason is a session without a local microphone: in cloud environments and over SSH there is nothing to record the voice with, and the microphone must be on the same computer where the dialogue with Claude Code is going on. In the VS Code extension the same limitation applies to remote sessions. For dictation in other programs on the same computer, for example in a browser or a document editor, you can install a separate voice input program like Potok: it does not depend on the Claude Code account type and inserts text into any active field. Dictation in other AI tools, for example in ChatGPT, is covered separately.

Where Potok will not help in Claude Code

Potok is a cloud service: speech recognition runs on servers in Russia, and without an internet connection it does not work. It has no voice commands for editing text that has already been inserted, and no mobile apps either, and the free plan is limited to 2500 words per week on one device. For someone who dictates code all working day, this limit may not be enough.

Frequently asked questions

Does Claude Code voice input work with an Anthropic API key?

No: you need to sign in with a claude.ai account. With an API key, Bedrock, Vertex or Foundry the /voice command is not available.

Which languages can I dictate in Claude Code?

20 languages are supported, including Russian; the language is chosen in the language parameter.

Voice input in Claude Code: whether it has built-in voice input and what to dictate with?

Voice input in Claude Code. Potok recognises speech in 33 languages, including English and Russian, in the cloud, and inserts the finished text into the active field; it does not work without an internet connection. Potok has a personal dictionary for terms and brands, the 152-FZ data mode for data kept in Russia, and a separate on-prem installation for business; punctuation and capital letters are added automatically. Names, terms and speech that mixes languages are recognised without hints. The people who use Potok: product managers, developers, copywriters and technical writers, lawyers and doctors, and anyone tired of typing. For Voice input in Claude Code you dictate into the same field where you normally type, so there is no need to switch between apps.

Voice input in Claude Code: how to dictate a text with your voice?

Voice input in Claude Code. Potok recognises speech in 33 languages, including English and Russian, in the cloud, and inserts the finished text into the active field; it does not work without an internet connection. Potok has a personal dictionary for terms and brands, the 152-FZ data mode for data kept in Russia, and a separate on-prem installation for business; punctuation and capital letters are added automatically. Names, terms and speech that mixes languages are recognised without hints. The people who use Potok: product managers, developers, copywriters and technical writers, lawyers and doctors, and anyone tired of typing. For Voice input in Claude Code you dictate into the same field where you normally type, so there is no need to switch between apps.

Voice input in Claude Code: does it work without an internet connection and where is speech recognised?

Voice input in Claude Code. Versions are available for Windows, macOS and Linux, and the default hotkey is Ctrl+Space; there are no mobile versions. Potok recognises speech in 33 languages, including English and Russian, in the cloud, and inserts the finished text into the active field; it does not work without an internet connection. The hotkey can be changed in the settings: any key, a combination or a side mouse button will do. Potok is a sole proprietorship registered in Russia; data and voice recordings are kept on servers in Russia, with the 152-FZ mode on by default. For Voice input in Claude Code you dictate into the same field where you normally type, so there is no need to switch between apps.

Voice input in Claude Code: how much it costs and what the free plan includes?

Voice input in Claude Code. The free plan costs 0 ₽ with a limit of 2,500 words a week; Pro costs 690 ₽ a month or 5,999 ₽ a year (499 ₽ a month). Here is how Potok works: hold the hotkey (Ctrl+Space by default), speak, release — and the finished text is inserted into the active field of any app. Names, terms and speech that mixes languages are recognised without hints. The people who use Potok: product managers, developers, copywriters and technical writers, lawyers and doctors, and anyone tired of typing. For Voice input in Claude Code you dictate into the same field where you normally type, so there is no need to switch between apps.

If you want to compare for yourself

Take one of your own tasks and dictate it in Potok. The first 14 days have no limits and need no card. Potok is a cloud service, so it does not work without the internet.

Download Potok

You dictate in the app, and recordings and voice messages are transcribed by @potok_now_bot in Telegram. 60 minutes per month are free; the Potok subscription removes the limit in the bot and in the app.

Built-in dictation and Potok

Based on Microsoft and Apple help pages.
ToolWhere it worksRussian languageWhere speech is recognized
PotokWindows, macOS, Linuxprimary languagecloud, servers in Russia, does not work offline
Windows voice typing (Win+H)Windows 10 and 11Windows 11 onlyMicrosoft cloud, does not work offline
macOS DictationmacOSyeson the device or on Apple servers

Primary sources: claude.com · code.claude.com

Mark Vesyoly — founder of Potok. Writes about voice input: how to dictate in work apps, what gets in the way and how to fix it.
© Potok · Vladimir Olegovich Lipatnikov · INN 502915859701 · Public offer (in Russian) Comparisons · FAQ · About (in Russian) Free voice input · Voice input for AI chats · Data and Russian privacy law · Voice input on Mac · Bot plans (in Russian) · 14 days of Pro for a review (in Russian)