---
title: "LLM Production Checklist: Failover & Retries | Straitly Docs"
description: "Ship reliable LLM traffic on Straitly: scoped production keys, daily and lifetime USD caps, bounded retries, streaming timeouts and Activity checks."
url: https://straitly.ai/docs/production
updated: 2026-11-26
publisher: Straitly (https://straitly.ai)
---

Docs

API guides

# Production checklist

Copy docs

**On this page**

Before sending production traffic to Straitly, isolate a server-side production key, cap spend with daily or child-key lifetime budgets, retry only transient 429 or 5xx errors using Retry-After, propagate stream cancellations, and reconcile sample charges in Activity.

### Credentials and budget

- Use a dedicated production key stored in a secret manager; keep development keys separate.
- Set a deliberate key spend cap, check account credits, and monitor balance. A daily cap is not an instantaneous hard stop.
- Know who can revoke or replace the key. Test the replacement process before an emergency.

[API keys & authentication](https://straitly.ai/docs/authentication) [Child keys](https://straitly.ai/docs/child-keys) [Teams & roles](https://straitly.ai/docs/teams)

### Request behavior

- Verify the exact model ID and required capabilities, including tools, schemas, images, and context length.
- Set application timeouts and a concurrency limit appropriate to your account. Include queue time in your overall deadline.
- Use bounded retries and honor Retry-After for temporary limits. Stop retrying invalid keys or exhausted budgets.
- Propagate user cancellation to upstream streams and show partial output as incomplete.

[Errors & limits](https://straitly.ai/docs/errors) [Streaming](https://straitly.ai/docs/streaming)

### Safety and observability

- Validate tool arguments and structured responses. Enforce authorization outside the model.
- Make side effects idempotent or explicitly deduplicated. Retrying a generation must not duplicate a payment or message.
- Record timestamps, model IDs, latency, status, and request identifiers when available. Redact keys and sensitive prompts.
- Reconcile sample charges against Activity. Test error, timeout, and disconnected-stream paths, not just successful replies.

[Logs & exports](https://straitly.ai/docs/logs) [Structured outputs](https://straitly.ai/docs/structured-outputs) [Prompt caching](https://straitly.ai/docs/caching) [Reasoning controls](https://straitly.ai/docs/reasoning) [Billing & invoices](https://straitly.ai/docs/billing)

### Launch and support

Start with a small rollout, watch error rates and costs, and expand only after the results match expectations. Confirm privacy, retention, and compliance requirements with support before sending sensitive workloads; this checklist does not establish a data-retention policy.

[Help & community](https://straitly.ai/docs/support)

### Common questions

**What should I configure before sending production traffic to Straitly?**

Use a dedicated production key in a secret manager, set deliberate key spend caps, verify exact model IDs and capabilities, configure timeouts and concurrency limits for your tier, retry only transient 429 or 5xx errors, and reconcile sample charges in Activity.

**How do I prevent one app or customer from draining my balance?**

Issue a separate key per environment or service with a daily spend cap, or mint bounded child keys with total\_cap\_usd, daily\_cap\_usd, rpm\_limit and concurrency\_limit for multi-tenant apps and end customers.

**Does Straitly retry upstream errors automatically?**

Before any output has streamed, Straitly tries a model's other sources when an upstream source returns an overload error such as 529\. Your server should still use bounded retries with Retry-After for transient limits and stop retrying 401, 402 or budget\_exhausted errors.

[Errors & limits](https://straitly.ai/docs/errors) [Billing & invoices](https://straitly.ai/docs/billing)

---
Markdown version of https://straitly.ai/docs/production.
