Inkling 2 Small
Agents, coding assistants, and chat over text and images
$1 in free creditsInput $0.30/1M · Output $1.00/1M
Overview
Inkling 2 Small is Thinking Machines' open-weights multimodal model. It accepts text and images and generates text. Thinking Machines describes it for developers building agentic and tool-use systems, coding assistants, chatbots, and retrieval-augmented applications, and for general instruction-following. It is a 48-layer decoder with a sparse mixture-of-experts backbone, routing each token to 8 of 384 experts.
Strengths
- Text and image input in one model
- Tool calling with adjustable reasoning effort
- 128K-token served context
Use cases
- Coding assistants and agentic tool use
- Questions over documents, screenshots, and charts
Good to know
Text and image input only; no video or audio. At most five images per request. The model card's context window is 1M tokens; this deployment serves 131,072. Thinking is on unless turned off, and the reasoning counts against max_tokens: with a small budget the whole budget can go to reasoning, returning empty content with finish_reason "length". Turn thinking off or allow a few thousand output tokens.
API access
One OpenAI-compatible API for every model in the catalog, plus the CLI and the function SDK inside workflows. Sign up and try $1 of inference free, then get $10 more once you've spent $5, and these requests work:
curl https://model.graphn.ai/v1/chat/completions \
-H "Authorization: Bearer $GRAPHN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "inkling-2-small",
"messages": [{"role": "user", "content": "Hello"}]
}'import os
from openai import OpenAI
client = OpenAI(base_url="https://model.graphn.ai/v1", api_key=os.environ["GRAPHN_API_KEY"])
response = client.chat.completions.create(
model="inkling-2-small",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://model.graphn.ai/v1",
apiKey: process.env.GRAPHN_API_KEY,
});
const response = await client.chat.completions.create({
model: "inkling-2-small",
messages: [{ role: "user", content: "Hello" }],
});
console.log(response.choices[0].message.content);graphn model chat inkling-2-small -m "What is GraphN?"
@function
async def ask(question: str) -> str:
return await chat.complete(question, model="inkling-2-small")