Wind Wind / Docs
Dashboard

Wind API

Build AI apps that
bill themselves.

Wind is a metered billing gateway for AI. Drop it in between your app and any AI provider — users pay from their Wind wallet per request. No Stripe, no invoices, no balance tracking.

How it works

01

User funds a wallet

Your user tops up a Wind wallet with credits once via Stripe. No recurring billing needed.

02

Your app calls Wind

You POST to /v1/chat/completions with the user's wallet ID. Wind bills the wallet and calls the AI.

03

You earn on every call

Wind takes a small platform fee and credits your developer balance for the rest.

Quick reference

Base URL

https://wind-production-3225.up.railway.app

Auth header

Bearer sk_live_...

Request format

OpenAI-compatible
shell
curl https://wind-production-3225.up.railway.app/v1/chat/completions \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "feature_id": "chat",
    "model": "google/gemini-2.5-flash",
    "windUserId": "<user-wallet-id>",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'