Skip to content

Commit 12dfd82

Browse files
authored
Merge pull request #37 from atriumn/docs/improve-homepage
docs: add demo GIF and example preview to homepage
2 parents 1bec634 + 34fc9b4 commit 12dfd82

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

docs/src/content/docs/index.mdx

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ hero:
1717

1818
import { Card, CardGrid } from '@astrojs/starlight/components';
1919

20+
## See it in action
21+
22+
![tokencost demo — ask pricing questions in natural language and get instant answers](/tokencost-dev.gif)
23+
2024
## Install
2125

2226
Add to your Claude Code config in one command:
@@ -25,7 +29,7 @@ Add to your Claude Code config in one command:
2529
claude mcp add tokencost-dev -- npx -y tokencost-dev
2630
```
2731

28-
Or add the JSON config manually — see the [Getting Started](/getting-started/) guide.
32+
Or add the JSON config manually — see the [Getting Started](/getting-started/) guide for VS Code, Cursor, Windsurf, and more.
2933

3034
## What can it do?
3135

@@ -43,3 +47,16 @@ Or add the JSON config manually — see the [Getting Started](/getting-started/)
4347
Pricing data sourced from the LiteLLM community registry, cached for 24 hours with on-demand refresh.
4448
</Card>
4549
</CardGrid>
50+
51+
## Example: batch cost planning
52+
53+
> "How much would it cost to run Claude Opus vs Sonnet for 10K requests, averaging 2K input and 500 output tokens each?"
54+
55+
```
56+
Claude Opus 4.6: $450.00 (Input: $300 + Output: $150)
57+
Claude Sonnet 4.6: $135.00 (Input: $60 + Output: $75)
58+
```
59+
60+
Sonnet is 3.3x cheaper — saving $315 per 10K-request batch.
61+
62+
[See more examples &rarr;](/examples/)

0 commit comments

Comments
 (0)