Send the model the turns that answer the question.
LENS crystallises a conversation into single-claim loci, places them on the LTMi-XT lattice, ranks them against your question and returns a compact context block. Put it in front of any model call. You keep your provider and your prompt.
Public API liveFree to try, 8 calls per 15 minutes per address, no signup. Spec: LTMi-XT.
Restructure a conversation right now.
The request below is the real one: POST /api/v1/lens with a messages array and a query. Free access is 8 calls per 15 minutes per address. Crystallisation calls a hosted language model that the server configures, so a response takes a few seconds.
Press Restructure with LENS to see the conversation crystallised into loci and ranked against the query.
Limits per call: 60 messages and 16,000 characters.
Three results, with their limits
LENS is the hosted form of LTMi-XT. These come from the committed benchmarks in the open repositories and are written up on the format's research page. Each has a scope, and the scope is part of the result.
Wrap the call you already make.
LENS returns text. Put the context block in a system message for OpenAI, Anthropic, a local model or anything else. The model never knows LENS was there.
- An opt-in memory stack keeps loci across calls when you pass a session id and a user id and set use_memory_stack.
- An include_forced_anchors option returns position-anchored specs for masked-diffusion targets. See lens-xt.
- Crystallisation uses a hosted language model that the server configures. Retrieval is lattice arithmetic and needs no model.
# Put LENS in front of any model call (Python)
import requests, openai
def lens(messages, query):
r = requests.post("https://sophiaxt.com/api/v1/lens",
json={"messages": messages, "query": query})
return r.json()["context"]
# Use the structured context with any model
context = lens(conversation_history, next_question)
response = openai.chat.completions.create(
model="gpt-4o",
messages=[
{"role": "system", "content": context},
{"role": "user", "content": next_question},
],
)A monthly tier, then a rate per call
Each tier includes a monthly quota. Above it, calls are billed at the tier's overage rate. Free is capped at its quota, so it can never produce a bill. The tiers below are read from billing, so what is printed is what checkout charges.
The subscription
A flat monthly fee with an included call quota, so steady-state cost is predictable. Free caps at its quota and needs no card.
The overage
Past the quota, each call is billed at the tier's per-call rate and settled at the end of the period. Scale's overage rate is half of Pro's.
Plain answers
Open The format and the reference code are Apache 2.0. Questions about billing: contactus@sophiaxt.com.