exa-cost-tuning

Featured

Optimize Exa costs through search type selection, caching, and usage monitoring. Use when analyzing Exa billing, reducing API costs, or implementing budget controls and usage alerts. Trigger with phrases like "exa cost", "exa billing", "reduce exa costs", "exa pricing", "exa expensive", "exa 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

# Exa Cost Tuning ## Overview Reduce Exa API costs through strategic search type selection, result caching, query deduplication, and usage monitoring. Exa charges per search request with costs varying by search type and content retrieval options. ## Cost Drivers | Factor | Higher Cost | Lower Cost | |--------|-------------|------------| | Search type | `deep-reasoning` > `deep` > `neural` | `keyword` < `fast` < `instant` | | numResults | 10-100 results | 3-5 results | | Content retrieval | Full text + highlights + summary | Metadata only (no content) | | Content length | `maxCharacters: 5000` | `maxCharacters: 500` | | Live crawling | `livecrawl: "always"` | Cached content (default) | ## Instructions ### Step 1: Match Search Config to Use Case ```typescript import Exa from "exa-js"; const exa = new Exa(process.env.EXA_API_KEY); // Define cost tiers per use case const SEARCH_PROFILES = { // Cheapest: metadata-only keyword search "autocomplete": { type: "instant" as const, numResults: 3 }, // Low cost: fast search with minimal content "quick-lookup": { type: "fast" as const, numResults: 3 }, // Medium: balanced search for RAG "rag-context": { type: "auto" as const, numResults: 5, text: { maxCharacters: 1000 }, }, // Higher cost: deep research "deep-research": { type: "neural" as const, numResults: 10, text: { maxCharacters: 3000 }, highlights: { maxCharacters: 500 }, }, }; async function costAwareSearch( query: string...

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

exa-performance-tuning

Optimize Exa API performance with search type selection, caching, and parallelization. Use when experiencing slow responses, implementing caching strategies, or optimizing request throughput for Exa integrations. Trigger with phrases like "exa performance", "optimize exa", "exa latency", "exa caching", "exa slow", "exa fast".

2,266 Updated today
jeremylongshore
AI & Automation Featured

exa-observability

Set up monitoring, metrics, and alerting for Exa search integrations. Use when implementing monitoring for Exa operations, building dashboards, or configuring alerting for search quality and latency. Trigger with phrases like "exa monitoring", "exa metrics", "exa observability", "monitor exa", "exa alerts", "exa dashboard".

2,266 Updated today
jeremylongshore
AI & Automation Featured

exa-data-handling

Implement Exa search result processing, content extraction, caching, and RAG context management. Use when handling search results, implementing caching, building citation pipelines, or managing content payloads for LLM context windows. Trigger with phrases like "exa data", "exa results processing", "exa cache", "exa RAG context", "exa content extraction".

2,266 Updated today
jeremylongshore
API & Backend Listed

exa-search

Advanced Exa AI search with 5 specialized scripts for neural web search, content extraction, similar page discovery, quick research with citations, and async pro research with structured output. This skill should be used when performing web searches, extracting content from URLs, finding similar pages, or conducting AI-powered research. Provides full access to all Exa API endpoints including /search, /contents, /findSimilar, /answer, and /research/v1.

33 Updated yesterday
tdimino
AI & Automation Featured

exa-architecture-variants

Choose and implement Exa architecture patterns at different scales: direct search, cached search, and RAG pipeline. Use when designing Exa integrations, choosing between simple search and full RAG, or planning architecture for different traffic volumes. Trigger with phrases like "exa architecture", "exa blueprint", "how to structure exa", "exa RAG design", "exa at scale".

2,266 Updated today
jeremylongshore