NeMo Guardrails implementation plan and cost

A NeMo Guardrails implementation plan starts with which rails to apply, how many extra model calls each request adds, and where the server runs now that the NeMo Guardrails microservice is sunset. This page sets out the scope, cost drivers, phases and what you need to provide.

On this page

What a NeMo Guardrails implementation plan must settle after the microservice sunset

If you run or plan an LLM application that needs guardrails, your path is now the open-source library or the NeMo Helix control plane, because NVIDIA sunset the NeMo Guardrails microservice on October 1, 2026. Most teams should scope this with a partner when a security review, a new LLM feature or a move off the microservice creates a deadline, since the choices below decide cost and duration more than the library install does. The library itself is licensed under Apache 2.0, and the current release is 0.25.0, published on 19 November 2026. NVIDIA's archived NeMo Microservices documentation asks existing microservice users to contact their NVIDIA account team to discuss next steps, so confirm that conversation in writing before you commit to a path.

The first decision is which rails to apply. Input rails, dialog rails, retrieval rails for RAG chunks, execution rails for tools and output rails each add checks, and each check that calls a model or safety model adds latency and per-request cost. Ask which of these calls are self-check moderation, fact-checking, hallucination detection or NVIDIA content and topic safety models, and who pays for the model endpoints that serve them. Settle whether your configuration uses Colang 1.0, the default, or Colang 2.0, because that choice drives the migration and testing effort. The second decision is where the server runs: a Python API inside your application or a guardrails server built from the provided Dockerfile. Confirm the Python 3.11, 3.12 or 3.13 runtime your platform team supports. Your quote should show each rail, the model calls it triggers, and the test effort per rail.

What a NeMo Guardrails implementation includes and what you receive

A NeMo Guardrails engagement breaks into parallel components, each ending in a named deliverable you keep. The cards below describe what the work covers and what you should expect in hand at handover. The scope, deliverables and timeline are agreed in writing before work starts, so you can compare them against your own team's estimate.

Rail selection and design

Map each threat and product requirement to a rail type: input rails, dialog rails, retrieval rails for RAG chunks, execution rails for actions and tools, or output rails. Decide which checks run on every request and which run only on specific flows, because each enabled rail adds model or safety-model calls. You receive a written rail design document listing each rail, its trigger, its owner and the behavior when it blocks or fails.

NeMo Guardrails docs

Configuration files and Python actions

Write the config.yml file, Colang files and any Python actions that connect rails to your business logic. Colang 1.0 is the default, and Colang 2.0 is also supported, so the choice of dialect should be made once and recorded. You receive a version-controlled configuration repository with a pinned NeMo Guardrails version, a README describing each file, and a changelog for later edits.

Current library release
0.25.0

Server or Python API integration

Connect the guardrails to your application through the Python API or the guardrails server, which loads configurations from a folder and exposes an HTTP API. The integration decides how your application handles blocked responses, timeouts and errors from the rails. You receive integration code, a documented API contract for your application teams, and deployment artifacts such as a Dockerfile-based server image.

Model and safety-model wiring

Connect the main LLM and any safety models, such as self-check moderation, fact-checking, jailbreak detection or content safety models. Each added model call raises latency and cost per request, so this work sets the model endpoints, timeouts, fallbacks and credential handling. Ask the vendor or your platform team which safety models run locally and which call external services, since that determines data flow. You receive a model inventory with endpoints, credentials references and a per-request call map.

Regression and red-team testing

Build a test suite of rail cases covering expected allowed traffic, blocked categories, edge cases and known jailbreak and injection patterns. Run the suite on every configuration change and before each library upgrade, since behavior can shift between 0.x releases. You receive the test suite in your repository, a red-team findings report with severity and fixes, and a retest record showing which cases now pass.

Handover and operations runbook

Transfer the system to your operations team with a runbook covering startup, configuration rollout, log review of blocked requests, incident response for rail failures and the upgrade procedure. Confirm who owns each rail and each model dependency after handover. You receive the operations runbook, training sessions for the people who will maintain the rails, and a list of open items with owners.

Which NeMo Guardrails rails to apply and what each one adds to latency and cost

