Blog / Latest in AI

Latest in AI

InternLM posts Sage-S2.1-Flash on Hugging Face with adjustable reasoning

Unicorn News Desk ·

Abstract illustration of a model repository with three dials for reasoning depth

Key facts

Model
Sage-S2.1-Flash
Repository
internlm/Sage-S2.1-Flash on Hugging Face
Reasoning effort
low, high, or max (default)
Tool calling
XML-style tool_call with arg_key / arg_value pairs
Media placeholders
image, video, audio

InternLM has published a model called Sage-S2.1-Flash in its internlm organisation on Hugging Face. The most informative public detail is the model’s chat template, the script that turns a conversation into the exact token sequence the model reads. It shows three selectable reasoning levels, a structured tool-calling format, and placeholders for image, video and audio inputs.

Several things builders usually want first are missing from the material reviewed for this report: parameter count, licence, context window, and any benchmark scores. This article reports what the repository text shows, flags what it does not, and lists the checks a team should make before adopting the model.

What InternLM has put on Hugging Face

The repository is listed as internlm/Sage-S2.1-Flash. The page text available includes the tokenizer configuration, with <|endoftext|> set as the padding token, and a long Jinja chat template. Jinja is a templating language that Hugging Face tooling uses to format chat messages for a specific model.

No release post, technical report or model card prose appeared in the material reviewed. The article therefore draws only on the template. It does not cover the maker’s description of training data, architecture or intended uses, because none of that text was available.

This is not InternLM’s first model to draw interest from inference-engine developers. In July 2025, a tracking issue in the SGLang serving project listed internlm/Intern-S1 and internlm/Intern-S1-FP8 among the “big models” to test across H100, H200 and B200 hardware. That list also included DeepSeek-V3-0324, DeepSeek-R1-0528, Kimi-K2-Instruct, Qwen3-235B-A22B variants, Qwen3-Coder-480B-A35B and GLM-4.5. The issue was opened on July 28, 2025 and closed as completed on September 9, 2025. Nothing in that issue mentions Sage-S2.1-Flash. It shows only that an earlier InternLM model shared a support list with large open models from other labs.

Diagram-style illustration of a chat turn with a hidden reasoning compartment and tool channel
The template wraps each assistant turn in a reasoning block and routes tool calls through a structured format. · Illustration

Three reasoning levels, chosen per request

The template reads a reasoning_effort variable. If the caller passes 'low' or 'high', that value is used. Any other value, or no value at all, falls back to 'max'. The chosen level is then written into a system line in the form “Reasoning Effort: Low”, “High” or “Max”.

For builders this has two consequences:

  • The default is the most expensive setting. Any call that does not set reasoning_effort runs at 'max'. Teams that care about latency or token cost need to pass a level explicitly.
  • There is no off switch in the template. Only three values exist, and unrecognised values become 'max'. A typo such as "medium" would silently select the highest level.

The template also defines a clear_thinking flag that defaults to false. Its full effect is not visible in the excerpt reviewed, so this report does not describe what it does.

How reasoning appears in the conversation

Each assistant turn is wrapped with <think> and </think> tags. If a message has a separate reasoning_content field, the template places that text inside the tags. If the message content already contains a </think> marker, the template splits the reasoning from the visible answer. If there is no reasoning, it inserts an empty <think></think> pair. Applications that display model output should strip or hide this block. Logging pipelines should decide whether to keep it.

Tool calling in an XML-style format

When tools are supplied, the template adds a system section headed “Tools”. It tells the model that it “may call one or more functions to assist with the user query” and lists function signatures inside <tools></tools> tags. Calls are not emitted as a JSON object. The model is told to output each call as:

<tool_call>{function-name}<arg_key>{arg-key-1}</arg_key><arg_value>{arg-value-1}</arg_value><arg_key>{arg-key-2}</arg_key><arg_value>{arg-value-2}</arg_value>...</tool_call>

That format comes from the template itself. In practice, a serving layer or client library needs a parser that turns these tagged pairs back into structured arguments before handing them to application code. Teams running the model behind an OpenAI-style API should confirm that their inference engine supports this format, or write the parser themselves.

Deferred tools and tool references

The template contains several details aimed at agents with large tool catalogues:

  • A tool marked with defer_loading is left out of the initial <tools> list.
  • When the template serialises tool definitions, it drops the defer_loading and strict keys.
  • A tool result whose content is of type tool_reference is rendered as the full definitions of the referenced tools, wrapped in <tool_response><tools> tags.

