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

dots · LLM

How to Use OpenRouter in dots

To use OpenRouter in dots, connect Spiral to dots once, then ask for what you want in plain words. dots can then reach all 270 OpenRouter tools on Spiral, priced per run from one balance.

Prompts to try with OpenRouter in dots

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

Every Monday at 9am: ask OpenRouter through Spiral to review the diff on this branch and list the three riskiest changes.

OpenRouterdots
Try asking
  • Get a second opinion from OpenRouter on this function, then tell me what the call cost.

  • Summarize these release notes with OpenRouter in five bullet points.

  • Ask OpenRouter to review this plan and list the three biggest risks, with a fix for each.

  • Compare OpenRouter with my current model on this prompt and tell me which answer is better and what each cost.

How to set up OpenRouter in dots

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

Use the Spiral skill

  1. Send dots 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 Spiral's MCP server

  1. Create an API key

    In the console, open API keys and create a key for your dot. Copy it.

  2. Send your dot this message

    Your dot reads Spiral's skill and asks for your API key.

    set up https://spiral.ai/SKILL.md
  3. Give your dot the key

    When your dot asks for the key, add it where your dot keeps secrets, never in the chat itself.

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 OpenRouter

    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": "meta-llama/llama-4-maverick",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: dots finds OpenRouter on Spiral, shows the price and runs it.

OpenRouter tools you can run in dots

3

Ready to run from dots: today's price, with every fee included.

OpenRouterLLM
Meta: Llama 4 Maverick
meta-llama/llama-4-maverick
OpenRouterLLM
MoonshotAI: Kimi K2.6
moonshotai/kimi-k2.6
OpenRouterLLM
DeepSeek: DeepSeek V4 Flash 0731
deepseek/deepseek-v4-flash-0731

What can you do with OpenRouter in dots?

dots can answer, write and review code with OpenRouter while you're away, on a schedule or when something happens, and message you the result.

Second opinions

Have another model review a diff or a plan before you commit to it.

Cheaper bulk work

Send summaries, tagging and rewrites to a smaller model and keep your agent's own model for hard steps.

Models your agent lacks

Reach open and frontier models your agent's vendor does not offer.

Long documents

Summarize reports and contracts too long to read in one sitting.

Long documents

Send a long spec or contract to a model with a large context window.

Structured output

Turn messy notes into JSON your code can read.

Questions about OpenRouter in dots

Can dots use OpenRouter?

Yes. Add Spiral to dots as an MCP server, and dots can find and run OpenRouter like any built-in tool.

How much does OpenRouter cost in dots?

Each tool has its own price, for example Meta: Llama 4 Maverick: Up to $0.005342 per run at the default inputs. $0.455 per 1M input tokens, $1.30 per 1M output tokens; MoonshotAI: Kimi K2.6: Up to $0.018189 per run at the default inputs. $0.845 per 1M input tokens, $4.433 per 1M output tokens; DeepSeek: DeepSeek V4 Flash 0731: Up to $0.001601 per run at the default inputs. $0.05642 per 1M input tokens, $0.39 per 1M output tokens. You pay per run from one Spiral balance, and failed runs are free.

Do I need an OpenRouter account to use OpenRouter in dots?

You need no OpenRouter account. dots uses one Spiral API key for every tool, and Spiral runs OpenRouter on its own OpenRouter account.

How long does it take to set up OpenRouter in dots?

About two minutes: create an API key, then send your dot this message, then give your dot the key.

Does dots wait while OpenRouter runs?

OpenRouter runs in the background. dots starts the run, checks on it and gives you the text, json when it's ready.

Why call OpenRouter from dots?

For a second opinion, a cheaper model for bulk work, or a model your agent doesn't offer. Your agent calls OpenRouter through Spiral and pays only for the tokens used.

Which OpenRouter tools can dots use?

dots can reach all 270 OpenRouter tools on Spiral, covering LLM. Popular ones include Meta: Llama 4 Maverick, MoonshotAI: Kimi K2.6, and DeepSeek: DeepSeek V4 Flash 0731. Ask for one by name, or describe the task and dots picks a fitting tool.

Can dots compare OpenRouter tools?

Yes. Ask dots to run the same request on two OpenRouter tools and show both results with what each cost. Each run is priced and billed on its own.

What happens if a OpenRouter run fails in dots?

It is not charged. Spiral holds the estimated price when the run starts and returns it to your balance if the run fails on Spiral's side or the provider's. dots gets the error and can retry or try another tool.

Is there a OpenRouter subscription or plan?

No. Spiral is pay as you go from one prepaid balance, with no plans or minimums, and credits never expire. Auto top-up keeps dots from stopping when the balance runs low.

Get started

Start using OpenRouter in dots

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

Paste this into dots:

Set up dots

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