Skip to content

TEST-257 docs: add a Simulation pricing page - #1383

Open
scott-lowe-vapi wants to merge 1 commit into
mainfrom
scottlowe/test-257-sim-run-cost-docs
Open

scott-lowe-vapi wants to merge 1 commit into
mainfrom
scottlowe/test-257-sim-run-cost-docs

Conversation

@scott-lowe-vapi

@scott-lowe-vapi scott-lowe-vapi commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Linear: TEST-257 Simulation runs don't report what they cost.

Documents how simulations are billed today, on main. It doesn't depend on the TEST-257 API stack (VapiAI/vapi#25253, #25254, #25255) and can merge before it. When that stack deploys, a follow-up adds a "Read what a run cost" section for the run and item cost / costs fields.

Preview

Description

  • New page: Observability → Simulations → Pricing. It follows the shape of the Eval pricing page in TRU-935 docs: add an Eval pricing page and link it from billing and eval pages #1498. It covers:
    • no simulation fee: you pay for the conversation, as any call or chat, plus the evaluation
    • what each charge covers, for voice (tester call, target call, evaluation) and chat ($0.005 per turn plus model and tool costs, on both the tester's and target's turns, plus the evaluation)
    • own provider keys: $0 for that provider on the tester and target sides, but the evaluation always runs on Vapi's keys
    • a worked example from a real voice run: $0.0272 tester, $0.0274 target, $0.0019 evaluation, $0.0565 total
    • where to find the charges today: both voice calls are in call logs, the target via callId and the tester via the run webhooks
    • billing checks: the 402 reason values on POST /eval/simulation/run, and that simulation charges don't trigger auto-reload
    • ways to keep costs down
  • Links: Simulations overview and Manage now link to the page.
  • Source (vapi main):
    • Both voice legs are ordinary calls billed at end of call with BYOK adjustment (simulationVoiceCallsCreate, liveCallFunctions.processEndOfCall callOrgUpdate), with autoReloadEnabled: false (UX-459).
    • Chat: tester and target turns both go through the chat pipeline, which adds CHAT_COST_PER_INTERACTION_DOLLARS (0.005) per response (simulationChatRun, chatPipeline.costsCollect). The charge is applied once per item (simulationChatUsageChargeSafe).
    • Evaluation: simulationEvaluationGroupExtract passes credentials: [], and simulationEvaluationUsageChargeSafe charges it. The enable-simulation-evaluation-billing flag is at 100% with no targeting in PostHog.
    • There is no simulation-specific cost type in COST_TYPES or the spend path.
    • 402 reasons: ORG_BILLING_REJECTION_REASONS, matching SimulationRunPaymentRequiredResponse in fern/apis/api/openapi.json. The chat credit waiver is in orgBillingEligibilityAssert.

Testing Steps

  • Pinned Fern 5.216.0 check: 0 errors and the same 15 warnings as main.
  • git diff --check passes.
  • Anchors #choose-voice-or-chat-mode, #cancel-a-run and #send-webhooks-on-run-start-and-end exist on their pages.
  • In the preview, check the new page (tabs, tables, note) and the two links above.

🤖 Generated with Claude Code

@scott-lowe-vapi scott-lowe-vapi changed the title Whats new 09-14-2026 (#1234) TEST-257 docs: explain how to read what a simulation run cost Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions

Copy link
Copy Markdown
Contributor

@scott-lowe-vapi
scott-lowe-vapi marked this pull request as ready for review October 31, 2026 07:56
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@scott-lowe-vapi
scott-lowe-vapi force-pushed the scottlowe/test-257-sim-run-cost-docs branch from c02423c to 37e342d Compare November 26, 2026 06:07
@scott-lowe-vapi scott-lowe-vapi changed the title TEST-257 docs: explain how to read what a simulation run cost TEST-257 docs: add a Simulation pricing page Nov 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🌿 Preview your docs: https://vapi-preview-pr-1383.docs.buildwithfern.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant