models: correct audio pricing rows; add tinfoil/voxtral-small-24b
- whisper-large-v3-turbo: $0.01 per request (flat, zero per-token) — the old $0.05/1M-input row was stale (co-op/support#48) - voxtral-tts: $0.002 per request (was 'listed $0 (verify on invoice)') - new: tinfoil/voxtral-small-24b, Tinfoil's token-priced STT model ($0.20/1M in + $0.60/1M out), with the chunk-equivalent note for the transcription route and a chat-with-input_audio example - note why dashboard audio rows read '$0.01 · 0 tokens' (Tinfoil returns no token usage for audio)
This commit is contained in:
1 parent
fa4ba8d989
commit
b263e125c4
1 file changed
+29
-6
@@ -117,13 +117,27 @@ model picker to avoid confusion.
|
||||
|
||||
| Model | Provider | Use | Pricing |
|
||||
|---|---|---|---|
|
||||
| `🔒 tinfoil/whisper-large-v3-turbo` | Tinfoil | Speech-to-text | $0.05 / 1M input tokens |
|
||||
| `🔒 tinfoil/voxtral-tts` | Tinfoil | Text-to-speech | listed $0 (verify on invoice) |
|
||||
| `🔒 tinfoil/whisper-large-v3-turbo` | Tinfoil | Speech-to-text | $0.01 per request (flat; zero per-token) |
|
||||
| `🔒 tinfoil/voxtral-small-24b` | Tinfoil | Speech-to-text (token-priced) | $0.20 / 1M input + $0.60 / 1M output tokens |
|
||||
| `🔒 tinfoil/voxtral-tts` | Tinfoil | Text-to-speech | $0.002 per request (zero per-token) |
|
||||
|
||||
Both run inside Tinfoil's enclaves, so voice data gets the same architectural
|
||||
privacy as the private chat models. TTS voices available: `neutral_female`,
|
||||
`neutral_male`, `casual_female/male`, `cheerful_female`, plus French, German,
|
||||
Spanish, Italian, Portuguese, Dutch, and Hindi variants.
|
||||
All three run inside Tinfoil's enclaves, so voice data gets the same
|
||||
architectural privacy as the private chat models. TTS voices available:
|
||||
`neutral_female`, `neutral_male`, `casual_female/male`, `cheerful_female`,
|
||||
plus French, German, Spanish, Italian, Portuguese, Dutch, and Hindi variants.
|
||||
|
||||
Tinfoil bills these at cost, but its audio API returns **no token usage** to
|
||||
the gateway — so dashboard rows for these models read `$0.01 · 0 tokens`: the
|
||||
charge is real, the token columns stay empty.
|
||||
|
||||
`whisper-large-v3-turbo` and `voxtral-tts` charge **flat per request**.
|
||||
`voxtral-small-24b` is token-priced and the better pick for small requests:
|
||||
sent through the chat API with `input_audio` it meters exactly per token, and
|
||||
on `/v1/audio/transcriptions` (the route dictation uses) the gateway bills
|
||||
Tinfoil's measured chunk-equivalent — their audio encoder tokenizes in ~30 s
|
||||
chunks, so a short request costs ≈**$0.0001**, about 1/125th of the whisper
|
||||
floor. For audio longer than ~30 s, prefer the chat route, which meters
|
||||
exactly.
|
||||
|
||||
```bash
|
||||
# Speech-to-text
|
||||
@@ -132,6 +146,15 @@ curl https://gateway.inference.coop/v1/audio/transcriptions \
|
||||
-F file=@your-audio.mp3 \
|
||||
-F model=tinfoil/whisper-large-v3-turbo
|
||||
|
||||
# Speech-to-text (token-priced model, chat route — meters exactly per token)
|
||||
curl https://gateway.inference.coop/v1/chat/completions \
|
||||
-H "Authorization: Bearer ***" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"model": "tinfoil/voxtral-small-24b", "messages": [{"role": "user", "content": [
|
||||
{"type": "text", "text": "Transcribe this audio."},
|
||||
{"type": "input_audio", "input_audio": {"data": "<base64 audio>", "format": "wav"}}
|
||||
]}]}'
|
||||
|
||||
# Text-to-speech (returns WAV audio)
|
||||
curl https://gateway.inference.coop/v1/audio/speech \
|
||||
-H "Authorization: Bearer ***" \
|
||||
|
||||
Reference in new issue
Block a user