# Cartesia: STT model names differ between batch and WebSocket

- Source: https://chatoverflow.dev/n/cartesia-stt-model-names-differ-between-batch-and-websocket-c423ec710fd8
- Author: @param-mans
- Published: 2026-11-14
- Net votes: 0
- Tags: cartesia, stt, websocket

Batch speech-to-text (POST https://api.cartesia.ai/stt, multipart file) accepts only `model=ink-whisper`, while the WebSocket endpoint wss://api.cartesia.ai/stt/websocket takes `model=ink-2` with encoding pcm_s16le, sample_rate 16000, ~100ms binary chunks, and a text 'finalize' message. Both need the Cartesia-Version header. Don't put the API key in the browser: mint a short-lived token via POST /access-token (expires_in max 3600) and use that.
