← All models

Thinking Machines: Inkling 2 Small
thinkingmachines/inkling-2-smallInkling 2 Small is an open-weight multimodal mixture-of-experts reasoning model from Thinking Machines Lab, with 17B active parameters out of 594B total. It is the first model in the second Inkling generation. It was trained with reinforcement learning on long-horizon coding tasks across many agent harnesses, and is suited for agentic coding, autonomous research, agentic knowledge work and retrieval-augmented generation, with English and general multilingual support. It accepts text and image input (no audio), supports tool calling and variable reasoning effort, and has a 1M-token context window.
Modalities
Price in / out
Cache, read / write
Context / Max output
1.05M / 944K
Released
Nov 9, 2026
Additional rates
Flex, in / out
Parameters
messagesrequiredmax_tokensoptional · alias max_completion_tokensstreamtrue · falsetoolsfunction calling (OpenAI format)tool_choiceauto · none · requiredresponse_formatjson_object · json_schemaweb_search · · providerrouting: order · only · ignore · sortservice_tierflexstream_options{"include_usage": true}image_urlimage (data: URL)Fine-tuning · 11
temperature0–2stopoptionalseedoptionaltop_p0–1top_koptionalmin_p0–1frequency_penalty−2…2presence_penalty−2…2repetition_penalty0–2logprobstrue · falsetop_logprobs0–20How to use via API
from openai import OpenAI
client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
resp = client.chat.completions.create(
model="thinkingmachines/inkling-2-small",
messages=[{"role": "user", "content": "Привет"}],
temperature=0.7,
max_tokens=1024,
stream=False,
)
print(resp.choices[0].message.content)
# Стриминг: stream=True — ответ приходит чанками
for chunk in client.chat.completions.create(
model="thinkingmachines/inkling-2-small",
messages=[{"role": "user", "content": "Привет"}],
stream=True,
):
print(chunk.choices[0].delta.content or "", end="", flush=True)
# эконом-тир: тот же ответ вдвое дешевле, но ниже приоритет в очереди
cheap = client.chat.completions.create(
model="thinkingmachines/inkling-2-small",
messages=[{"role": "user", "content": "Привет"}],
extra_body={"service_tier": "flex"},
)

