OpenRouter - Unified LLM Interface for ChatGPT, Claude, Gemini
by xyzzy
Use the OpenRouter platform to choose the best and most cost effective model for your prompts utilizing a standardized interface (including ChatGPT, C...
Opens on Apify.com
About OpenRouter - Unified LLM Interface for ChatGPT, Claude, Gemini
Use the OpenRouter platform to choose the best and most cost effective model for your prompts utilizing a standardized interface (including ChatGPT, Claude, Gemini, Llama, Mistral, and more). See instructions for creating an OpenRouter account and API key.
What does this actor do?
OpenRouter - Unified LLM Interface for ChatGPT, Claude, Gemini is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
Migration Notice (July 28, 2025) Please switch to Apify's official OpenRouter actor (no OpenRouter API key needed) This actor will continue to be maintained and supported until all current users have migrated. However, the monthly rental price will increase. --- ## OpenRouter - A Unified Interface for LLMs This Apify Actor integrates with OpenRouter, providing access to a diverse array of Large Language Models (LLMs). ### Recommended Use Cases The OpenRouter Actor can be used in the Apify console or programmatically via the Apify api. - Integration with Other Apify Actors: Use web scraping to collect data and prepare it as training or input data for LLM applications. - Clay Users: From within Clay, generate personalized text for a company or contact, conduct company research, determine the ideal customer persona for a company, and more. - General Integration with LLMs: Suitable for any use case requiring LLM interaction, whether from another Apify actor or an external application. ### Single-Turn Requests This actor supports single-turn messages due to their simplicity and broad applicability for Apify use cases. Multi-message dialog requests are not supported. However, you may send an array of messages to be processed individually which will use the same model parameters for each message. ### Inputs Review the OpenRouter documentation for more detail on specific parameters, supported models, and links to individual model specifications. #### Required Inputs: - api_key: Your OpenRouter API key. Encrypted and only used by the Actor at runtime. - messages: An array of messages to process individually. - model: Model specification (e.g., openai/gpt-4o, google/gemini-flash-1.5, cohere/command-r-plus). Defaults to openrouter/auto. #### Optional Parameters: - max_tokens: Maximum number of tokens for the model response - response_format: Response format type if not text (note: only option is json_object which is not supported by all models) - stop: Stop sequence for the model - temperature: Sampling temperature - top_p: Nucleus sampling probability threshold - top_k: Top-k sampling value - frequency_penalty: Frequency penalty - presence_penalty: Presence penalty - repetition_penalty: Repetition penalty - seed: Random seed for reproducibility ### Example Inputs #### Example: Determine the Ideal Customer Persona (ICP) for a Company - Scenario: Given details about a company (e.g., from LinkedIn), determine the Ideal Customer Persona (ICP) for the company. ```json { "api_key": "your-openrouter-api-key", "messages": [ "Your task is to determine the ideal customer persona (ICP) for a company based on their LinkedIn profile. An ICP is a hypothetical description of the type of customer that would be a perfect fit for the company's products or services. Here is the company's description: Apify is a full-stack web scraping and browser automation platform that lets you extract data from websites and automate workflows on the web. Describe the company's ICP in less than 100 words. Only output the description and no summary text, headings, or other markup." ], "model": "openrouter/auto" }
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try OpenRouter - Unified LLM Interface for ChatGPT, Claude, Gemini now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- xyzzy
- Pricing
- Paid
- Total Runs
- 3,254,861
- Active Users
- 39
Related Actors
Google Search Results Scraper
by apify
Website Content Crawler
by apify
🔥 Leads Generator - $3/1k 50k leads like Apollo
by microworlds
Video Transcript Scraper: Youtube, X, Facebook, Tiktok, etc.
by invideoiq
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support