Please rotate your device

To continue exploring this website, please rotate your device to a vertical orientation

SubQ Savant

Subquadratic/SubQ Savant

SubQ Savant is a long-context reasoning model for analyzing large documents, codebases, and other data-intensive workloads.

large languageimage processing

Developed by Subquadratic, SubQ Savant generates text and reasons over up to 4 million tokens in a single request. It accepts text and image inputs and supports function calling and structured outputs.

AttributeValue
Context Length4M
Input ModalitiesText, Image
Output ModalitiesText

Its Subquadratic Sparse Attention architecture is designed to make long-context processing more compute-efficient. Savant can be used for tasks such as analyzing contract collections, reviewing financial filings, and reasoning across code repositories.

python
import os
from openai import OpenAI

client = OpenAI(api_key=os.environ["SUBQ_API_KEY"], base_url="https://api.subq.ai/v1")

prompt = ("In three bullets, explain the difference between indemnification, "
          "limitation of liability, and insurance requirements in a software contract.")

completion = client.chat.completions.create(
    model="subq-savant-1.4",
    max_tokens=500,
    messages=[
        {"role": "system", "content": "You are concise and practical."},
        {"role": "user", "content": prompt},
    ],
)
print(completion.choices[0].message.content)