Skip to content

Commit 33c8dd9

Browse files
Merge pull request #42 from DeDuckProject/claude/update-readme-costs-2fKSL
docs: add Costs section to README with token usage and cost breakdown
2 parents 18c735e + 4f7c1b2 commit 33c8dd9

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,31 @@ The PR comment is always posted — with a GIF if recording succeeded, or screen
488488

489489
---
490490

491+
## Costs
492+
493+
> **Disclaimer:** The figures below are based on the maintainer's own testing and may not reflect your usage patterns. Token consumption varies significantly by diff size, app complexity, and retry count. Use these numbers as a rough reference only — your costs may be higher or lower.
494+
495+
Each GitGlimpse run makes one or more LLM calls to generate the Playwright interaction script. The table below summarizes observed costs using `claude-sonnet-4-6` with default settings.
496+
497+
| Metric | Value |
498+
|---|---|
499+
| Average cost per request | ~$0.015 (1.5¢) |
500+
| 95th percentile | ~$0.035 |
501+
| Peak (max observed) | ~$0.047 |
502+
| Requests per USD | ~66 |
503+
| Sample size | ~82 requests / 246k tokens |
504+
505+
**Token breakdown (per request, approximate):**
506+
507+
| Token type | Volume | Share of tokens | Share of cost |
508+
|---|---|---|---|
509+
| Input | ~205k total | ~83% | ~50% |
510+
| Output | ~42k total | ~17% | ~50% |
511+
512+
For high-frequency teams, use `trigger.mode: 'smart'` or `'on-demand'` to avoid running the LLM on every push.
513+
514+
---
515+
491516
## Development
492517
493518
```bash
@@ -502,6 +527,13 @@ See [CLAUDE.md](CLAUDE.md) for repo structure and contributor notes.
502527

503528
---
504529

530+
## Roadmap
531+
532+
- **Multiple preview URL support** — currently GitGlimpse accepts a single preview URL per run; planned support for specifying multiple starting points so a single PR can record demos across several routes or environments simultaneously.
533+
- **GitHub App** — a first-party GitHub App to reduce setup friction: no workflow files to copy, no secrets to configure manually, and automatic installation across repos in an organization.
534+
535+
---
536+
505537
## License
506538

507539
MIT

0 commit comments

Comments
 (0)