LLM API Guide

Thinking Machines Inkling 2 Small API: Free Tier, Pricing and OpenRouter Setup

Call thinkingmachines/inkling-2-small:free on OpenRouter with a 1M context window, 20 RPM / 1,000 RPD rate limits, Python SDK code, and small-model comparisons.

Summary

  1. Call Thinking Machines Lab's Inkling 2 Small for $0 via OpenRouter's thinkingmachines/inkling-2-small:free endpoint with a 1,048,576-token context window.
  2. Free tier rate limits cap accounts under $10 in lifetime credits at 20 RPM and 50 RPD, while accounts with at least $10 in credits get 20 RPM and 1,000 RPD.
  3. The model is a 594B-parameter sparse MoE (17B active per token) trained in NVFP4 that supports tool calling and explicit reasoning effort.
  4. Use Inkling 2 Small for multi-hour agentic coding and visual debugging.

When Thinking Machines Lab launched Inkling 2 Small on November 5, 2026, the only way to call the API was to register on the official Tinker console and prepay for credits. On November 9, 2026, OpenRouter added the thinkingmachines/inkling-2-small:free endpoint, opening up zero-cost API access with the full 1,048,576-token context window and 131,072-token completion limit.

Despite the "Small" label in its name, you cannot treat this model as a lightweight edge model or try to load it on a workstation GPU. Inkling 2 Small is a 48-layer sparse Mixture-of-Experts (MoE) Transformer trained end-to-end in native 4-bit floating point (NVFP4). It contains 594 billion total parameters and activates 17 billion parameters per token by routing across 8 out of 384 experts. It accepts text and image inputs and outputs text, with no audio support. While Thinking Machines Lab plans to release the model weights under an Apache 2.0 license following external red-teaming, hosted API inference through OpenRouter and Thinking Machines Tinker is currently the only way to run it.

On this page

OpenRouter Free Tier Limits vs. Paid Tinker Pricing

Prices in this section are as of 2026-11-11.

If you route requests through OpenRouter using the :free slug, both prompt and completion tokens cost $0.00. However, OpenRouter enforces strict request-per-minute (RPM) and request-per-day (RPD) quotas that depend on your historical account balance, while the official Tinker platform bills per token and restricts context length unless you pay for higher tiers.

Access Route Context Window Max Output Input / Output Price (per 1M) Rate Limits & Allowances
OpenRouter Free (< $10 lifetime credits) 1,048,576 tokens 131,072 tokens $0.00 / $0.00 20 RPM, 50 RPD (resets 00:00 UTC)
OpenRouter Free (≥ $10 lifetime credits) 1,048,576 tokens 131,072 tokens $0.00 / $0.00 20 RPM, 1,000 RPD (resets 00:00 UTC)
Tinker Serverless Inference 256,000 tokens 131,072 tokens $0.30 ($0.03 cached) / $1.00 Paid credit balance; production waitlist
Tinker Hosted Fine-Tuning 64K or 256K tokens N/A $1.50/1M (64K) or $3.00/1M (256K) Checkpoints locked until Apache 2.0 release

On a brand-new OpenRouter account with zero top-up history, you are capped at 20 requests per minute and 50 requests per day. A single 50-turn agent loop will exhaust your daily quota in less than an hour. Once you have loaded at least $10 in lifetime credits onto your OpenRouter account, your daily cap jumps to 1,000 RPD at the same 20 RPM ceiling. Because calling :free models does not deduct from your balance, that $10 deposit stays untouched in your account while unlocking the 20x higher daily ceiling. I broke down how OpenRouter handles credit balances and zero-markup pass-through billing in our OpenRouter pricing vs. direct API guide.

The free tier is particularly valuable here because Inkling 2 Small is an unusually verbose reasoning model. Although Tinker's unit prices of $0.30 per 1M input tokens ($0.03 per 1M cached input tokens, where multi-turn sessions average an 89.82% cache hit rate) and $1.00 per 1M output tokens look inexpensive on paper, the model generates roughly 150,000 thinking and output tokens per complex task—nearly five times the token volume of Claude Sonnet 5.5 at medium effort. In an autonomous 4-hour-17-minute run where Inkling 2 Small wrote an evaluator, fixed a random-seed bug, discarded an overconfident reinforcement learning loop, and fine-tuned a Qwen3.5-4B time-series forecasting model, the total API bill reached $426.

When testing the free endpoint, watch out for a common billing error: if a previous call to a paid model pushed your OpenRouter credit balance into the negative by even a fraction of a cent, calling thinkingmachines/inkling-2-small:free will fail with HTTP 402 Payment Required. OpenRouter checks for a non-negative global balance before routing any request, including free endpoints. If you hit HTTP 429 Too Many Requests, inspect the X-RateLimit-Remaining, X-RateLimit-Reset (a Unix millisecond timestamp), and Retry-After response headers, or query your live daily quota programmatically before launching an agent job.

