Openrouter Ai Models Catalog Scraper
Pricing
from $3.99 / 1,000 results
Openrouter Ai Models Catalog Scraper
Scrape OpenRouter LLM models with prompt/completion pricing, context windows, max output tokens, and endpoint details. Easily filter zero-cost models or search by model name, then download your dataset as JSON, CSV, or Excel.
Pricing
from $3.99 / 1,000 results
Rating
0.0
(0)
Developer
Kawsar
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
OpenRouter AI Models Catalog Scraper: LLM models with pricing and context
This OpenRouter models catalog scraper extracts LLM pricing, context length, and provider endpoints into structured data. Export your datasets effortlessly as JSON, CSV, or Excel.
Because AI model catalogs update whenever providers release new models or adjust pricing, this tool lets you pull fresh, real-time data whenever you need it instead of relying on outdated static sheets.
Use cases
- Price checks: Compare prompt and completion costs per token before switching model setups in production.
- Context windows: Keep detailed track of context lengths and maximum output limits alongside model IDs.
- Provider coverage: Track which providers serve specific models (like
openai/gpt-4o). - Free models: Filter and extract only models that cost nothing for prompt and completion.
- Spreadsheets: Easily clean, filter, and export catalog datasets into CSV or Excel formats.
- Scheduled refresh: Set up automated runs so your project quotes and benchmarks always stay accurate.
What this actor collects
You can run the actor in two main modes:
- Full model catalog (
catalog): Collects all available models, display titles, context limits, pricing, and specs. - Provider endpoints per model (
endpoints): Collects precise provider configurations and endpoints for specific model IDs.
Catalog rows use the model ID as the primary key. Endpoint rows combine the model ID with provider tags so multiple providers for the same model appear clearly. Duplicate IDs inside a single run are automatically deduplicated.
The dataset field for model descriptions is named model_description.
Input
| Parameter | Type | Default | Description |
|---|---|---|---|
mode | string | catalog | Choose between the full catalog or specific model endpoints. |
modelIds | array | openai/gpt-4o | Model IDs to check. Used in endpoints mode. |
filterText | string | empty | Case-insensitive match on model ID or display name. |
freeOnly | boolean | false | Keep only models where prompt and completion prices are zero. |
maxItems | integer | 100 | Maximum rows to return per run. Hard cap at 1000. |
requestDelaySecs | number | 1 | Delay between consecutive requests. |
userAgent | string | kawsar research UA | User-Agent string for outgoing calls. |
timeoutSecs | integer | 300 | Total run timeout in seconds. |
requestTimeoutSecs | integer | 30 | Per-request timeout limit. |
proxyConfiguration | object | Off | Optional proxy setup if direct connections are restricted. |
Example input
{"mode": "catalog","filterText": "claude","freeOnly": false,"maxItems": 100,"requestDelaySecs": 1,"userAgent": "KawsarActorResearch/1.0 (contact: research@kawsar.com)","timeoutSecs": 300,"requestTimeoutSecs": 30,"proxyConfiguration": { "useApifyProxy": false }}
For endpoints mode, set mode to endpoints and pass target model IDs in modelIds (e.g., ["openai/gpt-4o"]).
Output
{"id": "stepfun/step-5-preview","name": "StepFun: Step 5 Preview","created": 1791462849,"context_length": 1000000,"modality": "text+image+video->text","price_prompt_per_token_usd": "0.000001","price_completion_per_token_usd": "0.0000027","max_completion_tokens": 64000,"supported_parameters": ["frequency_penalty", "include_reasoning"],"hugging_face_id": null,"model_description": "Step 5 Preview is StepFun's flagship model for agentic work.","scraped_at": "2026-10-12T00:00:00+00:00"}
| Field | Type | Description |
|---|---|---|
id | string | Model ID. |
name | string | Model display name. |
created | integer | Unix creation timestamp. |
context_length | integer | Context window capacity in tokens. |
modality | string | Supported modalities (e.g. text+image->text). |
price_prompt_per_token_usd | string | Cost per prompt token in USD. |
price_completion_per_token_usd | string | Cost per completion token in USD. |
max_completion_tokens | integer | Maximum output tokens permitted. |
supported_parameters | array | Parameters accepted by the model. |
hugging_face_id | string | Hugging Face repository reference if available. |
model_description | string | Model description and capabilities. |
provider_name | string | Provider serving the model (endpoints mode). |
endpoint_name | string | Endpoint designation (endpoints mode). |
endpoint_tag | string | Short provider identifier tag. |
quantization | string | Model quantization details if applicable. |
scraped_at | string | UTC timestamp when data was retrieved. |
error | boolean | Set to true if a request encountered an error. |
status | integer | Response status code. |
message | string | Detailed message if a step failed. |
If a request runs into an issue, the run continues seamlessly while creating an informative error row containing the status and error details.
How it works
- Reads your execution parameters and verifies selected modes.
- Sends requests using your specified User-Agent header, pausing for
requestDelaySecsbetween calls. - Handles unexpected standard rate spikes or intermittent server issues with standard exponential backoff retries.
- Cleans and normalizes fields, applies local text/price filters, removes duplicate entries, and respects your
maxItemstarget. - Saves data in structured output batches for fast, reliable delivery.
Pricing
You pay Apify standard platform compute fees for running this tool. Proxy usage is disabled by default and only incurs costs if you choose to turn it on.
Limits & Usage Guidelines
- Keep the default pause delay intact to ensure smooth, respectful requests.
- Individual providers manage access to their respective AI models. Please review relevant provider policies before redistributing model summaries or descriptions.
- This tool is independently developed by Kawsar and is not affiliated with or endorsed by any AI model provider.
FAQ
Can I extract only free models?
Yes. Enable freeOnly in your input settings. The scraper will filter for models where both prompt and completion costs are zero.
What happens if a model ID is misspelled or invalid? The tool records an error row with the failure details and continues fetching the rest of your requested model list without crashing.
How many records can I save in a single run?
The default maxItems setting is 100, expandable up to 1000 items per run. Ensure you adjust timeoutSecs accordingly when pulling larger datasets.
Do I need a proxy to run this scraper? No. Proxies are turned off by default. You can run the tool directly without enabling proxy settings.
Trademark Notice
All model names, logos, and trademarks mentioned in this documentation belong to their respective owners. Their use here is purely for identification purposes and does not imply affiliation, sponsorship, or endorsement.
Disclaimer
This Actor is an independent tool developed by kawsar. All data is collected from publicly accessible sources. Users are responsible for complying with relevant usage terms, licensing, and attribution guidelines.
Is web scraping legal?
This Actor only collects publicly available data without requiring user credentials or bypassing access restrictions. Scraping public data is standard practice, but how you handle the data matters:
- Personal data: If your results include personal data (such as contact information or profile details), privacy laws like GDPR or CCPA may apply. Only collect and store personal data when you have a valid legal basis.
- Copyright: Content such as long text passages or proprietary descriptions may be copyrighted. Ensure you don't republish copyrighted text without permission.
- Terms of use: Respect rate limits, site guidelines, and non-commercial usage rules.
- Legal advice: This documentation provides general information, not legal advice. Consult a legal expert if you have specific regulatory questions.
To learn more, check out Apify's comprehensive guide: Is web scraping legal?