Skip to content

Two Ways to Run Open Models Without a Cloud Bill

#local-llm #self-hosted #amd #gemma #model-selection #inference

Two Ways to Run Open Models Without a Cloud Bill ​

Last week I asked Gemma 4 31B what the capital of Australia was and got "Canberra" back in about five seconds. The model wasn't on my laptop. My laptop was holding a 200-line Python file and an API key, and the key came from a free tier that never asked for a credit card.

That's one path to running an open model without paying per token. The other path is figuring out what your own GPU can hold and running it there. The gap between those two answers decides most self-hosting plans, because a 31B model on someone else's AMD silicon and a 4B model on your RTX 4060 solve very different problems.

I spent a day on both sides.

Two ways to avoid the cloud bill ​

The first option is borrowed compute: AMD Token Lab, an OpenAI-compatible endpoint that comes with free membership in the AMD AI Developer Program. Base URL is https://api.tokenlab.amd.com/v1, and it works from curl, the OpenAI and Anthropic SDKs, LangChain, and AMD's notebooks. No credit request, no card.

The second option is your own silicon. A site called canirun.ai reads your GPU or unified memory and ranks the open models that fit, drawing on 146 models, 314 devices and 33 labs. Its pitch is narrow and useful: an M4 Max can take larger models than an RTX 4060, and a 9B model fits an RTX 4060 comfortably.

Neither option is universal. Borrowed compute gives you a 31B multimodal model with zero setup and no control over speed. Your own hardware gives you predictable latency and a hard ceiling on size. Knowing where that ceiling sits is the whole game.

What the free AMD endpoint actually gives you ​

The Token Lab catalog I pulled held 10 models, every one marked free: Gemma 4 31B, DeepSeek V4 Flash and V4.1 Flash, Qwen3.8 27B, and three MiniCPM models alongside some smaller decision models. Only Gemma 4 31B and the DeepSeek pair run on SGLang; the MiniCPM entries are vLLM services.

A new key came with this:

AllowanceValueWhat it buys you
Points10 for the access periodfar more than a prototype needs
Access period30 days, extendable once by 15one sprint, not a production window
Rate limit20 requests per minute per keyfine for solo iteration, useless for batch
Gemma 4 31B cost0.035 points per million input tokens, 0.07 per million outputroughly free at human scale
Credit cardnonethe actual feature

Ten points sounds like a rounding error because it is one. I sent 23 requests across the whole exercise and consumed 0.000335 of the budget. At that rate the points never become the constraint. The 20 requests per minute and the shared 128-request cap on Gemma 4 31B are what you bump into.

The model card is the part that surprised me. Gemma-4-31B-IT takes text and images, supports tools, tool_choice, response_format and reasoning_effort, and advertises a 262,144-token context. That's roughly a 600-page book in one call, enough to drop an entire repo subtree in without writing a chunker.

Speed is the tax on free ​

The endpoint is shared by every Token Lab user, and Gemma 4 31B tops out at 128 concurrent requests across all of them. Go over and you get HTTP 429 with Retry-After: 1. Here's what four streamed requests looked like from my laptop, one at a time, temperature 0:

Read those numbers against what your eyes can tolerate. At 7.55 tokens per second the text appears about as fast as a fast reader moves down the page. At 1.98 tokens per second, with reasoning enabled and 291 of those 390 tokens spent thinking, one answer took 199.8 seconds. That's three and a half minutes to watch a cursor blink. Decode speed ranged from 2.0 to 9.5 tokens per second over the day and first token landed anywhere from 1.2 to 5.0 seconds, which tells you the shared pool's load matters as much as your prompt.

Quick take: a free 31B endpoint is the cheapest way to find out whether a model can do your task, and the worst way to find out whether users will sit through the answer.

Does it fit your card ​

The other half of the decision has nothing to do with endpoints. It's whether the weights fit in the memory you own. That's the question canirun.ai answers, and its ranking surfaces something worth internalizing: on modern sparse models, total parameter count is close to meaningless.

ModelParamsHardware noteWhy you'd reach for it
Qwen 3.5 VL8.8Bsingle consumer cardOCR, receipts, captioning
ERNIE-Image distilled6B16GB cardsposters and layouts with dense text
Qwen vision MoE31B, 3B activeone GPUdocument understanding at 3B compute
Nemotron 3.5 compressed74B, 9B activepacked for 24GB GPUsagentic vision on a workstation
Llama 4400B, 17B active128 experts, datacenter territorynot a desk machine