Privacy Rules, Data Logging, and the Agentic Harness Restriction

Using thinkingmachines/inkling-2-small:free binds your traffic to the Thinking Machines Lab Free Research API Terms of Service, which carries stricter conditions than standard commercial API endpoints.

First, the free endpoint is explicitly restricted to agentic harnesses—such as terminal coding agents, automated test runners, and multi-step tool workflows. It is not licensed for general consumer chatbots. Second, every prompt, image, and completion sent through the free slug is logged and retained by Thinking Machines Lab to train and evaluate future models, though session logs are stripped of account IDs and persistent identifiers before entering the training pipeline.

Third, the terms prohibit sending confidential business data, regulated personal information, audio of human voices, or any images showing people's faces. OpenRouter also disables EU in-region routing for this model. If your workflow processes user-uploaded photos that might contain faces or requires zero data retention, you cannot use the :free endpoint.

OpenRouter API Setup: Python SDK and cURL Examples

OpenRouter exposes Inkling 2 Small across three compatible surfaces: POST https://openrouter.ai/api/v1/chat/completions, the OpenAI Responses endpoint /api/v1/responses, and the Anthropic Messages endpoint /api/v1/messages (the same multi-protocol setup we use in our Xing4.0 29B A4B API access guide).

Below is a complete Python script using the official openai SDK. It checks your remaining daily free requests via OpenRouter's key metadata endpoint first, then sends a request with explicit reasoning effort enabled:

python
import os
import requests
from openai import OpenAI

api_key = os.environ.get("OPENROUTER_API_KEY")

# 1. Check remaining daily free quota (50 or 1,000 RPD)
key_info = requests.get(
    "https://openrouter.ai/api/v1/key",
    headers={"Authorization": f"Bearer {api_key}"},
    timeout=10,
).json()

quota = key_info.get("data", {}).get("free_model_daily_requests", {})
print(f"Free RPD Quota -> Used: {quota.get('used')}, Remaining: {quota.get('remaining')} / {quota.get('limit')}")

# 2. Call Inkling 2 Small with explicit reasoning effort
client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key=api_key,
    timeout=180.0,  # High timeout required for ~30s initial reasoning delay
)

response = client.chat.completions.create(
    model="thinkingmachines/inkling-2-small:free",
    messages=[
        {
            "role": "user",
            "content": "Write a Python function that parses Retry-After headers in both delta-seconds and HTTP-date formats."
        }
    ],
    extra_body={
        "reasoning": {
            "effort": "medium"
        }
    }
)

message = response.choices[0].message
if hasattr(message, "reasoning_details") and message.reasoning_details:
    print("--- Reasoning Trace ---")
    print(message.reasoning_details)

print("--- Final Answer ---")
print(message.content)

Notice the timeout=180.0 setting on the client. Because Inkling 2 Small runs extended internal chain-of-thought before emitting its first visible answer token, its average time to first answer token is 29.61 seconds, and complex tasks average 16.4 minutes end-to-end. Once tokens start flowing, OpenRouter delivers a median (P50) throughput of 112 tokens per second (117 tok/s average, 56 tok/s at P90). If you use a default 30-second HTTP read timeout on non-streaming requests, your client will frequently drop the connection right before the answer arrives.

To avoid read timeouts entirely, enable Server-Sent Events ("stream": true) in curl or your agent harness:

bash
curl -N https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -H "HTTP-Referer: https://llmapiguide.com" \
  -H "X-Title: LLM API Guide Agent" \
  -d '{
    "model": "thinkingmachines/inkling-2-small:free",
    "stream": true,
    "temperature": 1.0,
    "messages": [
      {
        "role": "user",
        "content": "Inspect this repository layout and propose a pytest fixture for mocking 429 rate-limit headers."
      }
    ]
  }'

When configuring parameters for Inkling 2 Small, there is one major compatibility restriction you must work around: the endpoint does not support response_format. If your code passes response_format={"type": "json_object"} or a strict "json_schema" payload, the API will either ignore the constraint or reject the request.

If your application requires structured JSON output, define a function schema inside the standard tools array instead. Inkling 2 Small supports native OpenAI-format tool calling with a 4.65% tool-call error rate on OpenRouter, allowing you to extract typed arguments from message.tool_calls[0].function.arguments without relying on response_format.

Benchmarks and Real-World Agent Behavior

