Lipika AI · Backend engineering
Four AI providers, one credit system, live in eight weeks.
Production backend for a multi-provider AI platform: four AI providers unified under one credit system, live with real users eight weeks after we started. We've worked together since February 2026.
- Client
- Lipika AI
- Our scope
- Backend engineering
- Category
- AI platform · SaaS
- Working together
- Since Feb 2026
- Status
- Live in production
One product. Four AI providers. No compromise.
The Lipika AI team needed a production backend that could route requests across Claude, OpenAI, Gemini and Grok, with per-model credit metering, subscription billing, and a growing suite of AI tools: image generation, long-horizon deep research and real-time speech-to-text.
The system also had to handle real-time streaming, long-running research jobs, team workspaces with seat-based billing, local payments, and a cloud deployment that scales with traffic.
Our role
- Full backend engineering
- API design & architecture
- Authentication
- AI orchestration
- Billing & payments integration
- Background jobs
- Cloud deployment & operations
- Frontend engineering (not in our scope)
Iterosys owns the entire backend surface, from API design through to deployment and monitoring. The frontend was built by the client's own team.
Everything shipped in those eight weeks.
- Email/password + Google sign-in
- Chat across 4 AI providers
- Credit billing + subscription plans
- Per-seat team workspaces
- Local payment gateway
- Image generation
- Long-running deep research
- Real-time streaming responses
- Speech-to-text
- PDF & DOCX export
- Cloud deployment that scales with traffic
- Monitoring and error tracking
What made this hard
Billing that stays accurate across every provider
Four AI providers, image generation and deep research each have a different cost model. Instead of billing at the request boundary, credits are metered inside each step of the LangGraph agent: checked before a tool runs, deducted when it succeeds, refunded when it fails. A failed provider call or infrastructure error doesn't cost the user credits.
Long-running jobs without extra infrastructure
Deep research tasks can run for many minutes. We handled them without adding a separate job system to operate, keeping the platform simple to run as it grows.
Five layers, one coherent system.
Client
Web app (built by Lipika)
Next.js · REST / JSON · Streaming responses · Real-time speech-to-text
API
Backend service
Python · FastAPI · Pydantic · Email/password + Google sign-in · Rate limiting · Request tracing
AI orchestration
LangGraph agent
LangGraph · LangChain · Claude · OpenAI · Gemini · Grok · Credit-metered tools
Data
Storage
PostgreSQL · Separate agent-state database · SQLAlchemy · Alembic · Redis · Google Cloud Storage
Infrastructure
Google Cloud
Kubernetes with autoscaling · Docker · Langfuse · Sentry
Launch was the start. We kept shipping.
Since going live in April we've kept building Lipika's backend: new products, new models and new tools, released about twice a week. Everything below is in production with real users.
- May Deep research with an editable plan · Workspace subscriptions
- Jun Send to Google Docs, Sheets, Drive and Gmail · Per-product top-ups · Word document uploads
- Jul Two-factor authentication · Writing suite: grammar checking, plagiarism and AI detection · Annual billing · Conversation folders
- Aug Plagiarism and writing-feedback reports
- Sep Canvas · Code sandbox for running analysis · Spreadsheet analysis (CSV, XLSX) · PDF and slide-deck generation · Streaming that resumes after a dropped connection
- Oct Adjustable reasoning effort per message · Conversation-aware image editing with live previews · ZIP uploads · Shareable canvases, with sharing to Drive and Gmail
Iterosys built and operates the entire Lipika backend stack: multi-provider, multi-model chat, image and video generation, billing, and payments, end to end. They didn't just write code; they took ownership of the hard parts: a reliable backend under load, billing that stays accurate across providers, and a system that just keeps running. They helped us establish a clear, dependable credit system that's now core to our business. They work like a founding team we can rely on, not a vendor, shipping fast without cutting corners.
Kamal AhmedDirector of Product, Lipika AI
Questions about Lipika AI
- What did Iterosys build for Lipika AI?
- The full production backend: API design, authentication, multi-provider AI orchestration, credit billing and payments, background jobs, and the cloud deployment. Lipika's own team built the frontend.
- How long did it take to launch Lipika AI?
- Eight weeks. Work started in February 2026 and the backend was live with real users eight weeks later. We have shipped about two backend releases a week since.
- Which AI providers does Lipika AI use?
- Claude, OpenAI, Gemini and Grok, routed through one backend and billed under one credit system, plus image generation, deep research and speech-to-text tools.
- How does Lipika AI perform in production?
- 99.98% of API requests served with no server error, a 1.4-second median time to first token, and about 48% lower AI cost from prompt caching (October 2026).
Related notes
- Why your LLM chat is slow: fixing time to first token A small model took 5.5 s to answer a one-line question. How to measure time to first token, the four usual causes, and the fixes that get it under 1.5 s.
- LangGraph credit metering: how to charge users correctly for AI tool usage Billing AI agents at the request boundary overcharges users for failures and can't price a multi-tool turn. Here's how to meter inside each LangGraph ToolNode, with three strategies keyed to each tool's cost and shape.