Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · LLMReleased 2026-11-05

How to Use Inkling 2 Small in Claude Code

Inkling 2 Small suits coding tasks, image analysis, and work that takes several tool calls to finish. Compared with Inkling, its gains are especially pronounced on extended autonomous tasks.

Prompts to try with Inkling 2 Small in Claude Code

Copy an example into Claude Code, or ask in your own words.

Use Inkling 2 Small to investigate the failing tests in this project. Trace the cause, make the smallest justified repair, and run the relevant tests. End with the cause, changed files, and test results.

Inkling 2 SmallClaude Code
Try asking
  • Use Inkling 2 Small to inspect this project's sign-in flow and add a regression test for an expired session. Explain the expected behavior before changing code, then verify it.

  • Use Inkling 2 Small to compare the attached screenshot with this project's checkout page. Identify three visible mismatches, fix them, and inspect a fresh screenshot before reporting.

  • Use Inkling 2 Small to trace how this project validates incoming requests. Find duplicated validation rules, propose a bounded refactor, and verify that accepted and rejected inputs stay consistent.

  • Use Inkling 2 Small to compare the implementation with the requirements in this repository. List unmet requirements with file references, implement one clearly scoped fix, and verify it.

How to set up Inkling 2 Small in Claude Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Inkling 2 Small

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "openrouter",
        "model": "thinkingmachines/inkling-2-small",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Claude Code finds Inkling 2 Small on Spiral, shows the price and runs it.

Inkling 2 Small providers and prices

Spiral runs Inkling 2 Small through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Thinking Machines: Inkling 2 Small
thinkingmachines/inkling-2-small

Settings you can ask for

Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Min p0 to 1
Top ka whole number from 0
Top p0 to 1
Logprobson or off
Max tokens1 to 943718

The most output tokens to generate. On a reasoning model the reasoning tokens count toward it: a cap too low for the effort can end with no answer (finish_reason length).

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Reasoning effortminimal, low, medium, high, or maxhigh

How much the model reasons.

Frequency penalty-2 to 2
Repetition penalty0 to 2

Every API field of Thinking Machines: Inkling 2 Small is on its tool page: open its card above.

What can you do with Inkling 2 Small in Claude Code?

Turn repository context into code changes that include verification. Give Inkling 2 Small a bounded task, relevant project files, and clear acceptance criteria.

Investigate a failing test

Ask Inkling 2 Small to trace a failure through the relevant code, propose a repair, and verify the result with a focused test.

Implement a scoped feature

Give Inkling 2 Small acceptance criteria and ask it to carry the change through implementation and verification.

Turn screenshots into bug reports

Have Inkling 2 Small identify visible interface problems and turn each one into a reproduction checklist with expected behavior.

Extract text from scanned material

Ask Inkling 2 Small to transcribe an image, preserve headings and table relationships, and mark anything it cannot read.

Explain a chart

Use Inkling 2 Small to read labels, compare plotted values, and distinguish visible trends from explanations the chart cannot establish.

Compare lengthy source material

Ask Inkling 2 Small to reconcile requirements or reports, identify contradictions, and attach a source passage to each finding.

Prepare a research brief

Give Inkling 2 Small a focused question and available search tools, then request an evidence table and a short account of unresolved questions.

Questions about Inkling 2 Small in Claude Code

Can Claude Code use Inkling 2 Small?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Inkling 2 Small like any built-in tool.

How much does Inkling 2 Small cost in Claude Code?

Up to $0.00534 per run at the default inputs. $0.39 per 1M input tokens, $1.30 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

Do I need an OpenRouter account to use Inkling 2 Small in Claude Code?

No. Spiral runs Inkling 2 Small on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up Inkling 2 Small in Claude Code?

About two minutes: add the hosted server, then sign in.

Does Claude Code wait while Inkling 2 Small runs?

Inkling 2 Small runs in the background. Claude Code starts the run, checks on it and gives you the text, json when it's ready.

What is Inkling 2 Small good at?

Coding, visual analysis, reasoning, and knowledge work are its main strengths. Thinking Machines reports especially pronounced improvements over its first generation on tasks that require sustained autonomous work.

Can Inkling 2 Small read screenshots and charts?

Yes. It supports reading text in images, locating visual elements, interpreting infographics, and reasoning about what an image shows.

Does Inkling 2 Small accept audio?

No. Use text or images as the source material.

How much context does Inkling 2 Small support?

The model supports up to one million tokens of context. That is a context capacity, not a promise of a million-token answer.

Which languages does Inkling 2 Small support?

Thinking Machines describes support for English, other natural languages, and multiple coding languages. Its model card does not provide an exhaustive language list.

Get started

Start using Inkling 2 Small in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options