Fuel

No key? Pay per request with x402. Call /chat/completions or /embeddings without an Authorization header and you get a 402 with a PAYMENT-REQUIRED header (x402 v2, scheme exact, USDC on Solana). Resend with PAYMENT-SIGNATURE: Fuel pays the network fee, runs the job as your wallet and keeps whatever it didn't use in your wallet's Fuel balance. Failed jobs cost nothing.

Docs

Fuel API

Base URL https://fuelai.cloud/v1. JSON in, JSON out. Errors use OpenAI's shape, so existing SDKs show them properly. Prices are USD; money is tracked to the millionth of a dollar.

CLIENTAgent / OpenAI SDKbase_url = fuel/v1SOLANAUSDC · SOL depositspublic or private ringFUEL1Key + balance check2Router · cheapest healthy3Ledger + receipthold → settle, exact costPROVIDERHosted APIstogether, …SELLERSGPU endpointstheir own priceLAPTOP LANEBrowser tabscross-checked

Sign in with a wallet

Your wallet is your account: a Solana wallet, or an EVM wallet for Robinhood Chain (sign with personal_sign). Sign a one-time message to get an API key, then send it as a Bearer token. Fuel stores only a hash of the key.

POST/v1/auth/noncepublicGet a message to sign. Body: { wallet }
POST/v1/auth/keyspublicExchange the signature for an API key. Body: { wallet, nonce, signature, label? }
GET/v1/auth/keysAPI keyList your keys (never the keys themselves)
DELETE/v1/auth/keys/:idAPI keyRevoke a key

Compute (OpenAI-compatible)

Point any OpenAI SDK at the base URL. Fuel routes each job to the cheapest healthy provider and fails over automatically. Every response carries a `fuel` receipt.

POST/v1/chat/completionsAPI keyChat, streaming supported. If you don't set max_tokens, Fuel sets 4096
POST/v1/messagesAPI keyAnthropic Messages format (for tools built on the Claude SDK): any Fuel model, streaming and tools. Key as x-api-key or Bearer
POST/v1/embeddingsAPI keyEmbeddings. Use fuel-lane/bge-small-en-v1.5 for the laptop lane (laptops see the text)
POST/v1/classificationsAPI keyZero-shot classification on the laptop lane. Body: { input, labels: [2–20], hypothesis_template? }. Returns the best label and ranked scores per text
POST/v1/images/generationsAPI keyPictures (OpenAI shape). Body: { model, prompt, n?: 1-4, size?: 1024x1024 | 768x1344 | 1344x768 }. Priced per picture; links expire within an hour
POST/v1/videosAPI keyStart a short video clip. Body: { model, prompt }. Returns 202 and an id; priced per clip, charged when it's ready
GET/v1/videos/:idpublicA clip's status (in_progress with stage queued or running, completed with a temporary url and receipt, or failed)
POST/v1/3dAPI keyStart a 3D model (GLB) from a prompt. Body: { model, prompt }. Returns 202 and an id; poll GET /3d/:id
GET/v1/3d/:idpublicA 3D job's status; completed has a temporary GLB url and the receipt
POST/v1/audio/speechAPI keyText to speech (OpenAI shape). Body: { model, input, voice?, response_format?: "url" }. Returns the audio (or a url). Priced per 1,000 characters
POST/v1/audio/transcriptionsAPI keySpeech to text (OpenAI shape, multipart: file up to 4 MB, model). Returns { text }. Priced per minute of audio
GET/v1/modelspublicModels with Fuel's price per 1M tokens
GET/v1/marketpublicMarket rates: what agents pay, and the price sellers have to beat
GET/v1/creditspublicCompute credits (open after the Fuel token launch; until then prices and tiers are live, buying, trading, converting and rules return an error): each tier's price per credit, whether Fuel is selling, fees, caps. With a key: your credits by tier and series
GET/v1/credits/tierspublicTiers (max, pro, open, lane): price per credit and exactly how many tokens 1 credit buys on each model (at least 1M at 3:1 input:output)
POST/v1/credits/buyAPI keyBuy credits of a tier from your balance. Body: { tier, credits }. Jobs on that tier's models use them automatically (header x-fuel-credits: off to pay from balance)
POST/v1/credits/convertAPI keyConvert credits into a cheaper tier, same month, at the price ratio minus a fee. Body: { series, to_tier, credits }
GET/v1/credits/marketpublicCredit market: each series (month × tier) with value, best bid/ask, last price, premium to value
GET/v1/credits/market/:seriespublicOrder book and recent trades for a series (e.g. 2026-12-pro)
POST/v1/credits/ordersAPI keyPlace a limit order. Body: { series, side: buy|sell, price_usd, credits }. Matches at once; the rest waits
GET/v1/credits/ordersAPI keyYour orders and trades
GET/v1/credits/rulesAPI keyYour standing rules (Fuel runs them every 5 minutes) and what each last did
POST/v1/credits/rulesAPI keyAdd a rule. { kind: keep_min, tier, min_credits, target_credits, max_price_usd } or { kind: sell_before_expiry, tier, days_before, min_price_usd }
DELETE/v1/credits/rules/:idAPI keyDelete a rule
DELETE/v1/credits/orders/:idAPI keyCancel an open order (held credits or money come back)
GET/v1/indexpublicFuel Compute Index: level (base 100), reference price, 24h/7d/30d change, history. ?days=1..365
GET/v1/statuspublicSystem status: components, success rates, 24h history
GET/v1/byokAPI keyBring your own key: your saved provider keys (masked) and which providers accept them (none until a provider is switched on)
POST/v1/byokAPI keySave your own OpenAI/Anthropic key. Body: { provider, api_key }. The provider bills you directly
DELETE/v1/byok/:providerAPI keyRemove your own key
GET/v1/jobsAPI keyYour receipts: price, time, provider, tokens. Never content
GET/v1/jobs/:idAPI keyOne receipt
curl https://fuelai.cloud/v1/chat/completions \
  -H "Authorization: Bearer fuel_sk_..." -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-oss-120b","messages":[{"role":"user","content":"Hi"}]}'

