onlinecompiler.io

Code execution API pricing

Free up to 100,000 runs a month, commercial use included, with no credit card. A run is one program run, or one test when you judge code. Paid plans stop at their limit, with no automatic overage charges.

Também em portuguêsTambién en español

Plans

For developers and teams

Free

For students, hobbyists, prototypes and docs sites

$0 a month

Commercial use included

  • 100,000 runs a month, or 10,000 submissions judged on 10 tests
  • 4 runs at once, 60 submissions a minute
  • Up to 32 tests in one request
  • 25 stored problems, 100 MB of test data and files
  • Community support
Get a free API key

Starter

For a course or a small app

$10 a month

or $100 a year, two months free

$0.067 per 1,000 runs at full use

  • 150,000 runs a month, or 15,000 submissions judged on 10 tests
  • 8 runs at once, 300 submissions a minute
  • Up to 60 tests in one request
  • 250 stored problems, 1 GB of test data and files
  • Email support
Choose Starter

Pro

For online judges, practice sites and AI agents

$49 a month

or $490 a year, two months free

$0.049 per 1,000 runs, the lowest per run

  • 1,000,000 runs a month, or 100,000 submissions judged on 10 tests
  • 10 runs at once, 600 submissions a minute
  • Up to 120 tests in one request
  • 2,500 stored problems, 5 GB of test data and files
  • Priority email support
Choose Pro

Business

For platforms with many users at once

$199 a month

or $1,990 a year, two months free

$0.050 per 1,000 runs at full use

  • 4,000,000 runs a month, or 400,000 submissions judged on 10 tests
  • 20 runs at once, 1,200 submissions a minute
  • Up to 240 tests in one request
  • 2,500 stored problems, 5 GB of test data and files
  • Priority email support
  • Can hide the widget's "Runs on OnlineCompiler.io" line
Choose Business

Every plan has all 46 languages, test-case judging, test suites (one run each), the REST API, Judge0- and Piston-compatible endpoints, the WebSocket, the widget and MCP, and up to 25 team members. Paid plans are sold by RunCode Inc. and billed by card through Stripe: monthly on the 1st (UTC), or yearly from the day you buy. Cancel any time; no refunds for part of a period.

For companies

When code execution is part of a product you sell, you need more than limits: an uptime promise, a reply when you write, room for exam and hiring days, and paperwork your buyers ask for. Your contract, DPA, SLA and invoices come from RunCode Inc., which has built tools for developers since 2017: its RunCode workspaces have more than 175,000 developers signed up.

Platform

For companies that build code execution into a product they sell

$499 a month

or $4,990 a year, two months free

$0.050 per 1,000 runs at full use

  • 10,000,000 runs a month, or 1,000,000 submissions judged on 10 tests
  • Then $40 per extra million runs, arranged with us
  • 100 runs at once, and up to 1,000 on booked busy days (exam or hiring-drive days, booked by email 48 hours ahead)
  • 3,000 submissions a minute, up to 600 tests in one request
  • 10,000 stored problems, 20 GB of test data and files
  • 99.5% monthly uptime promise with service credits (SLA)
  • Email support: a reply within one business day, watched throughout booked busy days
  • Can hide the widget's "Runs on OnlineCompiler.io" line
  • Our DPA, your security questionnaire answered, a 30-day free pilot beside your current provider, and help switching
Choose Platform Ask for a 30-day pilot

Enterprise

For capacity of your own and your contract terms

from $1,499 a month

A yearly contract, priced by quote for your volume

  • Capacity reserved for you alone, with runs a month and runs at once set for your volume
  • 99.9% monthly uptime promise with service credits (SLA)
  • A named contact
  • Your own languages or libraries
  • Your contract terms
  • Everything in Platform
Talk to sales

Not sure which plan fits? Talk to us or email hello@onlinecompiler.io; we reply within 24 hours on business days.

Programs

The Free plan already covers students and hobbyists, commercial use included. These programs give more to people and organisations who help us in return.

Startup program

Startups under 2 years old get Pro free for 6 months, then 50% off Pro or Business for 6 months, for their logo on our site and a link to us.

How to apply

Universities

Founding Institutions get Pro free for 12 months for a logo and a quote, and CodeRunner exam tiers cover booked Moodle exams.

Founding Institutions CodeRunner exams

Pay by invoice

Schools, universities and companies can pay a yearly plan or a CodeRunner exam plan by invoice from RunCode Inc. (USA). We send a quote for your purchase order first, then a Stripe invoice payable by card within 30 days, or the terms on the quote. The plan applies when payment arrives. Renewals are invoiced yearly; if a renewal invoice is not paid by its due date, the plan pauses until it is paid.

Ask for a quote

Which plan fits your course, practice site or hiring platform?

Judging a submission uses one run per test, so the easiest way to size a plan is from the people who submit code. Start from an example or enter your own numbers.

Start from

Students, candidates or users in a month

Each is one run-tests request

Each test is one run

Run button and playground, without tests

105,000 runs a month: Starter, $10 a month

Runs a month

