95% Token Reduction · REST API · SOC2 Ready

Infrastructure for the AI Era

Scale Your Context. Keep Your State.

Stop burning tokens on repetitive history. Compress massive conversations into portable 'State Objects'. Use our API for infinite agent loops or the UI to resume complex work in seconds.

Get Started FreeSee Pricing

Compatible with OpenAI, Anthropic, Gemini & Local Models

Workflow

The State Pipeline

How Ctxfy transforms noise into signal

Ingest
01
Ingest Context

Upload chat exports via UI or send raw message arrays via API. We accept JSON, Markdown, and direct paste.

Process
02
Analyze & Compress

Our engine identifies 'Hard State' (code, variables, decisions) and discards 'Soft State' (chit-chat, formatting).

Artifact
03
Generate Artifact

Receive a structured 'State Object'. It's a high-density prompt optimized for LLM comprehension.

Resume
04
Inject & Resume

Paste the artifact into a fresh window or inject via system prompt. The model resumes with full IQ instantly.

Production Ready

Built for Power Users & Devs

Whether you are coding an autonomous agent or managing complex architecture specs.

API First
API-First Architecture

Integrate compression directly into your LangChain or AutoGPT pipeline with a single POST request.

Cost Savings
Cost Control

Stop paying to re-process the same 50k tokens. Ctxfy typically reduces input costs by 80-90%.

Searchable history
Decisions and Code, Searchable

Every key choice and artifact in one place. Find the exact decision or snippet instead of scrolling through threads.

Agnostic
Model Agnostic

Don't get locked into one vendor. Your Ctxfy State works in Gemini, Claude, Mistral, OpenAI, and more.

Enrichment
Dynamic State Injection

Don't just compress history—enrich it. Use 'Fast Forward' to append real-time data (like DB schemas or error logs) to your compressed state before sending it to the LLM.

Plans

Pricing that Scales

Start manually for free. Scale via API as you grow.

$0
Free

For individuals and explorers getting started

Forever free

  • 100k welcome tokens
  • Up to 2 Spaces
  • Up to 30,000 characters per upload
  • Auto-translate conversations
  • Smart compression included
  • Anonymize sensitive data
  • Merge multiple conversations
  • Email support
$9.90
Pro

For professionals who need advanced control and higher limits

per month

  • 1M monthly tokens (non-expiring)Included
  • Unlimited Spaces
  • No upload size limit
  • Archive for Sources and Insights
  • Priority queue and more parallel handlers
  • Semantic compression
  • Higher API rate limits
  • Priority support
Custom
Enterprise

For teams with custom security and compliance needs

Volume pricing available

  • SSO
  • Private deployments
  • SCIM provisioning
  • Dedicated account manager
  • SLA
  • Custom billing
  • Security review support

FAQ

Frequently Asked Questions

Everything you need to know about Ctxfy.

  • How does the compression actually work?

    We use a multi-stage pipeline. First, we parse the conversation structure. Then, a specialized model analyzes 'Soft State' (chit-chat, reasoning steps) vs 'Hard State' (code, facts, constraints). We rewrite the history into a dense, natural language prompt that LLMs are optimized to attend to.

  • Can I use the API for autonomous agents?

    Yes. Create a source via POST /v1/spaces/:spaceId/sources with type CONTENT whenever the agent hits a token threshold. Receive a postback with the processed content and use it as the fresh system prompt.

  • What is the output format?

    The Source response includes data.content (compressed/summarized text) after processing completes. Use it in the system prompt of your next completion call. For extracted code and schemas, see GET /v1/spaces/:spaceId/artifacts.

  • Do you store the conversation data?

    By default, we process data in ephemeral memory. For the 'History' feature in the UI, we store encrypted snapshots. For API users, we offer a 'Zero Retention' mode where data is wiped instantly after the response is sent.

  • Is this better than RAG (Vector Search)?

    For active conversation state, yes. RAG retrieves disjointed chunks based on keyword similarity. Ctxfy maintains the *narrative arc* and *logic* of the conversation, which is crucial for complex coding or reasoning tasks where context interdependence matters.

  • Which models does it work with?

    The output is model-agnostic. We've tested it successfully with GPT-4, Claude 3.5 Sonnet, Gemini 1.5 Pro, and Llama 3. The compression captures semantic meaning, not model-specific tokens.

  • What is the 'Fast Forward' feature?

    Fast Forward allows you to update a compressed state without re-processing the entire conversation. For example, if you have a 'State Object' representing a codebase, and you change a file, you can POST the file diff to `/v1/fast-forward`. We intelligently merge this new context into the existing state, giving the LLM the latest information instantly.