injective-ai-cost-optimization
Installation
SKILL.md
AI Cost Optimization for Agentic Trading
Real-world cost data from production deployment on Injective DEX with Claude Haiku 4.5.
When to Apply
- When building AI-powered trading bots that make periodic API calls
- When optimizing Anthropic/OpenAI API spend for multi-user platforms
- When choosing between web search, external data APIs, and cached data
- When setting per-user cost limits or pricing for x402/subscription models
Cost Reality: Web Search vs Technical Indicators
Production data (Claude Haiku 4.5, 15-min intervals):
| Call Type | Input Tokens | Output Tokens | Cost/Call | Daily (96 calls) |
|---|---|---|---|---|
With web search (web_search_20250305) |
20,000–44,000 | ~1,000 | $0.03–0.05 | $3–5/user |
| Without search (technicals only) | 650–2,600 | ~500 | $0.003 | $0.30/user |