跳到正文
DEV Community· Nabeel Hassan·· 1 小時前AI 評分60

Vapi 與 Retell 每月 10,000 分鐘的定價比較及成本核算程式碼

Vapi vs Retell Pricing for a 10,000-Minute Agency Month: The Math, and Code to Check It

AI 導讀

Nabeel Hassan 按兩家平台的公開價格比較每月 10,000 分鐘的語音智能體用量,Retell 示例配置約需 $1,250,Vapi 則約需 $818 至 $1,369。

正文

TL;DR: At published rates, a 10,000-minute month comes out at about $1,250 on Retell's own example configuration and somewhere between about $820 and $1,370 on Vapi, depending on which model, voice and phone transport you pick. The list math is the easy part. The numbers that decide your margin are billing adjustments, concurrency limits and the fact that the two APIs report cost in different units, so this post ends with code that rebuilds the month from real call records.

Disclosure: I'm Nabeel, founder of VoiceDash, a client portal for Retell agencies. VoiceDash works with Retell today (Vapi support is on its roadmap), so weigh my take with that in mind. Prices checked on 2026-11-26.

The scenario

One agency, 10,000 minutes a month across all clients, US phone numbers, inbound-heavy. That is roughly ten small-business receptionist clients at 1,000 minutes each, which is a realistic month for a small agency. I only use rates each vendor publishes itself:

  • Retell: the worked example in its billing docs, which prices agent usage at $0.11/min (voice infrastructure $0.055, GPT 5.1 standard tier $0.04, Retell platform voices $0.015) plus $0.015/min US telephony, as of November 2026.
  • Vapi: the pricing page, which lists a $0.05/min hosting fee and ranges for each provider: Deepgram transcription $0.0095 to $0.0099/min, OpenAI models $0.0077 to $0.0452/min, ElevenLabs voices $0.0146 to $0.0238/min. Provider costs are passed through at cost.

Line by line

Retell, example configuration:

Line Rate 10,000 min
Agent usage (infra + LLM + voice) $0.11/min $1,100
Telephony (Retell number, US) $0.015/min $150
Total $1,250

Vapi, cheapest to most expensive listed option per component:

Line Rate 10,000 min
Hosting fee $0.05/min $500
Transcriber (Deepgram) $0.0095 to $0.0099/min $95 to $99
Model (OpenAI) $0.0077 to $0.0452/min $77 to $452
Voice (ElevenLabs) $0.0146 to $0.0238/min $146 to $238
Transport $0 (Vapi telephony/SIP) to $0.008/min (Twilio inbound) $0 to $80
Total about $818 to $1,369

Vapi's own calculator agrees with this shape: at 1,000 minutes it shows $82 to $129 before transport.

Two honest caveats before anyone screenshots the tables. First, these are not the same stack: Retell's example fixes one model and one voice tier, while Vapi's range spans cheap and expensive model choices. Second, the Vapi model line is an estimate. Vapi's cost docs say they assume 5 model requests per turn, 150 output tokens per minute and a 50% prompt cache hit rate, and that long calls usually cost more than the estimate because conversation history is resent on every request.

The adjustments that move the real number

Retell: prompt size changes billed duration

Retell bills by how long each billable service is active, then applies adjustments. The one that bites agencies is prompt length. When the prompt context passes 4,000 LLM tokens, billed duration is scaled by tokens / 4000, rounded up. Retell's own example: a 60-second call with 4,800 prompt tokens is billed as 72 seconds. The count includes the global prompt, function descriptions, node prompts, the transcript so far, tool results and retrieved knowledge base content.

That last part matters for agencies that paste a client's whole FAQ into the knowledge base. A receptionist agent that sits at 3,500 tokens on a short call can cross 4,000 on a long one. If your per-client margin is thin, measure this before you quote.

Two smaller ones from the same page: a call shorter than 10 seconds that uses a dynamic opening message with AI speaks first is billed as 10 seconds, and on transfers through a Retell number the telephony charge keeps running after the agent leaves the call.

Vapi: the model line is yours to control

On Vapi the hosting fee is fixed per minute, so the variable is mostly the model. Vapi's docs name input tokens per minute (prompt size plus tool definitions times request rate) as the largest cost factor you control. Long system prompts and many tool definitions push it up; models with prompt caching pull it down.

Concurrency is a line item at this volume

