Prompt-cache accuracy. Server-side cost now matches the provider invoice on cached workloads, and the homepage gets a "Built for trust" section.
- Prompt caching priced correctly per provider: OpenAI cache reads at 0.5x input, Anthropic 0.1x read and 1.25x write, Gemini 2.5 at 0.1x
- SDKs capture cached tokens automatically (OpenAI cached_tokens, Anthropic cache_read / cache_creation, Gemini cachedContentTokenCount): @weckr/sdk@0.1.6, weckr-sdk@0.1.4
- Server recomputes cost cache-aware; older SDK versions keep working unchanged (new fields default to 0)
- Dashboard stats now expose cached-token totals and cache savings
- Homepage: new "Built for trust" section (metadata-only logging, out of the request path, fails open, open source) with an animated data-flow diagram
- Roadmap: added gateway proxy mode and an OpenTelemetry exporter to what we are building next
First release of the Python SDK and the MCP server. Backend hardening + dashboard precision fixes from the live audit.
- Python SDK published to PyPI as weckr-sdk@0.1.1 (companion to @weckr/sdk@0.1.3)
- @weckr/mcp@0.1.0 — Model Context Protocol server so Claude, Cursor & co. can query your cost data
- Spending caps (block or downgrade) per plan with same-provider model swaps
- Pricing recommendations — suggests what to charge based on real usage data
- Model recommendations — detects expensive models on simple-output tasks
- WeckrConfigError (new) — 401/403 from /check now fails CLOSED so misconfig surfaces immediately
- wk.flush() / wk.flush() — wait for in-flight log POSTs before short-lived processes exit
- Dated model variants (gpt-4o-2024-08-06, claude-3-5-sonnet-latest, …) now price correctly via longest-prefix match
- Server: dropped per-row margin column, derive margin = sum(revenue) − sum(cost) at full precision in read RPCs
- Security: DEV_API_KEY now hard-gated by NODE_ENV; per-key rate limits + project-id verification on dashboard reads
Initial release.
- @weckr/sdk published to npm
- OpenAI, Anthropic, and Gemini support out of the box
- Per-user margin tracking via plan_revenue − cost
- Dashboard at app.useweckr.com — Overview, Users, Features, Recommendations
Looking for the full diff? See the GitHub repo.