Per-user wallets, budgets, rate limits, and tool calls — for any model. Drop in our SDK and your product has AI by the end of the day.
// One line. Per-user billing baked in. import { assistiv } from "@assistiv/sdk"; export async function POST(req) { const { messages, userId } = await req.json(); return assistiv.chat({ user: userId, // per-user wallet auto-debited model: "gpt-4o", // or claude, gemini, anything messages, }); }
Built for production from the first request
Per-user billing, built in
Wallets, budgets, and pre-flight cost checks per end user — without writing a single ledger query. We debit before the model call lands, refund on errors, and surface every cent on a dashboard you can hand to support.
Drop-in SDK
Next.js route handler. FastAPI endpoint. Express middleware. The SDK is a thin wrapper over fetch — no agent runtime, no orchestration framework, no opinions about your stack. You stay in your codebase. We stay out of your way.
user and we handle the wallet, budget, and rate limit lookup.// app/api/chat/route.ts import { assistiv } from "@assistiv/sdk"; import { auth } from "@/lib/auth"; export async function POST(req) { const session = await auth(); const { messages } = await req.json(); // pass session.userId — wallet/budget look up automatically return assistiv.stream({ user: session.userId, model: "claude-sonnet-4", messages, fallback: ["gpt-4o", "gemini-2.5-pro"], }); }
AI agent-ready
The docs are written for humans and LLMs. A curated llms.txt at the root, a live MCP docs server, Markdown-first API reference. Point Cursor, Claude Code, or v0 at our URL and the integration lands on the first prompt — no hallucinated endpoints, no stale SDK calls.
# Assistiv — AI infrastructure for SaaS # https://assistiv.ai > One call, any model. Per-user wallets, budgets, rate limits, tool execution. ## Quickstart - npm install @assistiv/sdk - Pass `user: id` — per-user wallet auto-debited - Standard OpenAI-compatible chat/completions API ## API reference - /docs/chat-completions # streaming + non-streaming - /docs/wallet # top-up, debit, refund - /docs/mcp # tool catalog + OAuth - /docs/budgets # per-user + per-tier ## MCP docs server mcp://docs.assistiv.ai/v1 # live catalog + examples
Tool calls + OAuth
Connect any MCP-compatible tool through a single config. Your end user clicks once to authorize their own GitHub or Slack account; the model gets a scoped, expiring token; you never store a credential. The tool call is billed to that user's wallet, capped by their budget.
npm install to first AI response in production."We had a working AI assistant inside our app the same Tuesday we signed up. The wallet thing alone saved us a quarter of engineering work."
Request access
Tell us a bit about what you're building. Invite lands in your inbox same-day.