How to Use Inkling Small in Grok Build
Inkling Small suits coding tasks, tool use, and reasoning through detailed instructions. In the maker’s tests, it surpassed Inkling on reasoning and agentic coding, while Inkling retained better knowledge coverage and factuality.
Prompts to try with Inkling Small in Grok Build
Copy an example into Grok Build, or ask in your own words.
Use Inkling Small to investigate the failing tests in this project. Reproduce one failure, inspect the relevant code, make a focused fix, and run the affected tests.
Use Inkling Small to review the current diff against the issue requirements. Report correctness bugs with file locations and a concrete failing example for each.
Use Inkling Small with higher thinking effort to investigate this intermittent test failure. Compare plausible causes, gather evidence from the project, and propose a regression check.
Use Inkling Small to compare the current parser with a streaming approach. Inspect the implementation and explain memory use, runtime, and behavior on malformed input before proposing changes.
Use Inkling Small to turn the project’s feature specification into acceptance checks. Link each check to a requirement and flag ambiguous behavior before editing code.
How to set up Inkling Small in Grok Build
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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
- 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.
- Check it
grok mcp doctor spiral
Use the Spiral skill
- Send Grok Build this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Inkling 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-small", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: Grok Build finds Inkling Small on Spiral, shows the price and runs it.
Inkling Small providers and prices
Spiral runs Inkling Small through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.006411 per run at the default inputs. $0.585 per 1M input tokens, $1.56 per 1M output tokens.
Settings you can ask for
Ask Grok Build for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | ||
| Min p | 0 to 1 | ||
| Top k | a whole number from 0 | ||
| Top p | 0 to 1 | ||
| Max tokens | 1 to 262144 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Presence penalty | -2 to 2 | ||
| Reasoning effort | none, minimal, low, medium, high, or max | high | How much the model reasons. |
| Frequency penalty | -2 to 2 | ||
| Repetition penalty | 0 to 2 |
Every API field of Thinking Machines: Inkling Small is on its tool page: open its card above.
What can you do with Inkling Small in Grok Build?
Inkling Small can help turn a reproducible failure into a code change and a verification plan. Use project context to make debugging and review requests specific.
Repair a reproducible bug
Give Inkling Small the failing behavior, relevant code, and expected result. Ask for a focused patch and a regression check.
Review a code change
Ask Inkling Small to compare an implementation against its requirements and flag specific correctness problems with examples.
Compare algorithm choices
Have Inkling Small compare two approaches under explicit memory, runtime, and edge-case constraints.
Answer questions from supplied documents
Provide labeled excerpts and ask Inkling Small to support each answer with a passage, leaving unsupported questions unanswered.
Turn requirements into acceptance criteria
Ask Inkling Small to turn a product brief into observable checks and identify requirements that need clarification.
Draft replies from approved guidance
Give Inkling Small a customer message and the relevant policy text. Request a concise reply that makes no unsupported promises.
Update a forecast
Ask Inkling Small to estimate the probability of a clearly defined event from dated evidence and explain what would change the estimate.
Rewrite multilingual messages
Use Inkling Small to rewrite a message in a requested language while preserving names, dates, numbers, and the intended tone.
More on Inkling Small and Grok Build
Overview
Inkling Small in other agents
More Grok Build guides
Questions about Inkling Small in Grok Build
Can Grok Build use Inkling Small?
Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run Inkling Small like any built-in tool.
How much does Inkling Small cost in Grok Build?
Up to $0.006411 per run at the default inputs. $0.585 per 1M input tokens, $1.56 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 Small in Grok Build?
No. Spiral runs Inkling 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 Small in Grok Build?
About two minutes: add the server, then sign in, then check it.
Does Grok Build wait while Inkling Small runs?
Inkling 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 Small good at?
Coding and reasoning are clear strengths in the maker’s evaluations. Try it for debugging, reviewing an implementation, or working through a specification with several constraints.
How does Inkling Small compare with Inkling?
Inkling Small surpassed Inkling on the maker’s reasoning and agentic coding benchmarks. Inkling retained an advantage in knowledge coverage and factuality, so the better choice depends on the task.
How much context can Inkling Small handle?
The maker specifies up to 1 million tokens of context. Treat that as context capacity, not a promised answer length, and give the model a focused question about the material.
Does Inkling Small support languages other than English?
Yes. The maker describes general multilingual support and support for multiple programming languages; check its output with examples from your intended language and task.
When should I increase thinking effort?
Try more thinking effort for difficult debugging or reasoning tasks, then compare results on representative examples. Higher effort can need more room for generation and does not guarantee a better answer.
Start using Inkling 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 https://spiral.ai/SKILL.md


