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

Cline · Developer

How to Use OpenRouter documentation page in Cline

Returns an OpenRouter documentation page covering model behavior, API contracts, or data policies. Use it to check the documented meaning of a capability or metric before interpreting catalog results.

Prompts to try with OpenRouter documentation page in Cline

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

Use OpenRouter documentation page to read https://openrouter.ai/docs/guides/overview/models and check our model selector's interpretation of context limits.

OpenRouter documentation pageCline
Try asking
  • Use OpenRouter documentation page to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from OpenRouter documentation page and tell me what changed since last week.

  • Check OpenRouter documentation page and summarize what you find in three bullet points.

  • Pull the newest data from OpenRouter documentation page and give me the result as a table.

How to set up OpenRouter documentation page in Cline

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

Use Spiral's MCP server

  1. Add the server

    In the Cline panel, click the MCP Servers icon and open the Remote Servers tab. Enter:

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

    Open the Configure tab and click Authenticate on the Spiral server. Sign in to Spiral, pick the organization and click Authorize. No API key.

  3. Check it

    Spiral shows as connected on the Configure tab. In the CLI:

    cline config mcp

Use the Spiral skill

  1. Send Cline 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 OpenRouter documentation page

    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": "alexandria",
        "model": "openrouter-ai/model-marketplace/get_docs_page",
        "input": {
          "path": "<path>"
        }
      }'

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

OpenRouter documentation page providers and prices

Spiral runs OpenRouter documentation page through Alexandria. Open a card for today's price, with every fee included.

AlexandriaDeveloper
OpenRouter · Get docs page
openrouter-ai/model-marketplace/get_docs_page

Settings you can ask for

Ask Cline for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Max chars200 to 2000000

Truncate content to this many characters (recorded examples use it; the full page is returned when omitted).

Every API field of OpenRouter · Get docs page is on its tool page: open its card above.

What can you do with OpenRouter documentation page in Cline?

Build a model selection report around the requirements in your project. An agent can compare OpenRouter catalog evidence with your document sizes and output needs, then identify candidates for testing.

Review an author's model lineup

Compare Anthropic's listed models, inspect individual specifications and pricing data, and use OpenRouter documentation to interpret the differences.

Investigate slow model responses

Compare serving endpoint measurements and model statistics, review the latency definitions, and consult the provider directory to identify the organizations behind the serving endpoints.

Maintain an internal model comparison

Refresh a shortlist with published specifications, pricing data, usage statistics, and serving endpoint measurements. Use the documentation to keep metric definitions consistent.

Prepare a provider policy review

Read OpenRouter's policy documentation, review its provider directory, find candidate models, and inspect the specific serving endpoints before preparing questions for a policy review.

Write a model selection brief

Combine catalog search, an author's listed models, pricing data, usage statistics, provider policies, and documentation into a source-based brief for a product team.

Questions about OpenRouter documentation page in Cline

Can Cline use OpenRouter documentation page?

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

How much does OpenRouter documentation page cost in Cline?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Cline plan is separate.

Do I need an Alexandria account to use OpenRouter documentation page in Cline?

No. Spiral runs OpenRouter documentation page on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up OpenRouter documentation page in Cline?

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

Does Cline wait while OpenRouter documentation page runs?

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

Does OpenRouter's default model list cover every output type?

The documented default list covers text generation. OpenRouter also documents a broader listing across all modalities, including image, video, text, and speech.

How quickly does OpenRouter update model information?

OpenRouter says it publishes model information as soon as it confirms it. That statement does not establish a fixed hourly or daily refresh schedule.

What time period do performance measurements cover?

The routing guide describes rolling five-minute percentiles, while the endpoint response schema defines latency percentiles over 30 minutes. These are different measurement windows, so comparisons need to use the same window.

Does the context window apply only to the input?

Input and output share the context window. A long input therefore reduces the space available for the response, even when the model lists a larger maximum output ceiling.

Are OpenRouter's coding and agentic benchmark fields still populated?

The current schema says Artificial Analysis retired its Coding Index and Agentic Index. Both fields are null for every model.

Get started

Start using OpenRouter documentation page in Cline

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

Paste this into Cline:

Set up Cline

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