Start by deciding which rails the application actually needs, because each rail type adds work to every request it touches. NeMo Guardrails provides five rail types: input rails run on the user message before the main model sees it, dialog rails steer how the conversation flows, retrieval rails inspect RAG chunks before they reach the prompt, execution rails check custom actions and tools before they run, and output rails check the model's response before the user sees it. The cost question for each rail is simple: does it trigger an extra LLM call, a call to a safety model, or a custom action, and how many of those run per turn? A self-check input rule typically adds a model call that runs before the main answer, so it adds both latency and prompt tokens. Confirm the exact call count per rail against the configuration you plan to run, since the number depends on how many flows you enable.

The library's built-in checks map to those rail types and have different cost profiles. Self-check input and output moderation use the application's own LLM to judge text, so they add LLM calls and token spend. Fact-checking and hallucination detection usually add another model pass over the response and retrieved context, which is often the most expensive addition for RAG workloads. The NVIDIA content safety and topic safety models are separate model calls, so they add latency and hosting you must plan for, not just token fees. Jailbreak and injection detection is the check most worth testing against your own traffic, since its false positives block legitimate users. Choose a minimal set by listing the threats that matter for your use case, such as off-topic use, data leakage in responses, or prompt injection through retrieved documents, and enabling only the rails that address them.

Before adding any rail, measure a baseline request path with the main model alone: median and tail latency, tokens per request, and error rate, using representative prompts. Then add rails one at a time and measure each change against that baseline, so you can attribute latency and token growth to a specific rail. Record the results in a table your cost review can reuse, and ask your team to confirm which safety models they can host and at what capacity before the design freezes. This baseline also gives you the numbers needed to compare a library deployment with the microservice cost discussed elsewhere on this page.

What drives NeMo Guardrails implementation cost and duration

This table lists the factors that change the effort of a NeMo Guardrails rollout on the open-source library, why each one moves the work, and how to keep it contained. No price or duration is given here because none is supplied, so ask for a quote built from a written scope that fixes these choices before work starts.

DriverWhy it changes effortHow to keep it down
Number of rails and checks enabledEach input, dialog, retrieval, execution or output rail adds configuration, test cases and runtime behavior to review. Self-check and fact-checking rails add model calls on every request.Start with the rails that address your identified risks, then add others only after regression results justify them.
Number of LLM and safety-model providersEach provider needs its own credentials, endpoint configuration, error handling, latency budget and cost tracking. Mixing providers multiplies test paths.Standardize on one main model provider and one safety model where possible, and document the reason for each additional provider.
Colang version (1.0 default, 2.0 supported)Colang 1.0 is the default. Colang 2.0 requires a different authoring model. Converted configurations from 1.0 to 2.x still need manual review, which adds time.Pick one Colang version for the whole project at scoping, and convert only configurations that stay in use.
Custom Python actions and tool integrationsCustom actions and tools run your code inside the guardrail flow, so they need unit tests, dependency management, error handling and security review.Keep actions small and deterministic, reuse existing internal services, and limit the number of tools each rail can call.
Retrieval sources for RAGRetrieval rails inspect chunks from each source. Every additional source needs its own access control checks, data quality review and test set.Scope the first release to the sources that carry the most sensitive or most used content.
Number of environmentsDevelopment, test, staging and production each need configuration management, secrets and version pinning. Differences between them cause most rollout defects.Keep one configuration repository with environment-specific values only, and promote the same versioned artifact through each environment.
Compliance evidence neededAssessors may ask for rail definitions, test results, change records, log retention and access controls. Producing this evidence takes effort on top of the build.Agree the evidence list at scoping and generate it from the same pipeline that runs the tests.
LangChain integration requiredThe LangChain integration is opt-in and enabled with the NEMOGUARDRAILS_LLM_FRAMEWORK=langchain environment variable. Adding it means a second framework dependency to test and upgrade.Skip the integration unless your application already depends on LangChain, and confirm the need in writing at scoping.

Where the guardrails server runs and how a request moves through it

