Skip to content
subquadratic/subq-preview

subquadratic · — context · text + file → text · 1 upstreams

You need your own SubQ key to use this model.

The provider bills you. AnyRouter fee is $0.

Only route: your key

Call this id from your code; another provider takes over when one fails. How it works →

Upstreams and pricing

ProviderStatusProvider details
Your own key (BYOK) — provider bills you, $0 AnyRouter fee
BYOK—
Free pool — donated keys: not available for this model — donate a key

Code

POST /api/v1/chat/completionsSDK docs
import osfrom openai import OpenAI client = OpenAI(    api_key=os.environ["ANYROUTER_API_KEY"],    base_url="https://anyrouter.dev/api/v1",) resp = client.chat.completions.create(    model="subquadratic/subq-preview",    messages=[{"role": "user", "content": "Say hi in 3 words."}],)print(resp.choices[0].message.content)

SubQ Preview is Subquadratic's long-context chat model, built on its Subquadratic Sparse Attention (SSA) architecture for reasoning over very large inputs such as whole repositories, contract archives and filings. It is in early access: model availability and features may change. Text in, text out, with file (document) input, function calling, JSON-schema structured outputs and a reasoning_effort control (none to max). SubQ serves it on Chat Completions and the Responses API. Reasoning text is never returned; reasoning tokens bill as output.