Who it's for
Builders of a chat app on any model provider (LLaMA, DeepSeek, Gemini, a multi-model switcher) who want conversation storage, ordering and optional credits done safely.
What you get
A chat per conversation: provider, model, title and a numbered message list, owned by a workspace.
Messages are rows, not a JSON blob: ordered, countable, capped at 5,000 per chat.
Optionally charge core credits per reply in the same transaction; a replay never charges twice.
Nothing is charged by default: an outside platform's credits can stay the ledger.