Get credits
About ArluHow credits workQuickstart

Credits

SpendingSelling

For developers

APIVault and verification

Reference

NetworkRoadmapTrust and risksFAQGlossary

No pages match.

START

About Arlu

Arlu is a credit for AI. One credit pays for one dollar of inference on any major model, and each credit has one USDC held behind it on Elysium.

What is Arlu?

Arlu has three parts. A credit is a token you hold in your own wallet. A vault is a contract that holds one USDC for every credit that exists. A gateway is an API that lets you spend credits on AI models.

You buy credits with USDC, point your code at the gateway, and pay for model usage from that one balance.

The problem it solves

Paying for AI today usually means a separate account, card and balance with each provider. Prepaid balances sit in a company database where you cannot see them, move them or check that they are funded. Agents are harder still, because an agent cannot hold a credit card.

Arlu puts the balance onchain. It is one balance for every model, it stays in your wallet until it is used, and anyone can check that it is funded.

How it differs

Typical prepaid AI balanceArlu credits
Where the balance livesIn the provider's databaseIn your wallet, as a token
Which models it coversThat provider onlyEvery model on the gateway
Proof it is fundedNoneUSDC in a vault you can read
Unused balanceStuck, or expiresStays yours and can be sold
Spending controlAll or nothingA limit you set and can revoke

Who it is for

  • Builders who want one key and one bill for every model.
  • Agents that need a budget they can spend without holding a card or an open wallet.
  • Teams that want AI spend they can see and audit onchain.

Technical overview

The gateway follows the OpenAI format, so existing clients work after changing the base URL. It meters each request, takes only what the request cost from your allowance, and burns it. The vault then releases the same amount of USDC to pay for the inference.

Status

Arlu is pre-launch and being built on Elysium testnet. Pages marked In build describe what is being built now. Pages marked Planned describe what comes later. Values in [brackets] are not final.

Related

START

How credits work

A credit is created when a dollar goes into the vault, and destroyed when it is spent on a model.

VAULT AND SUPPLYDEPOSIT
USDC in vault1 : 1Credits outstanding
USDC goes into the vault. The same number of credits are minted.

Illustration. Each tile stands for one unit.

The life of a credit

  1. Deposit. You send USDC to the vault and receive the same number of credits.
  2. Hold. Credits are a normal token in your wallet. Nothing is locked.
  3. Spend. The gateway takes only what a request cost, then burns it.
  4. Release. One USDC leaves the vault for each credit burned, to pay for the inference.

A worked example

EXAMPLE

These numbers are made up to show the mechanics.

You deposit100 USDC
You receive100 credits
Vault holds100 USDC
A request costs0.04 credits
You now hold99.96 credits
Vault now holds99.96 USDC

After the request, 0.04 credits no longer exist, and 0.04 USDC has left the vault to pay the model provider. The vault and the supply are still equal.

Why the numbers match

There are only two ways the totals can change. Credits are minted when USDC enters the vault, and USDC leaves the vault when credits are burned. Both move by the same amount each time, so the two totals cannot drift apart through normal use.

Who does what

YouHold credits, set the spending limit, send requests
The vaultHolds USDC, mints credits on deposit, releases USDC on burn
The gatewayChecks your limit, calls the model, meters usage, burns credits
The model providerRuns the model and is paid in dollars

What a credit is not

A credit is prepaid usage. It is not a deposit account, it does not earn anything by being held, and it is not the Arlu token.

Related

START

Quickstart

In build

Make a first request through the gateway. This takes four steps.

Before you start

  • A wallet you created yourself. Arlu never generates or holds your keys.
  • Some USDC on Elysium.
  • A little HYPE for gas.

1. Get credits

Open the app, connect your wallet, and deposit USDC. You receive the same number of credits in the same transaction. They appear in your wallet as a token.

2. Set an allowance

Approve the gateway to spend up to a limit you choose. Start small. You can raise or revoke it at any time. See Allowances for the exact call.

3. Create an API key

In the app, sign a message with your wallet. This costs no gas. The app shows you a key that is tied to your address. Store it like a password.

4. Send a request

Point any OpenAI client at the gateway and use your key.

REQUEST
curl https://api.arlu.io/v1/chat/completions \
  -H "Authorization: Bearer $ARLU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "[provider/model]",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
from openai import OpenAI

client = OpenAI(
    base_url="https://api.arlu.io/v1",
    api_key=os.environ["ARLU_API_KEY"],
)

