This prompt conducts a comprehensive pre-deployment evaluation of LLM-powered applications across six critical dimensions: reliability, observability, cost management, security and privacy, user experience, and testing infrastructure. It is designed to be used with a capable LLM assistant that will guide you through each dimension, ask clarifying questions, and produce a readiness report with scores, critical blockers, and prioritized action items.
LLM deployments introduce unique challenges that traditional software deployments do not face. LLMs are probabilistic rather than deterministic, their cost scales directly with usage volume in ways that are difficult to predict, and user trust depends on graceful handling of failures and clear communication about limitations. This assessment is grounded in production engineering best practices from the LLM engineering community and complements the observability guidance covered in our LLM Observability and Monitoring for Production AI Systems, which explains how to instrument pipeline steps so you can correlate degradation events with quality shifts.
The assessment typically takes 30 to 45 minutes to complete thoroughly and results in a structured readiness report that can be shared with your team and tracked over time.
Dimension 1: Reliability and Resilience
This dimension addresses whether your system can continue operating effectively when things go wrong. Key sub-areas:
Model Reliability
- Track model success rates, error rates, and failure patterns across different input types and user scenarios
- Implement model health checks that verify response quality, not just availability
- Monitor for model drift, quality degradation, and provider-side changes that affect outputs
- Document expected behavior ranges for different prompt templates and input categories
- Set up automated alerts for anomaly detection in model response patterns
Infrastructure Resilience
- Monitor uptime, failover capabilities, and load balancing effectiveness across all components
- Implement multi-AZ or multi-region deployment for critical model endpoints
- Design stateless services that can scale horizontally without session affinity
- Validate disaster recovery procedures with regular failover drills
- Implement automated health checks for all dependent services (vector databases, caching layers, authentication providers)
Graceful Degradation
- Implement fallback strategies for when primary models are unavailable or exceed rate limits
- Define degradation tiers: full functionality → reduced context → cached responses → templated responses
- Test degradation paths regularly to ensure they activate correctly and maintain core user value
- Document user-visible behavior for each degradation level
- Implement feature flags to disable non-critical capabilities during resource contention
Circuit Breakers
- Detect and isolate failing components to prevent cascading failures across the system
- Configure circuit breaker thresholds based on error rates, latency percentiles, and timeout patterns
- Implement automatic recovery with exponential backoff and health verification
- Monitor circuit breaker state changes and alert on prolonged open states
- Document manual override procedures for emergency situations
Observability Foundation
- Track system health through comprehensive monitoring and logging at every pipeline stage
- Implement distributed tracing to correlate request flow across all services
- Define and track service-level objectives (SLOs) for latency, availability, and quality
- Create runbooks for common failure scenarios with clear escalation paths
- Implement synthetic monitoring that exercises critical user journeys
Dimension 2: Observability and Monitoring
This dimension evaluates whether you have comprehensive visibility into your LLM system:
Request-Level Metrics
- Track latency, token usage, and error rates per request with dimensional labeling (model, prompt template, user tier, feature)
- Monitor time-to-first-token (TTFT) and total response time separately
- Track input and output token counts to understand cost drivers
- Correlate request attributes with quality outcomes and user satisfaction
- Implement real-time dashboards for operational visibility
Quality Metrics
- Monitor output quality, relevance, and correctness metrics using both automated and human evaluation
- Implement automated evaluation pipelines for regression detection
- Track hallucination rates, factual accuracy, and instruction following
- Monitor for specific failure modes: refusal rates, format violations, policy violations
- Set up A/B testing infrastructure for prompt and model comparison
System Health
- Track resource utilization, error rates, and service degradation across all infrastructure
- Monitor queue depths, cache hit rates, and database connection pools
- Implement infrastructure-as-code validation for deployment consistency
- Track deployment frequency, change failure rate, and mean time to recovery
- Monitor external dependency health (model providers, vector databases, auth services)
User Feedback
- Collect and analyze user satisfaction and issue reports through explicit and implicit signals
- Implement in-product feedback mechanisms (thumbs up/down, issue reporting, surveys)
- Track user retention, engagement, and feature adoption metrics
- Correlate feedback with specific model versions, prompt templates, and system configurations
- Establish feedback review cadence and triage process
Observability Stack
- Ensure comprehensive logging, tracing, and alerting across all system components
- Implement structured logging with consistent fields for querying and analysis
- Set up alerting on SLO burn rate, not just threshold breaches
- Create operational dashboards for different audiences (engineering, product, leadership)
- Implement log retention and archival policies for compliance and debugging
Dimension 3: Cost Management
Evaluates financial sustainability and cost optimization strategies:
Cost Modeling
- Estimate operational costs based on usage patterns, token pricing, and infrastructure requirements
- Build cost models that account for peak usage, seasonal variation, and growth projections
- Model cost per user, per session, per feature, and per business outcome
- Include infrastructure costs (compute, storage, networking) alongside model API costs
- Validate cost models against actual production spend monthly
Budget Allocation
- Set appropriate budgets for different use cases based on business value and user tier
- Implement budget alerts at 50%, 75%, and 90% of allocation
- Define budget enforcement policies: hard limits, soft limits with alerts, or tiered throttling
- Track budget utilization by feature, team, and environment
- Plan for cost anomalies and unexpected usage spikes
Cost Monitoring
- Track spending and detect anomalies in real-time with automated alerting
- Implement cost attribution tags across all resources and requests
- Monitor for cost efficiency regressions (cost per successful request, cost per active user)
- Track reserved capacity utilization and spot instance effectiveness
- Set up automated cost optimization recommendations
Cost Optimization
- Implement strategies to reduce token usage and latency without degrading quality
- Use prompt compression, context summarization, and selective retrieval
- Implement model tiering: route simple queries to smaller/cheaper models
- Use caching for repeated or similar queries with appropriate TTL policies
- Implement batch processing for non-real-time workloads
ROI Analysis
- Evaluate return on investment for LLM investments against business outcomes
- Track revenue attribution, cost savings, and productivity gains from LLM features
- Compare LLM approach costs against alternative solutions (human operators, rule-based systems)
- Model breakeven points and payback periods for different use cases
- Report on cost efficiency improvements over time
Dimension 4: Security and Privacy
Assesses security posture and privacy compliance:
Authentication and Authorization
- Implement robust access controls with role-based and attribute-based access
- Use industry-standard authentication (OAuth 2.0, OIDC) with proper token validation
- Implement fine-grained permissions for model access, data access, and administrative functions
- Audit access patterns and implement just-in-time access for sensitive operations
- Secure API keys and service accounts with rotation and least-privilege principles
Data Protection
- Secure sensitive data at rest and in transit with encryption (AES-256, TLS 1.3+)
- Implement data classification and handling policies for PII, PHI, and confidential data
- Use tokenization or pseudonymization for sensitive data in prompts and responses
- Secure vector database embeddings that may contain recoverable sensitive information
- Implement secure key management with HSMs or cloud KMS
Privacy Compliance
- Adhere to relevant regulations (GDPR, CCPA, HIPAA, SOC 2) based on your data and users
- Implement data subject rights: access, rectification, erasure, portability
- Conduct privacy impact assessments for new features and data flows
- Maintain records of processing activities and data flow maps
- Implement data retention and deletion policies with automated enforcement
Model Security
- Protect against model extraction, membership inference, and adversarial attacks
- Implement rate limiting and anomaly detection for model API access
- Monitor for prompt injection, jailbreak attempts, and adversarial inputs
- Validate model outputs for safety, bias, and policy compliance
- Implement model versioning and rollback capabilities for security incidents
Privacy-Preserving Techniques
- Implement differential privacy for training data and model outputs where applicable
- Consider federated learning approaches for sensitive data scenarios
- Use secure multi-party computation for collaborative model training
- Implement homomorphic encryption for privacy-preserving inference
- Evaluate privacy-preserving architectures for regulatory requirements
Dimension 5: User Experience
Evaluates the human-centered aspects of your LLM application:
Conversation Design
- Create intuitive and effective user interactions with clear affordances and feedback
- Design conversation flows that handle ambiguity, interruptions, and context switches
- Implement progressive disclosure for complex features and capabilities
- Use consistent personality, tone, and communication style across interactions
- Test conversation design with diverse user populations and accessibility needs
Error Handling
- Provide clear, helpful messages during failures that guide users to successful outcomes
- Distinguish between user-correctable errors (input format, missing info) and system errors
- Implement automatic retry with exponential backoff for transient failures
- Offer alternative paths or human escalation when automated resolution fails
- Log user-facing errors for pattern analysis and UX improvement
Performance
- Ensure responsive and fast response times with clear progress indication
- Implement streaming responses for long generations with time-to-first-token targets
- Set and communicate realistic expectations for response times
- Optimize critical user journeys for latency; accept higher latency for batch operations
- Monitor and optimize perceived performance, not just technical metrics
Accessibility
- Make the application usable for diverse users including those with disabilities
- Ensure keyboard navigation, screen reader compatibility, and sufficient contrast
- Provide alternative input/output modalities (voice, text, visual)
- Test with accessibility tools and real users with disabilities
- Document accessibility features and limitations
User Testing
- Validate UX with real users through testing at multiple development stages
- Conduct usability testing for new features and major changes
- Implement continuous user feedback collection and analysis
- Track task completion rates, error recovery, and user satisfaction over time
- Iterate based on findings with measurable UX improvement goals
Dimension 6: Testing Infrastructure
Evaluates the robustness of your testing approach:
Test Coverage
- Ensure comprehensive test coverage of all components including edge cases
- Implement unit tests for prompt templates, parsing, validation, and business logic
- Test integration points: model APIs, vector databases, authentication, external services
- Validate end-to-end workflows including error paths and degradation scenarios
- Track coverage metrics and enforce minimums in CI/CD pipeline
Automated Testing
- Implement CI/CD pipelines with automated tests at multiple levels
- Run tests on every pull request, merge, and deployment
- Implement contract testing for external API dependencies
- Use test data management strategies: synthetic data, anonymized production data, fixtures
- Parallelize test execution for fast feedback loops
Load Testing
- Validate performance under realistic load conditions with production-like traffic patterns
- Test sustained load, spike load, and soak testing for memory leaks and degradation
- Measure latency percentiles, error rates, and throughput at different load levels
- Identify bottlenecks and capacity limits for scaling decisions
- Automate load testing in staging environment before production deployments
Chaos Engineering
- Test failure scenarios and recovery mechanisms systematically
- Implement chaos experiments: model unavailability, network partitions, dependency failures
- Validate circuit breaker behavior, fallback activation, and graceful degradation
- Test data center failover, database failover, and DNS failover scenarios
- Build chaos engineering into regular release validation
Test Data Management
- Use realistic and representative test data that covers production patterns
- Implement test data versioning and reproducibility for debugging
- Separate test data by environment and sensitivity level
- Automate test data generation and refresh pipelines
- Implement data privacy protections in test environments
Conclusion
This assessment provides a structured framework for evaluating LLM application readiness. The results should highlight critical blockers, prioritize action items, and provide clear next steps for deployment. Use this assessment iteratively throughout the development lifecycle to ensure continuous readiness.
This assessment complements our article on Graceful Degradation Strategies for Production LLMs, which covers broader system resilience patterns including model failover, context reduction, and circuit breaking.
For teams building their first LLM production application, we recommend starting with the reliability and observability dimensions, as these form the foundation for all other concerns. Cost management and security should be addressed before any production traffic. User experience and testing infrastructure can be refined iteratively but should have baseline coverage before launch.