Taken together, these suggest a pattern where an agent starts with a short tool list and pulls in other tool definitions mid-conversation. That reading is an inference from the template code. No InternLM documentation describing the feature was available.

The template also includes helper logic that matches tool results to tool calls by ID and checks for duplicate result IDs. This matters for agents that run several tool calls in parallel and must keep each result paired with the right request.

Abstract illustration of image, video and audio inputs feeding one model block
The template contains placeholders for image, video and audio inputs. · Illustration

Image, video and audio slots in the template

The template’s text-rendering macro handles more than plain text. Content items of type image or image_url become a <|begin_of_image|><|image|><|end_of_image|> sequence. Items of type video or video_url become a matching video sequence. Items of type audio, audio_url or input_audio become <|begin_of_audio|><|end_of_audio|>.

The template is only the formatting layer. It shows that the model’s message format reserves places for these media types. It does not show which media the released weights were trained on, how well they handle them, or whether a separate processor is needed. Unlike the image and video sequences, the audio sequence in the excerpt has no inner placeholder token. Builders should test each modality directly rather than assume all three work equally well.

What the “Flash” name does and does not tell you

“Flash” is a familiar label in the model market. Google, for example, uses it for its Gemini 1.5 Flash and Gemini 2 Flash models. Naming conventions are not specifications, though. Nothing in the reviewed material states Sage-S2.1-Flash’s parameter count, speed or cost profile. Its relationship to other InternLM models, including any non-Flash Sage variant, is also not stated. Any claim that it is a smaller or faster sibling would be a guess.

ItemWhat the reviewed material shows
Repositoryinternlm/Sage-S2.1-Flash on Hugging Face
Reasoning effortlow, high; anything else defaults to max
Reasoning outputWrapped in <think>…</think> tags
Tool-call format<tool_call> with arg_key / arg_value pairs
Media placeholdersImage, video, audio
Padding token<|endoftext|>
Parameter countNot shown
LicenceNot shown
Context windowNot shown
BenchmarksNone available, from the maker or third parties

What it means for builders, and the open questions

Based on the template, Sage-S2.1-Flash is set up for agent-style work: adjustable reasoning, multi-call tool use, deferred tool loading, and mixed-media messages. For teams that self-host open models, these are the features that decide whether a model fits into an existing agent framework.

Before building on it, several gaps need closing:

  1. Licence. No licence appears in the reviewed text. Commercial use should wait until the repository’s licence field and any accompanying terms have been read.
  2. Size and hardware. Without a parameter count, GPU memory needs cannot be estimated. Check the weight files and configuration in the repository.
  3. Quality. No benchmark results are available, from InternLM or from independent leaderboards. Any performance claim should be treated as unverified until evaluations are published.
  4. Serving support. The XML-style tool format and the reasoning-effort system line need matching support in the inference engine. SGLang has tracked an earlier InternLM model, but no source reviewed here shows support for Sage-S2.1-Flash.
  5. Default cost. Because the template defaults to 'max' reasoning, token usage at default settings may be higher than expected. Measure it before setting budgets.

What to watch next

The next useful signals are a model card or technical report from InternLM that states size, licence, training details and the maker’s own benchmark comparisons. After that, independent evaluations on public leaderboards would show how the model performs outside InternLM’s own tests. Builders should also watch for support in serving engines, which in the past have added InternLM models to their test lists. Unicorn API will update this thread when the maker publishes those details or third-party results appear.

Frequently asked questions

Is Sage-S2.1-Flash open source?

The model is hosted in the public internlm/Sage-S2.1-Flash repository on Hugging Face, but the material reviewed for this article does not show its licence. Check the repository's licence field before using it in a product.

How big is Sage-S2.1-Flash?

The parameter count is not shown in the material reviewed. The 'Flash' name does not establish its size.

Can Sage-S2.1-Flash process images, video or audio?

Its chat template converts image, video and audio content items into dedicated placeholder tokens. That shows the formatting layer expects media inputs. It does not show how well the model handles them.

How do I control Sage-S2.1-Flash's reasoning?

The chat template accepts a reasoning_effort value of 'low' or 'high'. Any other value, or no value, falls back to 'max'. The chosen level is written into a system line at the start of the prompt.

Does Sage-S2.1-Flash support function calling?

Yes, at the template level. Tools are listed inside <tools></tools> tags, and the model is instructed to emit calls as <tool_call> blocks with arg_key and arg_value pairs.