Manna AI
Hold AI-credit coins to earn Claude, GPT, Gemini or Grok credits, then spend them in Manna's chat or through an OpenAI- and Anthropic-compatible API.
Manna AI turns trading fees into AI. Coins launched with the AI credits fee split pay their holders in credits for one AI provider: Claude, GPT, Gemini or Grok. You spend those credits at /ai, either in the built-in chat or from your own code through an API that works with the OpenAI and Anthropic SDKs. This page covers how credits are earned, what they cost to use, the models, and the full API.
How you earn credits#
- 1A creator launches a coin with the AI credits preset ("Holders earn Claude, GPT, Gemini or Grok credits"). That preset routes 100% of the creator fee to holders, and the creator picks one provider.
- 2You buy and hold the coin.
- 3Every 15 minutes, the keeper takes the holders' share of fees, values it in dollars, and credits every holder with that provider's credits, in proportion to their balance.
Credits for one provider can only be spent on that provider's models. Hold a Claude-credit coin and you get Claude credits; hold a Grok-credit coin and you get Grok credits.
The fee money itself stays with Manna, which pays the AI bill. You receive credits instead of SOL or ETH.
The numbers#
| Item | Value |
|---|---|
| Value of 1 credit | $0.01 |
| How often credits arrive | Every keeper run (15 minutes), when the coin has fees to credit |
| Price you pay per request | The cost OpenRouter reports for it, no markup |
| Balance needed to start a request | At least $0.05 (5 credits) of that provider |
| Longest answer per request | 8,192 tokens (2,048 in the site chat) |
Example. A Claude-credit coin trades $10,000 in a day with a 2% creator fee. Holders share $200 of credits, which is 20,000 credits. If you hold 3% of what all holders hold, you get 600 Claude credits ($6.00 of Claude).
The /ai page#
Sign in at /ai to see:
- Your balances: one tile per provider, in credits and in dollars.
- Which coins are earning for you: the AI-credit coins you hold. If you hold none, the page links to find one or to launch one with the AI credits fee split.
- Recent usage: your last requests, the model and what each cost in credits.
- Chat: pick a model and talk to it. The Send button is off when you have no credits for that provider.
- API keys: create and revoke keys.
- Use it in code: copy-paste examples.
All your wallets count together: credits earned on your Solana wallet and your EVM wallet are one balance per provider.
Models#
| Provider | Credit type | Models |
|---|---|---|
| Claude (Anthropic) | Claude | anthropic/claude-sonnet-4.5, anthropic/claude-haiku-4.5, anthropic/claude-opus-4.1 |
| GPT (OpenAI) | GPT | openai/gpt-5, openai/gpt-5-mini, openai/gpt-4.1 |
| Gemini (Google) | Gemini | google/gemini-2.5-pro, google/gemini-2.5-flash |
| Grok (xAI) | Grok | x-ai/grok-4, x-ai/grok-3-mini |
Requests are served through OpenRouter. The prefix of the model name decides which credits pay: any anthropic/… model uses Claude credits, openai/… uses GPT credits, google/… uses Gemini credits and x-ai/… uses Grok credits. GET /v1/models returns the list above.
API keys#
- 1Sign in at /ai and go to API keys.
- 2Optional: give the key a Key name and a Spend cap $. Once the key has spent that much, it stops working.
- 3Tap New key. Your key starts with
sk-manna-. - 4Copy your key now. It won't be shown again. Manna stores only a fingerprint of it.
- 5To turn a key off, tap Revoke next to it. It stops working immediately.
You can have up to 10 active keys. Each key's list entry shows what it has spent and its cap.
Using the API#
Base URL: https://mannas.fun. Send your key either as Authorization: Bearer sk-manna-… or as x-api-key: sk-manna-….
| Endpoint | Format | Notes |
|---|---|---|
POST /v1/chat/completions | OpenAI-compatible | Streaming works ("stream": true) |
POST /v1/messages | Anthropic-compatible | No streaming; model names work with or without anthropic/ |
GET /v1/models | OpenAI-style list | Each model shows which credit type pays for it |
GET /v1/balance | JSON | Your balance per provider, in dollars, and what is left on this key's cap |
If you do not set a maximum answer length, /v1/chat/completions uses 2,048 tokens and /v1/messages uses 1,024. Whatever you ask for, answers are capped at 8,192 tokens.
Examples#
# OpenAI format (streaming works)
curl https://mannas.fun/v1/chat/completions \
-H "Authorization: Bearer sk-manna-…" \
-d '{"model":"anthropic/claude-sonnet-4.5","messages":[{"role":"user","content":"gm"}]}'
# Anthropic format
curl https://mannas.fun/v1/messages -H "x-api-key: sk-manna-…" \
-d '{"model":"claude-sonnet-4.5","max_tokens":512,"messages":[{"role":"user","content":"gm"}]}'
# Models and balance
curl https://mannas.fun/v1/models
curl https://mannas.fun/v1/balance -H "Authorization: Bearer sk-manna-…"With the OpenAI or Anthropic SDK, point the client's base URL at https://mannas.fun/v1 and use your sk-manna- key as the API key.
Errors#
| Status | Meaning | What to do |
|---|---|---|
| 401 | Missing or invalid API key | Check the key, and that it has not been revoked |
| 402 | No credits for that provider (under $0.05), or the key reached its spend cap | Hold a coin that pays those credits, or raise the cap with a new key |
| 400 | Bad request: no model or messages, an unknown model, or stream on /v1/messages | Use a model from /v1/models; stream on /v1/chat/completions |
| 503 | Manna AI is switching on | Try again soon |
If a request costs more than your remaining balance, it still completes and your balance goes to zero.
Related#
Something wrong or missing? Tell us at hi@mannas.fun. Nothing in these docs is financial advice; see the Risk Disclosure.