The request starts in the client application and enters a NeMo Guardrails server, either the Python library inside your own service or the Docker container, both inside your network boundary. Input rails may call an LLM or safety model before the request reaches the main LLM endpoint, and output rails check the reply before it returns to the caller. Each of those extra calls adds latency and cost, so confirm which rails run on every request. The NeMo Helix branch is a different path: guardrail configurations are applied by an inference gateway middleware plugin in front of model endpoints, so confirm which route your team is building before sizing the server.

Request flow through a self-hosted guardrails server and the NeMo Helix alternative.

How a NeMo Guardrails implementation moves through its phases

The sequence turns an unscoped idea of guardrails into a tested, deployed and handed-over configuration, with each phase closing on a named output the client can review. Timing for each phase should be confirmed against the written scope and the client's change windows.

  1. Scope threats and the application's risk surface

    The team maps the LLM application, its users, the data it can reach and the actions it can take, then agrees which failure modes matter: off-topic use, unsafe content, jailbreaks and injection, hallucinated answers, and leakage of retrieved data. Security, product and compliance owners sign off on the list. The output is a written threat scope that names the rails in consideration and the rails explicitly left out, with reasons. The step is done when every owner has accepted that scope in writing.

  2. Choose the hosting model: library, server or Helix gateway

    The team compares three placements. The Python library runs in-process inside the application. The guardrails server runs as an HTTP service or Docker container in front of the LLM. The NeMo Helix gateway applies guardrail configurations to model endpoints as inference gateway middleware. The choice depends on who owns the runtime, how many applications share the rails, and where logs and credentials must sit. The output is a short architecture decision record with the chosen placement, the rejected options and the reasons. Confirm the Helix path with NVIDIA's current documentation before committing, since the microservice it replaces has been sunset.

  3. Design and build the rail configuration

    Engineers decide which of the five rail types apply to each flow: input, dialog, retrieval, execution and output. They write the config.yml file, any Python actions and the Colang files, and choose between Colang 1.0, the default, and Colang 2.0. Where an existing configuration is in Colang 1.0, the migration path is planned here. The output is a versioned configuration repository with one documented rail per threat in the agreed scope, and a mapping from each rail to the threat it addresses. This step is done when the configuration loads cleanly on the chosen Python version, which NeMo Guardrails 0.25.0 requires to be 3.11, 3.12 or 3.13.

  4. Integrate the main model and safety-model calls

    Engineers connect the application's main LLM and any self-check, content safety, topic safety, fact-checking or jailbreak detection models that the rails call. Each added model call adds latency and cost per request, so the team measures how many calls each rail triggers on a typical request and records the result. Credentials for every model endpoint are stored in the client's secret management, not in configuration files. The output is a per-request call map showing which models run for which rails, with measured added latency under expected load. Ask the vendor or model provider to confirm the pricing and rate limits for each model endpoint that will be called.

  5. Run regression and jailbreak test suites

    The team builds a regression set of legitimate requests that must still be answered and a set of adversarial prompts covering jailbreaks, prompt injection, off-topic requests and attempts to extract retrieved data. They run both sets against the configuration and record which rails fire, which are bypassed and where legitimate traffic is wrongly blocked. Findings are fixed in the configuration and the suites are rerun until the agreed thresholds in the scope are met. The output is a test report with the suites, results, open findings and a retest record. Security testing of the surrounding application and API is handled as a separate scope.

  6. Deploy and instrument the guardrails

    The configuration is deployed to the chosen placement in the client's environment, whether a cloud account, data center or air-gapped network. Engineers set up logging for blocked and modified requests, latency and error metrics, and alerts for rail failures or model endpoint outages. Access to the server or gateway is restricted to the calling services and administrators. The output is a deployed build tied to a version, with dashboards and alert rules the operations team can see. The step is done when a smoke test on the deployed system passes and the logging pipeline shows blocked requests reaching the review destination.

  7. Hand over with a runbook and support plan

    The team delivers a runbook covering how to change a rail, roll back a configuration, add a new model endpoint, rerun the regression suites and read blocked-request logs. It also documents the upgrade process across 0.x library releases, where behavior can change, and names who owns each part of the system after handover. Clients should confirm whether ongoing upgrades, regression reruns and production support will be covered by a retainer or left to their own team, and should ask for that split in the written quote. The output is the runbook, the architecture record, the test reports and a signed handover record.

