Inkling 2 Small is live on Subconscious

Inference for
Long-Running Agents

The inference provider designed for 200k+ token sessions. Run smarter, faster, and cheaper agents for coding and cybersecurity.

On long tasks vs. standard inference providers:

Higher accuracy

10%

Faster task completion

2x

Lower cost

50%+

Effective context

5M+

Models

Models available on our serverless API, each served in "Base" and "Marathon" modes. Both variants are optimized for long context and heavy cache use. The Marathon extends the context window to 5M+ tokens for the most demanding tasks.

  • DeepSeek V4.1 10171M
  • DeepSeek V4.1 1017 Marathon5M+
  • Inkling 2 Small1M
  • Inkling 2 Small Marathon5M+
  • GLM-5.31M
  • GLM-5.3 Marathon5M+

A chatbot responds with one answer. An agent can work across millions of tokens and hundreds of steps.

Subconscious is an opinionated inference provider that makes long-horizon agent work possible at scale with the same models and frameworks you already use.

Where to use Subconscious

Power long-running agents with our API.

How it works

We treat agents as the primary workload for better performance and reliability.

Standard inference (periodic compaction)Subconscious (compression at runtime)0250K500K750K1M0250500Agent turns →Retained context →Context compression ceilingStandard context window

Trace tokens

0.00

Standard inference

0.00

Subconscious

0.00

Tokens avoided

0.00

0.0% less

  • Runtime context compression

    As an agent's context fills, we compress less relevant steps at runtime.

  • Hyper-efficient caching

    When we compress intermediate steps, we reuse the prefix and the suffix to avoid costly reprocessing.

  • ASpec speculative decoding

    ASpec, our adversarial speculative decoding, generates tokens faster and improves accuracy on long-horizon traces.

    See the research

Our compression and ASpec models
improve accuracy

On the DeepSWE benchmark for agentic coding, runtime compression and ASpec raised accuracy on the same open models.

DeepSWE (Agentic Coding Benchmark)

Get started today

Use our CLI to quickly connect your coding agents to Subconscious. For agentic products, the API is compatible with all SDKs and frameworks.

Paste this into Claude Code, Codex, ChatGPT or any assistant to switch your code over.

Setup prompt

Switch my project's LLM calls to Subconscious.

Switch my project's LLM calls to Subconscious.

Subconscious is an inference API for agents. It serves open models through OpenAI and Anthropic compatible endpoints, billed per token.
- OpenAI compatible base URL: https://api.subconscious.dev/v1
- Anthropic compatible base URL: https://api.subconscious.dev
- Model: subconscious/deepseek-v4.1-flash-marathon
- Context window: 5M tokens (5,000,000).
- API key: read it from the SUBCONSCIOUS_API_KEY environment variable. Never commit the key or paste it into project files. If it is not set, ask me to create one at https://platform.subconscious.dev.

Find where my code creates its OpenAI or Anthropic client, or where my framework sets its model provider. Point it at the matching base URL above and set the model. If my code or framework sets a context window limit, raise it to 5,000,000 tokens. Change nothing else. If the code uses neither SDK, use the OpenAI compatible endpoint.

Docs: https://docs.subconscious.dev

When you are done, send one test request to confirm it works, then summarize what you changed.

Subconscious API

Pay per token. OpenAI and Anthropic compatible.

Build with the API

Team Token Plans

From $1,000 a month, with 5x the usage.

See Pricing

Dedicated Deployments

On your GPUs or in our cloud.

Get a deployment

Frequently asked questions

  • Agents run for hundreds of steps and fill their context with old tool calls and results. Our runtime compresses what no longer matters and keeps the rest cached. Agents finish tasks 2x faster and process 50–80% fewer tokens. They also get more accurate, because the model sees less noise. On DeepSWE, DeepSeek V4.1 Flash went from 67.8% to 71.8% and GLM-5.3 from 60.6% to 67.6%.
  • DeepSeek V4.1 1017, Inkling 2 Small and GLM-5.3, each in two versions. Base has a 1M context window and costs 10% less. Marathon Mode has 5M+ context. Dedicated Deployments can run almost any open model.
  • Yes. Change the base URL and API key and your existing code runs on Subconscious.
  • Yes. GitHub Copilot, Claude Code, Codex, Pi, OpenCode, and anything else that uses the OpenAI or Anthropic API. Setup steps are in our docs.
  • Pay per token, or buy a Team Token Plan for a fixed monthly price and 5x the usage. Rates are on the pricing page. Dedicated Deployments are priced separately.
  • It depends on the model. Base models bill every token you send. Marathon Mode models bill only what is left after compression, so sending 2M tokens might bill around 300k.
  • No. We don’t store prompts or outputs, and we don’t train on your data. We only keep token and request counts for billing.
  • Yes. Run on reserved GPUs in our cloud or on your own. Both have no rate limits, run any open model, and come with custom SLAs. Talk to an engineer to set one up.

Built for the long run

Same models, same hardware, more agents that run reliably, quickly, and affordably for longer. Try our API or deploy Subconscious in your own cloud.