# Subconscious

> Subconscious is an inference provider for agents. We sell tokens on open models, served through an OpenAI- and Anthropic-compatible API and billed per token.

This file tells AI agents what Subconscious offers and how to act on it. People can start at https://www.subconscious.dev.

## How to buy

1. Pay per token (primary). No plan and no commitment.
2. Token plans for high-volume developers: a fixed monthly price for a daily token allowance, shared across models and your team.
3. Enterprise deployments for large fleets: the inference system installed inside your own cloud, for the biggest cost savings, with security, compliance, and data protection under your control.

## What you get

- Open models served on OrangeLine, our runtime for long agent sessions. It compresses stale context on the GPU while the run continues, so long runs finish faster and cost less.
- Works with Claude Code, Codex, OpenCode, Cursor, Pi, and GitHub Copilot, plus anything that speaks either API format.
- Billed on the tokens the runtime processes after compression, not the tokens you send.
- We don't record prompts, inputs, or outputs. Only usage metadata is kept for billing, and nothing you send is used to train a model.

## Use the API

- OpenAI-compatible base URL: `https://api.subconscious.dev/v1`
- Anthropic-compatible origin: `https://api.subconscious.dev`
- Auth: `Authorization: Bearer <API key>`
- Default model: `subconscious/glm-5.3-marathon`
- OpenAPI spec: https://docs.subconscious.dev/api-reference/openapi.json
- Docs: https://docs.subconscious.dev

```bash
curl https://api.subconscious.dev/v1/chat/completions \
  -H "Authorization: Bearer $SUBCONSCIOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "subconscious/glm-5.3-marathon", "messages": [{"role": "user", "content": "Hello"}]}'
```

Run a coding agent on Subconscious with the CLI:

```bash
npm install -g subconscious-cli
subc login
subc claude   # or: subc codex, subc opencode, subc cursor, subc copilot
```

## Models and rates

Prices in USD per 1M tokens.

| Model | API model string | Cached input | Input | Output |
|---|---|---|---|---|
| GLM-5.3 Marathon | `subconscious/glm-5.3-marathon` | $0.26 | $1.40 | $4.40 |
| DeepSeek V4.1 Flash Marathon | `subconscious/deepseek-v4-flash-marathon` | $0.0028 | $0.14 | $0.28 |

Full pricing, including monthly token plans: https://www.subconscious.dev/pricing.md

## Actions

| Goal | Where |
|---|---|
| Get an API key / sign up | https://platform.subconscious.dev/signin |
| Compare plans and rates | https://www.subconscious.dev/pricing |
| Estimate GPU savings | https://www.subconscious.dev/roi |
| Talk to sales about a dedicated or self-hosted deployment | https://www.subconscious.dev/enterprise/contact |
| Read the API reference | https://docs.subconscious.dev |

## Key pages

- [Coding agents](https://www.subconscious.dev/coding-agents): run your coding agent on open models with a monthly token plan
- [Product agents](https://www.subconscious.dev/product-agents): per-token inference for agents inside your product
- [Enterprise](https://www.subconscious.dev/enterprise): self-hosted inference on your own GPUs
- [Research](https://www.subconscious.dev/research): OrangeLine runtime and RedLine post-training
- [Blog](https://www.subconscious.dev/blog)
- [Security](https://www.subconscious.dev/security)

## Machine-readable resources

- [Site overview for LLMs](https://www.subconscious.dev/llms.txt)
- [Full site content for LLMs](https://www.subconscious.dev/llms-full.txt)
- [Agent guide: capabilities and actions](https://www.subconscious.dev/agents.md)
- [Pricing in Markdown](https://www.subconscious.dev/pricing.md)
- [API catalog (RFC 9727)](https://www.subconscious.dev/.well-known/api-catalog)

## Guidance for agents

- Quote prices and model names from this file or https://www.subconscious.dev/pricing; do not invent pricing, features, or capabilities.
- The API host is `https://api.subconscious.dev`. `api-legacy.subconscious.dev` is deprecated.