What your team must provide before a NeMo Guardrails project starts

Your team decides the scope of a NeMo Guardrails project before any configuration is written, and most of that decision depends on inputs only you can supply. The first is a named owner for the LLM application and a named owner for security. The application owner decides which user journeys the rails protect and accepts the behavior changes they cause. The security owner signs off on blocked-content policy and on how blocked requests are reviewed. Without both names, rail definitions stall at the first disagreement about whether a refusal is acceptable, and the project gets re-scoped mid-build.

Next, provide access to the model endpoints and safety-model credentials through your secrets process, not through files shared in tickets. Every input rail, output rail and self-check call is an extra model call with its own credentials, so the team needs to know which endpoints the configuration will call, which accounts pay for them, and where keys are stored. Also provide sample user prompts and adversarial prompts drawn from real traffic and from your red team's backlog. Rails cannot be tuned against hypothetical traffic, and a missing adversarial set means testing starts from generic jailbreak lists that may not match your application.

Confirm the written policies that define allowed topics, blocked content and escalation rules, along with the Python version you will run. NeMo Guardrails 0.25.0 requires Python 3.11, 3.12 or 3.13, so an older interpreter on your build image will block installation before any work begins. Record the hosting decision (embedded in your application or run as a guardrails server) and the Colang version (1.0 is the default, 2.0 is supported), because both change the configuration layout and the test suite. Finally, provide access to logs and a staging environment that mirrors production model endpoints. Without staging, rail changes can only be checked against live users, and without log access, nobody can confirm which requests were blocked or why.

Which NeMo Guardrails work teams keep in-house and which they outsource

This table compares each NeMo Guardrails work area against the skills it needs and whether teams usually keep it in-house or outsource it. Read the in-house column as the ongoing ownership a team should hold, and the outsourced column as the scarce skills worth buying for the first build and the testing gate.

Work areaSkills neededUsually in-house or outsourcedWhy
Policy and threat definitionProduct, legal, compliance and security judgment about allowed topics, data and risksIn-houseOnly the organization can decide what its assistant may say and which harms matter, and that decision changes with the business.
Rail designUnderstanding of the five rail types and how each one changes latency and blocking behaviorOutsourced for the first build, then in-houseChoosing which input, dialog, retrieval, execution and output rails to apply is scarce early expertise that a partner can set up faster.
Colang authoringColang 1.0 and 2.x syntax, flow design and manual review of converted filesSplit, with in-house ownership of the flowsEngineers who maintain flows need to read and change them daily, but initial authoring and migration review benefit from specialists.
Python action developmentPython for custom actions and tool calls, plus API and error handlingIn-houseActions touch internal systems and credentials, so the team that owns those systems should write and review them.
Server and container operationsPython packaging, Docker, HTTP service operations, logging and scalingIn-houseThe server runs in the client's infrastructure, so routine operations belong with the platform team that already runs similar services.
Model cost managementTracking extra LLM and safety-model calls per request and tuning which rails run on which trafficIn-houseCost depends on daily traffic and rail choices that only the owning team can see and change.
Red-team testingPrompt injection, jailbreak and bypass testing against the configured railsOutsourced as an independent gateTesting a control you built is weaker than testing it independently, and specialist red-team skills are scarce.
Ongoing upgrades across 0.x releasesRelease tracking, regression testing and changelog review for behavior changesIn-house, with outside help for major movesEach 0.x release can change behavior, so the team must run the regression suite routinely, though a partner can help with large version or Colang moves.

What usually goes wrong in NeMo Guardrails projects and how to prevent it

Most NeMo Guardrails problems in regulated environments come from a few planning mistakes: assuming the sunset microservice path is a simple swap, stacking checks without measuring their cost, and changing configurations without tests. The cards below pair each risk with a prevention step you can put in a scope document before work starts.

Treating the sunset as a like-for-like swap

NVIDIA's sunset notice says the NeMo microservices are no longer supported as of October 1, 2026 and asks existing users to contact their account team. The library is still maintained, but the Helix control plane runs guardrails as an inference gateway plugin, which is a different deployment model. Before estimating anything, confirm which path your existing platform team will own, who signs off on it, and whether your current APIs and configuration formats still apply.

