Use your own rate in the cost estimate
The bulk confirmation and the Transcribed this month line price minutes from each provider’s list price. If you have a negotiated rate, or a custom provider with no list price, give it here, in US dollars a minute. Without a rate, a custom provider gets no estimate.
- A key is a provider slug, or
{slug}:{model}where the model changes the price (openai:gpt-4o-transcribe-diarize). - Anything but a positive number counts as no rate.
- The figures stay estimates: the screen still says your provider’s bill may differ.
Code
<?php
add_filter( 'benecaster_transcription_provider_rates', function ( array $rates ): array {
$rates['deepgram'] = 0.0030; // A negotiated rate.
// A custom provider: its own slug for the bulk estimate, `custom` for the monthly line.
$rates['my-provider'] = 0.0040;
$rates['custom'] = 0.0040;
return $rates;
} );
Hooks Used
Need this built rather than just documented? See our services →