Skip to content

devlog/token-math/a-terminal-budget-for-testing-models-on-sign-up-credit-723.md

A Terminal Budget for Testing Models on Sign-Up Credit

Make sign-up credit a bounded experiment

The fastest way to burn trial credit is to open an agent, point it at a repository, and ask something broad. The first answer looks cheap; the tool loop, retries, and growing conversation quietly become the experiment. Start with a small evaluation harness instead. Your goal is not to discover the best model universally. It is to identify the cheapest configuration that reliably completes your actual work.

Fluxo gives that harness one key and one base URL, https://api.fluxorelay.com, across its model catalog. It works with Claude Code, Codex, Gemini CLI, and any OpenAI SDK. That makes switching convenient, but convenience is not a budget control. Keep the spending policy in your runner, outside the model conversation.

Reserve credit before launching each request

Read your available sign-up credit and set aside a buffer before testing. For an illustrative $5 balance, you might allocate $3 to baseline runs, $1 to targeted reruns, and leave $1 untouched. Those numbers are a budgeting example, not a statement about Fluxo's credit offer or model prices.

Build a pessimistic request estimate from the current rates for your chosen model. Account for input, maximum output, and any separately priced token categories. Fluxo bills per real token, including cache reads and writes, with no monthly fee. A cache hit is therefore not a free request.

  • Reserve each request's estimated maximum cost before dispatching concurrent work.
  • Release unused reservations only after recording the reported usage and cost.
  • Stop scheduling when remaining credit cannot cover another reserved request.
  • Disable automatic retries initially, because failed attempts may still incur charges.

This reservation ledger prevents four workers from independently deciding they can each spend the same remaining dollar. If usage or pricing information is missing, mark the request unresolved rather than treating its cost as zero.

Compare two models on identical repository snapshots

Pick a narrow comparison, such as Claude Haiku 4.5 and DeepSeek V4 Flash. Use the exact model identifiers shown in the current catalog rather than deriving identifiers from display names. Keep generation settings aligned where both interfaces support them, and document differences instead of assuming parameter equivalence.

Commit eight to twelve fixtures: a failing test, a constrained refactor, a malformed payload, and a few realistic debugging questions. Pin the repository revision and dependencies. Send the same relevant files, not whatever your editor happens to have open. Save the prompt, model identifier, configuration, response, latency, usage, and fixture revision in a local JSONL file.

Score executable outcomes first. Did the patch apply? Did the targeted tests pass? Did the response satisfy the required schema? Run generated code in a disposable environment without production secrets. Pretty explanations should not outrank a correct patch.

Separate cold prompts from cache experiments

A repeated benchmark can accidentally become a cache benchmark. Measure cold and repeated-prefix runs separately, and record cache usage when exposed. Do not assume both models use identical cache eligibility, lifetimes, or accounting. A short sign-up-credit test also cannot establish your eventual production cache-hit rate.

Keep stable instructions and reference material together when the selected interface supports caching that prefix. Change only the task-specific suffix during the warm-run experiment. Compare total billed cost across the sequence, including cache writes, rather than celebrating one inexpensive read.

Cap agent loops before testing inside your editor

Only move promising configurations into an interactive coding session. Limit tool rounds, output length, wall-clock time, and concurrent requests wherever your client exposes those controls. Trim tool output before it reenters context. Treat a local timeout or canceled stream as an execution stop, not proof that billing stopped immediately.

If you want to run this workflow, create a Fluxo account and start with one tightly bounded fixture. Keep referral earnings separate from evaluation results: Fluxo offers a referral share when people you invite pay, but future earnings should not justify spending today's test budget. Finish with a checked-in results file and an explicit stop condition, not merely an empty balance.

Next in the buffer

Sign up in a minute and get credit to try every model mentioned here. Sign up →