Skip to content

Saanora

Saanora serves its own models: Mark 1x-27B, a chat model that thinks before it answers, and Clara, a decision model that answers typed questions about a record. Call Mark on /v1/chat/completions and Clara on /v1/systemone; both use the saanora/ prefix.

Model Context Input Input / Output ($/1M)
saanora/mark-1x-27b 262,144 Text, image 0.10 / 0.60
saanora/mark-1x-27b-free 262,144 Text, image 0 / 0
saanora/clara-1 16,384 Text, JSON 0.10 / 0

saanora/mark-1x-27b-free is free until 7 December 2026, 24:00 (TRT); it closes earlier if free use ends sooner. After that the id returns 410 model_retired and suggests the paid saanora/mark-1x-27b. The request format is the same.

Without max_tokens, an answer from the free model is at most 32,768 tokens. Set max_tokens for a longer one; a value above 65,536 is lowered to 65,536.

Terminal window
curl "$LLMTR_BASE_URL/v1/chat/completions" \
-H "Authorization: Bearer llmtr-your_key" \
-H "Content-Type: application/json" \
-d '{
"model": "saanora/mark-1x-27b",
"messages": [
{ "role": "user", "content": "A train travels 180 km in 2.5 hours. What is its average speed in km/h?" }
],
"reasoning_effort": "low",
"max_tokens": 4096
}'
from openai import OpenAI
client = OpenAI(base_url="https://llmtr.com/v1", api_key="llmtr-your_key")
response = client.chat.completions.create(
model="saanora/mark-1x-27b",
messages=[{"role": "user", "content": "Write a Python function that merges two sorted lists."}],
max_tokens=8192,
)
print(response.choices[0].message.content)

Mark thinks before it answers. The reasoning arrives in message.reasoning_content (delta.reasoning_content when streaming) and the answer in content. Reasoning tokens are counted in completion_tokens, billed at the output price and included in max_tokens.

reasoning_effort Behaviour
low Thinks less
medium Default
high Thinks more
none Answers without thinking
  • A reasoning: { "effort": "low" } object and the :low, :medium, :high and :none model id suffixes do the same. "reasoning": false turns thinking off.
  • Any other level (such as minimal or xhigh) and an unknown suffix return 400 invalid_request.
  • include_reasoning: false is not applied; it is removed from the body and named in the response's llmtr_dropped_parameters field.
  • Keep max_tokens high for hard questions. If content comes back empty with finish_reason "length", max_tokens ran out before the reasoning finished; raise it or pick a lower level.

Send an image as an image_url part, either a base64 data URL (data:image/png;base64,...) or a public https address.

{
"model": "saanora/mark-1x-27b",
"messages": [
{
"role": "user",
"content": [
{ "type": "text", "text": "What does the chart in this image show?" },
{ "type": "image_url", "image_url": { "url": "https://example.com/chart.png" } }
]
}
],
"max_tokens": 4096
}

A request body over about 4.5 MB returns 413 invalid_request. Send large images as https addresses or make them smaller. input_file parts are not supported; send documents as text.

Mark supports the standard OpenAI tools field. tool_choice accepts auto, required and a named function. The model can return more than one tool call in a turn; answer each call with its own tool message. If you do not want a tool to be used, leave tools out: a request that sends tool_choice: "none" together with tools can come back with an empty answer. See Tool Calling.

response_format supports json_object and a strict json_schema. Reasoning counts toward max_tokens too, so give it room and check that finish_reason is "stop".

  • stream: true is supported. Reasoning arrives in delta.reasoning_content and the answer in delta.content. Send stream_options: { "include_usage": true } to get usage on the last chunk. Stream requests that you expect to produce long answers; a long unstreamed request can time out.
  • A stop sequence also matches inside the reasoning; if it matches there, the answer comes back empty. Do not use a short, common string as stop, or turn thinking off with none.
  • A response carries one choice. An n other than 1 is removed from the body and named in llmtr_dropped_parameters.
  • When max_tokens and max_completion_tokens are both sent, max_completion_tokens applies; a different max_tokens is named in llmtr_dropped_parameters.
  • Input and output share one window. A request whose prompt plus max_tokens exceeds it returns 400 invalid_request and is not billed.

At busy times, or after a quiet period, a request can be refused with 503. Wait for the Retry-After time and try again, and use a client timeout of at least 120 seconds.

saanora/clara-1 takes a record (a support ticket, a conversation or a data row) with typed questions and returns a Noul, Choice or Score answer for each. It writes no free text. Records and questions must be in English. The first request after a quiet period can take more than two minutes; use a client timeout of at least 180 seconds. See Structured Decisions for the request and response format.

Terminal window
curl "$LLMTR_BASE_URL/v1/systemone" \
-H "Authorization: Bearer llmtr-your_key" \
-H "Content-Type: application/json" \
-d '{
"model": "saanora/clara-1",
"state": "Customer wrote: I was charged twice for the March invoice and nobody answered my two emails.",
"questions": {
"refund": { "type": "noul", "instructions": "Is the customer asking for a refund?" },
"team": {
"type": "choice",
"instructions": "Which team should handle this ticket?",
"criteria": {
"billing": "Payments, invoices and refunds",
"technical": "Errors and outages",
"sales": "Pricing and new accounts"
}
}
}
}'

These models are provided through a third-party provider.