105,000

300 × (30 × 10 + 50)

Fits on

Starter, $10 a month

  • 45,000 of its 150,000 runs to spare
  • A submission's tests run 8 at a time.
Choose Starter

CodeRunner exams

For a Moodle exam that counts, book it ahead. During the booked hours your exam's runs (up to the students you booked) are not refused by your account's limits, a run that finds the service busy waits briefly instead of failing at once, and we watch the exams inbox throughout. Yearly plans cover one Moodle site; practice stays on Free, with 100,000 runs a month.

PlanPrice a yearBooked exams a yearStudents per exam
Exam Basic$3004100
Exam Standard$60012150
Department$1,50040300

Every account gets 1 free trial exam, approved by us first. More than Department: contact us. During a booked exam, write to exams@onlinecompiler.io at any hour; we watch it throughout your exam. How booking works.

Compare plans

FreeStarterProBusinessPlatformEnterprise
Price$0 a month$10 a month or $100 a year$49 a month or $490 a year$199 a month or $1,990 a year$499 a month or $4,990 a yearFrom $1,499 a month, yearly contract
Runs a month100,000150,0001,000,0004,000,00010,000,000Custom
Runs beyond the monthStop at the limit, no chargeStop at the limit, no chargeStop at the limit, no chargeStop at the limit, no charge$40 per extra million, arranged with usSet in your contract
Submissions judged on 10 tests10,00015,000100,000400,0001,000,000Custom
Per 1,000 runs at full useFree$0.067$0.049$0.050$0.050Custom
Runs at once481020100Reserved capacity
Busy days (exams, hiring drives) Not included Not included Not included Not includedUp to 1,000 runs at once, booked 48 hours aheadReserved capacity
When every run slot is busy (synchronous runs)HTTP 429 at onceWaits up to 10 s for a free runWaits up to 10 s for a free runWaits up to 10 s for a free runWaits up to 10 s for a free runWaits up to 10 s for a free run
Runs in queue (waiting or running)3260120240600Custom
Tests in one request3260120240600Custom
Tests run at once in a request481020100Custom
Submissions a minute603006001,2003,000Custom
Async judging queue (submissions)3206001,2002,4006,000Custom
Stored problems (active)252502,5002,50010,000Custom
Test data and files for stored problems100 MB1 GB5 GB5 GB20 GBCustom
Results and receipts kept90 days1 year2 years2 years2 yearsCustom
Team members (Owner, Admin and Member roles)Up to 25Up to 25Up to 25Up to 25Up to 25Up to 25
Languages464646464646 + your own
Test-case judging, hidden tests, scoring, stored problems and custom checkers Included Included Included Included Included Included
REST, Judge0 and Piston endpoints, WebSocket, widget and MCP Included Included Included Included Included Included
Memory per run512 MB512 MBUp to 2 GBUp to 2 GBUp to 2 GBUp to 2 GB
Processes per run, at once1616100100200Custom
PostgreSQL in test suites Not included Not included Included Included Included Included
Timeout per run30 s30 s30 s30 s30 s30 s
"Runs on OnlineCompiler.io" line in the widgetShownShownShownCan be hiddenCan be hiddenCan be hidden
SupportCommunityEmailPriority emailPriority emailEmail, reply within one business dayNamed contact
Monthly uptime promise with service credits (SLA) Not included Not included Not included Not included99.5%99.9%

How many tests fit in one request also depends on the time limit: see the run tests API.

Pricing questions

