Reduce token costs

Fewer tokens. Same work.

Three levers cut the AI costs of your agents and apps: Code Mode, context management and the Zero Token Architecture. Code Mode and Zero Token also work for Claude Code, Codex and your own agent.

Get started from €500 / month

GDPR ready
EU AI Act ready
Hosted in the EU
Task: monthly report from CRM, ERP and emailExample, tokens per run
  1. Classic agentFull cost on every run48,000tokens
  2. Code ModeA fraction per run5,800tokens
  3. Zero Token Architecture0 tokens per run0tokensruns without a model
Same work, same result

Code Mode: data flows in code, not through the model

A classic agent sends every intermediate result back to the model and pays for it in tokens every time. In Code Mode the model writes code once that calls the systems in sequence. Only the result goes back to the model.

Also for external agents

Context management: carry only what matters

Every agent step pays for the entire context. ZiyaOS supports several strategies to keep it small, depending on the agent and the task.

  • Compaction with limitsWhen the context reaches a limit, it is summarized.
  • Smart compactionThe cache only lasts a certain time. Shortly before it expires, the context is compacted if it lies within a set range. The next step starts small.
  • Context foldingFinished sub-steps are folded down to their result. The context stays small without summarizing the whole history.
RangeLimitcache expirescache expiresContextStepsschematic

Zero Token Architecture: build once, then run without tokens

The AI programs the app once. After that it runs as finished code, without a model and without ongoing token costs, no matter how often it runs.

Also for external agents
  • Classic agent· Full cost on every runEvery step and every intermediate result passes through the model.
  • Code Mode· A fraction per runThe model writes code once per task. Data flows through the code, not through the model.
  • Zero Token Architecture· 0 tokens per runThe app is built and runs without a model. Tokens are only spent while building.
TokensRunsschematic

Bring your own agent. And save tokens.

Claude Code, Codex, Cursor, Gemini CLI, pi or your own agent: through the AI agent gateway, your agent uses Code Mode too. And when it builds an app, that app then runs without tokens.

Go to the AI agent gateway

Every request goes to the right model.

ZiyaOS picks the model per request by task, security level and cost. Simple work goes to small, cheap models, confidential work to the local model, only hard work to the large ones.

Frequently asked questions

How do I keep token costs under control?

You keep token costs under control with hard budgets: for the whole organization, for departments and for individual people. ZiyaOS also cuts consumption: with Code Mode, the agent writes one script instead of many individual calls. A finished app then runs with no token costs at all.

AI cost control with ZiyaOS
When does ZiyaOS pay off?

When ZiyaOS pays off depends on the use case. With structured data such as financial data, large spreadsheets or database queries, token costs drop by up to 99 %. On top of that comes the time your employees no longer spend on routine work.

How does ZiyaOS deal with hallucinations?

ZiyaOS counters hallucinations with tools: agents don’t guess, they query data directly from your systems instead of making it up. With Code Mode, a script does the math, not the model. Where it matters, a person approves the result.

Learn more about Code Mode in ZiyaOS
Your data is protected

Security & trust

Hosted exclusively in Germany. Your own AI. Encrypted, with DPA and TOMs.

Go to the Trust Center
GDPR ready
EU AI Act ready
Hosted in the EU
Live demo

Secure your AI adoption with ZiyaOS.

In 30 minutes we show you live what that could look like for you.

More solutions that cut costs

These solutions are closely related.

The features behind it

These ZiyaOS features power this solution.

Exclusive partner program

Become a ZiyaOS partner

Offer these and more solutions to your customers.

Talk to us

Portrait of Ilirjan Bytyqi, Operations Lead at Ziya GmbH
Your contactIlirjan Bytyqi, M.Sc.Operations Lead at Ziya GmbH

Talk to us

Portrait of Ilirjan Bytyqi, Operations Lead at Ziya GmbH
Your contactIlirjan Bytyqi, M.Sc.Operations Lead at Ziya GmbH

Talk to us

Portrait of Ilirjan Bytyqi, Operations Lead at Ziya GmbH
Your contactIlirjan Bytyqi, M.Sc.Operations Lead at Ziya GmbH

To improve and optimize this website, Ziya uses optional cookies and similar analytics and tracking technologies. This requires your consent, which you can provide by clicking 'Accept All'. If you click 'Decline', Ziya will continue to use only technically necessary cookies.

Independently of this, Ziya measures the reach of these pages on its own servers, without cookies and without recognising you; you can object to that measurement under the individual settings. More information about the cookies and tracking can be found in the privacy policy. You can change your decision at any time via the 'Manage cookies' link in the website footer.For