The middle rows are the interesting ones. A 31B vision MoE with 3B active parameters asks your GPU to do the arithmetic of a 3B model while carrying the knowledge of a 31B one. A 74B model "packed for 24 GB GPUs" exists because 9B of its parameters fire per token. This is the single biggest shift in local deployment over the past two years, and it's why a 24GB card in 2026 runs things that needed two cards in 2024.

The catch is memory, not math. MoE cuts compute per token. It does not cut the VRAM needed to hold the weights, and the router has to see every token. If the whole thing doesn't fit, you're back to quantization or offloading.

Here's the decision I'd sketch before downloading anything:

Key numbers: 0.000335 points consumed across 23 requests, 2.0 to 9.5 tokens per second of decode, 262,144 tokens of context, a 128-request shared cap, and a catalog of 146 models ranked against 314 devices.

Wiring an agent onto a shared endpoint ​

Tool calling is where a free tier either works or falls apart. For an ADK agent, the entire connection is one LiteLLM object pointed at the base URL with num_retries=30 and a 600-second timeout, plus extra_body={"chat_template_kwargs": {"enable_thinking": False}} to keep the reasoning loop from eating your latency budget.

I gave the agent two tools: one that lists what Token Lab serves right now, and one that counts and filters numbers in code so the model can quote an exact figure instead of guessing. The first tool call came back in 8.1 seconds and the final answer at 12.3 seconds. A model-listing question took 25.7 seconds to call the tool, 38.4 to get a result, and 48.9 to produce a short answer. Twelve seconds per turn is fine when you're testing. It's painful when someone is waiting.

The plumbing detail that cost me time: Token Lab's stream carries : ping comments while queued, id: N lines after each event, and an event: done line before [DONE]. A strict SSE parser that assumes only data: payloads will choke. Read the data: lines, ignore the rest, and treat a stream that ends without [DONE] as broken.

What I ran into in practice ​

The failure that bit me first was silent CPU offload. On an 8GB card, a model that spills a few layers into system RAM still loads, still answers, and quietly drops to about a token per second with no error anywhere. You find out from the clock, not from a log line. Watch for that before you blame the model.

Consistency pulled me toward Gemma for agent loops. The prompt format behaves the same way across tasks, so state management stops being the thing that breaks. When I needed rigid JSON schemas for tool calls, the Qwen coder line held format better than general instruction models in my own tests, which matches what I've heard from other people running constrained environments. That's an observation, not a benchmark.

The other thing I underestimated was how much the credit card requirement shapes behavior. Prototyping an agent means dozens of small, stupid requests you'll throw away. Not having a billing relationship with the provider changes how freely you experiment. I sent requests I would never have paid for, and three of them taught me something.

What trips people up ​

  1. Retrying a stream that already started. A 429 or 502 before the first byte is easy, you honor Retry-After and resend. A stream that dies after 40 tokens has no status code to react to. You have to detect the missing [DONE], tear the whole request down, and pay the latency again.
  2. Reading total parameters instead of active ones. A 235B MoE with 22B active is not a laptop model. An 80B MoE with 3B active might fit a single 24GB card but only if all the weights do. Check VRAM, then check active params, in that order.
  3. Leaving thinking enabled on a shared endpoint. It roughly quadrupled wall-clock time in my runs, and the reasoning tokens billed to your points budget just like output tokens.
  4. Assuming the free tier's speed describes the hardware. The 2 to 9 tokens per second I measured describes Token Lab's queue on a Tuesday, not AMD's GPUs. If you need a real throughput number, request Instinct credit and serve the model yourself.
  5. Putting the API key in the browser. The chat page proxies /v1/* through local Python precisely so the key stays on your machine. A static page that calls the API directly leaks it to anyone with devtools.

One thing to remember ​

The endpoint constrains the workflow more than the model does. A frontier-grade 31B with a 262K context and tool support is a research instrument at 2 tokens per second with a 128-request shared cap, and a product at 30 tokens per second on a card you own. Before you spend a weekend on prompt engineering, spend twenty minutes measuring how fast the thing you're prompting actually answers, because that number decides what you're allowed to build.

The bottom line ​

If you're validating an agent idea this week with no budget, start on Token Lab. The key is free, the setup is one .env file, and 10 points will outlast your patience. Keep thinking off and keep the key server-side.

If you're shipping anything a human waits on, measure your own hardware first. Aim for a sparse model in the 30B to 80B class with 3B to 9B active parameters, confirm the weights fit at 4-bit before downloading, and treat CPU offload as a failure state rather than a fallback.

One thing to watch: free catalogs and 30-day access windows rotate, and the models that fit a 24GB card keep getting larger every quarter. Whatever you build on borrowed compute, keep the endpoint behind a thin client you can repoint at your own vLLM or SGLang server when the terms change.