Is there a free code execution API?
Yes. The Free plan runs 100,000 programs a month in any of the 46 languages, through the REST API, test-case judging, Judge0- and Piston-compatible endpoints, the WebSocket, the widget and MCP. Commercial use is included and no credit card is needed.
What counts as a run?
Each program we start for you, whatever happens next: its output, a compile error, a crash or the time limit. Each test in a run-tests call is one run, and a test suite is one run in all. Refused requests (a limit, an invalid request, a key problem) and runs that fail on our side are not counted. What counts toward your monthly runs.
How many runs does grading code use?
One run per test, plus any runs without tests. A course of 300 students making 30 graded submissions each against 10 tests, plus 50 other runs each, uses 300 × (30 × 10 + 50) = 105,000 runs a month: Starter, at $10 a month. The estimator on this page works it out for your numbers.
Does each test count as a run?
Yes, one run per test. A POST /api/run-tests/ request with 10 tests uses 10 runs of your monthly allowance and 10 of your per-minute and pending limits, and the tests wait for a free run slot like any other runs. Each test takes one of your pending slots when the request arrives and frees it when that test finishes, so on Free one 32-test request starts out using all of them, and your other runs (the widget's included) wait or get HTTP 429 until its tests start finishing. A test that never started (skipped after a failure, a compile error or the 45-second start cut-off) is not counted. The most tests in one request is your plan's pending limit: 32 on Free, 60 on Starter, 120 on Pro, 240 on Business, 600 on Platform.
Does a test suite count as one run?
Yes. A test suite (a project's own pytest, Jest, Mocha, node:test, JUnit, xUnit or NUnit tests sent with suite on POST /api/run-tests/) counts as one run however many tests it holds, so grading 300 students with a 10-test suite uses 300 runs, not 3,000. On Pro and above, a suite can also start its own PostgreSQL database for the tests, still as one run. Test suites.
How much does a code execution API cost per run?
Here, $0.049 per 1,000 runs on Pro and $0.067 on Starter, at full use. At published prices on 18 October 2026, Judge0 on RapidAPI worked out to about $0.75 per 1,000 ($44.99 a month for 2,000 runs a day) and JDoodle to about $0.33 per 1,000. Sphere Engine sells only by quote.
What do stored problems cost?
Nothing extra: they are part of every plan, with limits by plan. You can keep 25 active problems on Free (100 MB of test data and files), 250 active problems on Starter (1 GB of test data and files), 2,500 active problems on Pro (5 GB of test data and files), 10,000 active problems on Platform (20 GB of test data and files); Business has Pro's. Judging code against a stored problem uses runs the same way: each test is one run, and checking with a custom checker is not charged. Archive a problem to free its slot.
Can my team share one account?
Yes, on every plan, Free included: up to 25 team members, invited by email. Each person keeps their own account and switches into the team's from the dashboard. Admins manage API keys, widgets, exams and the team; Members work on problems, submissions, sessions and webhook deliveries without seeing key values; only the Owner sees billing. Their runs count against the team account's plan, and the Team page keeps a log of every invitation, join, role change and removal.
Do I need a credit card to start?
No. The Free plan needs no payment details: sign in and your first API key is made for you.
How do I upgrade?
Sign in, open Plan & billing in your dashboard and choose a plan, monthly or yearly. You pay by card through Stripe: monthly plans are billed on the 1st (UTC), the first payment covering the rest of the current month; yearly plans are billed for a year from the day you buy. Change or cancel any time from the same page: upgrades apply at once; downgrades, cancellations and switches between monthly and yearly of the same plan at the end of the paid period. We don't refund part of a period.
Can I pay yearly, or by invoice?
Yes. Yearly plans cost ten months' price: Starter $100, Pro $490, Business $1,990 and Platform $4,990 a year, billed by card from the day you buy, with the same monthly runs. To pay by invoice, ask for a quote on the contact page: we invoice from RunCode Inc., payable by card within 30 days, and the plan applies when payment arrives. Renewals are invoiced yearly; if a renewal invoice is not paid by its due date, the plan pauses until it is paid.
What happens if I go over my monthly runs?
Runs over your plan's limit get HTTP 429 until the allowance resets at the start of the next month (UTC). There are no overage charges, so nothing is billed without you choosing a plan. Your dashboard and GET /api/usage/ show how many you have used, and we email you at 80% and 100%. You can also give each API key its own monthly limit. A 429 for one of your plan's limits names the plan that raises it, and an account that keeps hitting its per-minute or pending limit gets one email a month about it.
What does "runs at once" mean?
How many of your account's runs can be running at the same moment. Further runs wait their turn, up to 32 pending on Free, and start as earlier ones finish. A synchronous request (run-code-sync, Piston's execute, Judge0's wait=true, and MCP's run_code) that finds all of them busy gets HTTP 429 at once on Free. On paid plans it waits up to 10 seconds for a free run first, also when the service as a whole is busy, so a paid run is refused only after that wait.
Can I use it for commercial projects?
Yes. All plans, including Free, allow commercial use: coding courses, online judges, hiring platforms, documentation sites and AI agents.
Is the code execution secure?
Every run gets a new container under gVisor, with no network access, an unprivileged user, a read-only filesystem, 512 MB of memory (up to 2 GB on Pro and above), 2 CPUs and a 30-second timeout. The container is destroyed after the run.
What is the Platform plan for?
For companies that build code execution into a product they sell: an online judge, a hiring or assessment platform, a coding course business or an AI product. It has 10,000,000 runs a month, then $40 per extra million, arranged with us. 100 of your runs can run at once, and up to 1,000 on busy days you book by email 48 hours ahead, such as an exam or a hiring drive. It comes with a 99.5% monthly uptime promise with service credits, an email reply within one business day, no "Runs on OnlineCompiler.io" line in the widget, our DPA, your security questionnaire answered, and a 30-day free pilot beside your current provider, with help switching.
Can a startup get a discount?
Yes. A startup under 2 years old that builds a product that runs code can get Pro free for 6 months, then 50% off Pro or Business for 6 months, in return for its logo on our site and a link to us. The startup program.
Can I hide the "Runs on OnlineCompiler.io" line in the widget?
On Business and above, yes: add data-credit="off" to the widget's div, or credit=off to an /embed/ URL. The widget checks with our server that the key's account may hide it; on Free, Starter and Pro the line stays. Widget attributes.
Can I self-host?
There's no need: we run it for you. The servers, sandboxes, security patches and language updates are ours to keep current, so there is nothing for you to install or maintain. If you need capacity reserved for you alone, Enterprise sets it aside, from $1,499 a month.