Audio Transcription Price
audio_transcription_priceCalculate transcription cost from an audio file's length, including timestamp, diarization, or language options, so you can estimate pricing before submitting the file.
Instructions
Calculate price for audio transcription.
Quotes an uploaded audio file by its length. For a URL use video_url_transcription_price or audio_url_transcription_price.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"include_ts": "<include_ts>",
"duration_seconds": "<duration_seconds>"
},
"name": "audio_transcription_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the recording as an ISO code, e.g. 'en', 'pl'. Set it whenever you know the language: auto-detection can pick the wrong one, e.g. on short or accented audio. It forces the output language, so a wrong code returns a translation instead of a transcript. Auto-detected when unset | |
| model | No | Whisper model from the model list. Default WhisperLargeV3Ct2: honours lang, returns segments, supports diarize and word timestamps | WhisperLargeV3Ct2 |
| diarize | No | Label who is speaking; implies include_ts. Only on models marked 'diarize' in the model list (WhisperLargeV3 rejects it). Costs 1.5x, not stacked with a finer ts_level | |
| ts_level | No | Timestamp granularity: 'segment', 'word' or 'char'; implies include_ts. Only the levels a model lists under 'ts_level' in the model list are accepted (WhisperLargeV3: segment only). Finer than segment costs 1.5x on models that price it | |
| include_ts | Yes | Include timestamps | |
| duration_seconds | Yes | Length of the audio in seconds, which the price follows |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||