Welcome back,
friend.
Every model, one API key. Usage is billed in credits.
Models
Loading models…
Recent activity
Your API keys.
One key per app. Treat them like passwords.
All keys 0
Using the OpenAI SDK already?
Same code, different base URL and a Capi key.
Account activity.
Every credit and every request, listed.
Credit transactions
| TRANSACTION | DATE | CHANGE | BALANCE AFTER |
|---|
API usage
| MODEL / KEY | DATE | TOKENS | COST |
|---|
Quickstart.
Connect a tool in a few minutes.
Create an API key
Make a key in , then copy it once.
Use the OpenAI SDK
Point your client to https://capi.waifly.com/v1 and set any of these model IDs:
loading…
Connect OpenCode
OpenCode uses an OpenAI-compatible provider. Add this to opencode.json.
Skip the hand-editing — this pulls the live model list and writes the config for you, so new models appear automatically:
Then run /connect in OpenCode, choose capi, and paste your Capi API key. Select either model under capi. The gateway is live at https://capi.waifly.com.
Or use curl
Chat completions, streaming included.
Small credits, transparent usage.
1 C = $0.01 is an internal credit denomination, not a cash balance or promise of redemption. Owners manually grant credits; there is no checkout or payment integration.
Usage is rounded up to the nearest 0.001 C.
OpenAI-compatible chat completions.
POST /v1/chat/completions and GET /v1/models. Streaming is accepted. Any listed model ID works; anything else is rejected.
Treat every key like a password.
Use a unique key per app, never share secrets in chats or repos, and revoke keys you no longer use.
Admin console.
Issue invite keys, grant credits, and keep an eye on usage.
Create an invite key
Grant C to a member
All accounts
| MEMBER | JOINED | ACTIVE KEYS | BALANCE | ACTION |
|---|
Invite keys
| INVITE | CREATED | USES LEFT | EXPIRES | STATUS |
|---|
Recent platform usage
| MEMBER | DATE | TOKENS | COST |
|---|