Bulk LLM Runner: AI Prompt for Every Row, JSON Output, No Key
Pricing
from $2.10 / 1,000 row processed, gpt-oss 20bs
Bulk LLM Runner: AI Prompt for Every Row, JSON Output, No Key
Run one AI prompt over hundreds of rows from a list or a dataset. Classify, extract, summarize, translate or enrich every row with GPT-OSS and get strict JSON with your own fields, in input order. Try it with no key, or use your own free Groq key for $0.001 per row.
Pricing
from $2.10 / 1,000 row processed, gpt-oss 20bs
Rating
0.0
(0)
Developer
Rod Services
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
2
Monthly active users
10 days ago
Last modified
Categories
Features
Share
Bulk LLM runner: run one AI prompt over hundreds of rows and get one clean JSON result per row. No API key needed to try it. Classify, extract, summarize, translate, tag or enrich a list, a CSV export or the dataset of any scraper run. You name the output fields, the model fills them for every row, in input order. From $0.001 per row with your own free Groq key.
What does Bulk LLM Runner do?
You write the prompt for one row and use {{field}} to insert the row's data. The Actor runs it for every row with a hosted open-weight model (GPT-OSS 20B or 120B on Groq) and saves one result per row:
- Strict JSON output. List the fields you want, such as
sentimentandreason, or give a full JSON schema. Every answer follows it. - Rows from anywhere. Paste rows as JSON, as plain text lines, or pick the dataset of an earlier run, for example a scraper or a CRM export.
- Same order as the input, with the input row copied next to each result, so results join back easily.
- Fast. 10 rows run in parallel. A typical row takes 1 to 3 seconds.
- No API key, no account at an AI provider. Bring your own Groq, OpenAI or OpenRouter key if you want any other model.
Typical uses:
- Sentiment and topic tagging of reviews, tickets, survey answers or comments.
- Data extraction from messy text: company name, city, price, dates, into typed fields.
- Lead enrichment and scoring of scraped company or job rows.
- Summaries and translations of product descriptions or articles.
- AI agents. One predictable JSON schema per row, callable through the Apify API or MCP.
How to use it
- Open the Input tab.
- Write the Prompt for each row, with
{{field}}where the row's data goes. Plain text rows are{{text}}. - Paste Rows, or pick a Dataset with rows.
- Add the Output fields you want, for example
sentiment,reason. - Press Start. Open the Output tab when the run finishes. Download as JSON, CSV, Excel or HTML.
From code, one request returns the results:
curl -X POST "https://api.apify.com/v2/acts/rod_analytics~bulk-llm-runner/run-sync-get-dataset-items?token=$APIFY_TOKEN" \-H 'Content-Type: application/json' \-d '{"prompt": "Classify the sentiment of: {{text}}", "rows": ["Great product", "Never again"], "outputFields": ["sentiment"]}'
Input example
{"prompt": "Classify the sentiment of this customer review as positive, negative or neutral, and give a one-sentence reason.\n\nReview: {{text}}","rows": [{ "text": "Fast delivery and the product works great." },{ "text": "The app crashes every time I open the settings." }],"outputFields": ["sentiment", "reason"]}
| Field | Default | Description |
|---|---|---|
prompt | required | Prompt for one row. {{field}}, {{company.name}} and {{row}} insert row data. |
rows | empty | Objects, plain strings, or a text block with one row per line. |
datasetId | empty | Dataset of an earlier run. Each item is one row. |
outputFields | empty | Field names the JSON answer must have. Each is text. |
jsonSchema | empty | Full JSON schema for numbers, lists or nested objects. Overrides outputFields. |
outputFormat | json | json gives a parsed object in output, text gives a string. |
model | gpt-oss-20b | openai/gpt-oss-20b fast and cheap, openai/gpt-oss-120b smarter. |
systemPrompt | empty | Rules for every row, such as language or tone. |
reasoningEffort | low | How long the model thinks. Higher costs more tokens. |
temperature | 0 | 0 for consistent classification and extraction. |
maxOutputTokens | 1024 | Upper limit per answer, thinking included. |
maxRows | 10000 | Most rows per run. |
apiKey | empty | Optional. Your own Groq, OpenAI or OpenRouter key. Lower price per row. |
apiBaseUrl | Groq | Your provider's OpenAI compatible endpoint, for example https://api.openai.com/v1. |
customModel | empty | Any model of your provider. Only with your own key. |
Output example
{"rowIndex": 0,"status": "ok","output": {"sentiment": "positive","reason": "The review praises the fast delivery and that the product works."},"input": { "text": "Fast delivery and the product works great." },"model": "openai/gpt-oss-20b","inputTokens": 183,"outputTokens": 83,"reasoningTokens": 41,"totalTokens": 266,"finishReason": "stop","latencyMs": 912,"warnings": [],"errorCode": null,"error": null,"retryable": null}
| Field | Meaning |
|---|---|
rowIndex | Position of the row in the input, starting at 0 |
status | ok or error |
output | The answer: an object for JSON, a string for text |
input | The input row, unless includeInput is off |
inputTokens, outputTokens | Token use. Output tokens include the model's thinking |
errorCode, error, retryable | Why a row failed and whether a later run may work |
warnings | For example a field of the prompt that was empty in this row |
Use your own free Groq key for big lists
The built-in models share one free quota across all users, about 1,000 rows a day. That is fine for tests and small lists. For more:
- Sign in at console.groq.com/keys and click Create API key. Groq has a free plan.
- Paste the key into Your own API key. Leave API base URL empty.
- Keep the model
openai/gpt-oss-20b, or set Custom model to any Groq model.
Rows on your own key cost $0.001 each, with no token surcharge. OpenAI and OpenRouter keys work the same way with their base URL.
Pricing
Pay per event. You pay only for rows that return a result. Rows that fail, return invalid JSON or are skipped are free.
| Event | Price |
|---|---|
| Row with GPT-OSS 20B, up to 2,000 tokens | $0.003 |
| Row with GPT-OSS 120B, up to 2,000 tokens | $0.005 |
| Each further 1,000 tokens of a row, GPT-OSS 20B | $0.0005 |
| Each further 1,000 tokens of a row, 120B | $0.001 |
| Row with your own API key, any length | $0.001 |
| Run start, per GB of memory | $0.001 |
- A short row such as a review uses about 300 tokens, so 1,000 reviews cost about $3 with the default model.
- 2,000 tokens is about 1,500 words of prompt and answer together.
- With your own key you pay your provider for the tokens directly.
- Set Maximum cost per run in Run options to cap spend. The Actor stops before the limit.
Tips
- Keep
temperatureat 0 andreasoningEffortat low for tagging and extraction. It is faster and cheaper. - Use
outputFieldsfor simple text fields. UsejsonSchemawhen you need numbers, booleans, lists or nested objects. - Test the prompt on 5 to 10 rows first, then run the full list.
- Put shared rules in System prompt instead of repeating them in every row.
- Long documents: keep each row under about 60,000 characters. Longer rows end as a free
PROMPT_TOO_LONGerror.
FAQ
Do I need an API key? Not to try it. The built-in models run on a shared key with a daily limit for all users together. For lists over about 100 rows, paste your own key: a free Groq key takes one minute at console.groq.com/keys, and rows then cost $0.001.
Where does my data go? Each row's prompt is sent to the model provider, Groq for the built-in models, or the provider of your own key. The Actor stores nothing outside your run's dataset. The log holds counts only, never prompts or answers.
What if a row fails? It gets status: "error", an errorCode, and retryable: true when a rerun may work. It is not charged.
The built-in model is busy. The shared key has a per-minute and a daily limit. The Actor waits and retries on the per-minute limit. If the daily limit is used up, the run ends with one free row that says so, and the rows already done are kept. Retry tomorrow or add your own key.
Can it browse the web? No. It only works with the data in your rows. Combine it with a scraper: run the scraper, then pick its dataset here.
Is the answer always correct? No. Language models make mistakes. Check a sample before you rely on the results.
Use it only for lawful purposes and data you are allowed to process. Do not send sensitive personal data you have no right to process. Found a bug or need another model? Open an issue in the Issues tab.
Related Actors
| Actor | What it does |
|---|---|
| Website Content Crawler to Markdown for RAG & LLMs | Crawl whole websites into clean Markdown, RAG chunks and llms.txt |
| PDF to Markdown & Text Extractor with OCR | PDF, Word, Excel and PowerPoint files to Markdown and text, with OCR |
| Website Contact Scraper: Emails, Phones & Social Links | Find emails, phone numbers and social profiles on company websites |
| Speech to Text: Audio, Video & Podcast Transcriber | Whisper transcripts, SRT and VTT subtitles from audio and video |
| PageSpeed Insights & Lighthouse Bulk Checker, No API Key | Lighthouse scores and Core Web Vitals for many URLs or a sitemap |