Overview
The Elefant LLM is metered intelligence. Rather than a monthly plan, your usage is paid for in $ELEFANT, the network's Solana token. You deposit tokens into your account, send prompts, and each reply spends a small amount from your balance. Anything you don't use can be withdrawn back to your wallet at any time.
- Pay-as-you-go. No subscription — you pay only for the replies you generate.
- Real balance. Your balance is funded by real on-chain $ELEFANT deposits, tracked per wallet.
- Two ways in. The web console (a chat UI) and a programmatic HTTP API secured by keys.
Quickstart
Three steps to your first reply:
Open the console and connect a Solana wallet (Phantom). Your balance and activity are tied to this address.
In the sidebar, enter an amount and hit Fund. Your wallet signs a real $ELEFANT transfer; it's credited once the transaction confirms on-chain.
Type a message in the console. Each reply costs a few $ELEFANT, debited instantly from your balance.
Prefer code? Jump to API keys and the API reference.
The console
The console is a chat interface like ChatGPT or Claude. It is multi-turn — Elefant remembers the conversation so you can follow up naturally. Every reply shows the exact amount it cost, and your live balance sits in the top bar.
Your conversation is stored locally in your browser, per wallet, so it survives reloads. Use Clear chat to start fresh. The collapsible left panel holds your balance, funding controls, live Solana data, recent activity, and your API keys.
Pricing
Pricing is based on the length of each reply, not a flat per-message fee:
- A minimum balance of
20 $ELEFANTis required to send a message. - Each reply costs
max(5, round(output_tokens × 0.25))$ELEFANT — about 5 for a short answer, scaling up with longer responses. - Nothing is charged if the model determines there is no real task (e.g. empty or gibberish input).
Costs are debited the instant a reply is produced. You can see them per message and in Recent activity in the sidebar.
Funding your account
Your balance is a real, per-wallet ledger funded by on-chain deposits to the Elefant treasury.
Deposit
Enter an amount and press Fund. Your wallet builds and signs a $ELEFANT transfer to the treasury; the backend verifies the confirmed transaction on-chain and credits your balance. Each deposit is keyed to its transaction signature, so it can never be double-credited.
Withdraw
Enter an amount and press Withdraw. The treasury signs the tokens back to your wallet. If a transfer fails, your balance is automatically restored.
Deposits and withdrawals are real Solana transactions — keep a small amount of SOL in your wallet for the network fee.
API keys
Generate keys to call Elefant from your own apps, scripts, or agents. Open the console, scroll to API keys in the sidebar, and press Generate key.
- Keys look like
elf-CT3DRPdTaGkLCtYozkF45yX5EYGi9lzl— the prefixelf-followed by 32 characters. - A key is shown once at creation. Copy and store it securely — only a hash is kept server-side.
- Calls made with a key spend the $ELEFANT balance of the wallet that created it.
- Revoke a key anytime from the dashboard.
API reference
Base URL https://app.elefant.cloud. Authenticate with your key in the Authorization header.
POST /api/infer
Send a prompt (or a full chat history) and get a reply.
curl https://app.elefant.cloud/api/infer \
-H "Authorization: Bearer elf-..." \
-H "Content-Type: application/json" \
-d '{"prompt":"Explain proof of inference in one sentence."}'{
"messages": [
{ "role": "user", "content": "My name is Sans." },
{ "role": "assistant", "content": "Hi Sans!" },
{ "role": "user", "content": "What is my name?" }
]
}{
"ok": true,
"accepted": true,
"output": "Proof of inference cryptographically binds a model's output ...",
"tokensOut": 42,
"cost": 11,
"balance": 989,
"proof": "0x9f3a...c712",
"latencyMs": 740
}Parameters
| Field | Type | Description |
|---|---|---|
| prompt | string | A single prompt. Use this or messages. |
| messages | array | Chat history of { role, content } for multi-turn context. |
| Authorization | header | Bearer elf-… — required for API access. |
Errors
401 bad_key— the key is invalid or revoked.402 insufficient— balance below the minimum; fund your account.400 invalid_task— the prompt isn't an actionable task.
Other endpoints
GET /api/ledger?wallet=…— balance, totals, and recent activity for a wallet.GET · POST · DELETE /api/keys— list, create, and revoke API keys.
Architecture
Elefant pairs an on-chain economy with off-chain inference:
- Wallet & payments — Phantom on Solana. Deposits are real $ELEFANT transfers verified through a Helius RPC.
- Ledger — a per-wallet balance backed by Postgres. Funded by deposits, debited per query, withdrawable on demand.
- Inference — every prompt runs through the Elefant LLM; the reply is metered and charged.
- Live data — Solana telemetry, $ELEFANT holders and market cap, and a global presence map power the site.
This is the consumer side of the network described in the whitepaper — intelligence priced and paid for in the network's own token.
FAQ
$ELEFANT is the Solana token that powers usage of the network. The contract address is shown in the app header (9ZXzELawSgtpKPwQEd9z4iEhPhKGEUWUWa671fVqpump).
A small amount of SOL is needed to pay the Solana network fee when you deposit or withdraw. Querying the model only spends $ELEFANT.
Your chat thread is stored locally in your browser, scoped to your wallet. Use Clear chat to remove it.
Yes — withdraw any unused balance back to your wallet at any time.
Queries run real inference on the Elefant LLM. Each reply returns a proof hash binding the output to your request.