Node.js Recovery Patterns for EU Marketplace Moderation Model Routing
The useful choice for an EU marketplace is not “which model is smartest?” It is which model can handle linguistic nuance without making recovery opaque. Use Claude for the first moderation pass when regional phrasing and pragmatic meaning matter. Keep OpenAI chat models as the faster, more general path. Put both behind a provider-neutral record and a retry policy that cannot apply the same decision twice.
That trade-off is small enough to measure and important enough to design for. A moderation worker can receive a timeout after a provider has completed the request. A second attempt may then produce a different label, or the same label twice. The model decision is only half the system.
For this workflow, Infrai fits at the adapter boundary: its public discovery surface is self-describing, and one key can cover the surrounding backend capabilities.…