Modal vs LithosAI
Modal rents serverless GPUs by the second for any model you package. LithosAI sells tokens from its own fast engine, or licenses it on-prem.
By The Subconscious Team · Updated
Modal vs LithosAI: key differences
Modal runs Python containers on GPUs billed per second, with an H100 at about $4.29 an hour list and about 1s container boot. Teams bring their own model and serving code, and the same platform runs fine-tuning, batch jobs and agent sandboxes. LithosAI tunes its engine for the tokens per second one user sees, and Artificial Analysis measured it at about 1,450 on DeepSeek V4.1 Flash and 717 on GLM-5.3 in October 2026. It sells DeepSeek V4.1 Flash from $0.15 in and $0.60 out per million tokens, GLM-5.3 at $1.05 in and $3.30 out, and Kimi K3.1 Pro on an Ultra tier at $6 in and $30 out, with early-access discounts on the first two.
Modal is the pick for custom models or code and bursty load. LithosAI fits teams that want fast tokens without building a serving stack. It is also adding sandboxes for agents with LithosBox, in preview since October 2026.
What Modal and LithosAI do
Modal
Modal is serverless compute with GPUs attached. A developer decorates a Python function with the hardware it needs, such as gpu="H100", and Modal builds the container, schedules it, autoscales it and scales it back to zero. Billing runs per second with no minimum increment, from $0.54 an hour for a T4 to about $4.29 for an H100 at list, after a December 2026 repricing that cut rates on T4, L4 and A10 and raised them on L40S through B300. Containers can hold up to 8 GPUs across T4 through B300.
Example models: mostly bring your own, such as open LLMs on vLLM or Whisper; shared Model APIs include Kimi K3.1 Pro, GLM 5.3 and DeepSeek V4.1 Flash
Full Modal profileLithosAI
LithosAI builds an inference engine for agents, aimed at the tokens per second a single user sees rather than total throughput. Its pitch is that agent loops of plan, tool call, observe and retry wait on decode, so faster per-user generation shortens the whole task. The engine runs full-precision weights on standard NVIDIA and AMD GPUs, and the company says the speed comes from the serving system, including persistent megakernels and an open draft model for speculative decoding on Kimi K3.1 Pro. It reports Kimi K3 at 800 tokens per second per user on one 8xB300 node, and in October 2026 posted Artificial Analysis results of about 1,450 tokens per second on DeepSeek V4.1 Flash, 1,540 on GLM-5.3-Flash and 717 on GLM-5.3. The founders, CEO Dimitrios Skarlatos and CTO Zhihao Jia, are Carnegie Mellon computer science professors who work on ML systems, GPUs and operating systems, and the company is based in Pittsburgh.
Example models: Kimi K3.1 Pro, DeepSeek V4.1 Flash, GLM-5.3, GLM-5.3-Flash
Full LithosAI profileShould you choose Modal or LithosAI?
Modal vs LithosAI at a glance
| Attribute | ||
|---|---|---|
| Model access | Bring your own weights, plus 14 shared Model APIs | Open weights |
| Flagship models | Kimi K3.1 Pro, GLM 5.3, DeepSeek V4.1 Flash (shared) | Kimi K3.1 Pro, DeepSeek V4.1 Flash, GLM-5.3 |
| Speed | ~1s container boot | ~1,450 tok/s on DeepSeek V4.1 Flash (Artificial Analysis, per Lithos) |
| Price | Per second; H100 about $4.29/hr list | $0.15 in, $0.60 out (DeepSeek V4.1 Flash Base, early access); speed tiers cost more |
| Customization | Run any training code | Bring your own model (per workload) |
| Deployment | Serverless GPU containers, shared Model APIs | Serverless API, dedicated, on-prem engine |
| Long context | Depends on the model you deploy | 1M context |
Frequently asked questions
What is the difference between Modal and LithosAI?
Modal rents serverless GPUs by the second for any model you package. LithosAI sells tokens from its own fast engine, or licenses it on-prem.
When should I choose Modal over LithosAI?
Any model or custom code; Per-second GPU billing; Training and batch jobs too.
When should I choose LithosAI over Modal?
Tokens without running GPUs; High per-user speed out of the box; Fixed per-token speed tiers.
Is Modal or LithosAI cheaper?
Modal: Per second; H100 about $4.29/hr list. LithosAI: $0.15 in, $0.60 out (DeepSeek V4.1 Flash Base, early access); speed tiers cost more. The cheaper choice depends on the model and workload.
Which has more context, Modal or LithosAI?
Modal: Depends on the model you deploy. LithosAI: 1M context.
Related comparisons
Running long-horizon agents?
If your agents run past 200K tokens, compare both against Subconscious. Our inference stack treats a long-horizon trace as the primary workload, so speed, cost, and accuracy hold up deep into the trace.