Incorrect OpenAI LLM cost
In the cost breakdown on the dashboard for a call with gpt-4o-2024-11-20, I see the following:
• $0.79
• 209,307 prompt tokens, 1,651 completion tokens
https://dashboard.vapi.ai/calls/4d5ef79c-6ee1-476d-8a04-dc22ed8470fc
I calculated the cost based on OpenAI’s pricing:
209,307 * 2.50 / 1,000,000 + 1,651 * 10 / 1,000,000 = $0.54
The calculated cost ($0.54) is roughly 1.5x lower than the reported cost ($0.79). Where is the discrepancy coming from?
Also, a side question: do you apply the discounted cached input pricing for GPT-4o from OpenAI? If so, the actual cost should be even lower than $0.54.
• $0.79
• 209,307 prompt tokens, 1,651 completion tokens
https://dashboard.vapi.ai/calls/4d5ef79c-6ee1-476d-8a04-dc22ed8470fc
I calculated the cost based on OpenAI’s pricing:
209,307 * 2.50 / 1,000,000 + 1,651 * 10 / 1,000,000 = $0.54
The calculated cost ($0.54) is roughly 1.5x lower than the reported cost ($0.79). Where is the discrepancy coming from?
Also, a side question: do you apply the discounted cached input pricing for GPT-4o from OpenAI? If so, the actual cost should be even lower than $0.54.
