https://api.chipipay.com/v1
When to use each
What you can build
- Customer support bot —
/chat/streamfor real-time replies,/chatfor classification/routing behind the scenes - Code assistant —
/chat/streamso developers see code being written line by line - Transaction summarizer —
/chatto batch-summarize wallet activity on your backend - AI-powered search —
/chatto rerank results or generate answers from your data - DeFi copilot UI —
/chat/streamfor the conversational layer, pair with/thinkfor portfolio decisions - Telegram/Discord bot —
/chatfor simple Q&A,/chat/streamif the platform supports progressive message edits - Content generation —
/chatto generate descriptions, emails, or marketing copy
POST /ai/chat
General-purpose AI. Any prompt, any model. Powers chatbots, code assistants, finance apps. Cost: Per token (varies by model — see Models & Pricing)Request body
Response fields
POST /ai/chat/stream
Streaming version of/ai/chat. Returns Server-Sent Events (SSE) with token-by-token text deltas. Ideal for chatbots and real-time UIs.
Cost: Same as /ai/chat — per token, debited after stream completes.
Same request body as /ai/chat. Same models, same auth.
SSE event format
The completion event includes
model, provider, usage, and cost — same fields as the synchronous response. Credits are debited when this event fires.