openrouter-compliance-review
Review OpenRouter integration for regulatory compliance (SOC2, GDPR,
lindy-rate-limits
Manage Lindy AI credits, rate limits, and usage optimization.
Full skill instructions
Lindy uses a credit-based consumption model, not traditional API rate limits. Every task (everything an agent does after being triggered) costs credits. Cost scales with model intelligence, task complexity, premium actions, and duration.
| Factor | Credit Impact |
|---|---|
| Basic model task | 1-3 credits |
| Large model task (GPT-4, Claude) | ~10 credits |
| Premium actions (webhooks, phone) | Additional credits |
| Phone calls (US/Canada landline) | ~20 credits/minute |
| Phone calls (international mobile) | 21-53 credits/minute |
| Minimum per task | 1 credit |
| Plan | Credits/Month | Approx Tasks | Price |
|---|---|---|---|
| Free | 400 | ~40-400 | $0 |
| Pro | 5,000 | ~500-1,500 | $49.99/mo |
| Business | 30,000 | ~3,000-30,000 | $299.99/mo |
| Enterprise | Custom | Custom | Custom |
Important: Credit limit enforcement is not instant. Lindy can only limit usage after the limit has been breached, not precisely when it is reached. A task that starts before the limit may complete and push usage slightly over.
In the Lindy dashboard:
Choose the right model for each step:
| Task Type | Recommended Model | Credits |
|---|---|---|
| Simple routing/classification | Gemini Flash | ~1 |
| Standard text generation | Claude Sonnet / GPT-4o-mini | ~3 |
| Complex reasoning/analysis | GPT-4 / Claude Opus | ~10 |
| Phone calls (simple) | Gemini Flash | ~20/min |
| Phone calls (complex) | Claude Sonnet | ~20/min |
Reduce action count per task:
Prevent credit waste from over-triggering:
Problem: Email Received trigger fires on ALL emails → 200 tasks/day
Solution: Add trigger filter: "sender contains '@customers.com'
AND subject does not contain 'auto-reply'"
→ 20 tasks/day (90% reduction)
Trigger filter best practices:
When your application triggers Lindy agents via webhooks, rate-limit on your side:
// Rate limiter for outbound Lindy webhook triggers
class LindyRateLimiter {
private tokens: number;
private maxTokens: number;
private refillRate: number; // tokens per second
private lastRefill: number;
constructor(maxPerMinute: number) {
this.maxTokens = maxPerMinute;
this.tokens = maxPerMinute;
this.refillRate = maxPerMinute / 60;
this.lastRefill = Date.now();
}
async acquire(): Promise<boolean> {
const now = Date.now();
const elapsed = (now - this.lastRefill) / 1000;
this.tokens = Math.min(this.maxTokens, this.tokens + elapsed * this.refillRate);
this.lastRefill = now;
if (this.tokens >= 1) {
this.tokens -= 1;
return true;
}
return false;
}
get remaining(): number {
return Math.floor(this.tokens);
}
}
// Usage: limit to 30 webhook triggers per minute
const limiter = new LindyRateLimiter(30);
async function triggerLindy(payload: any) {
if (!(await limiter.acquire())) {
console.warn(`Rate limited. ${limiter.remaining} tokens remaining`);
throw new Error('Lindy trigger rate limited');
}
await fetch(WEBHOOK_URL, {
method: 'POST',
headers: { 'Authorization': `Bearer ${SECRET}`, 'Content-Type': 'application/json' },
body: JSON.stringify(payload),
});
}
Set up monitoring to catch runaway agents before they drain credits:
// Credit usage monitor
interface CreditAlert {
threshold: number; // percentage of monthly credits
action: 'warn' | 'pause' | 'notify';
}
const alerts: CreditAlert[] = [
{ threshold: 50, action: 'warn' }, // 50% used: log warning
{ threshold: 80, action: 'notify' }, // 80% used: Slack alert
{ threshold: 95, action: 'pause' }, // 95% used: pause non-critical agents
];
Track which agents consume the most credits:
Lindy includes built-in protection: when a task starts using more resources than expected, Lindy pauses and checks in before continuing. This prevents runaway agent steps from consuming unlimited credits.
| Issue | Cause | Solution |
|---|---|---|
| Credits exhausted mid-month | High-usage agents | Upgrade plan or optimize usage |
| Task paused by Lindy | Resource protection triggered | Review agent — likely looping |
| Webhook trigger returns 429 | Too many concurrent requests | Implement client-side rate limiting |
| Agent not running | Credit balance at zero | Wait for monthly reset or upgrade |
Proceed to lindy-security-basics for API key and agent security.
Review OpenRouter integration for regulatory compliance (SOC2, GDPR,
Data synchronization, ETL patterns, and data management for MaintainX.
Execute Groq primary workflow: chat completions with tool use and JSON
Validate CSRF protection implementations for security gaps. Use when
Configure this skill should be used when the user asks about "API contract",
Execute Ideogram incident response with triage, mitigation, and postmortem.
Execute create, select, and transform features to improve machine learning
Reusable patterns for the Gamma REST API (no SDK exists).
Apply production-ready Deepgram SDK patterns for TypeScript and Python.
Migrate to OpenRouter from direct provider APIs or upgrade between SDK/model
Diagnose and fix common OpenRouter API errors. Use when encountering
Optimize Linear API usage, reduce unnecessary calls, and maximize
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience