N3squik
01/08/2026, 8:54 AMChiranjeet Mishra
01/09/2026, 6:39 PMN3squik
01/10/2026, 9:58 AMChiranjeet Mishra
01/13/2026, 9:23 PMChat.cost for total cost and Chat.costs for the detailed breakdown by component type .
Potential Cost Factors
Several factors could contribute to higher-than-expected costs:
At-Cost vs. Markup
Vapi charges "at-cost" for STT, LLM, and TTS provider requests, meaning without profit markup. However, there may be additional platform fees for Vapi's orchestration services.
Token Counting Differences
External calculators may not account for:
• System messages and conversation context
• Function calling overhead
• Prompt engineering tokens added by Vapi
• Conversation state management tokens
Model-Specific Pricing
o1-mini has unique pricing structures that may differ from standard GPT models, and external calculators might not reflect the most current OpenAI pricing.
Investigating Your Specific Costs
To understand the exact cost breakdown for your chat logs, you should:
1. Examine the detailed cost breakdown using the Chat.costs array for both chat IDs
2. Compare model costs vs. platform costs to see where the discrepancy liesN3squik
01/14/2026, 9:07 AM%{
"completionTokens" => 223,
"cost" => 0.0014707,
"model" => %{"model" => "o3-mini", "provider" => "openai"},
"promptTokens" => 445,
"type" => "model"
},
%{"cost" => 0.005, "type" => "chat"}
### o4-mini
"costs" => [
%{
"completionTokens" => 228,
"cost" => 0.0014949,
"model" => %{"model" => "o4-mini", "provider" => "openai"},
"promptTokens" => 447,
"type" => "model"
},
%{"cost" => 0.005, "type" => "chat"}
]
Maybe you have a more detailed view for why o4-mini isnt cheaper than o3-mini? It just feels like there are hidden costs/markup pricing on LLM.
Also, if I was to use my own OpenAI keys, will I only pay for Vapi platform changes (which is $0.05 per minute)?Chiranjeet Mishra
01/15/2026, 3:25 PMN3squik
01/16/2026, 8:12 AMChiranjeet Mishra
01/16/2026, 2:01 PM