Skip to content

Commit 4e43419

Browse files
docs: add uniform token pricing providers to best use cases
Mention providers like Cerebras that bill cached tokens at the same rate as regular input tokens, making DCP purely beneficial with no cache-miss penalty.
1 parent 6f2813f commit 4e43419

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,18 @@ LLM providers like Anthropic and OpenAI cache prompts based on exact prefix matc
4949

5050
> **Note:** In testing, cache hit rates were approximately 65% with DCP enabled vs 85% without.
5151
52-
**Best use case:** Providers that count usage in requests, such as Github Copilot and Google Antigravity have no negative price impact.
52+
**Best use cases:**
53+
54+
- **Request-based billing** — Providers that count usage in requests, such as Github Copilot and Google Antigravity, have no negative price impact.
55+
- **Uniform token pricing** — Providers that bill cached tokens at the same rate as regular input tokens, such as Cerebras, see pure savings with no cache-miss penalty.
5356

5457
## Configuration
5558

5659
DCP uses its own config file:
5760

5861
- Global: `~/.config/opencode/dcp.jsonc` (or `dcp.json`), created automatically on first run
5962
- Custom config directory: `$OPENCODE_CONFIG_DIR/dcp.jsonc` (or `dcp.json`), if `OPENCODE_CONFIG_DIR` is set
60-
- Project: `.opencode/dcp.jsonc` (or `dcp.json`) in your projects `.opencode` directory
63+
- Project: `.opencode/dcp.jsonc` (or `dcp.json`) in your project's `.opencode` directory
6164

6265
<details>
6366
<summary><strong>Default Configuration</strong> (click to expand)</summary>

0 commit comments

Comments
 (0)