estimate_cost
Estimate the token and dollar cost before generating a skill from a YouTube video, article, PDF, or image. Compare options to set expectations and avoid unexpected charges.
Instructions
Estimate the token + dollar cost of generating a skill from a given source, without running the pipeline.
Heuristic-based at v1 — accuracy improves once the API exposes a real /api/v1/skills/estimate endpoint. Use to set caller expectations or to compare options ("a 60-min YouTube vs. a single article") before a paid generation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_url | No | Optional. Used to infer source_kind when source_kind is omitted (youtube.com/youtu.be → youtube, .pdf → pdf, image extensions → image, else article). | |
| source_kind | No | Optional. Override inference by passing one of "youtube", "article", "pdf", or "image". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |