Amazon Q Business cost vs self-hosted Onyx

Amazon Q Business charges per user and per index unit-hour, while self-hosted Onyx moves the cost to your infrastructure, model serving and staff time. This page shows how to compare the two with your own numbers.

On this page

Does self-hosting Onyx cost less than Amazon Q Business?

The answer depends on user count, index size, model choice and the staff effort needed to run the stack, not on license price alone. A cost review triggered by a renewal, a licensing change or a residency requirement should compare those four drivers side by side. Amazon Q Business charges through its subscription tiers and index capacity, so the comparison has to be built from your own quote and usage figures, which you should request from AWS directly before modeling anything. Onyx Community Edition is MIT licensed, so the software itself carries no per-user license fee. The costs that remain are recurring and sit with you: compute and storage for the document index (Onyx's documented infrastructure includes Postgres, Vespa or OpenSearch, Redis and model servers), the model source, whether that is GPUs you run with a serving engine such as vLLM or API calls to a proprietary provider, backup, upgrades and monitoring. The model line is often the largest variable, and it scales with query volume and the models you choose, so ask your team to size it against real query logs rather than assumptions. The cost that is easiest to underestimate is people. Someone must own deployment, connector credentials, permission sync checks, upgrades and incident response. Ask any implementation partner for a fixed-scope written quote that lists each component, who pays for it, which items are one-time and which recur, and what changes the price if user count or index size grows. Compare that against the full Amazon Q Business bill, including any index capacity charges, before deciding.

Which cost components change when you move from Amazon Q Business to Onyx

This table sets each Amazon Q Business cost component against its self-hosted Onyx counterpart and marks whether it is one-time or recurring. Read it as a checklist for a quote: confirm each row with AWS billing and with your own infrastructure and staff before comparing totals, because the Q Business tier prices and index unit-hour rates are not stated here.

Cost componentAmazon Q Business (managed)Self-hosted Onyx (your infrastructure)One-time or recurring
User subscriptionLite or Pro per-user subscription, billed by AWS; confirm current rates in the AWS pricing terms for your regionNo per-user license for Onyx Community Edition (MIT); Enterprise Edition features such as RBAC are a separate license to confirmRecurring
Index capacityStarter or Enterprise index tiers billed in unit-hours; ask AWS how many unit-hours your data volume impliesIndex sized by your own Vespa or OpenSearch nodes, storage and replicas, so cost tracks hardware and storage sizeRecurring
Core infrastructureIncluded in the AWS service price; no database, cache or queue to runPostgres, Redis, the index engine, object storage and model servers run in your cloud account or data centerRecurring
Model inferenceModel usage is covered inside the Q Business service; confirm what is metered and what is excludedGPU capacity for self-hosted models through vLLM or Ollama, or API token charges if you use a proprietary provider such as OpenAI or AnthropicRecurring
Implementation and migrationConnector setup and app rebuilds are largely configuration work within AWSScoped deployment, connector reconnection, permission sync testing and cutover, usually quoted as fixed-scope workOne-time
Support and upgradesIncluded in the AWS service and support plan you already holdVendor support is paid separately from the open-source project; upgrades and patching are your team's or a retainer's workRecurring
Internal skills and staff timeAdministration happens in the AWS console with limited operations overheadStaff who run Kubernetes or Docker, databases, GPU nodes, monitoring and access control; ask who will own each layerRecurring

What moves the comparison most

Six variables decide whether a self-hosted Onyx deployment costs more or less than Amazon Q Business at your scale. Each one pulls the total in a predictable direction, so the quote you request should price every one of them explicitly.

Number of named users

Amazon Q Business charges per user on its Lite and Pro subscriptions, so seat count scales its license line directly. Self-hosted Onyx has no per-seat license, so user growth mainly adds load on chat, search and model capacity rather than a new fee per person. Ask the quote to state peak concurrent users, not only named accounts, because concurrency drives serving capacity. Confirm current Q Business subscription terms with AWS before comparing.

Volume and churn of indexed content

The more documents you index and the faster they change, the more work the index, sync workers and embedding step perform. Amazon Q Business meters index capacity in unit-hours on its Starter and Enterprise tiers, so heavy churn raises that line. With Onyx, the same volume raises storage, index size and compute on your own servers. Ask for the number of sources, the expected document count and how often each source changes.

Onyx Standard or Onyx Lite

Onyx Standard includes vector and keyword indexing, background sync workers, model inference servers, object storage and Redis, so it carries the largest infrastructure footprint. Onyx Lite drops the vector database and background workers, which lowers infrastructure cost but removes the sync and index capabilities that replace connector-based search. Choose by whether you need permission-synced search over company content or only chat and agents. Confirm which edition the quote assumes.

Hosted API or self-hosted vLLM

Calling a hosted model API turns model cost into per-use charges that rise with query volume and token length. Running vLLM on your own GPUs moves that cost into fixed accelerator capacity, plus the staff who operate it. vLLM itself has no license fee, so the decision is about utilization: low, bursty traffic often favors APIs, while steady high demand can favor owned or reserved GPUs. Ask the quote to model both paths at your expected query volume.

Availability and residency requirements

Multi-region, high availability or data residency requirements add duplicate infrastructure, backups and failover testing to a self-hosted stack, which raises cost. Amazon Q Business carries these controls within AWS regions, so the comparison depends on which regions and recovery targets you must meet. Ask the quote to list each environment, the backup schedule and the failover design, and confirm which residency obligations apply to model inference as well as stored data.

Team skills and operating time

A self-hosted stack moves patching, upgrades, monitoring and on-call from AWS to your staff or an implementation partner. Teams already running Kubernetes, PostgreSQL and GPU clusters carry this cost at lower marginal effort than teams starting from scratch. Estimate the people hours for installation, connector maintenance and routine upgrades, and ask any partner to separate one-time setup from recurring support. Those hours, not the software, usually make up the largest part of the difference.

How the self-hosted Onyx stack is built and where its costs sit

The cost of a self-hosted Onyx deployment depends first on which Onyx shape you choose. Onyx Standard runs vector and keyword indexing, background sync workers, model inference servers, object storage and Redis, so every connector you keep syncing and every query you run lands on infrastructure you pay for. Onyx Lite is a lighter chat and agents deployment without a vector database or background workers. It suits a team that needs chat over a small, mostly static set of sources, but it does not give you the continuous connector sync that replaces an always-current Q Business index. Decide which shape you need before you price anything, because it changes the number of services you run and patch.

Map each service to a cost line. The index and metadata store is Postgres, plus Vespa or OpenSearch for the search index, so storage and memory for the index grow with document volume and sync frequency. Redis and object storage are smaller lines, but they still need backup, monitoring and capacity planning. Model serving is the largest variable. If you host open-weight models, vLLM is Apache-2.0 licensed with no paid edition, so its cost is GPU or other accelerator capacity, the surrounding infrastructure, implementation and the people who operate it. Its vllm serve process exposes OpenAI-compatible endpoints such as /v1/chat/completions and /v1/embeddings, which lets Onyx call your own server the same way it would call a hosted API. If you use a proprietary API instead, the per-token charges replace the GPU line.

Ask your implementation partner and your cloud team to produce a quote that separates these lines: index and database hosting, Redis and object storage, GPU or API model consumption, backup and monitoring, and operator time for upgrades. Confirm with Onyx which components your chosen shape requires and which Helm chart version your deployment targets, since the project publishes releases often. Ask who patches the vLLM nodes, because vLLM's security documentation says inter-node traffic in multi-node runs is unauthenticated and unencrypted by default and must sit on an isolated network. Those controls are recurring work, and they belong in the comparison beside Amazon Q Business subscription fees.

GPU capacity, API models or Onyx Lite: which model cost path fits

Running open-weight models on your own GPUs with vLLM moves the main recurring cost into accelerator capacity. You pay for the hardware or cloud instances that stay on whether or not anyone asks a question, plus the networking, storage and staff who keep the serving stack alive. vLLM itself has no paid edition, so the license is not the cost. Onyx connects to vLLM through its OpenAI-compatible endpoints, which keeps prompts and documents inside your environment.

  • Recurring driver: GPU or accelerator hours for the reserved capacity, sized to peak concurrent users rather than average traffic.
  • Operating effort: driver and CUDA or ROCm version management, model upgrades, capacity planning and monitoring through the Prometheus metrics at /metrics.
  • Security work: in multi-node runs, inter-node traffic is unauthenticated by default, and the --api-key option does not cover every route, so a reverse proxy allowlist is needed.
  • Release pace: vLLM ships new minor releases about every two weeks, so you need a rule for which versions you test before rolling out.
  • Ask your team or vendor: what GPU class and count serve your target concurrency, and who is on call for the serving tier.

Confirm the hardware requirements for your chosen model with the model publisher and your hardware vendor before you size anything.

How to build the cost comparison with your own numbers

This sequence turns a vague sense that self-hosting might be cheaper into a three-year comparison built from your own Amazon Q Business billing, your own source inventory and your own infrastructure rates. Each step produces a figure you can defend in a budget review.

  1. Pull current Amazon Q Business subscription and index records

    The Amazon Q Business administrator and the finance or AWS billing owner export what you pay today. Collect the number of Lite and Pro subscriptions by user group, the index capacity you provision (Starter or Enterprise index unit-hours), and the billing line items for the last full billing period, using AWS Cost Explorer or your invoice. Confirm each unit price with your AWS account team, because list rates and negotiated rates can differ. Done when every line of the current monthly cost traces to a usage record you can show a reviewer.

  2. Count indexed sources, documents and active users

    The Q Business admin and the content owners list each connected data source, such as S3 buckets, SharePoint, Confluence or Salesforce, and record the approximate document count, total storage size and rate of change for each. Count active users over the same period and note peak concurrency, since query volume drives model cost. Record which sources need permission sync so the Onyx side reflects the same access scope. Done when you have one table of sources, sizes and user counts that the rest of the model reads from.

  3. Define the Onyx tier and model path

    The architecture owner chooses between Onyx Standard and Onyx Lite, and between a self-hosted model served with vLLM or Ollama and a proprietary API provider. Standard includes vector and keyword indexing, background sync workers, model inference servers, object storage and Redis, while Lite omits the vector database and background workers. Decide which edition you need, whether you need the Enterprise Edition features such as RBAC, and whether you will self-host the model. Write the choice down, because each option changes the infrastructure and GPU lines in the next steps. Done when the tier and model path are recorded as explicit assumptions.

  4. Price infrastructure at your own cloud or data center rates

    The platform or cloud team prices each component against your own contract or hardware cost: compute for the Onyx services, Postgres, Vespa or OpenSearch for the index, Redis, object storage, and for self-hosted models, GPU or accelerator capacity sized for your expected concurrency. Use your organization's cloud discount, reserved capacity or depreciation schedule, not public list prices. Ask your cloud provider or hardware vendor for quotes, and if you use API models instead, price tokens with the provider's current rate card. Done when each infrastructure line has a monthly figure and a stated rate source.

  5. Estimate staff hours for operations and upgrades

    The platform engineering lead estimates recurring operations effort: monitoring, backups, connector maintenance, patching, Onyx and model server upgrades, and on-call coverage. Count hours per month for each activity, then convert them with your internal loaded cost per hour. Note that vLLM ships minor releases about every two weeks, so upgrade effort is a recurring line, not a one-time one. If you retain DeployOpen or another partner for support or upgrades, add that quote as a separate line. Done when recurring staff hours and cost are in the model with their assumptions listed.

  6. Add one-time implementation and migration costs

    Separate the one-time work from the recurring costs. This includes deployment, connector and permission sync configuration, identity integration with your SSO provider, security hardening, testing, user onboarding and migrating or rebuilding Q Apps and guardrails. Ask each implementation provider for a fixed-scope written quote, and record internal effort in hours. Done when one-time costs sit in their own column, so they can be amortized over the comparison period without being mixed into monthly run rates.

  7. Compare three-year totals and test the assumptions

    Build one table with the current Amazon Q Business cost and the self-hosted Onyx cost across the same three years, including one-time and recurring lines. Then vary the two inputs with the widest uncertainty, usually user count and GPU or API usage, and check whether the conclusion holds. Share the assumptions with finance, security and the AWS account team so the comparison reflects the organization's own position. Done when the three-year totals, the sensitivity results and the list of confirmed quotes are approved in writing by the budget owner.

Costs teams forget on each side

Subscription and infrastructure line items are easy to compare, but the costs that surprise teams sit in migration work, running systems and keeping them secure. The cards below cover items on the Amazon Q Business side and the Onyx side, so the total cost comparison includes both.

Connector rework

Each data source connected to Amazon Q Business must be reconnected, configured and tested in Onyx. Teams should inventory every source, its sync schedule and its permission model before they price the work. Confirm that each source your users depend on has a supported connector in the Onyx connectors directory, and budget for custom work on any gap.

Parallel running

Most teams keep Amazon Q Business live while users test Onyx, so subscription or index charges continue during validation. Ask AWS how index and user charges are billed during the overlap, and plan a dated cutover that avoids paying for two full stacks longer than necessary. Parallel running also means two sets of access reviews and two support queues.

Plugin and guardrail replacement

Amazon Q Business plugins, Q Apps and guardrails do not carry over automatically. Each one needs an equivalent in Onyx, either a built-in agent or action, a custom connector or a policy enforced in your own code. Inventory every plugin and guardrail with the AWS CLI, record what each one does, and assign an owner to rebuild or retire it.

Staff time for AWS administration

Much of the Amazon Q Business administration effort sits in IAM Identity Center, the Q Business console and AWS billing. Those tasks disappear when Onyx runs in your environment, but they are replaced by Kubernetes, database and identity administration that your staff must learn and keep current. Count the hours your current administrators spend each month, then assign them to the new tasks.

Upgrades on your schedule

Onyx publishes frequent releases, and the current release is v4.9.2, with Helm chart 0.9.17 as the supplied release facts. Your team, or a support partner, must test each upgrade, plan downtime for the database and index, and roll back if a migration fails. Ask who owns upgrades, how often they run and how breaking changes are announced.

Monitoring and vLLM metrics

When you serve models with vLLM, the server exposes Prometheus-format metrics at /metrics covering request counts, token throughput, latency and KV cache use. Someone must collect these metrics, set alerts and size GPU capacity from them, which is recurring operating work. Confirm which dashboards and alert rules your observability stack will need before you select hardware.

Hardening multi-node vLLM networks

The vLLM security docs state that communication between nodes in a multi-node deployment is insecure by default, without authorization or encryption, so nodes must sit on an isolated network. The --api-key option does not protect endpoints such as /metrics or /health, so a reverse proxy that allowlists only user-facing endpoints is needed. Budget for network design, proxy configuration and a security review of both.

Backup of the index and database

The Onyx index, Postgres database and object storage hold the data your assistant answers from, along with chat history and permission state. Backup and restore for each component must be designed, tested and monitored, and a restore test should run before go-live. Ask who owns recovery objectives, where backups are stored and how often restores are rehearsed.

Common questions about the cost of replacing Amazon Q Business with Onyx

Does Onyx Community Edition carry a software license fee?

No license fee applies to the Onyx Community Edition itself, because it is MIT licensed and covers RAG, AI chat, agents and actions. Code in the ee directories falls under the Onyx Enterprise License, so confirm with the project which features you need and whether the Enterprise Edition, with premium features such as RBAC, is required for your controls. Your recurring costs then come from infrastructure, model usage and the people who operate the stack, not from a per-seat subscription to Onyx. Ask the vendor or DeployOpen to list which features map to the Community Edition and which need the Enterprise License before you compare totals.

What drives the infrastructure cost of a self-hosted Onyx deployment?

Infrastructure cost follows the components you choose and how much content you index. Onyx Standard runs vector and keyword indexing, background sync workers, model inference servers, object storage and Redis, alongside Postgres and Vespa or OpenSearch. Onyx Lite drops the vector database and background workers, so it costs less to run but serves a narrower purpose. Drivers include the number of connected sources, document volume, sync frequency, query load and whether you run model servers locally. Ask for a sizing estimate tied to your document count, user count and sync schedule.

Do I need GPUs, or can Onyx use API models instead?

You do not need GPUs to run Onyx, because it supports proprietary providers such as Anthropic, OpenAI and Gemini through API keys. GPUs become relevant when you host open models yourself through Ollama, LiteLLM or vLLM. vLLM runs on NVIDIA CUDA, AMD ROCm and Intel XPU GPUs and on some CPUs, and its cost comes from accelerator capacity, surrounding infrastructure and the people who operate it. Choosing API models shifts cost toward per-token usage, while self-hosted models shift it toward fixed hardware and operations. Model your expected token volume against both options before deciding.

Can our own team run Onyx without outside help?

A team with container, Kubernetes or Terraform experience can run Onyx, since it deploys with Docker, Kubernetes, Helm or Terraform and documents an air-gappable architecture. The effort lies in ongoing work: upgrades (the project publishes frequent releases), connector maintenance, index tuning, backups, monitoring, access reviews and, if you host models, GPU operations and inference hardening. If you run vLLM, its security documentation requires isolating multi-node traffic and placing a reverse proxy in front of user endpoints. Estimate the staff hours per month for these tasks and compare them with the cost of outside support.

How long does a migration from Amazon Q Business take?

The duration depends on scope: the number of data sources, how much permission mapping needs to be verified, the number of users, whether you host models and how many Q Apps or guardrails must be replaced. No duration figure is supplied for this work, so ask for a timeline in the written scope rather than relying on a generic estimate. Staff needs include an owner for identity and SSO, people who know each data source's permission model, and someone to validate answers against source-application access. Agree on acceptance tests before the work starts.

What should we ask for in a quote for this replacement?

Ask for a fixed-scope quote that lists each deliverable, the connectors in scope, the identity integration (Google OAuth, OIDC or SAML with SCIM), the deployment target and the model providers. Request the one-time costs separately from recurring ones, including infrastructure sizing, licenses for any Enterprise features, model usage assumptions and support or retainer terms. Also ask who pays for GPUs, backups, monitoring and upgrades, and how permission sync will be tested. DeployOpen works from a written scope and does not publish a price list, so the scope document is what makes the comparison possible.

Does Onyx keep answers within each user's existing source permissions?

Yes, Onyx syncs permissions from the connected applications, so answers only draw on documents the user can already see in the source system. This is central to comparing it with Amazon Q Business, because the cost of a replacement includes testing that permission sync works for each connector. Ask the implementation partner to define test cases per source, including revoked access and group changes, and to record the results as evidence. Permission sync does not replace your own access reviews, so budget for them as recurring work.

When the self-hosted case is weak

Amazon Q Business can remain the simpler and cheaper choice for some organizations, and a self-hosted Onyx deployment is not automatically the better answer. A small user base is the clearest case. Every self-hosted stack carries fixed components, including the index, Postgres, Redis, model serving and the object storage and backups around them, and those costs do not shrink when only a few dozen people ask questions. If your estate already runs on AWS IAM Identity Center, your sources are mostly AWS-native, and usage is light, the managed service may cost less to operate than a platform your team has to patch, monitor and upgrade. Confirm the current per-user and index unit-hour rates directly with AWS and Amazon, then compare them against a full cost estimate for your own environment rather than against the cost of a single server.

The self-hosted case also weakens when no one on your team can run the parts that need specialist skill. Onyx Standard depends on Postgres, a vector index (Vespa or OpenSearch), Redis and model inference servers, and self-hosted models add GPU capacity and an inference engine such as vLLM, which needs its own security hardening, such as a reverse proxy that exposes only user-facing endpoints. If you lack operators for GPUs and databases, ask a partner or your own staff to quote that operating load in writing before you commit. Onyx Lite, which drops the vector database and background workers, may suit a smaller pilot, but confirm its feature limits against your connector and permission requirements first.

Before committing to a multi-year model, run a pilot with a written scope. Name the user group, the three to five connectors that matter most, the permission behavior you must verify, the model options you will test and the exit criteria, including a measured monthly run cost and the staff hours spent. Agree in writing what happens to the data and the workspace if the pilot fails, and keep your Amazon Q Business contract on a short term while the comparison runs. If the pilot shows that the managed service meets your needs at lower total effort, that is a valid result and a reason to stay.

How DeployOpen scopes a fixed-price Onyx implementation

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For a move off Amazon Q Business, we start by agreeing in writing what the Onyx deployment covers, then build and hand it over with the evidence your team needs to run it.

How we scope

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • The written scope lists which Amazon Q Business data sources, users and permissions Onyx must reproduce.
  • Cost components such as Onyx hosting, model serving, GPU or API usage and staff time are itemized in the quote.

How we build

  • We deploy Onyx with Docker, Kubernetes, Helm or Terraform in your environment, matching the target infrastructure you specify.
  • Connectors are configured for the sources in scope, and permission sync is tested against real user accounts before cutover.
  • Model serving choices such as Ollama, LiteLLM, vLLM or a hosted API are set up and load-tested against your expected usage.

How we hand over

  • You receive architecture documentation, configuration records, runbooks and the test results agreed in the scope.
  • Administrators are trained on user provisioning through SSO and SCIM, connector management and query history review.
  • Evidence for compliance assessments is prepared, while independent auditors and certification bodies issue any audit reports.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Upgrades to Onyx releases and Helm chart versions are planned and tested in a staging environment first.
  • Ask us to confirm how licensing applies to your edition, since Onyx Community Edition and Enterprise Edition features differ.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.