Sunset notice

Adding every built-in check

The library ships self-check moderation, fact-checking, hallucination detection, content and topic safety models, and jailbreak detection. Each enabled rail can add a model or safety-model call to every request, so latency and token spend grow with each check. Start with the rails that match your documented risks, measure added latency per rail on representative traffic, and ask any partner to price the extra calls per request in the quote.

Assuming Colang 1.0 converts cleanly

NVIDIA provides the nemoguardrails convert tool for moving Colang 1.0 configurations to 2.x, but its own migration guide says converted configurations still need manual review. Flows that depend on implicit behavior can change meaning without raising an error. Budget engineering time for reviewing every converted flow, and write test dialogs that prove each rail still blocks and allows the same inputs as before.

Colang 2 migration guide

Upgrading across 0.x releases without regression tests

The current release is 0.25.0, and the 0.x line is still moving, so behavior can change between minor versions. A rail that blocked a prompt in one release may let it through in the next. Keep a frozen test suite of expected allows and blocks for your use cases, run it on every candidate version, and pin the library version in your build until the suite passes.

Relying on deprecated LLMRails

Version 0.25.0 deprecates the LLMRails class in favor of Guardrails, and removal is planned no earlier than 0.27.0. Code written against LLMRails will keep working for now but will need changes before a later upgrade. Check every integration point for LLMRails, follow NVIDIA's 0.25 migration guide, and include the class rename in the same regression cycle as any version bump so it does not become a separate emergency.

Leaving blocked requests unlogged

A guardrail that blocks a request produces evidence that your security and compliance teams will want to review, including attempted jailbreaks, off-topic requests and retrieval chunks that were filtered. If blocked requests are not logged with enough context to reconstruct the decision, you cannot tune rails, investigate incidents or show reviewers that controls operate. Define what each block event records, where it is stored and how long it is kept before the server is built.

How the NeMo Guardrails work changes by starting point and environment

NVIDIA has retired the NeMo Guardrails microservice. Its NGC container page states that NeMo microservices was sunset as of October 1, 2026, with no new releases and no continued support for the artifact. Teams on that container must choose between the open-source library, which NVIDIA still releases (the current release is 0.25.0), and NeMo Helix, an open-source control plane that runs guardrails as inference gateway middleware. The two paths change what you own.

  • Library path: you take over the HTTP server, container build, scaling and patching that the microservice previously handled. Version 0.25.0 requires Python 3.11, 3.12 or 3.13.
  • Helix path: guardrails become middleware on model endpoints, so you adopt a control plane and its operating model. This needs its own evaluation before any rails move.
  • Configuration carry-over: existing configurations may depend on microservice-specific settings. Inventory them before choosing a target.
  • Vendor contact: the archived NeMo Microservices documentation asks existing users to contact their NVIDIA account team. Ask what support remains under your agreement.

Confirm with your NVIDIA account team which support continues before you commit to either path.

Questions buyers ask about NeMo Guardrails implementation cost and effort

What drives the cost of a NeMo Guardrails implementation?

The biggest drivers are how many rails you apply, which models run each rail, and how much configuration and testing the rails need. Each input, dialog, retrieval, execution or output rail can add its own model call, so a request may trigger several extra LLM or safety-model calls before and after the main model responds. Cost also depends on the number of applications and configurations, the Colang version in use, and how much of the work your team does itself. Ask any partner for a written scope that lists each rail, the model or safety model behind it, the test cases planned, and where the server will run. Model-provider charges and infrastructure are usually paid by you, while the engineering effort is what a quote covers.

Can a team build NeMo Guardrails alone with the Apache 2.0 library?

Yes, a capable team can build with the library alone, because NeMo Guardrails is licensed under Apache 2.0 and is installable from PyPI. The work still needs Python 3.11, 3.12 or 3.13, a config.yml file, Colang files and optional Python actions, and it needs someone who can test rails against real traffic. Teams usually weigh three things: whether they already know Colang, whether they have time to build a regression suite, and whether they can run the server securely. The library is free to use, but your team pays for the engineering time, the infrastructure and the model calls. Confirm these skills in your own environment before you decide.

