Developer securing a customer chatbot wired to a third-party LLM
Backend or full-stack developer in an enterpriseThis developer maintains a customer support chatbot connected to a self-hosted OpenAI model outside Amazon Bedrock. It handles several thousand requests per day and must prevent customer data leakage and off-topic answers. The workflow: they configure a guardrail in the Bedrock console with content filters, denied topics, and PII filters, then call the ApplyGuardrail API before and after each model call, without invoking any Bedrock model. On pricing, each enabled policy is billed per text unit ($0.10 per 1,000 units for most), while word filters stay free; cost remains manageable as long as evaluated text volume is monitored. Keep in mind: embedding and image generation models are not covered by guardrails, and AWS automatically updates the underlying models, so regression tests must be rerun regularly.