Speech to text
sensevoice-small
Transcribe short WAV recordings to text.
— Status from api.tokenflow.dev
Try it in the console playground — you sign in first, and it uses your organization’s quota.
Quickstart
Set TOKENFLOW_API_KEY privately in your shell. This page never asks for your key or runs a request.
Save a supported WAV as sample.wav in your current directory. The command uploads that file.
Transcription
POST /v1/audio/transcriptions · multipart/form-data
curl --fail-with-body 'https://api.tokenflow.dev/v1/audio/transcriptions' \
-H "Authorization: Bearer $TOKENFLOW_API_KEY" \
--form-string 'model=sensevoice-small' \
-F 'file=@sample.wav' \
--form-string 'response_format=verbose_json'- Upload a non-empty WAV: PCM16 or float32, 1–2 channels, 8–48 kHz.
- The file example names a local upload; do not send that name as a text form field.
Performance
Live figures from api.tokenflow.dev
- Response time, median
- —
- Speed, × real time
- —
- Success
- —
| Day | Response time | Speed | Success |
|---|---|---|---|
| — | — | — | — |
| — | — | — | — |
| — | — | — | — |
| — | — | — | — |
| — | — | — | — |
| — | — | — | — |
| — | — | — | — |
How these are measured
Live figures cover all API traffic in the last 24 hours and refresh every minute; a figure with too few requests in the last 24 hours shows the last 7 UTC days instead, marked 7d. First token is the median time from request to the first streamed token, at any prompt length. Output is output tokens per second after the first token, over answers of 16 tokens or more. First byte (speech synthesis) is the median time from request until the first bytes of the response reach our gateway: for a whole file that can be most of the request, and the first bytes may be the file's header rather than sound. Response time (transcription) is the median time for the whole request. Speed is seconds of audio per second of request time, over successful requests; a client that reads a stream slowly, or a speed setting, changes it, and a stream cut off part-way counts with the audio it delivered. The speech synthesis figures include internal traffic served by the same engine. Success is the share of the requests we record that did not fail on our side; client errors such as a bad request or an exhausted quota do not count against it. Each figure needs at least 20 requests behind it (for a timing or speed, 20 successful requests it can be measured on); until then it shows a dash.
Parameters & limits
- Audio length
- Up to 30 seconds per request
- File format
- WAV: 16-bit PCM or 32-bit float
- Channels & sample rate
- Mono or stereo · 8–48 kHz
- Request size
- 25 MiB
- Speaker separation
- Not supported; use this model for short transcription
Pricing & usage
$0.054 / audio hour
Successful requests are billed for at least 10 seconds each. Short clips still use this minimum.
- Default monthly cap
- 10 billed hours / month
- Concurrent requests
- 2 per organization; 3 across external organizations
All keys share the organization’s UTC-month allowance. An administrator can change it. These are default caps, not your remaining quota or free credits.
Reference price checked 2026-11-18. Your customer agreement governs settlement.
View the machine-readable contract
Published specification only. Inspect the discovery API for runtime observations; discovery does not reserve capacity.
{
"id": "sensevoice-small",
"kind": "asr",
"summary": "Transcribe short WAV recordings to text.",
"tags": [
"audio",
"transcription",
"语音识别",
"转写"
],
"protocols": [
{
"id": "transcription",
"method": "POST",
"path": "/v1/audio/transcriptions",
"content_type": "multipart/form-data",
"modes": [
"json",
"verbose_json",
"text"
],
"schema_scope": "complete_fields",
"input_schema": {
"type": "object",
"properties": {
"model": {
"const": "sensevoice-small"
},
"file": {
"type": "string",
"format": "binary"
},
"language": {
"type": "string",
"maxLength": 16
},
"response_format": {
"enum": [
"json",
"verbose_json",
"text"
]
},
"temperature": {
"description": "Accepted and ignored by the engine."
}
},
"required": [
"model",
"file"
],
"additionalProperties": false
},
"constraints": [
"Upload a non-empty WAV: PCM16 or float32, 1–2 channels, 8–48 kHz.",
"The file example names a local upload; do not send that name as a text form field."
],
"example": {
"model": "sensevoice-small",
"file": "@sample.wav",
"response_format": "verbose_json"
}
}
],
"guaranteed": {
"max_audio_ms": 30000,
"max_request_bytes": 26214400,
"encodings": [
"pcm16",
"float32"
],
"channels": [
1,
2
],
"sample_rate_hz": [
8000,
48000
]
},
"documented": {
"guide": "https://tokenflow.dev/speech",
"limits": [
"No speaker diarization; convert other formats to WAV first."
]
},
"billing": {
"meter": "audio_ms",
"minimum_billed_units": 10000,
"measured": "audio_duration_ms",
"pricing": {
"meter": "audio_ms",
"usd_per_hour": 0.054,
"unit": "audio_hour",
"status": "open",
"currency": "USD",
"checked_at": "2026-11-18",
"settlement": "customer_agreement"
}
},
"external_limits": {
"concurrency": {
"perTenant": 2,
"external": 3,
"retryAfterS": 2
},
"default_monthly": {
"limit": 36000000,
"unit": "audio_ms"
},
"quota_is_not_free_credit": true
},
"schema_version": 1,
"publication": "public",
"next": [
{
"method": "POST",
"path": "/v1/audio/transcriptions",
"content_type": "multipart/form-data",
"body": {
"model": "sensevoice-small",
"file": "@sample.wav",
"response_format": "verbose_json"
}
}
]
}For developers and agents
Choose your way in
Human guides and machine-readable contracts describe the same APIs.
- Speech quickstartWAV uploads, voices and streaming.
- Agent guideCLI discovery, credentials and error handling.
- Discovery OpenAPIBuild a client for list and inspect.
- Static JSON cataloguePublished contracts, not live status or quotas.
Need runtime observations? Use the public discovery API. Tenant access and quotas require your API key.
Published contract updated 27 November 2026. This page as Markdown · Terms · Data policy · All models