Balance, top-ups and pay-later

Top up once in USDC or SOL on Solana, or USDG on Robinhood Chain; jobs draw the balance down. Deposits are spotted automatically within minutes, or confirm one straight away.

GET/v1/accountAPI keyBalance, held, spend today, limits, deposit address, credit
PATCH/v1/accountAPI keySet limits. Body: { daily_usd?, per_job_usd? } (null removes)
POST/v1/account/budgetAPI keySet limits in plain words. Body: { text, dry_run? }, e.g. "at most $5 a day, no job over 10 cents", "remove the daily limit", "pause spending"
GET/v1/topups/usdgpublicHow to top up with USDG on Robinhood Chain: chain id 4663, the USDG contract and Fuel's deposit address
POST/v1/topups/usdgpublicConfirm a USDG top-up by transaction hash. Body: { tx_hash }. The sending wallet is credited 1:1
POST/v1/topupspublicConfirm a public deposit. Body: { signature }. A fuel:<agent> memo credits that agent
GET/v1/topupsAPI keyYour deposit history
GET/v1/topups/privatepublicHow to top up privately (Solana Privacy Rings)
POST/v1/topups/private/confirmAPI keyConfirm a private top-up. Body: { signature }
GET/v1/faucetAPI keyYour free trial credits (with a token estimate) and pay-later credit (2% of your deposits)
POST/v1/faucet/claimAPI keyClaim the free trial credits (any wallet, once)
POST/v1/trial/startpublicNo-wallet trial for people: returns a key for free credits on cheap text models and FLUX schnell pictures. One per computer and network every 30 days

Teams

Run many agents from one place. Agents join a team with an invite code using their own API key; owners and admins then set their limits and fund them from their own balance.

POST/v1/teamsAPI keyCreate a team. Body: { name }
GET/v1/teamsAPI keyYour teams
GET/v1/teams/:idAPI keyAgents with balance, spend and limits; totals; people; receipts
POST/v1/teams/:id/invitesAPI keyCreate an invite. Body: { role: agent | member | admin, uses? }
POST/v1/teams/joinagent's keyJoin with a code. Body: { code, label? }. Agents use their own key
PATCH/v1/teams/:id/agents/:walletAPI keySet an agent's limits or label. Body: { daily_usd?, per_job_usd?, label? } or { budget: "at most $2 a day" }
POST/v1/teams/:id/agents/:wallet/fundAPI keyMove money from your balance to an agent. Body: { usd }
DELETE/v1/teams/:id/members/:walletAPI keyRemove someone, or leave

Public agents and community

Give an agent a public page. Its community can top it up from their wallets or a Blink; projects can link a fee wallet so token fees fuel the agent.

POST/v1/agentsAPI keyMake your agent public or edit it. Body: { name, display_name, … }
GET/v1/agents/:namepublicPublic profile: balance, jobs, community fuel, supporters
POST/v1/agents/fee-sources/nonceAPI keyStart linking a project fee wallet (self-fuelling)
POST/v1/agents/fee-sourcesAPI keyFinish linking with the fee wallet's signature

Selling compute

List an OpenAI-compatible GPU endpoint at your own price, or run the laptop lane in a browser tab. Earnings arrive as Fuel balance and can be withdrawn in USDC to your wallet (minimum $5, paid after review). Deposits can't be withdrawn.

POST/v1/sellersAPI keyApply or update. Body: { name, endpoint_url, api_key?, models: [{ model, input_per_mtok, output_per_mtok }] }
GET/v1/sellers/meAPI keyYour listing, test results, jobs served, earnings
POST/v1/sellers/me/probeAPI keyRe-test your endpoint
GET/v1/lanepublicLaptop lane status and price
GET/v1/lane/statsAPI keyYour laptop-lane record and earnings
GET/v1/payoutsAPI keyEarnings: what you can withdraw, the minimum, payout history
POST/v1/payoutsAPI keyRequest a USDC payout of earnings. Body: { amount_usd }
POST/v1/payouts/:id/cancelAPI keyCancel before it's approved (refunds the balance)

Errors

401invalid_api_keyMissing, unknown or revoked key
402insufficient_balanceTop up, or the job needs more than your balance + pay-later credit
402per_job_limit / daily_limitA spending limit would be exceeded
402credit_overduePay-later credit is past due: top up to unpause
403region_not_supportedClaude/GPT aren't served in your region (open models are)
403wallet_refusedAccount suspended, or wallet refused by sanctions screening
429rate_limit_exceededToo many jobs or sign-ins per minute for this wallet: wait for Retry-After
404model_not_foundNo live provider serves that model (see /v1/models)
502all_providers_failedEvery provider failed. You weren't charged
503lane_unavailableFewer than two laptops online for the laptop lane

Questions about pricing? See the market.