10,000 minutes a month is about 333 minutes a day. If most of it lands in business hours, you will see several calls at once during the morning rush.

  • Retell: Pay-As-You-Go workspaces get 20 concurrent calls by default, and limits apply per workspace (concurrency docs). When inbound traffic hits the limit, a new call waits about 40 seconds for a slot, then goes to the number's fallback_number or ends with concurrency_limit_reached.
  • Vapi: usage-only accounts include 4 concurrent call lines. Extra lines are $10 per line per month, or the Core package ($29/month) includes 10 lines.

Four lines across ten clients is tight. Budget for it in the Vapi column, and on Retell set a fallback number on every client's phone number so an overflow call reaches a human instead of a dead line.

Stop estimating: rebuild the month from call records

List prices tell you what to quote. Your margin is decided by what each call actually cost, so pull it from the API and store it per client. Both platforms return per-call cost, but the shapes differ in a way that will quietly break a dashboard:

  • Retell GET https://api.retellai.com/v2/get-call/{call_id} returns call_cost with combined_cost in cents, a product_costs array (each item has product, unit_price in cents per second, cost in cents, and is_transfer_leg_cost), and total_duration_seconds.
  • Vapi GET https://api.vapi.ai/call/{id} returns cost in USD and a costBreakdown object with transport, stt, llm, tts, vapi and total, plus token counts like llmPromptTokens and llmCachedPromptTokens.

Mix those up and one platform's costs look 100 times bigger than the other's. Normalize at the edge:

type CostRow = {
  platform: "retell" | "vapi";
  callId: string;
  clientId: string;
  seconds: number;
  usd: number;
  parts: Record<string, number>; // USD per component
};

// agentToClient maps a Retell agent_id or Vapi assistantId to your client
function fromRetell(call: any, agentToClient: Map<string, string>): CostRow {
  const c = call.call_cost;
  const parts: Record<string, number> = {};
  for (const p of c.product_costs ?? []) {
    const key = p.is_transfer_leg_cost ? `${p.product}:transfer` : p.product;
    parts[key] = (parts[key] ?? 0) + p.cost / 100; // cents to USD
  }
  return {
    platform: "retell",
    callId: call.call_id,
    clientId: agentToClient.get(call.agent_id) ?? "unassigned",
    seconds: c.total_duration_seconds,
    usd: c.combined_cost / 100,
    parts,
  };
}

function fromVapi(call: any, agentToClient: Map<string, string>): CostRow {
  const b = call.costBreakdown ?? {};
  const seconds =
    call.startedAt && call.endedAt
      ? (Date.parse(call.endedAt) - Date.parse(call.startedAt)) / 1000
      : 0;
  return {
    platform: "vapi",
    callId: call.id,
    clientId: agentToClient.get(call.assistantId) ?? "unassigned",
    seconds,
    usd: call.cost ?? b.total ?? 0, // already USD
    parts: {
      hosting: b.vapi ?? 0,
      transport: b.transport ?? 0,
      stt: b.stt ?? 0,
      llm: b.llm ?? 0,
      tts: b.tts ?? 0,
    },
  };
}

Then the monthly question every agency owner actually asks becomes one query:

select client_id,
       sum(seconds) / 60.0            as minutes,
       sum(usd)                       as cost_usd,
       sum(usd) / nullif(sum(seconds) / 60.0, 0) as usd_per_min
from call_costs
where started_at >= date_trunc('month', now())
group by client_id
order by usd_per_min desc;

Three details that keep the numbers honest:

  1. Upsert, don't insert. Retell's docs note that for transfers on Retell telephony, call_ended and call_analyzed can arrive before the final telephony charge, and the updated cost comes in transfer_ended. Key the table on (platform, call_id) and overwrite.
  2. Keep the parts. A client whose usd_per_min is creeping up usually has a growing prompt (Retell scaling, Vapi input tokens) or more transfers. The per-component column tells you which without opening a transcript.
  3. Store unassigned loudly. A call from an agent you never mapped to a client is cost you can't bill. Alert on it.

Which one is cheaper for you?

Pick Vapi if you want to tune each component, run a lean prompt on a cheaper model, and can live with 4 concurrent lines or pay for more. Its floor is lower than Retell's example configuration.

Pick Retell if you want one bundled rate that is easy to quote, a higher default concurrency (20 per workspace) without add-ons, and you keep prompts under 4,000 tokens so scaling never kicks in.

Either way, quote clients from the per-client usd_per_min you measured last month, not from a vendor table. For the agency side of this (markups, included minutes and what clients actually pay on Retell), I wrote up Retell AI Pricing Explained: What It Costs to Run Voice Agents (and How Agencies Make Margin).

Drafted with AI assistance and fact-checked against each vendor's docs.

來源:DEV Community · dev.to