Skip to content
PricingApril 3, 20264 min read

Bring Your Own AI Key: Cost, Security, and Fit

A practical guide to BYOK for AI support: calculate provider cost, separate it from platform pricing, protect credentials, monitor usage, and decide whether the model fits.

By RAUM AI Team

Bring your own key (BYOK) means your organization creates and controls the supported AI-provider credential used by RAUM. The provider bills model usage to that provider account, while RAUM bills for the RAUM platform. Keeping those two charges separate makes the cost boundary visible, but it also gives your team responsibility for provider access, budgets, and key lifecycle.

The BYOK cost formula

Use the provider's current pricing page and your observed usage. For a token-priced model, a practical monthly estimate is:

monthly model cost = sum of all requests (
  input tokens ÷ provider billing unit × current input rate
  + output tokens ÷ provider billing unit × current output rate
  + any provider-priced tools, caching, storage, or other features
)

Total support-automation cost then adds the RAUM plan and any external systems you choose to connect:

total monthly cost = RAUM platform plan
+ AI-provider usage
+ separately billed connected services

Do not hard-code a model price into a budget spreadsheet. Providers change model names, rate cards, cache discounts, context limits, and regional availability. Store the rate-card date and source beside every calculation.

A non-hard-coded planning example

Let T be the number of AI-handled tickets in a month, I the measured average input tokens per ticket, and O the measured average output tokens. Let Rᵢ and Rₒ be the provider's current input and output rates per billing unit.

estimated monthly model cost = T × ((I ÷ billing unit × Rᵢ) + (O ÷ billing unit × Rₒ))

This estimate is a starting point. A ticket may use several model calls for understanding, planning, tool selection, correction, or reply generation. Prompt caching, retries, long ticket histories, attachments, and provider tools can change the result. Use RAUM and provider telemetry to replace assumptions with measured averages.

What BYOK does—and does not—mean

  • It does mean the provider credential and provider bill belong to your organization.
  • It does mean you can review provider usage and apply provider-side budgets or alerts where the provider supports them.
  • It does not mean every model or provider is interchangeable. Quality, latency, context, tool support, data terms, and region availability differ.
  • It does not mean model usage is the only cost. The RAUM platform and any separately billed connected systems remain part of total cost.
  • It does not guarantee a lower bill for every workload. The answer depends on actual usage, chosen models, operational overhead, and the alternative contract.

Security and governance implications

A provider key authorizes billable access and should be managed as a production credential:

  1. Create a dedicated provider project or account boundary for the support workload when the provider supports it.
  2. Grant only the models and permissions the deployment needs.
  3. Set provider budgets, alerts, and rate limits before a broad rollout.
  4. Enter the key only through the RAUM provider settings. Never place it in a ticket, browser note, chat message, or source repository.
  5. Rotate the key after exposure, staff changes, or according to your credential policy, and remove the previous key.
  6. Review the provider's current data-processing, retention, regional, and training terms as part of vendor approval.

RAUM's security and data-controls page explains the application side of this boundary. Your provider contract and console remain the authority for provider-side handling.

What to monitor

  • Provider spend and quota: current cost, forecast, rejected requests, and budget alerts.
  • Tokens by workflow: input and output usage for drafting, autonomous resolution, translation, and retries.
  • Outcome quality: correct resolutions, escalations, reopenings, agent edits, and inappropriate actions.
  • Latency and reliability: provider errors, timeouts, fallback usage, and end-to-end ticket time.
  • Configuration changes: model, prompt, knowledge, procedure, provider key, and action-permission changes.

Review cost per correctly resolved ticket, not cost per generated message. A cheap response that causes a reopening or incorrect action is not an efficient outcome.

When BYOK is a good fit

  • Your organization already has an approved AI-provider account or wants direct contractual control.
  • You want provider usage visible in the provider's own billing and telemetry.
  • Your security team can own key creation, storage policy, rotation, budgets, and provider review.
  • You want to select among the providers and models supported by RAUM for different workloads.

When BYOK may not be a good fit

  • Your organization requires one vendor invoice and does not want to operate a separate provider account.
  • No team can own provider budgets, access, rotation, and incident response.
  • Your procurement policy requires an all-inclusive per-seat or per-resolution commercial model.
  • Your workload is too small or irregular to justify the additional provider governance.

How to evaluate it

Start with a representative, non-sending pilot. Record model, token usage, latency, provider cost, agent edits, escalation, and final outcome for each workflow. Compare that measured total with the current alternative contract using the same ticket set and the same definition of a correct resolution. See RAUM pricing for the platform side and the automation decision hub for workflow selection.

Keep exploring

Ready to try RAUM AI?

Install on Zendesk in under 5 minutes. No credit card required.

Get Started →