proxitor 0.9.0-beta.3 → 0.9.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -314,16 +314,18 @@ curl http://localhost:8828/health
314
314
  Proxitor automatically logs cache token usage from upstream responses — both non-streaming JSON and streaming SSE. No configuration needed.
315
315
 
316
316
  ```
317
- [abc123] Cache read: 50000, write: 25000 tokens
318
- [def456] Cache: no cached tokens
317
+ [abc123] Cache read: 50000, write: 25000 tokens (99.6% hit)
318
+ [def456] Cache read: 1088 tokens (90.0% hit)
319
+ [ghi789] Cache: no cached tokens
319
320
  ```
320
321
 
321
- Supports both provider formats:
322
+ Supports all three provider formats:
322
323
 
323
324
  | Provider format | Fields |
324
- |---|---|
325
+ | --- | --- |
325
326
  | Anthropic | `usage.cache_read_input_tokens` / `usage.cache_creation_input_tokens` |
326
327
  | OpenAI / OpenRouter | `usage.prompt_tokens_details.cached_tokens` / `cache_write_tokens` |
328
+ | Responses API | `usage.input_tokens_details.cached_tokens` / `cache_write_tokens` |
327
329
 
328
330
  When both formats are present (e.g., OpenRouter relaying an Anthropic response), Anthropic fields take priority.
329
331