Plans
View pricing and subscribe at sharc.sh/pricing.
How tokens are counted
Every indexing and search operation consumes tokens from your monthly budget:- Indexing (
/v1/index): tokens are consumed when generating embeddings for your code chunks. Larger codebases use more tokens on the first index, but incremental syncs only re-embed changed files. - Searching (
/v1/search): tokens are consumed for embedding the query and reranking results. Each search uses a small number of tokens compared to indexing.
Tracking usage
Monitor your token consumption at Dashboard > Usage, which shows:- Total tokens consumed over 7, 14, or 30 days
- Daily breakdown by endpoint (
/v1/search,/v1/index) - Embedding and rerank token split
What happens at the quota limit
When your monthly token budget is exhausted:- Indexing stops —
index_codebasecalls will fail with a quota error. Your existing index remains intact and searchable. - Searches stop —
search_codecalls will fail with a quota error. - File watching pauses — incremental updates cannot process until quota is available.
- Existing data is preserved — nothing is deleted. Your indexed codebases remain stored and ready once quota resets or you upgrade.
402 error with a message indicating you’ve reached your monthly quota and suggesting a plan upgrade.