# OpenRouter Models & Pricing Scraper — $2/1K, Price Changes (`northbell/openrouter-models-pricing-scraper`) Actor

Every model on OpenRouter with prompt and completion price per million tokens, context length, modalities and parameters — plus exactly which models are new, removed or changed price since your last run. Public API, no key.

- **URL**: https://apify.com/northbell/openrouter-models-pricing-scraper.md
- **Developed by:** [Northbell](https://apify.com/northbell) (community)
- **Categories:** AI, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 entries

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## OpenRouter Models & Pricing Scraper

Every model OpenRouter lists — `anthropic/claude-*`, `openai/*`, `google/*`, open-weight models and the rest — with **prompt and completion price per million tokens**, cache price, context length, max output, input/output modalities and supported parameters.

Run it on a schedule and it tells you **exactly what changed since the last run**: new models, removed models, and every price or context change as `{ field, from, to }`.

### Use it for

- **LLM cost tracking** — alert when a model you use changes price
- **Model launch monitoring** — see new models the day they appear
- **Price comparison tables** for newsletters, dashboards and internal tools

### Notes

- Prices are converted from OpenRouter's per-token strings to **dollars per million tokens** (the unit everyone quotes).
- Router models with variable pricing (e.g. `openrouter/auto`) report `-1` upstream; that becomes `null`, never `0`. `isFree` is true only when both prices are exactly 0.

### Example output

One real row from a test run (long text shortened here with …). On later runs `changes` lists what moved, as `{ field, from, to }`.

```json
{
  "type": "item",
  "source": "openrouter",
  "modelId": "perceptron/perceptron-mk1.5",
  "name": "Perceptron: Perceptron Mk1.5",
  "provider": "perceptron",
  "createdAt": "2026-09-25T16:11:01.000Z",
  "contextLength": 36864,
  "maxCompletionTokens": 8192,
  "inputModalities": [
    "text",
    "image",
    "video",
    "audio"
  ],
  "outputModalities": [
    "text"
  ],
  "promptPricePerMTok": 0.15,
  "completionPricePerMTok": 1.5,
  "cacheReadPricePerMTok": null,
  "webSearchPricePerCall": null,
  "isFree": false,
  "supportedParameters": [
    "frequency_penalty",
    "include_reasoning",
    "max_tokens",
    "presence_penalty",
    "reasoning",
    "reasoning_effort",
    "…"
  ],
  "knowledgeCutoff": null,
  "expirationDate": null,
  "huggingFaceId": null,
  "description": "Perceptron Mk1.5 is Perceptron's embodied reasoning model for physical agents. It accepts text, image, video, and audio input, and answers with text plus option…",
  "url": "https://openrouter.ai/perceptron/perceptron-mk1.5",
  "isNew": null,
  "changes": []
}
```

### Pricing

**$2.00 per 1,000 entries**, plus $0.01 per run. Removed-entry rows and errors are free. Use **Max entries** and **Only what is new or changed** to keep a scheduled run cheap.

### For AI agents

Rows have `type`: `item`, `removed` or `error`. `isNew: null` means "no previous run to compare with", not "old". `changes` is a list of `{ field, from, to }`.

### More from northbell

Job boards with exact new/closed tracking: [Greenhouse](https://apify.com/northbell/greenhouse-jobs-scraper) · [Lever](https://apify.com/northbell/lever-jobs-scraper) · [Ashby](https://apify.com/northbell/ashby-jobs-scraper) · [Workday](https://apify.com/northbell/workday-jobs-scraper) · [AI companies](https://apify.com/northbell/ai-jobs-scraper).

# Actor input Schema

## `keywords` (type: `string`):

Comma-separated. Keep only entries whose name, id or description contains any of these. The new/changed/removed comparison still uses the whole catalog.

## `output` (type: `string`):

Schedule this Actor and pick "Only what is new or changed" to get a cheap daily diff. The first run always returns everything (there is nothing to compare with yet).

## `trackChanges` (type: `boolean`):

Keeps the last catalog so the next run can report new, changed and removed entries exactly.

## `maxItems` (type: `integer`):

Caps what you are charged for. The comparison still uses the full catalog. $2.00 per 1,000 entries.

## Actor input object example

```json
{
  "output": "all",
  "trackChanges": true,
  "maxItems": 100000
}
```

# Actor output Schema

## `all` (type: `string`):

No description

## `items` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("northbell/openrouter-models-pricing-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("northbell/openrouter-models-pricing-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call northbell/openrouter-models-pricing-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,northbell/openrouter-models-pricing-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Hq5v2MvdlyuYNnsFS/builds/u76iMznhVLTsNrUue/openapi.json
