← All posts

Why we built Noosfera

Noosfera4 min readEN
Table of contents

Coding agents do not behave like chat apps. A single pull request can run twenty or more turns in a loop: reading files, running tests, inspecting stack traces, and resending repository context plus tool schemas on every turn.

When a team of ten engineers points those loops at frontier-priced endpoints with no per-developer caps, monthly bills jump without warning. At the same time, engineering leaders hesitate to push proprietary source code through third-party proxies that log full prompts for debugging or training.

We built Noosfera to fix both problems at the infrastructure layer: one OpenAI- and Messages-compatible API over fast open models, hard per-key spend caps enforced before upstream dispatch, and zero prompt storage by architecture.

One API across fast open models

Most coding turns are routine. Editing a test, formatting a migration, or adding a validation check does not need the heaviest model in the catalog. Harder turns, like tracing a subtle race condition across several files, benefit from a stronger reasoning model.

With noosfera/auto, the gateway inspects each turn and routes straightforward steps to fast flash models (qwen3.8-flash or glm-5.3-flash) while escalating harder steps to deepseek-v4.1-flash. Switching an existing tool takes two lines: the base URL and the API key.

bash
curl https://inference.noosfera.si/v1/chat/completions \
  -H "Authorization: Bearer $NOOSFERA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "noosfera/auto",
    "messages": [
      { "role": "user", "content": "Add cursor pagination to GET /jobs" }
    ]
  }'

Teams can also pin any model directly when they want fixed behavior across a workflow. Current public rates per 1M tokens:

ModelInput / 1MCached / 1MOutput / 1MBest fit
qwen3.8-flash$0.113$0.014$0.382Fast edits, boilerplate, and bulk file passes
glm-5.3-flash$0.15$0.03$0.50General coding turns and test generation
deepseek-v4.1-flash$0.20$0.006$0.60Multi-file debugging and harder refactors

Hard spend caps before a request leaves

Post-hoc usage emails are too late when an agent gets stuck in a retry loop overnight. In Noosfera, every developer or service gets its own nsk_ key with a daily and monthly cap.

Before a request leaves our gateway for an upstream provider, the admission layer checks the wallet balance and the key's remaining cap, places an exact hold in the ledger, and only settles actual token cost once the stream completes.

Agent turnnsk_ key + promptAdmission check1. Wallet & key cap2. Open exact hold3. Route or Eco FallbackUpstream open modelnoosfera/auto or pinned laneOver cap: 429 or Eco lane (0 upstream spend)
Every turn passes admission and opens a hold before upstream dispatch, preventing runaway retry loops from exceeding a key cap.

When a developer hits their daily soft limit, teams can choose between a hard stop or Eco Fallback. With Eco Fallback enabled, the key automatically steps down to the lowest-cost open lane instead of aborting the session mid-task.

Zero prompt storage by architecture

Many API gateways keep request bodies on disk by default so operators can inspect traces later. That creates an unnecessary liability for teams working on private repositories and regulated data.

In Noosfera, prompts, source code, model replies, and tool outputs stay in memory only and are discarded as soon as the reply finishes. Sensitive patterns such as API keys, Indonesian NIK, NPWP, and bank account numbers are scrubbed inline before anything is touched.

RAM stream onlyPrompts, code, replies0 B written to diskInline scrubberAPI keys, NIK, NPWPCleared on replyBilling ledger (disk)Input, cached, outputCost, latency, key IDDiscarded immediately when response completes
Content streams through memory only. Disk storage is limited to numeric usage counters required for billing and spend caps.

Only billing metadata hits the ledger on disk: token counts (input, cached, output), cost, latency, and the key ID. You can read the full policy on our data retention page.

Sandboxes and Model Factory

Inference alone is only half of an agent workflow. Agents also need a safe place to run compilers and test suites without touching a developer's laptop or paying for idle cloud VMs. Noosfera Cloud Sandboxes spin up isolated microVMs on demand and bill only for active execution time.

For teams whose private codebase has domain patterns that off-the-shelf open models still miss, we built Model Factory: we train and host tailored weights on your tasks, starting with a Free Company Benchmark graded against your own tests.

You keep the benchmark report either way. If open models do not hit your pass-rate and cost targets on your real tasks, you pay nothing.

Getting access

We are onboarding early teams onto Noosfera Console now. If you want to test noosfera/auto and per-developer spend caps with your team, request access on Noosfera Console. If you want us to score open models on your real repository tasks first, apply for a free company benchmark.

Try Noosfera with your team.

One API for fast open models, per-key spend caps, and zero prompt storage.