How long does a NeMo Guardrails project take, and why is no duration quoted?

No duration is quoted here because the timeline depends on the rails you choose, the number of applications, the state of your existing LLM stack and how many test cases you need. A narrow rollout with one application and a few input and output rails is far shorter than a multi-application deployment with retrieval and execution rails. Confirm the timeline in the written scope, which should list the phases, the environments covered, the acceptance criteria and any dependencies on your teams or your model provider. Any timeline without a scope behind it should prompt questions about what is included.

What does a NeMo Guardrails project need from the client?

The project needs access, decisions and people from your side. Typical inputs include the LLM applications that will sit behind the rails, sample conversations and blocked-request examples, the model endpoints and credentials the rails will call, and the hosting environment where the server will run. You also need an owner who signs off on which topics are blocked, how false positives are handled and what gets logged. Plan for your security team to review the server endpoint and credential handling. Ask any partner to list these inputs in the scope so gaps are visible before work starts.

Can the extra LLM and safety-model calls be budgeted in advance?

They can be estimated, but only from your own traffic and rail design. Each rail that calls a model adds latency and token or inference cost to the request path, and the total depends on which rails run for each request, how often they trigger and how the safety models are hosted. Start by mapping every rail to the model it calls, then measure how many requests reach each rail in a test environment. Ask any partner to show this mapping as part of the scope, and confirm pricing for each model with its provider, since NVIDIA's documentation covers the library's features rather than your provider's rates.

Does the NeMo Guardrails microservice sunset force a move to the library?

Yes, if you run the microservice, you need a migration path because NVIDIA has retired it. NVIDIA's NGC catalog page says NeMo microservices has been sunset as of October 1, 2026, with no new releases and no continued support for the artifact. NVIDIA's archived documentation says all new development has moved to NeMo Platform and asks existing users to contact their NVIDIA account team. The NeMo Helix project runs NeMo Guardrails as an inference gateway plugin, which is a different architecture. Your options are the open-source library on your own infrastructure, the NeMo Helix route, or a discussion with NVIDIA. Confirm which applies to your contracts and roadmap before you commit.

What does a fixed-scope NeMo Guardrails quote cover?

A fixed-scope quote covers the work, deliverables and timeline agreed in writing before the project starts. DeployOpen works on most engagements this way, so the scope document is the basis for the figure. For a NeMo Guardrails rollout, that scope should name the applications and rails in scope, the model and safety-model integrations, the Colang configuration work, the test suite, the server deployment and handover documentation. It should also state what is excluded, such as ongoing model charges, your internal reviews and later upgrades. Ongoing support, upgrades and continuous testing are available as retainers and should be quoted separately.

How DeployOpen scopes, delivers and hands over NeMo Guardrails work

DeployOpen approaches NeMo Guardrails implementation plan and cost as a written, fixed-scope engagement. We start by confirming which rails apply, which model and safety-model calls the design adds, and where the library will run, then build, test and document it inside your own infrastructure.

How we scope

  • Inventory the LLM application, its entry points, and the rail types you need: input, dialog, retrieval, execution and output.
  • Map every extra model and safety-model call per request so latency and token cost are visible before build starts.
  • Agree scope, deliverables and timelines in writing, with ongoing support offered as a retainer afterward.

How we build

  • Set up the library on your Python 3.11, 3.12 or 3.13 runtime, with configuration in config.yml, Colang files and any Python actions.
  • Test each rail against representative inputs, including blocked and allowed cases, and record the results for review.
  • Decide with you whether the guardrails run as a Python API call or a server container in your environment, and document the choice.

How we hand over

  • Deliver configuration, action code, test suites and a runbook that your engineers can read and change without us.
  • Document the upgrade path across 0.x releases, including which tests must pass before each version change.
  • Walk your platform and security teams through the design so they can review the controls and the evidence themselves.

How we support

  • Offer retainers for ongoing support, upgrades to new NeMo Guardrails releases and continuous rail testing.
  • Re-run regression tests when the library, the underlying model or the rail configuration changes.
  • Confirm with your NVIDIA account team or the NeMo Helix documentation which runtime your organization should target after the microservice sunset.

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.