HoodLLM
Engine

One layer in, one layer out.

What answers your question, what it measured last, and exactly what we changed.

StatusCheckingLlama 3.1 8B Instruct
Layers per word32plus embeddings and head
Seconds per word–average of recent answers
Peak memory–for one whole answer

What happens to a question

  1. Your wallet signs in once (a free signature) and, once $HOODLLM is live, burns 10,000 $HOODLLM to 0x...dEaD. The server reads the burn's receipt on Robinhood Chain and claims that transaction for your question, so it can never pay twice.
  2. The question joins the queue. One question runs at a time. If the engine is resting, a paid question waits and is handed over the moment it is back.
  3. Prefill. AirLLM loads the token embeddings, then layer 1, runs your whole question through it, frees it, loads layer 2, and so on through all 32 layers, keeping only each layer's attention cache.
  4. One word per pass. To write each next token it walks all 32 layers again, reading each one from disk. That is where the time goes (about 7 seconds per word on this machine), and why answers are short: up to 100 tokens.
  5. Receipt. The answer, the time it took, seconds per word and the peak memory the engine measured are stored with your question under one link.

The parts

  • AirLLM 4.0.0 (github.com/lyogavin/airllm, Apache 2.0) with its Apple silicon backend (MLX). It splits the checkpoint into one file per layer on first start and streams them for every token.
  • Llama 3.1 8B Instruct (Meta, Llama 3.1 Community License), half precision, about 15 GB on disk, about 0.4 GB per layer. Its knowledge ends in December 2023; it cannot browse or read prices.
  • Our engine server: a small Python program around AirLLM. It adds a queue, reports which layer is loaded (read from AirLLM's own layer loader), stops at the model's end-of-turn token, and requires a private key on every call.
  • Two config fixes to AirLLM's macOS model code, applied at start: it now reads head_dim from the model config, and it uses Llama 3.1's scaled rotary frequencies (rope_scaling type llama3, same formula as Meta's reference code). Without the second fix every position would be rotated slightly wrong. Nothing else in AirLLM is changed.
  • Where it runs: one Apple silicon machine, reached through a tunnel. When it is off the site says resting.

The API

Everything the Ask page does is plain HTTP. Sign in with a wallet, then ask.

# 1. get the text to sign (personal_sign, free)
curl -s https://hoodllm.com/api/session -H 'content-type: application/json' \
  -d '{"address":"0xYourWallet"}'

# 2. send the signature back for a 7-day token
curl -s https://hoodllm.com/api/session -H 'content-type: application/json' \
  -d '{"message":"<the exact text>","signature":"0x..."}'

# 3. ask (tx = your burn of 10,000 $HOODLLM once the coin is live; leave it out in prelim)
curl -s https://hoodllm.com/api/ask -H 'content-type: application/json' \
  -H 'authorization: Wallet <token>' -d '{"prompt":"What is AirLLM?","tx":"0x..."}'

# 4. follow it: layers, words, then the receipt
curl -s 'https://hoodllm.com/api/job?id=q...'

Also public: GET /api/engine (status, speed, queue) and GET /api/stats (engine, coin, burned total, questions).

Limits

  • Questions: 3 to 600 characters. Answers: up to 100 tokens, about 60 words, several minutes each.
  • 20 questions per wallet per hour. One burn pays for one question; a burn older than 24 hours is not accepted.
  • Prelim (before $HOODLLM launches): 3 free questions per wallet per UTC day, closed while the engine rests.