alchemy-cost-tuning

Featured

Optimize Alchemy API costs through CU budgeting, caching, and plan selection. Use when analyzing Alchemy billing, reducing Compute Unit consumption, or choosing the right plan for your dApp traffic. Trigger: "alchemy cost", "alchemy pricing", "alchemy CU budget", "alchemy billing optimization", "alchemy free tier limits".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Alchemy Cost Tuning ## Overview Alchemy pricing is based on Compute Units (CU). Different API methods have different CU costs. Optimize by caching, batching, choosing cheaper methods, and right-sizing your plan. ## Plan Comparison | Plan | CU/sec | Monthly CU | Price | Best For | |------|--------|------------|-------|----------| | Free | 330 | 300M | $0 | Dev/prototyping | | Growth | 660 | 1.2B | $49/mo | Small dApps | | Scale | Custom | Custom | Custom | High-traffic apps | ## CU Cost Reference (Top Methods) | Method | CU | Optimization | |--------|-----|-------------| | `eth_blockNumber` | 10 | Cache 12s (1 block) | | `eth_getBalance` | 19 | Cache 30s | | `eth_call` | 26 | Cache based on use case | | `getTokenBalances` | 50 | Cache 60s; batch addresses | | `getNftsForOwner` | 50 | Cache 5 min | | `getTokenMetadata` | 50 | Cache 24h (rarely changes) | | `getAssetTransfers` | 150 | Cache aggressively; paginate | | `getNftMetadataBatch` | 50 | Use batch over individual calls | ## Instructions ### Step 1: CU Usage Monitor ```typescript // src/cost/cu-monitor.ts const CU_COSTS: Record<string, number> = { 'eth_blockNumber': 10, 'eth_getBalance': 19, 'eth_call': 26, 'getTokenBalances': 50, 'getNftsForOwner': 50, 'getTokenMetadata': 50, 'getAssetTransfers': 150, 'getNftMetadataBatch': 50, }; class CuMonitor { private usage: Array<{ method: string; cu: number; timestamp: number }> = []; record(method: string): void { this.usage.push({ method, cu: CU_COSTS[...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

alchemy-rate-limits

Implement Alchemy Compute Unit (CU) rate limiting and request throttling. Use when handling 429 errors, optimizing CU usage, or managing concurrent blockchain queries within plan limits. Trigger: "alchemy rate limit", "alchemy 429", "alchemy compute units", "alchemy throttling", "alchemy CU budget".

2,266 Updated today
jeremylongshore
AI & Automation Featured

alchemy-performance-tuning

Optimize Alchemy SDK performance with caching, batching, and multi-chain parallelism. Use when reducing latency for blockchain queries, optimizing CU consumption, or scaling dApps for high request volumes. Trigger: "alchemy performance", "alchemy slow", "alchemy optimization", "alchemy caching", "alchemy batch requests".

2,266 Updated today
jeremylongshore
AI & Automation Featured

apify-cost-tuning

Optimize Apify platform costs through memory tuning, compute unit management, and proxy budgeting. Use when analyzing Apify billing, reducing Actor run costs, or implementing usage monitoring and budget alerts. Trigger: "apify cost", "apify billing", "reduce apify costs", "apify pricing", "apify expensive", "apify budget", "compute units".

2,266 Updated today
jeremylongshore
AI & Automation Featured

apollo-cost-tuning

Optimize Apollo.io costs and credit usage. Use when managing Apollo credits, reducing API costs, or optimizing subscription usage. Trigger with phrases like "apollo cost", "apollo credits", "apollo billing", "reduce apollo costs", "apollo usage".

2,266 Updated today
jeremylongshore
AI & Automation Featured

attio-cost-tuning

Optimize Attio API usage costs -- reduce request volume, select the right plan, monitor usage, and implement budget alerts. Trigger: "attio cost", "attio billing", "reduce attio costs", "attio pricing", "attio expensive", "attio budget", "attio usage".

2,266 Updated today
jeremylongshore