# OpenRouter Alternative: Bulk LLM Prompts, ChatGPT Alternative (`bulkleads/openrouter-alternative-bulk-llm`) Actor

Run thousands of prompts through the open gpt-oss-20b model and get one answer per prompt, in your order. All prompts run at once, so 500 take about as long as one. JSON answers, a system prompt and reasoning effort are supported. $0.0285 per 1M tokens read and $0.1235 per 1M written.

- **URL**: https://apify.com/bulkleads/openrouter-alternative-bulk-llm.md
- **Developed by:** [bulkleads](https://apify.com/bulkleads) (community)
- **Categories:** AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.12 / 1,000 1,000 output tokens

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/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 Alternative: Bulk LLM Prompts** runs your prompts through **gpt-oss-20b**, OpenAI's open-weight model, and gives you one answer per prompt, in your order. Paste hundreds or thousands of prompts, one per line, click Start, and get a dataset of answers. All of a run's prompts are sent at once, so 500 prompts take about as long as one. It costs **$0.0285 per 1M input tokens and $0.1235 per 1M output tokens**.

### What can I use a bulk LLM runner for?

- **Personalized cold email lines**: one opener or subject line per lead, from the lead's name, company and website.
- **Classifying lists**: sort companies by industry, leads by fit, replies by intent, or reviews by sentiment, one word per row.
- **Summaries**: one-line summaries of job posts, articles, product pages or support tickets.
- **Data cleanup and extraction**: pull fields out of messy text as JSON, normalize names and titles, translate rows.
- **Research at scale**: ask the same question about every company, product or keyword in a list.

### What does each answer include?

- `id` (your id, or the prompt's line number) and the `prompt`
- `answer`: the model's reply (a JSON object as text when **Answer in JSON** is on)
- `reasoning`: the model's short thinking before it answered
- `input_tokens` and `output_tokens`: what the answer was charged on
- `status`: `answered` or `failed` (with an `error`); failed prompts are free

### How to run prompts in bulk

1. Put your prompts in **Prompts**, one per line. Through the API you can also send a list of objects: `{"id": "lead-17", "prompt": "...", "system": "..."}`.
2. Add a **System prompt** if every prompt shares the same instructions, for example *You are a B2B copywriter. Answer in under 40 words.*
3. Pick **Reasoning effort** (low is fastest and cheapest), **Max tokens per answer** and **Temperature**, and turn on **Answer in JSON** if you want structured output.
4. Click **Start**.

A prompt is the whole line, commas included. Prompts can be up to 24,000 characters each, and a run takes up to 100,000 prompts. A prompt and its answer together must fit the model's 8,192-token window (about 6,000 words); a prompt too long for it comes back `failed`, free.

### Output example

```json
{
  "id": "2",
  "prompt": "Classify stripe.com (information technology & services, 12,000 employees) as one of: SaaS, Fintech, E-commerce, Agency, Other. Answer with one word.",
  "status": "answered",
  "answer": "Fintech",
  "reasoning": "Stripe is fintech payments platform.",
  "input_tokens": 105,
  "output_tokens": 18
}
```

### How much does it cost?

**$0.0285 per 1M input tokens** (your prompt and system prompt) and **$0.1235 per 1M output tokens** (the answer and the reasoning), counted by the model's own tokenizer, plus a $0.107 start fee per run (it pays for starting the model's GPU server when it is idle). That is 95% of the model's price on OpenRouter, with no API key or account of your own. A run of 1,000 prompts like the example above (about 100 tokens in and 50 out each) costs about $0.009 in tokens plus the $0.107 start fee, so put many prompts in one run rather than one prompt per run. Failed prompts are free. Set a maximum cost per run in Apify and the run stops there.

### Which model is it?

**gpt-oss-20b**, OpenAI's open-weight model, served on our own GPUs. It handles writing, classifying, summarizing and extracting well, and its reasoning effort can be set per run. It is not ChatGPT itself and has no web access: it answers from the prompt and what it learned in training, so give it the facts it needs (a company's website text, a job post) in the prompt.

### FAQ

**Do I need an OpenAI or OpenRouter key?** No. The model runs on our servers; you pay per token through Apify.

**Why is the first answer of a run sometimes slow?** When nobody has used the model for a while, the first prompt waits for the model to load (up to a few minutes). After that, answers come in seconds, and all of a run's prompts run together.

**How do I get JSON back?** Turn on **Answer in JSON** and say in the prompt or system prompt which fields you want, for example *Answer as JSON with fields industry and size*.

**Can I keep my own ids?** Yes. Through the API, send prompts as objects with an `id`, and each answer row carries it.

**What does `failed` mean?** The model could not answer that prompt this time (for example a server error); it is not charged. Run those prompts again.

### Related actors