Unlike its predecessor—which trained reasoning and agent tool use separately before distilling them—Inkling 2 Small was trained with joint reinforcement learning across 2,048 NVIDIA GB300 GPUs over 17 million rollouts. Although training contexts were capped at 256K tokens, the model uses built-in history compression to sustain multi-hour sessions across its 1M evaluation window.

In benchmark testing, that joint RL pipeline pushed Inkling 2 Small to a score of 31 on the Artificial Analysis Intelligence Index v5.0.1 (up from 13 on the first-generation Inkling Small), tying Gemini 3.8 Flash and beating GPT-6 Luna (27.9) and GLM-5.3-Flash (27.8). On repository-scale software engineering, it scores 72.1% on DeepSWE v1.1 (ahead of Claude Haiku 5.5 at 59.9%) and 25.4% on FrontierCode 2.0. Its strongest results appear in long-horizon office and workflow benchmarks, hitting 1527 Elo on AA-Briefcase v1.1 (surpassing Claude Sonnet 5.5 medium at 1439 Elo) and 46% on AutomationBench-AA. In knowledge testing (AA-Omniscience v1.1), its hallucination rate dropped from 61% in the previous generation down to 27%, largely because the model learned to abstain when uncertain, reducing its answer attempt rate from 77% to 53%.

When you wire thinkingmachines/inkling-2-small:free into a coding harness like OpenCode, three behavioral traits stand out immediately. First, it is far more disciplined with tool execution than earlier open-weight MoE models, repeating identical tool calls 2.4x less often and attempting to bypass unit-test graders 3x less often. Second, its visual reasoning is genuinely useful for frontend and STEM tasks: you can feed it screenshots of broken web layouts or hand-drawn RC circuit diagrams, and it will calculate component cutoff frequencies, spot wiring mistakes, and iteratively patch its own HTML/CSS.

Third, its raw text and code outputs are optimized for machine execution rather than human readability, and its score on interactive CLI tasks like Terminal-Bench 4.0 is only 13% (compared to 30% on Claude Sonnet 5.5 medium). In open-ended security testing or deep debugging loops, the model is highly persistent but sometimes fails to recognize when a search branch has low expected value. Always configure a hard max_turns or token budget in your agent harness so it does not burn through your 50 or 1,000 daily requests chasing a dead end.

Inkling 2 Small vs. Liquid LFM3-1.7B vs. Nemotron 3.5 Bolt E4B

Prices in this section are as of 2026-11-11.

Because of the "Small" naming convention, developers frequently ask whether to pick Inkling 2 Small or recent lightweight releases like Liquid AI's liquid/lfm-3-1.7b and NVIDIA's Nemotron 3.5 Bolt E4B. In practice, these models sit at opposite ends of the architecture spectrum.

Specification Thinking Machines Inkling 2 Small Liquid AI LFM3-1.7B NVIDIA Nemotron 3.5 Bolt E4B
Architecture & Size 594B total / 17B active MoE (NVFP4) 1.7B dense model 8B total / 4B effective (4GB VRAM)
Context Window 1,048,576 tokens (1M) 256,000 tokens 64,000 tokens
Speed & Latency ~112 tok/s P50; ~29.6s TTFT ~240 tok/s P50; sub-second TTFT ~133 tok/s local; ultra-low latency
Paid API Pricing (1M) $0.30 input / $1.00 output (Free on OR) $0.08 input / $0.20 output Self-hosted / edge deployment
response_format JSON Not supported Native strict JSON schema support Supported
Tool Calling Profile Deep multi-step agent loops (4.65% err) Fast single-turn routing & extraction Fast multi-turn local tool calling
Primary Use Case Autonomous repo coding, visual debugging High-concurrency API routing, JSON parsing Local RTX desktop agents, robotics

If your service needs sub-second time-to-first-token, 240 tok/s generation speed, and guaranteed schema enforcement via response_format for API gateway routing or form extraction, use Liquid LFM3-1.7B. If you need a model that fits inside 4GB of local VRAM on a consumer laptop or edge device for real-time voice and multi-turn tool execution, deploy Nemotron 3.5 Bolt E4B. And if your application requires native video or audio input alongside low-latency multimodal routing on OpenRouter, check our setup guide for the Google Gemini Omni 1.2 & 1.1 Flash API.

Use Inkling 2 Small (thinkingmachines/inkling-2-small:free) when latency does not matter as much as reasoning depth across massive contexts—specifically for background coding agents, automated data-science pipelines, and visual UI verification where waiting 30 seconds for the first token trades off against a 594B MoE reasoning over a million tokens for free.

Sources and checks

  1. thinkingmachines/inkling-2-small:free
  2. Thinking Machines Tinker
  3. Thinking Machines Lab Free Research API Terms of Service