reply = client.chat.completions.create(
    model="[provider/model]",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.arlu.io/v1",
  apiKey: process.env.ARLU_API_KEY,
});

const reply = await client.chat.completions.create({
  model: "[provider/model]",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(reply.choices[0].message.content);
Works with any OpenAI client

What happens next

The gateway checks your limit, calls the model, and returns the reply. It then burns the credits the request cost. Your balance and allowance both go down by that amount.

If it fails

  • Not enough allowance. Raise the limit and try again. Nothing was charged.
  • Not enough credits. Deposit more USDC.
  • Unknown model. Call /v1/models to see what is available.
NOTE

The gateway at api.arlu.io is not live yet. It opens with the testnet launch, and model names will be listed here.

Related

CREDITS

Spending

In build

You do not lock credits into an account. You approve a limit, and the gateway takes from your wallet as you use it.

Why it works this way

Most prepaid systems make you move your balance into an account they control. Once it is there, it is theirs to manage. Arlu leaves credits in your wallet and asks only for permission to take what you use, up to a limit you set.

How a request is charged

  1. The gateway checks that your balance and allowance can cover the request.
  2. The model runs and the gateway meters the tokens used.
  3. The gateway takes that many credits from your wallet and burns them.
  4. The vault releases the same amount of USDC to pay the provider.

What stays in your control

  • The gateway can never take more than the limit you set.
  • You can lower the limit or set it to zero at any time.
  • Credits you have not spent stay in your wallet and can be moved or sold.

Choosing a limit

Trying it outA few credits
A single appAbout a week of expected usage
An agentA small limit, topped up often

These are suggestions, not rules. A lower limit means approving more often. A higher limit means more is exposed if your key leaks.

If your key leaks

Set the allowance to zero. Spending stops as soon as that transaction confirms, whatever key is used. Then create a new key.

In this section

CREDITS / SPENDING

Allowances

In build

An allowance is the most the gateway may take from your wallet.

Try it

YOUR WALLETREADY
Gateway may take 0In wallet 0
Drag across the tiles to set the limit.

Example. Each tile is one credit. Teal tiles are inside the limit.

Balance and allowance are different

Your balance is how many credits you hold. Your allowance is how many of those the gateway is permitted to take. A request needs both to be high enough.

Balance 40, allowance 12Up to 12 credits can be spent
Balance 5, allowance 12Up to 5 credits can be spent
Balance 40, allowance 0Nothing can be spent

Set a limit

Credits are a standard token, so a limit is a normal token approval to the gateway's spender address.

APPROVE
await wallet.writeContract({
  address: "[CREDIT_ADDRESS]",
  abi: erc20Abi,
  functionName: "approve",
  args: ["[GATEWAY_SPENDER]", parseUnits("25", 6)],
});
cast send [CREDIT_ADDRESS] \
  "approve(address,uint256)" [GATEWAY_SPENDER] 25000000 \
  --rpc-url [RPC_URL] --account [your-keystore]
Sets a limit of 25 credits

Check your limit

READ
cast call [CREDIT_ADDRESS] \
  "allowance(address,address)(uint256)" [YOUR_ADDRESS] [GATEWAY_SPENDER] \
  --rpc-url [RPC_URL]
Returns the allowance left

Revoke

Approve the same spender for zero. All spending stops as soon as that transaction confirms.

REVOKE
cast send [CREDIT_ADDRESS] \
  "approve(address,uint256)" [GATEWAY_SPENDER] 0 \
  --rpc-url [RPC_URL] --account [your-keystore]
Sets the limit to zero

When the limit runs out

Requests are rejected before the model is called, and nothing is charged. Raise the limit to continue.

NOTE

Credits use 6 decimals, the same as USDC. A limit of 25 credits is the number 25000000.

Related

CREDITS / SPENDING

Agent budgets

Planned

Fund an agent without handing it an open wallet.

The problem

An agent that pays for its own model calls needs money. Giving it a wallet with funds means trusting it with all of them. Giving it a shared API key means no limit per agent.

How it will work

  1. The owner creates a key for the agent and sets a daily cap.
  2. The agent calls the gateway with that key, like any other client.
  3. The gateway charges the owner's credits, up to the cap for that day.
  4. The owner can change the cap or revoke the key in one transaction.

Controls

Daily cap[set by owner]
RevokeOne transaction
Funds stay inThe owner's wallet
Agent holdsA key, and no funds

How this differs from an allowance

An allowance limits the whole wallet. An agent budget limits one key inside that wallet. Several agents can share one wallet and each have their own cap.

Status

Agent budgets are planned and not built yet. Until then, a plain allowance on a wallet used by one agent gives the same hard limit.

CREDITS

Selling

Planned

If you hold more credits than you need, you will be able to sell them back without waiting for a buyer.

Why selling exists

Credits are meant to be spent. But plans change, and a balance you cannot exit is a balance people avoid buying. Selling gives unused credits a way out.

The market maker

A protocol market maker always quotes a price for credits. You sell to a contract, not to another person, so there is no listing to manage and no waiting.

How the price moves

The price is at or below one dollar per credit. The more unspent credits there are outstanding, the larger the discount. When few credits are unspent, the price sits close to one dollar.

Buying at a discount

Credits sold to the market maker can be bought back out of it by others. That means people who need inference may be able to buy credits for less than a dollar each.

What is not decided

The pricing curve and its limits are not final. It is the contract that most needs an audit, and it will not hold funds before one is published here.

Related

FOR DEVELOPERS

API

In build

The gateway follows the OpenAI chat completions format. If a tool accepts an OpenAI base URL, it works with Arlu.

Base URL

All endpoints are served from https://api.arlu.io/v1.

Authentication

Send your key as a bearer token. Keys are created by signing a message with your wallet, so there is no password or email. A key is tied to one wallet address and spends that wallet's credits.

HEADER
Authorization: Bearer $ARLU_API_KEY
Required on every request

Endpoints

Using an existing client

Change two things in any OpenAI client: the base URL and the key. Nothing else in your code needs to change.

ENVIRONMENT
export OPENAI_BASE_URL=https://api.arlu.io/v1
export OPENAI_API_KEY=$ARLU_API_KEY
Many tools read these two variables

How billing fits in

There is no invoice and no card. Each successful request burns credits from the wallet behind the key. A failed request burns nothing.

Limits

Rate limits are [TBA] and will be listed here.

Related

FOR DEVELOPERS / API

Chat completions

In build

Send messages to a model and get a reply.

Request

The body is the OpenAI chat completions format.

POST /V1/CHAT/COMPLETIONS
{
  "model": "[provider/model]",
  "messages": [{"role": "user", "content": "Hello"}],
  "stream": false
}
curl https://api.arlu.io/v1/chat/completions \
  -H "Authorization: Bearer $ARLU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "[provider/model]",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
from openai import OpenAI

client = OpenAI(
    base_url="https://api.arlu.io/v1",
    api_key=os.environ["ARLU_API_KEY"],
)

reply = client.chat.completions.create(
    model="[provider/model]",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.arlu.io/v1",
  apiKey: process.env.ARLU_API_KEY,
});

const reply = await client.chat.completions.create({
  model: "[provider/model]",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(reply.choices[0].message.content);

Fields

modelRequired. A model ID from /v1/models.
messagesRequired. The conversation so far, oldest first.
streamOptional. True to receive the reply as it is generated.
max_tokensOptional. A cap on the length of the reply.

Other standard OpenAI fields are passed through to the model where it supports them.

Response

200
{
  "id": "chatcmpl-...",
  "object": "chat.completion",
  "model": "[provider/model]",
  "choices": [
    {"index": 0, "message": {"role": "assistant", "content": "..."}, "finish_reason": "stop"}
  ],
  "usage": {"prompt_tokens": 9, "completion_tokens": 12, "total_tokens": 21}
}
Shape follows the OpenAI format

Streaming

With stream set to true, the reply arrives in pieces as server-sent events, in the OpenAI streaming format. Credits are burned once, after the stream ends.

What you are charged

The usage block is what the gateway prices. Those tokens are converted to credits at the model's listed rate and burned from your wallet after the reply completes.

Keeping cost down

  • Set max_tokens so a reply cannot run long.
  • Send only the messages the model needs.
  • Use a smaller model where it is good enough.

Related

FOR DEVELOPERS / API

Models and pricing

In build

One credit is one dollar of model usage.

How pricing works

Each model has a listed rate for input tokens and output tokens. The gateway counts the tokens a request used, multiplies by those rates, adds a gateway margin of [X%], and burns that many credits.

A worked example

EXAMPLE

The rates below are made up to show the arithmetic. They are not real prices.

Input rate$3 per million tokens
Output rate$15 per million tokens
Request used1,000 input and 500 output tokens
Input cost$0.0030
Output cost$0.0075
Total before margin$0.0105, or 0.0105 credits

Model families

ClaudePlanned
GPTPlanned
GeminiPlanned
GrokPlanned
DeepSeekPlanned

This is the target list, not a live catalogue.

List models

Call /v1/models for the models you can use right now.

GET /V1/MODELS
{
  "object": "list",
  "data": [
    {"id": "[provider/model]", "object": "model"}
  ]
}
Price fields will be added to this response

Why one credit is one dollar

Pricing in dollars keeps the numbers familiar. A credit is always worth one dollar of usage, whatever the model, so budgets are easy to reason about.

Related

FOR DEVELOPERS / API

Errors

In build

What happens when a request cannot be served.

The rule

If a request does not produce a reply, it does not burn credits.

Common cases

CaseWhat it meansWhat to do
Allowance too lowThe gateway may not take enough to cover the request.Raise your allowance.
Balance too lowYour wallet does not hold enough credits.Deposit more USDC.
Invalid keyThe key is missing, wrong or revoked.Create a new key in the app.
Unknown modelThe model ID is not on the gateway.Check /v1/models.
Model unavailableThe upstream provider could not serve it.Retry, or use another model.

Error format

Errors will follow the OpenAI error shape so existing clients handle them.

ERROR
{
  "error": {
    "message": "[human readable reason]",
    "type": "[TBA]",
    "code": "[TBA]"
  }
}
Types and codes are not final

Retrying

Retry when a model is unavailable. Do not retry a low allowance or low balance without fixing it first, because the result will be the same.

Related

FOR DEVELOPERS

Vault and verification

In build

USDC in the vault is never less than credits outstanding. You can check both numbers yourself.

What the vault is

The vault is a contract on Elysium. It does three things. It takes USDC and mints credits. It holds that USDC. It releases USDC when credits are burned for usage.

Live backing

BACKING[LIVE AT LAUNCH]
USDC in vault [amount]1 : 1Credits outstanding [amount]
Both numbers will read straight from the chain once contracts are deployed.

Illustration until launch. The two blocks are drawn equal because the vault and the supply are meant to be equal.

Verify it yourself

Two read calls give you both numbers. The first should be equal to or greater than the second.

READ
# USDC held by the vault
cast call 0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65 \
  "balanceOf(address)(uint256)" [VAULT_ADDRESS] --rpc-url [RPC_URL]

# Credits outstanding
cast call [CREDIT_ADDRESS] "totalSupply()(uint256)" --rpc-url [RPC_URL]
const usdc = await client.readContract({
  address: USDC, abi: erc20Abi,
  functionName: "balanceOf", args: ["[VAULT_ADDRESS]"],
});
const credits = await client.readContract({
  address: "[CREDIT_ADDRESS]", abi: erc20Abi,
  functionName: "totalSupply",
});
Elysium mainnet USDC

Reading the result

USDC equals creditsFully backed
USDC is greaterFully backed, with extra in the vault
USDC is lessUnder backed. This should never happen.

Both numbers use 6 decimals, so they can be compared directly.

Why this matters

With an ordinary prepaid balance you take the company's word that the money is there. Here the money is in a contract, and the check takes two calls that anyone can run at any time.

What this does not prove

The vault proves the funds exist. It does not prove that each request was priced correctly, because usage is reported by the gateway. See Trust and risks.

Related

REFERENCE

Network

Arlu runs on Elysium, the Hyperliquid L2 built by Kinetiq. Gas is paid in HYPE.

Why Elysium

Elysium is built for trading and settles in the Hyperliquid ecosystem, with USDC and HYPE as native assets. Arlu uses USDC for backing and HYPE for gas, and plans to use Elysium's link to HyperCore for agent tools.

Chain

Mainnet chain ID99901
Testnet chain ID99801
Gas tokenHYPE
RPC[RPC_URL]

Contracts

USDC, mainnet0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65
Credit token[TBA]
Vault[TBA]
Gateway spender[TBA]
Market maker[TBA]

What each contract does

Credit tokenThe credit itself. A standard token with 6 decimals.
VaultHolds USDC, mints credits, releases USDC on burn.
Gateway spenderThe only address allowed to pull credits for usage.
Market makerBuys back unused credits. Planned.

Add the network to a wallet

Use the chain ID and RPC above with HYPE as the currency symbol. Take the RPC URL from Elysium's own docs.

NOTE

Check the chain ID and USDC address against Elysium's own docs before sending funds. No Arlu contract has been deployed or audited yet. Do not treat any address as official unless it appears on this page.

REFERENCE

Roadmap

What ships, in order, and what each step depends on.

Now: core on testnet

Vault-backed credits, allowance spending, the gateway and a live backing page. This step is useful on its own and does not need a token.

  • Credit token and vault
  • Gateway with chat completions and models
  • Deposit and key creation in the app
  • Backing page that reads from the chain

Next: tools and token

Elysium is adding a way for contracts to read HyperCore order books and place orders there, expected in early December 2026. Once it is live, Arlu plans to serve order book depth, prices and positions as tools an agent can call, paid from the same credit balance.

  • HyperCore tools for agents
  • Agent budgets
  • Token launch and staking
  • Market maker for unused credits

After: deeper into Hyperliquid

  • kHYPE deposits whose staking yield buys inference
  • A HyperCore spot listing for credits

How credits get funded

The design funds credits from three sources so it does not depend on one.

Direct salesPeople deposit USDC for credits. Works with no token.
Token feesTrading fees in HYPE are converted to USDC and minted as credits. Planned.
Staked HYPEStaking yield on deposited kHYPE buys inference. Planned.

What can change

The HyperCore upgrade date can slip. The first step does not depend on it. Token and staking terms are undecided, and nothing here is an offer or a promise of returns.

REFERENCE

Trust and risks

The parts you are trusting today, and what limits the damage if one fails.

Summary

RiskWhat could go wrongWhat limits it
Gateway reportingA request is priced wrongly.Your allowance caps the total.
Upstream providerA model becomes unavailable.Other models, and no charge on failure.
ContractsA bug in an unaudited contract.Keep amounts small until an audit.
Key leakSomeone else uses your key.Revoke the allowance in one transaction.

Usage is reported by our gateway

The vault proves the funds exist, but what each request cost comes from an offchain service. Allowance limits cap how much could ever be taken. They do not remove the trust.

Models come through an upstream provider

Arlu does not run the models. If the upstream provider changes its terms or goes down, some models may become unavailable.

Contracts are unaudited

No Arlu contract has been audited. Keep amounts small until an audit is published here.

Keys and wallets

Arlu never creates wallets and never asks for a seed phrase. If anyone claiming to be Arlu asks for one, it is not us.

Credits are prepaid usage

They are not a deposit account or an investment. Buy what you expect to use.

What you can do

  • Keep your allowance low.
  • Check the vault yourself from time to time.
  • Use only addresses listed on the Network page.

REFERENCE

FAQ

What is a credit worth?

One credit pays for one dollar of model usage on the gateway.

Can I get my USDC back?

Credits are meant to be spent. Unused credits can be sold to the market maker once it is live. Direct redemption is [undecided].

Do credits expire?

No expiry is planned.

Do I need the Arlu token?

No. Credits bought with USDC are enough to use the gateway.

Is a credit a stablecoin?

No. It is prepaid usage. It is backed by USDC so that you can check it is funded, not so that it can be used as money.

Which wallet should I use?

Any wallet you created yourself that connects to Elysium. Arlu never creates wallets or asks for a seed phrase.

Which models are supported?

See Models and pricing for the target list. Nothing is live yet.

Can I use my existing code?

Yes, if it uses an OpenAI client. Change the base URL and the key. See the API page.

What if the gateway is down?

Requests fail and nothing is charged. Your credits stay in your wallet.

Is it live?

No. Arlu is pre-launch and being built on testnet.

REFERENCE

Glossary

The terms used in these docs.

CreditA token that pays for one dollar of model usage.
VaultThe contract that holds one USDC for each credit.
GatewayThe API that serves model requests and burns credits.
AllowanceThe most the gateway may take from your wallet.
BurnDestroying a credit after it has been used.
MintCreating a credit when USDC is deposited.
BackingThe USDC held in the vault against credits.
SpenderThe gateway address that an allowance is granted to.
InferenceRunning a model to get a reply.
Token (model)A piece of text a model reads or writes. Usage is counted in these.
ElysiumThe Hyperliquid L2 that Arlu runs on.
HyperCoreHyperliquid's order book layer.
HYPEThe gas token on Elysium.
kHYPEKinetiq's staked HYPE.
Pre-launch draft. Values in [brackets] are not final.

On this page