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

Grok Build · LLMReleased 2026-11-05

How to Use Inkling 2 Small in Grok Build

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 Grok Build

Copy an example into Grok Build, 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 SmallGrok Build
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 Grok Build

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

Use Spiral's MCP server

  1. Add the server

    Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

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

    Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

  3. Check it
    grok mcp doctor spiral

Use the Spiral skill

  1. Send Grok Build 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: Grok Build 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 Grok Build 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 Grok Build?

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 Grok Build

Can Grok Build use Inkling 2 Small?

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

How much does Inkling 2 Small cost in Grok Build?

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 Grok Build plan is separate.

Do I need an OpenRouter account to use Inkling 2 Small in Grok Build?

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 Grok Build?

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

Does Grok Build wait while Inkling 2 Small runs?

Inkling 2 Small runs in the background. Grok Build 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 Grok Build

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

Paste this into Grok Build:

Set up Grok Build

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