Changelog

What's new in Credyt?

Product updates, new features, and fixes. Updated at least twice a month.

Customer profitability analytics

Two new API endpoints surface revenue and cost data for your customers. /customers/{id}/stats returns lifetime gross revenue, total costs, net revenue, and margin for an individual customer. /customers/stats returns the same breakdown across all customers, with a rolling 30-day summary by default (configurable up to 6 months).

Feature

Python SDK

Official Python SDK is now available. Documentation includes Python code examples alongside TypeScript across every API endpoint, with direct links to sample code on GitHub.

Feature

Vendor cost analytics

New /vendor/{id}/stats endpoint returns total costs attributed to a vendor, broken down by category. Filter by category, period_from, and period_to to scope the analysis. Useful for tracking spend per AI model or provider across your event stream.

Feature

Edit product prices and entitlements

Prices and entitlements on a product version can now be added or removed from the platform portal. Add fixed-price or usage-based prices, update entitlement limits and refresh strategy, and review a diff of all changes before saving.

Feature

Billing portal redesign

The embedded customer billing portal has been refreshed with an updated layout and improved visual design.

Improvement

Product version history

The product page now shows the full version history. Switch between versions to inspect their configuration, mark a version as the default, or archive versions that are no longer in use.

Improvement

Unknown vendor IDs handled on event ingestion

Posting an event with an unrecognised vendor_external_id previously caused an API error. Unrecognised external vendor IDs are now auto-created so the event processes correctly — the vendor name can be updated afterwards. Supplying an unknown internal vendor_id still returns a validation error.

Fix

Event search and filtering

The events list now supports filtering by date range, event type, whether a fee was calculated, and event ID.

Feature

TypeScript SDK

Official TypeScript SDK is now available. Documentation includes TypeScript code examples across every API endpoint, with direct links to sample code on GitHub.

Feature

Customer list filtering

The customer list in the platform portal now supports filtering by name, email, customer ID, external customer ID, and subscription status, making it easier to find customers in large accounts.

Feature

active_subscription_count missing from customer response

The active_subscription_count field was not being included in the customer API response. This is now fixed.

Fix

MCP server: expanded API coverage

The Credyt MCP server now covers the full API surface. All documented API operations are available to MCP-connected agents, including endpoints that were previously missing from the tool list.

Improvement

One-off entitlements

Issue one-off credit entitlements to any customer at the start of their subscription, useful for offering free credits on signup or trial extensions. Any products entitlements created without a refresh configuration will be one-off by default.

Feature

Subscription redirect destination control

The redirect target after a customer's initial subscription payment is now configurable. When subscribing a customer, set redirect_to to portal for the Credyt portal or return_url for your own platform — useful when the post-payment flow lives in your product rather than the Credyt-hosted experience.

Improvement

AI skills for Credyt integration

Published a set of AI skills that make integrating Credyt significantly faster. Four skills guide you from pricing strategy through to production integration. Install them via the npx skills CLI and they drop into any compatible agent setup.

Feature

Product catalog: list subscribers per product

The product catalog API now supports fetching the list of customers subscribed to a given product. Useful for building internal dashboards, running cohort-level operations, or syncing subscriber state to external systems.

Feature

Customer API: email lookup

Customers can now be queried by email address via the customer API, in addition to customer ID.

Improvement

Credyt MCP server

Credyt's API is now available as an MCP server. Connect it directly to any MCP-compatible AI agent or tool to manage your product catalog and customers in Credyt, and query billing activity without writing integration code.

Feature

OpenAPI spec and webhook callbacks

Published the OpenAPI spec for the Credyt API and added support for webhook callbacks. Integrations can now subscribe to billing events and receive real-time notifications.

Feature

Seat-based pricing

Added seat-based pricing as a billing model option. Teams and enterprise customers can now be charged per active user seat alongside or instead of usage-based charges.

Feature

Outcome-based pricing

Introduced outcome-based pricing, allowing charges to be tied to business results rather than raw usage. Useful for AI products where value is measured in completed tasks or conversions.

Feature

Free tier configuration

Free tier limits are now configurable per customer, cohort, or global default. Abuse prevention rules can be applied independently of paid tier thresholds.

Improvement

B2B org hierarchy

Added support for B2B org hierarchy, allowing a single Credyt account to manage multiple sub-organisations. Usage and billing are tracked independently per tenant.

Feature

Grants and entitlements

Issue one-off or recurring credit grants to customers, with configurable expiry and rollover rules. Grants are applied before paid balance and tracked separately in the audit trail.

Feature

Credit expiry and rollover controls

Credit expiry behaviour is now fully configurable. Unused balance can expire on a fixed date, roll over indefinitely, or transfer to a reserve pool at period end.

Improvement

Idempotent event processing under high throughput

Resolved an edge case where duplicate usage events could be processed under sustained high throughput. Idempotency key checks now cover the full write path.

Fix

Revenue vs cost correlation

Added revenue vs cost correlation to the cost visibility dashboard. Each customer's billed revenue is shown alongside underlying model costs, making margin visible in real time.

Feature

Embedded billing portal

Launched the embeddable customer billing portal. Drop a single component into your product to give customers live balance, usage history, and self-service top-up — no custom UI required.

Feature

Live balance display latency

Reduced live balance display latency from ~2s to under 200ms by moving balance reads to an in-memory store updated on every billing event.

Improvement

Auto top-up

Auto top-up is now available. Customers set a low-balance threshold and a top-up amount; their wallet recharges automatically without manual intervention.

Feature

Multi-asset wallets

Wallets can now hold multiple custom credit assets simultaneously. Each asset has independent balance tracking, pricing, and expiry rules.

Feature

Token-level audit trail

Every usage event is now recorded with full token-level detail: model, prompt tokens, completion tokens, cost, and timestamp. Queryable per customer and per agent.

Feature

Stripe integration

Native Stripe integration added. Connect a Stripe account to handle payment collection for wallet top-ups and subscription billing without building a custom payments flow.

Feature

Real-time usage billing

Core billing engine shipped. Usage events are processed and charged in real time against customer wallet balances. A single POST to the usage endpoint is all that's needed to bill any AI action.

Feature