algolia-cost-tuning

Featured

Optimize Algolia costs: understand search request vs record pricing, reduce operations with batching and caching, monitor usage via Analytics API. Trigger: "algolia cost", "algolia billing", "reduce algolia costs", "algolia pricing", "algolia expensive", "algolia budget".

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

# Algolia Cost Tuning ## Overview Algolia pricing is based on **search requests** and **records**. A search request is one API call (which may contain multiple queries via `search({ requests: [...] })`). Records are counted across all indices including replicas. ## Pricing Structure (2025) | Plan | Records Included | Search Requests | Additional Cost | |------|------------------|-----------------|-----------------| | Build (Free) | 1M records | 10K requests/mo | N/A | | Grow | 100K free, then $0.40/1K | 10K free, then $0.50/1K | Pay as you go | | Grow Plus | 100K free, then $0.40/1K | 10K free, then $1.75/1K | + AI features | | Premium | Custom | Custom | Volume discounts | ### What Counts as Records - Every object in every index = 1 record - Standard replicas duplicate records (multiply your count) - Virtual replicas share records (no extra cost) - Synonyms and rules do NOT count as records ### What Counts as Search Requests - `searchSingleIndex()` = 1 request - `search({ requests: [q1, q2, q3] })` = 1 request (multi-query) - `browse()` = 1 request per page - `saveObjects()` = NOT a search request (indexing operations are free) ## Instructions ### Step 1: Audit Current Usage ```typescript import { algoliasearch } from 'algoliasearch'; const client = algoliasearch(process.env.ALGOLIA_APP_ID!, process.env.ALGOLIA_ADMIN_KEY!); // Check total records across all indices const { items } = await client.listIndices(); let totalRecords = 0; let replicaRecords = 0; items...

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 Listed

algolia-cost-tuning

Optimize Algolia costs: understand search request vs record pricing, reduce operations with batching and caching, monitor usage via Analytics API. Trigger: "algolia cost", "algolia billing", "reduce algolia costs", "algolia pricing", "algolia expensive", "algolia budget".

45 Updated 6 days ago
ComeOnOliver
AI & Automation Featured

algolia-performance-tuning

Optimize Algolia search performance: record size, searchable attributes, replica strategy, response caching, and query-time parameter tuning. Trigger: "algolia performance", "optimize algolia", "algolia latency", "algolia slow", "algolia caching", "algolia response time".

2,266 Updated today
jeremylongshore
AI & Automation Featured

algolia-observability

Set up observability for Algolia: Prometheus metrics for search latency/errors, OpenTelemetry tracing, structured logging, and Grafana dashboards. Trigger: "algolia monitoring", "algolia metrics", "algolia observability", "monitor algolia", "algolia alerts", "algolia tracing", "algolia dashboard".

2,266 Updated today
jeremylongshore
AI & Automation Featured

algolia-rate-limits

Handle Algolia rate limits and throttling: per-key limits, indexing queue limits, 429 responses, and backoff strategies. Trigger: "algolia rate limit", "algolia throttling", "algolia 429", "algolia retry", "algolia backoff", "algolia too many requests".

2,266 Updated today
jeremylongshore
AI & Automation Featured

algolia-data-handling

Implement Algolia data handling: record transforms, PII filtering before indexing, data retention, GDPR/CCPA compliance with Algolia's deleteByQuery and Insights deletion. Trigger: "algolia data", "algolia PII", "algolia GDPR", "algolia data retention", "algolia privacy", "algolia CCPA", "algolia data sync".

2,266 Updated today
jeremylongshore