Leads to write to: [B2B Leads Finder](https://apify.com/bulkleads/leads-finder). Text of any website to put in a prompt: [Website Content Crawler](https://apify.com/bulkleads/website-to-markdown). Emails and phones from any website: [Contact Details Scraper](https://apify.com/bulkleads/website-contact-scraper).

# Actor input Schema

## `prompts` (type: `array`):

One prompt per line, up to 100,000 a run. Each gets its own answer, in your order. All of a run's prompts are sent at once, so 500 prompts take about as long as one.

## `systemPrompt` (type: `string`):

Instructions sent with every prompt (optional), e.g. "You are a B2B copywriter. Answer in under 40 words."

## `maxTokens` (type: `integer`):

The longest answer, in tokens (about 0.75 words each), reasoning included.

## `temperature` (type: `number`):

0 gives the most predictable answers, higher gives more varied ones.

## `reasoning` (type: `string`):

How much the model thinks before answering. Low is fastest and cheapest; high is best for hard questions.

## `jsonOutput` (type: `boolean`):

Each answer is a valid JSON object. Say in the prompt which fields you want.

## `maxPrompts` (type: `integer`):

Answer at most this many prompts from the list (optional).

## Actor input object example

```json
{
  "prompts": [
    "Write a one-line cold email opener for Austin Dental Works, a cosmetic dentist in Austin, TX (austindentalworks.com).",
    "Classify stripe.com (information technology & services, 12,000 employees) as one of: SaaS, Fintech, E-commerce, Agency, Other. Answer with one word.",
    "Summarize this job posting in one sentence: Plant Controller at StevenDouglas, Houston, TX, posted 2026-11-19.",
    "Write an email subject line under 8 words for Ronnie Fieg, Founder and CEO of Kith (kithnyc.com).",
    "Is Moss Heating, Cooling & Plumbing in Dallas, TX a residential or commercial contractor? Answer residential, commercial or both, then one sentence why.",
    "List three likely growth problems for QVC, a Shopify store in West Chester, PA with about $107M in monthly sales. One line each."
  ],
  "maxTokens": 1024,
  "temperature": 0.7,
  "reasoning": "low",
  "jsonOutput": false
}
```

# Actor output Schema

## `results` (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 = {
    "prompts": [
        "Write a one-line cold email opener for Austin Dental Works, a cosmetic dentist in Austin, TX (austindentalworks.com).",
        "Classify stripe.com (information technology & services, 12,000 employees) as one of: SaaS, Fintech, E-commerce, Agency, Other. Answer with one word.",
        "Summarize this job posting in one sentence: Plant Controller at StevenDouglas, Houston, TX, posted 2026-11-19.",
        "Write an email subject line under 8 words for Ronnie Fieg, Founder and CEO of Kith (kithnyc.com).",
        "Is Moss Heating, Cooling & Plumbing in Dallas, TX a residential or commercial contractor? Answer residential, commercial or both, then one sentence why.",
        "List three likely growth problems for QVC, a Shopify store in West Chester, PA with about $107M in monthly sales. One line each."
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bulkleads/openrouter-alternative-bulk-llm").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 = { "prompts": [
        "Write a one-line cold email opener for Austin Dental Works, a cosmetic dentist in Austin, TX (austindentalworks.com).",
        "Classify stripe.com (information technology & services, 12,000 employees) as one of: SaaS, Fintech, E-commerce, Agency, Other. Answer with one word.",
        "Summarize this job posting in one sentence: Plant Controller at StevenDouglas, Houston, TX, posted 2026-11-19.",
        "Write an email subject line under 8 words for Ronnie Fieg, Founder and CEO of Kith (kithnyc.com).",
        "Is Moss Heating, Cooling & Plumbing in Dallas, TX a residential or commercial contractor? Answer residential, commercial or both, then one sentence why.",
        "List three likely growth problems for QVC, a Shopify store in West Chester, PA with about $107M in monthly sales. One line each.",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("bulkleads/openrouter-alternative-bulk-llm").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 '{
  "prompts": [
    "Write a one-line cold email opener for Austin Dental Works, a cosmetic dentist in Austin, TX (austindentalworks.com).",
    "Classify stripe.com (information technology & services, 12,000 employees) as one of: SaaS, Fintech, E-commerce, Agency, Other. Answer with one word.",
    "Summarize this job posting in one sentence: Plant Controller at StevenDouglas, Houston, TX, posted 2026-11-19.",
    "Write an email subject line under 8 words for Ronnie Fieg, Founder and CEO of Kith (kithnyc.com).",
    "Is Moss Heating, Cooling & Plumbing in Dallas, TX a residential or commercial contractor? Answer residential, commercial or both, then one sentence why.",
    "List three likely growth problems for QVC, a Shopify store in West Chester, PA with about $107M in monthly sales. One line each."
  ]
}' |
apify call bulkleads/openrouter-alternative-bulk-llm --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bulkleads/openrouter-alternative-bulk-llm"
        }
    }
}
```

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/JfxKOH6n2Qxlhit6t/builds/bOeVAvqT29fDWlKdG/openapi.json
