About API Guardrails

Why This Exists

AI APIs have become the backbone of modern software, but most developers don't read the Terms of Service. The result? Accidental violations that can get your account suspended, your product shut down, or worse.

API Guardrails is a free tool that makes ToS compliance simple. Describe what you're building, and we'll tell you if it's within bounds — with links to the exact sections that apply.

How It Works

Everything runs client-side. Your description is analyzed against a curated rules database of known ToS patterns — no data is sent to any server. The rules are based on publicly available Terms of Service documents from each provider.

What This Is Not

Not Legal Advice

API Guardrails is an informational tool. It does not constitute legal advice and should not be relied upon as such. Terms of Service change frequently — always verify with the provider's current documentation before making business decisions.

Coverage

We currently cover 8 major AI API providers: OpenAI, Anthropic, Google (Gemini), Groq, Cerebras, SambaNova, Mistral, and Cohere. We update the rules database regularly as providers update their terms.

Browse all providers →

Who Built This

API Guardrails is built by the same team behind TokenShrink, the AI prompt compression service that saves developers 60-80% on token costs. We believe in making AI development more accessible, affordable, and responsible.

Found an Error?

Terms of Service change frequently. If you spot an outdated rule or incorrect information, we want to know. Open an issue on GitHub and we'll update it.