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.
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/nonce | public | Get a message to sign. Body: { wallet } |
| POST | /v1/auth/keys | public | Exchange the signature for an API key. Body: { wallet, nonce, signature, label? } |
| GET | /v1/auth/keys | API key | List your keys (never the keys themselves) |
| DELETE | /v1/auth/keys/:id | API key | Revoke 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/completions | API key | Chat, streaming supported. If you don't set max_tokens, Fuel sets 4096 |
| POST | /v1/messages | API key | Anthropic Messages format (for tools built on the Claude SDK): any Fuel model, streaming and tools. Key as x-api-key or Bearer |
| POST | /v1/embeddings | API key | Embeddings. Use fuel-lane/bge-small-en-v1.5 for the laptop lane (laptops see the text) |
| POST | /v1/classifications | API key | Zero-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/generations | API key | Pictures (OpenAI shape). Body: { model, prompt, n?: 1-4, size?: 1024x1024 | 768x1344 | 1344x768 }. Priced per picture; links expire within an hour |
| POST | /v1/videos | API key | Start a short video clip. Body: { model, prompt }. Returns 202 and an id; priced per clip, charged when it's ready |
| GET | /v1/videos/:id | public | A clip's status (in_progress with stage queued or running, completed with a temporary url and receipt, or failed) |
| POST | /v1/3d | API key | Start a 3D model (GLB) from a prompt. Body: { model, prompt }. Returns 202 and an id; poll GET /3d/:id |
| GET | /v1/3d/:id | public | A 3D job's status; completed has a temporary GLB url and the receipt |
| POST | /v1/audio/speech | API key | Text 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/transcriptions | API key | Speech to text (OpenAI shape, multipart: file up to 4 MB, model). Returns { text }. Priced per minute of audio |
| GET | /v1/models | public | Models with Fuel's price per 1M tokens |
| GET | /v1/market | public | Market rates: what agents pay, and the price sellers have to beat |
| GET | /v1/credits | public | Compute 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/tiers | public | Tiers (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/buy | API key | Buy 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/convert | API key | Convert credits into a cheaper tier, same month, at the price ratio minus a fee. Body: { series, to_tier, credits } |
| GET | /v1/credits/market | public | Credit market: each series (month × tier) with value, best bid/ask, last price, premium to value |
| GET | /v1/credits/market/:series | public | Order book and recent trades for a series (e.g. 2026-12-pro) |
| POST | /v1/credits/orders | API key | Place a limit order. Body: { series, side: buy|sell, price_usd, credits }. Matches at once; the rest waits |
| GET | /v1/credits/orders | API key | Your orders and trades |
| GET | /v1/credits/rules | API key | Your standing rules (Fuel runs them every 5 minutes) and what each last did |
| POST | /v1/credits/rules | API key | Add 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/:id | API key | Delete a rule |
| DELETE | /v1/credits/orders/:id | API key | Cancel an open order (held credits or money come back) |
| GET | /v1/index | public | Fuel Compute Index: level (base 100), reference price, 24h/7d/30d change, history. ?days=1..365 |
| GET | /v1/status | public | System status: components, success rates, 24h history |
| GET | /v1/byok | API key | Bring your own key: your saved provider keys (masked) and which providers accept them (none until a provider is switched on) |
| POST | /v1/byok | API key | Save your own OpenAI/Anthropic key. Body: { provider, api_key }. The provider bills you directly |
| DELETE | /v1/byok/:provider | API key | Remove your own key |
| GET | /v1/jobs | API key | Your receipts: price, time, provider, tokens. Never content |
| GET | /v1/jobs/:id | API key | One 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/account | API key | Balance, held, spend today, limits, deposit address, credit |
| PATCH | /v1/account | API key | Set limits. Body: { daily_usd?, per_job_usd? } (null removes) |
| POST | /v1/account/budget | API key | Set 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/usdg | public | How to top up with USDG on Robinhood Chain: chain id 4663, the USDG contract and Fuel's deposit address |
| POST | /v1/topups/usdg | public | Confirm a USDG top-up by transaction hash. Body: { tx_hash }. The sending wallet is credited 1:1 |
| POST | /v1/topups | public | Confirm a public deposit. Body: { signature }. A fuel:<agent> memo credits that agent |
| GET | /v1/topups | API key | Your deposit history |
| GET | /v1/topups/private | public | How to top up privately (Solana Privacy Rings) |
| POST | /v1/topups/private/confirm | API key | Confirm a private top-up. Body: { signature } |
| GET | /v1/faucet | API key | Your free trial credits (with a token estimate) and pay-later credit (2% of your deposits) |
| POST | /v1/faucet/claim | API key | Claim the free trial credits (any wallet, once) |
| POST | /v1/trial/start | public | No-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/teams | API key | Create a team. Body: { name } |
| GET | /v1/teams | API key | Your teams |
| GET | /v1/teams/:id | API key | Agents with balance, spend and limits; totals; people; receipts |
| POST | /v1/teams/:id/invites | API key | Create an invite. Body: { role: agent | member | admin, uses? } |
| POST | /v1/teams/join | agent's key | Join with a code. Body: { code, label? }. Agents use their own key |
| PATCH | /v1/teams/:id/agents/:wallet | API key | Set 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/fund | API key | Move money from your balance to an agent. Body: { usd } |
| DELETE | /v1/teams/:id/members/:wallet | API key | Remove 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/agents | API key | Make your agent public or edit it. Body: { name, display_name, … } |
| GET | /v1/agents/:name | public | Public profile: balance, jobs, community fuel, supporters |
| POST | /v1/agents/fee-sources/nonce | API key | Start linking a project fee wallet (self-fuelling) |
| POST | /v1/agents/fee-sources | API key | Finish 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/sellers | API key | Apply or update. Body: { name, endpoint_url, api_key?, models: [{ model, input_per_mtok, output_per_mtok }] } |
| GET | /v1/sellers/me | API key | Your listing, test results, jobs served, earnings |
| POST | /v1/sellers/me/probe | API key | Re-test your endpoint |
| GET | /v1/lane | public | Laptop lane status and price |
| GET | /v1/lane/stats | API key | Your laptop-lane record and earnings |
| GET | /v1/payouts | API key | Earnings: what you can withdraw, the minimum, payout history |
| POST | /v1/payouts | API key | Request a USDC payout of earnings. Body: { amount_usd } |
| POST | /v1/payouts/:id/cancel | API key | Cancel before it's approved (refunds the balance) |
Errors
| 401 | invalid_api_key | Missing, unknown or revoked key |
| 402 | insufficient_balance | Top up, or the job needs more than your balance + pay-later credit |
| 402 | per_job_limit / daily_limit | A spending limit would be exceeded |
| 402 | credit_overdue | Pay-later credit is past due: top up to unpause |
| 403 | region_not_supported | Claude/GPT aren't served in your region (open models are) |
| 403 | wallet_refused | Account suspended, or wallet refused by sanctions screening |
| 429 | rate_limit_exceeded | Too many jobs or sign-ins per minute for this wallet: wait for Retry-After |
| 404 | model_not_found | No live provider serves that model (see /v1/models) |
| 502 | all_providers_failed | Every provider failed. You weren't charged |
| 503 | lane_unavailable | Fewer than two laptops online for the laptop lane |
Questions about pricing? See the market.