I’ve been frustrated for a while with how LLM inference works in the cloud today. Every API call starts from scratch: you resend your entire prompt + conversation history, and you’re charged for every input token, even if the model has already “seen” that context before.
This leads to two big problems:
Performance & cost – constantly resending input tokens is wasteful.
Quality loss – because the state is rebuilt on a new GPU each time, the model loses a lot of internal context beyond just your text.
Most “optimizations” offered in the industry are really just prompt-caching. That’s useful for cutting repeated input costs, but we’ve all seen the side-effects: outputs that don’t match subtle variations in the prompt, or the model confidently “jumping” to the wrong cached response because it thought your query was a near-duplicate.
We’re taking a different approach with ark-labs.cloud:
True stateful inference – when you start a session, all requests are processed on the same set of GPUs, and the full internal state of the model (prompt, history, reasoning traces) is preserved between calls.
Zero input token cost – because the model doesn’t need you to resend your input on each request. You pay only for generated output.
Better responses, not just cheaper ones – maintaining the internal state can improve consistency and reasoning quality, not just save money.
From a developer perspective, it’s simple: enable cookies, and the API will keep a session alive (ark_session_id). No SDK magic, no hacks. Sessions do expire after inactivity to free resources, but while they’re active, you’re talking to a model that actually remembers internally, not just through string concatenation of prompts.
Docs https://ark-labs.cloud/documentation/
We’d love your thoughts — especially from those who’ve wrestled with the “why am I paying 10x for tokens I already sent” problem, or who’ve hit caching systems that mismatched prompts to outputs. Does this approach make sense to you?