Machine Medium

Vela by Machine Medium

Your own AI chat and image app, ready to sell.

Multi-model chat and image generation with credits, Stripe billing and an admin panel. You bring the server and the OpenRouter key.

Built with

Sell it as it is.

Put your name and logos on it and connect Stripe. Your users buy a plan or a credit pack and spend credits on chat, images and dictation, at the prices you set.

Or build your own product on it.

A TanStack Start app in strict TypeScript, with auth, billing, credits, file uploads, streaming chat and model routing already wired. Keep the parts you need.

What your users get. Chat with any model, ask about files, search the web and make images, all in one app.

Users pick a model from your catalog. All of them run through one OpenRouter key you own, so offering another model is one more row in the admin.

Google

xAI

DeepSeek

Ask AI anything ...

DeepSeek V4 Flash
  • Stop, edit, or regenerate with another model
  • Branch any message into a new chat
  • Thinking shown when the model returns it

Users attach files and ask about them. Models that read PDFs get the original file; for the rest, Vela pulls the text out first.

  • Up to 10 files per message, 10 MB each
  • Images, PDF, DOCX, CSV, Markdown and text
  • Files stay private to the account that uploaded them

With an Exa key and a model that calls tools, chat searches the web and reads pages before it answers, and links every source it used.

  • Weather and YouTube transcripts as tools too
  • Dictation straight into the prompt box
  • Each tool on or off, priced per 1,000 calls

Each prompt starts a board. A follow-up revises the selected image into a new version, and the earlier ones stay in the history.

Lighthouse on Rocky Coast at Dusk

FLUX.2 Klein · 6.7s

Edit with a follow-up...

FLUX.2 Klein Auto

Version history

  • Branch from any older version
  • Add your own images as references
  • 10 image models in the starting catalog

What you control. What a credit costs, what you sell, and which models are on.

Credits on every request

Chat, images and dictation are paid from the user's credit balance. You decide what a credit is worth and how much one person can spend in a window.

  • 10,000 credits per US dollar of AI cost by default
  • A rolling spending ceiling per user
  • A free monthly allowance, or none
  1. 1Reserve

    Before a request runs, Vela holds its estimated cost from the balance.

  2. 2Run

    The request runs within that hold, and stops at it.

  3. 3Settle

    Vela charges the measured cost and releases the rest.

Plans and credit packs on Stripe

Sell recurring plans and one-time packs through Stripe Checkout. Signed webhooks add the credits, and the Stripe portal handles cards, invoices and cancellation.

  • Credits added once, even when Stripe repeats an event
  • Refunds and disputes take the credits back
  • A margin helper shows sale price against AI cost

An admin panel for the daily running

Users, plans, packs, models, tools, branding and an audit log, all in the browser. The catalog starts with 35 models from 14 providers.

  • Price, reorder and switch models on or off
  • OpenRouter key stored encrypted, with a connection test
  • Manual credit adjustments with a recorded reason

The rest is built in. Accounts, sharing, branding and hosting.

Accounts and two-factor

Email and password, GitHub or Google, and authenticator codes. Users can sign out sessions they don't recognize.

Share this chat

Create link

Share a chat

A read-only copy behind a link, frozen when the link is made. Up to 20 links per chat, each one revocable.

>

Acme AI

Acme AI

How can I help?

Ask Acme AI…

Acme AI

Acme AI

How can I help?

Ask Acme AI…

Your name and logos

Set the app name, logos and favicon in the admin, with no rebuild. Light and dark themes are included, and colors live in one stylesheet.

On your own server

One long-lived Node.js process behind your HTTPS domain. The install guide walks through an Ubuntu 24.04 VPS step by step.

Pricing

Solo license

One developer, one-time payment

$29 Normal price $99

Launch price for the first 20 buyers, then $99.

Included

  • Full source code
  • 1 developer seat
  • Unlimited sites and domains, including paid SaaS for your users
  • Client projects allowed
  • Every 1.x update, as a new ZIP in the same Polar download
  • Offline install guide

Paid once through Polar, the merchant of record. Prices exclude AI usage, hosting and other services you connect.

Checkout asks you to accept the Terms of Sale and the license, and to agree that the download starts right away, which ends the EU right to withdraw. See the refund policy.

Questions

What do I need to run it?

A Linux VPS or any host that runs a long-lived Node.js process, with Node.js 24, Bun 1.4.4 and PostgreSQL 14 or newer. A domain with HTTPS. An S3-compatible bucket such as Cloudflare R2, AWS S3 or MinIO. An OpenRouter API key with funds. The guide uses 4 GB of RAM for the build.

Static hosting and shared PHP hosting cannot run it.

Which services are optional?

Stripe if you want to sell plans and credits. Resend for verification and password-reset email. Exa for web search and page reading. GitHub or Google for social sign-in.

What will it cost me to run?

Your VPS, database, storage, domain and email are billed by their providers. AI usage is billed by OpenRouter to your account. Stripe charges its own fees.

The guide lists each cost and where to check it. It gives no monthly total, because that depends on your traffic and the models you offer.

Do my users' credit purchases pay OpenRouter for me?

No. Selling credits brings money into your Stripe account. You still keep your OpenRouter balance funded yourself.

Which AI models does it support?

The models you add to your catalog from OpenRouter. The seed data includes a starting catalog that you can edit, price and reorder. Some features need a model with the matching capability, such as vision, tools or image editing.

Can I try it before buying?

Yes. The demo (opens in a new tab) shows recorded conversations, PDF examples, image versions and the admin screens. It is read-only: sending, generating, uploads, admin saves and purchases are switched off, so nothing you click costs anyone money.

What are the main limits?
  • Accounts are individual. There are no teams or shared workspaces.
  • Stripe is the only payment provider, and Resend the only email sender.
  • Credits limit what users spend, not your OpenRouter bill. Set a limit on the key, and turn charging on (it starts off) before you fund it.
  • Model prices do not sync from OpenRouter. You keep them up to date in the catalog.
  • There is no OCR. Scanned PDFs need a model that reads PDFs itself.
  • Each image request makes one image, and revisions only work with models that support them.
  • No Docker or one-click deploy, and no automatic updates or backups.

The guide covers the rest.

How do updates work?

Every 1.x release is included. Each update is a new ZIP in the same Polar download, and the guide describes how to apply it to an existing install. A future 2.0 may be sold separately.

Is support included?

Yes, for installation. If Vela does not install by following the guide, write to us through the contact page with the error log and your server details. We reply within 2 working days.