Artificial Intelligence tools are becoming increasingly useful for data analysts, Python developers, software engineers, business intelligence professionals and content creators. However, working with different AI models often means switching between multiple platforms, managing different subscriptions and handling separate API credentials.
What if you could access multiple AI models from a single application using just one API key?
In this tutorial, we will explore how to connect multiple AI models using OpenRouter and Cherry Studio. We will configure OpenRouter as our model provider, add multiple models and use Cherry Studio’s Default Assistant to interact with different models.
The best part is that you don’t need to purchase separate API subscriptions for every model. You can use the same OpenRouter API key, although individual model usage may incur charges depending on the model you select.
1. Understanding OpenRouter and Cherry Studio
Before configuring everything, let’s understand the two applications.
What is OpenRouter?
OpenRouter is an AI model routing platform that provides access to multiple AI models through a unified API. Instead of integrating separate APIs for different providers, developers can use one API key to access supported models.
Depending on availability, you can access models from providers such as OpenAI, Google, Anthropic, Meta and Qwen.
Some models have free usage options, while others require credits.
What is Cherry Studio?
Cherry Studio is a desktop application that allows users to interact with different AI models through a single interface.
It supports multiple model providers, custom assistants, conversations and other productivity features.
For this tutorial, we will use Cherry Studio as our AI interface and OpenRouter as our model provider.
2. Create an OpenRouter Account
Our first task is to create an OpenRouter account.
Follow these steps:
- Visit https://openrouter.ai/.
- Register using your email or supported login method.
- Sign in to your dashboard.
- Navigate to the API Keys section.
- Click the option to create a new API key.
- Give your key a suitable name, such as Cherry Studio.
- Generate the API key.
- Copy and securely save it.
Your API key is an important credential. Anyone who obtains access to it may be able to use your OpenRouter account and consume your available credits.
Never share your API key publicly or display it in a screen recording.
3. Configure OpenRouter in Cherry Studio
Once your API key is ready, open Cherry Studio.
Follow these steps:
- Launch Cherry Studio.
- Open Settings.
- Navigate to Model Service Provider.
- Find OpenRouter in the available providers.
- Select OpenRouter.
- Paste your API key into the API Key field.
- Save the configuration.
- Use the Check or Verify option if available to test the connection.
Once configured successfully, Cherry Studio can communicate with OpenRouter using your API key.
You don’t need to generate separate API keys for every model.
4. Add Multiple AI Models
Now comes the interesting part.
We want to add multiple models under the same OpenRouter provider.
Follow these steps:
- Open Settings.
- Navigate to Model Service Provider.
- Select OpenRouter.
- Find the Manage Models section.
- Click Add Model.
- Search for the AI model you want.
- Add the selected model.
- Repeat the process for other models.
- Save your configuration.
For demonstration purposes, you can select models from different providers.
Some examples include:
- Google Gemini models.
- Meta Llama models.
- Qwen models.
- OpenAI models.
- Anthropic Claude models.
Model availability changes over time. Some models may require prepaid credits, while others may have free access with usage restrictions.
Once added, these models become available through your configured OpenRouter provider.
5. Start Using Multiple Models in Cherry Studio
After adding your models, return to the main Cherry Studio interface.
You will find the Default Assistant, where you can create and manage conversation topics.
For this tutorial, we will use the Default Assistant rather than creating a separate custom assistant.
Follow these steps:
- Open Default Assistant.
- Create a new topic.
- Find the model selector.
- Select your first OpenRouter model.
- Enter a prompt and submit it.
- Wait for the response.
- Create another topic or switch the selected model.
- Submit the same prompt using another model.
You can now compare responses from different AI models without changing applications or generating separate API credentials.
6. Sample Prompts for Data Analysts and Developers
To demonstrate this workflow effectively, generic questions are not particularly useful.
Instead, use practical prompts related to programming, data analytics, SQL and business intelligence.
Here are three prompts you can try.
Prompt 1: Retail Sales Data Analysis
You are a Senior Data Analyst.
A retail company has collected 100,000 sales transactions containing order dates, customer information, product categories, quantities, unit prices, discounts, regions and revenue.
Perform the following tasks:
- Explain how you would approach this dataset using Python and Pandas.
- Identify five important business KPIs.
- Suggest six meaningful data visualisations.
- Write SQL queries to calculate monthly revenue, top-selling products and regional sales performance.
- Explain how you would design a Power BI dashboard for senior management.
- Identify possible data quality issues and explain how to resolve them.
- Recommend three actionable business insights.
Include practical Python and SQL code wherever appropriate. Explain your reasoning and assumptions.
This prompt helps you evaluate how different models approach business problems, recommend KPIs and generate analytical code.
Prompt 2: Python Programming and Debugging
Act as a Senior Python Developer.
I am developing a Python application that reads sales data from CSV files, cleans the records, calculates monthly revenue and exports summary reports to Excel.
Help me design this application.
Include:
- Recommended project folder structure.
- Python libraries required.
- Complete working Python code.
- Error handling and logging.
- Data validation techniques.
- Performance improvements for large datasets.
- Instructions to execute the application.
Write clean, maintainable code and explain each important function.
You can use this prompt to compare how different models generate Python code and explain programming concepts.
Prompt 3: SQL Query Optimization
Act as a Senior SQL Developer and Database Performance Expert.
I have a database containing customers, orders, products, order details and employees.
I need SQL queries to analyse business performance.
Create queries for:
- Total revenue by month.
- Top 10 customers by revenue.
- Best-performing products.
- Employee-wise sales performance.
- Year-over-year revenue comparison.
- Running monthly revenue totals.
Explain the joins, aggregations, window functions and indexing recommendations.
Use standard SQL where possible and mention any database-specific syntax.
These prompts provide practical demonstrations for data analysts, database developers and programming professionals.
7. Compare Responses from Different AI Models
Now that we have multiple models configured, we can perform a simple comparison.
Choose one of the sample prompts and submit it to your first model.
Next, select another model and submit exactly the same prompt.
Evaluate the responses using the following parameters:
| Evaluation criteria | What to check |
|---|---|
| Code quality | Is the generated code readable and functional? |
| Accuracy | Are the calculations and explanations correct? |
| SQL knowledge | Are joins and aggregations appropriate? |
| Problem-solving | Does the model understand the business requirement? |
| Explanation | Is the response easy to understand? |
| Completeness | Does it address all requirements? |
Remember that a longer response does not necessarily mean a better response. Always test generated code and verify important calculations before using them in real projects.
8. Important Things to Remember
Although OpenRouter provides a unified API, there are a few things you should understand.
One API key does not mean unlimited free usage.
Your OpenRouter API key provides access to supported models, but each model can have different pricing and usage restrictions.
Different models have different capabilities.
Some models are particularly useful for programming, while others may perform better at reasoning, document analysis or general conversations.
Monitor your API usage.
Keep an eye on your OpenRouter account’s activity and credit consumption. This is particularly important when testing multiple models repeatedly.
Protect your API key.
Never publish your API key in tutorials, screenshots, public repositories or application source code.
Conclusion
Connecting multiple AI models using one OpenRouter API key in Cherry Studio is a practical way to simplify your Artificial Intelligence workflow.
Instead of managing different applications and separate API integrations, you can configure one provider, add multiple models and interact with them through Cherry Studio’s Default Assistant.
For data analysts, this means comparing models for Python programming, SQL queries, business intelligence and data analysis. For developers, it provides an opportunity to evaluate different models for debugging, application development and technical problem-solving.
The real advantage is flexibility. You can experiment with different AI models, compare their responses and identify which model works best for your particular requirements.
Start with a few models, test them using the same prompts and gradually build your own AI-powered development and analytics workspace.
