Developer diagnostic · deterministic · client-side

FruitLlama

A serving-economics simulator for local and rented LLM inference. Pick a model, a GPU and a quantization; FruitLlama computes VRAM fit, decode latency, batched throughput, queueing delay and per-token cost — then exports a SHA-256 spec receipt. No backend, no uploads, no trackers.

Interactive workbench

M1 Rule & config evaluator

Verdict—
VRAM used—
Latency—
Queue depth—
Req / sec—
Out tok / sec—
$/1k requests—
$/1k tokens—
Decode / stream—
Effective batch—

M2 Latency / throughput / cost tradeoff

Sweeps concurrency around your config. Pick a metric; invalid points (context overflow) are drawn as gaps, not clamped.

M3 Schema & protocol checklist

    Edge-case validator battery

    Ten fixed inputs pushed through the strict validator; each must accept or reject exactly as specified.

    IDCaseOutcomeDetailResult

    M4 Export & spec receipt

    SHA-256 of the canonical JSON payload: —

    {}

    Methodology

    Memory. Weight footprint is paramsB × bytesPerParam × 1.05 (5% runtime overhead); KV cache is paramsB × 0.025 × contextTokens / 8192 GB, where contextTokens = tokensIn + tokensOut + 512. The sum must fit inside the GPU's VRAM or the verdict is over-vram.

    Speed. Per-stream decode rate is baseDecode × quantSpeed × √(8/paramsB) — bigger models decode slower on the same silicon. Batching applies a sub-linear gain 1 + 0.45·(effectiveBatch−1)/maxBatch where effectiveBatch = min(batchSize, concurrency). Prefill time is tokensIn / prefillRate; decode time is tokensOut / perRequestRate.

    Queueing & cost. Requests beyond one batch wait queueDepth = ⌈concurrency/batchSize⌉ − 1 extra service windows. Cost per 1k requests amortizes instance time across the effective batch; cost per 1k tokens divides the hourly GPU rate by aggregate output throughput. Every figure comes from js/core.mjs — pure ES2022, no randomness, no clocks, no network.

    Reference datasets

    Models

    ModelParamsContext maxNote
    Llama 3.1 8B8.03B131,072Flagship small dense model; the namesake fit.
    Mistral 7B v0.37.25B32,768Compact European dense model.
    Phi-3.5-mini3.82B131,072Tiny-but-capable reasoning model.
    Qwen2.5 14B14.7B32,768Mid-size multilingual dense model.
    Llama 3.1 70B70.6B8,192Large dense model; quantization stress case.

    GPUs & quantizations

    GPUVRAM$/hourMax batchQuantBytes/paramSpeed ×
    T4 16GB16GB$0.3532FP162.01.00
    T4 16GB16GB$0.3532FP81.01.15
    T4 16GB16GB$0.3532INT81.01.22
    T4 16GB16GB$0.3532INT40.51.50
    A10 24GB24GB$0.7564INT40.51.50
    L40S 48GB48GB$1.20128INT81.01.22
    H100 80GB80GB$2.50256INT40.51.50

    Reference figures are illustrative order-of-magnitude values for comparative diagnostics, not vendor benchmarks. Hourly rates assume single-GPU rental pricing.

    Reference presets

    Llama 8B · A10 · INT4

    The namesake profile: Llama 3.1 8B on a single A10 at 4-bit — the classic budget-llama seat.

    Phi-3.5 · T4 · FP16

    Tiny model at full precision on the cheapest card — latency-first edge profile.

    Qwen 14B · L40S · INT8

    Mid-size model at 8-bit on the balanced card — quality/throughput midpoint.

    Llama 70B · H100 · INT4

    Flagship stress case: 70B at 4-bit saturating an H100 — throughput-max profile.

    FAQ

    What was fruitllama.com before?

    The domain's archive history (Wayback captures from 2006 onward) centred on fruit-themed content. This build repurposes the name as a developer tool: "FruitLlama" — llama-family models plus a fruit-motif brand mark — focused on LLM serving economics.

    Does anything I enter leave my browser?

    No. All simulation runs locally in js/core.mjs. There are no submitting forms, no analytics, no cookies, and no third-party requests beyond the page's own static files.

    How accurate are the numbers?

    They are a deterministic order-of-magnitude model, not a benchmark. Real serving depends on kernels, quantization quality, KV-cache paging and network topology. Use the verdicts for relative comparison between configs, not as a capacity guarantee.

    What does the SHA-256 receipt prove?

    It is the hash of the canonical JSON export (sorted keys, stable serialization). Two runs of the same config produce byte-identical receipts — a cheap integrity check you can diff or archive.

    Why do some sweep points show gaps?

    The chart sweeps concurrency while holding your other fields fixed. Points that violate a hard constraint (e.g. prompt + completion exceeding the model's context) are rejected by the validator and drawn as gaps rather than silently clamped.

    Who publishes this site?

    SING LLC (Wyoming ID 2026-002035528), operating as ZYNTHIO. See privacy, terms, contact and disclosure.