Sphere Engine pricing and alternative: public prices, a free tier and built-in judging
Sphere Engine is sold only by quote after a 14-day trial; a reseller lists Education Premium at $5,782 a year and Enterprise at $21,168, with no date shown. OnlineCompiler.io publishes its prices (100,000 free runs a month, paid plans from $10, CodeRunner exam tiers from $300 a year) and judges test cases today. Sphere Engine is the more established product, with interactive problems and programs of several source files, which we don't have; here is how they compare and how to move a call.
The short answer
- Stay with Sphere Engine if you need interactive problems, a problem widget with history and rankings tabs, several source files per program, a stored problem that needs more than 512 MB of memory, or test files over 5 MB each (Sphere takes up to 20 MB per file). Also if procurement wants 24/7 support, an on-premise install or quarterly invoices, or guaranteed capacity beyond a booked CodeRunner exam. We offer none of those.
- Switch to OnlineCompiler.io if you want to start without a sales call: published prices, 100,000 free runs a month and an API key in a minute. Also if you want one call that returns the output, test-case judging with weighted scoring and a float tolerance you choose, problems stored once with hidden tests, versions, drivers and custom checkers, re-judging of earlier submissions when a problem's tests change, a problem widget whose scores reach only your server, runtimes about two years newer, Judge0- and Piston-compatible endpoints, an MCP server for AI agents, or a sandbox you can read about. For procurement, we publish an SLA, a DPA, a sub-processor list and a security page; on 4 Nov 2026 Sphere's pricing and enterprise pages showed no DPA or sub-processor list.
Sphere Engine also sells Containers, which runs whole projects in your own Docker images and opens browser workspaces. We have no browser workspaces or custom images; for grading whole Python, JavaScript, Java and C# projects, our test suites run pytest, Jest, Mocha, node:test, JUnit, xUnit or NUnit over the project's files, and on Pro and above a Python or JavaScript suite can start its own PostgreSQL database for the tests. This page compares the Compilers and Problems modules.
Sphere Engine pricing
Sphere Engine has published no prices since 2018 and has no free tier; its FAQ says "Our product is purely commercial" and points free users to Ideone and SPOJ. After a 14-day trial without a card it quotes from the project's scope, the number of students or candidates, expected submissions and the support level, billed quarterly or annually (checked 4 Nov 2026). Its last public list, from 2017, charged $249 a month for 30,000 runs.
A reseller, ComponentSource, shows list prices. The listing carries no date, so treat them as a guide to the size of a quote, not a current offer:
| Sphere Engine (reseller list) | Price |
|---|---|
| Education Premium | $5,782 a year |
| Enterprise | $21,168 a year |
| Add-on: 100,000 annual submissions with 2 dedicated checkers | $2,352 |
Ours are on the pricing page (checked 4 Nov 2026). A judged test counts as one run.
| OnlineCompiler.io | Price | Includes |
|---|---|---|
| Free | $0 | 100,000 runs a month, commercial use allowed, no card |
| Starter | $10 a month | 150,000 runs a month; no SLA |
| Pro | $49 a month | 1,000,000 runs a month; no SLA |
| Business | $199 a month | 4,000,000 runs a month; no SLA |
| Platform | $499 a month | 10,000,000 runs a month; a 99.5% uptime SLA |
| Enterprise | From $1,499 a month, yearly contract | Capacity reserved for you; a 99.9% uptime SLA |
| Exam Basic (CodeRunner exams) | $300 a year | 4 booked exams, up to 100 students each |
| Exam Standard (CodeRunner exams) | $600 a year | 12 booked exams, up to 150 students each |
| Department (CodeRunner exams) | $1,500 a year | 40 booked exams, up to 300 students each |
The two are not like for like: Sphere's quote buys support terms and capacity, which we sell on Platform (an email reply within 1 business day and booked busy days) and Enterprise (capacity reserved for you). Our other plans buy runs and judging by the request, with stored problems included on every plan, Free too. Only exam tiers, Platform and Enterprise agreements carry our SLA; the other monthly plans do not. Data handling is in the data processing agreement and the sub-processor list.
Running code: Sphere Engine Compilers
| Feature | Sphere Engine Compilers | OnlineCompiler.io |
|---|---|---|
| Getting a result | Create a submission, poll every 2 s while it is executing, then fetch each stream from its own URL (API v4) | One call to /api/run-code-sync/, or async with the result POSTed to your callback URL |
| Official client libraries | PHP (last release February 2025) and Python (last on PyPI September 2021); Node.js, Ruby and C# as examples only (client libraries) | Node.js and Python, for runs, judging, stored problems, sessions, webhooks and receipts |
| Authentication | access_token in the URL, including the stream URLs it returns | API key in the Authorization header |
| Time limit | timeLimit, default 5 s, from 1 to 15 s; compiling not included (FAQ) | time_limit up to 30 s; compiling not included, but compile and run share a 30-second ceiling |
| Memory | 1.5 GB | 512 MB by default, and any memory_limit per run from 16 MB up to 2 GB on Pro and above |
| CPU | One dedicated core, sold for timing accuracy (comparison) | 2 CPU cores |
| Network in the program | Off by default | Always off |
| Code and input size | 64 kB each | 100 KB of code and 5 MB of input |
| Output kept | 1 MB per stream | 64 KB per stream, with truncated when cut |
| Several files | Yes, a tar.gz or files[], in 29 languages (docs) | Yes: helper source files in files, up to 20, compiled with the program, folders allowed (several source files) |
| Command-line arguments | No | Yes: args, up to 32 per run or per test; not for sqlite-3, duckdb-1.5 or erlang-29 |
| Preinstalled libraries | numpy, pandas, scipy, matplotlib and tensorflow named for Python, with no versions (list); its Python ML/AI compiler lists none; JUnit and Guava for Java | Python with a published list and versions: numpy, pandas, scipy, scikit-learn, matplotlib, seaborn, statsmodels, sympy, openpyxl, pillow, duckdb, wordcloud, polars, pgmpy, nltk (table); no TensorFlow or GPU; other languages standard library only |
| Images and output files | Yes: image bytes on stdout, out.png for R and Octave, and a beta tar.gz of named files (images, output files) | Yes: PNG, SVG, CSV, JSON or text files from $OUTPUT_DIR, up to 8 files and 2 MB a run; plt.show() saves figures |
| Languages | About 56, with several versions each | 46 (list), one current version each |
| Results pushed to you | One webhook URL per account; status without the output; signed with HMAC-SHA256 and one shared secret set in Sphere's dashboard, and retried for over two days; a "Send test webhook" button in the dashboard (webhooks) | A callback URL per API key with the full result and your extra_params; run-code callbacks are not signed. Run-tests webhooks are signed per API key and retried for about 24 hours; the dashboard keeps each one's delivery log, resends it, and sends a signed test webhook |
| Published rate limits | None; polling too fast may get you blocked | GET /api/limits/ and GET /api/usage/ |
| Status page | Checks the marketing site, not the API | Runs a real program through the API every three minutes |
| Sandbox | Not disclosed | A fresh gVisor sandbox per run, no network |
| Other APIs on the same key | None | Judge0- and Piston-compatible endpoints |
| AI agents (MCP) | None | Live at https://api.onlinecompiler.io/mcp, including judge_problem for stored problems (setup) |
| Embeds | A widget created in the dashboard, identified by a hash (quickstart) | A script tag or iframe, no dashboard setup |
| Judging in the code widget | None documented: the Compilers widget runs code and shows its output (widget) | Yes: tests on the page give a Judge button, a verdict per test and a score (Judge with tests) |
| Before-run hook and custom data | beforeSendSubmission can change or cancel a run; custom data up to 256 bytes, returned in callbacks and webhooks (widget) | runcode:beforerun can change or cancel a run; data-custom up to 256 characters, echoed in the widget's events, not in webhooks (events) |
| Run history kept | One month by default | 365 days (privacy) |
Judging: Sphere Engine Problems
Problems is Sphere Engine's judge: you store a problem with its test cases, then submit code against it. We do
both. Stored problems keep the statement, tests, checker and limits on our side,
with versions, hidden drivers and custom checkers, and you judge code by problem id. POST /api/run-tests/ takes the code and the tests in one request, for when your tests live in your own database. Plan limits: 25 active problems and 100 MB of test data and files on Free, 250 active problems and 1 GB of test data and files on Starter, 2,500 active problems and 5 GB of test data and files on Pro and 10,000 active problems and 20 GB of test data and files on Platform; Business has Pro's.
# Store the problem once (hidden tests by default), then judge by id
curl -X POST https://api.onlinecompiler.io/api/problems/ \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Sum of two numbers",
"slug": "sum",
"languages": ["python-3.14"],
"tests": [
{"name": "sample", "input": "1 2\n", "expected_output": "3\n", "hidden": false},
{"input": "-4 10\n", "expected_output": "6\n"}
]
}'
curl -X POST https://api.onlinecompiler.io/api/problems/sum/publish/ -H "Authorization: YOUR_API_KEY"
curl -X POST https://api.onlinecompiler.io/api/problems/sum/submissions/ \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"compiler": "python-3.14", "code": "a, b = map(int, input().split())\nprint(a + b)"}'curl -X POST https://api.onlinecompiler.io/api/run-tests/ \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"compiler": "python-3.14",
"code": "a, b = map(int, input().split())\nprint(a + b)",
"tests": [
{"input": "1 2\n", "expected_output": "3\n"},
{"input": "-4 10\n", "expected_output": "6\n", "hidden": true}
],
"scoring": "percent"
}'| Feature | Sphere Engine Problems | OnlineCompiler.io |
|---|---|---|
| Where tests live | Stored with the problem, through an API or a web editor (API v4) | Stored with the problem through the API or the dashboard's problem editor (typed, or uploaded as files), or sent with each run-tests request |
| Test a problem before it goes live | In the panel's problem editor only, not through the API (overview) | Test the draft in the dashboard's editor, with every test's input, expected output and output shown to you, hidden tests included; and a reference solution checks each version, through the API or the dashboard, before it is published |
| Import and export | ZIP archives, Spoj-compatible, in the panel (problems archive) | JSON in the API's own create format: export and import in the dashboard (an import of up to 8 MB; a bigger problem is built in the dashboard's editor, its test data uploaded as files), or send the file to POST /api/problems/ when it fits the API's 4 MB request limit (a bigger one with its big inputs uploaded one test at a time and its data files one file at a time). No ZIP import |
| Team members | Sub-accounts the owner creates in the panel, with one documented role, "Developer"; no invitations, other roles or audit log documented (FAQ) | Up to 25 members on every plan, invited by email, as Admin or Member beside the account's Owner; Members never see a key's value; a team event log of every invitation, join, role change and removal (security) |
| Submissions in the dashboard | None documented; the widget's History tab shows each user their own | A Submissions page filtered by problem, verdict, status, API key, external_ref or id; each submission with its per-test results, code, checker log, receipt and webhook deliveries |
| Listing submissions through the API | GET /submissions?ids= with up to 20 ids (API v4) | GET /api/submissions/: up to 100 a page, by ids or filtered by external_ref, problem, status, verdict and date, with a cursor for the next page |
| Problem statistics | None documented | On each problem's page in the dashboard: submissions, distinct candidates, acceptance rate, average score and verdicts, for the current version and for all versions, and a bar a day for the last 30 days |
| Tests | 16 per problem by default, more on request; up to 20 MB per file (FAQ) | Up to 32 on Free, 60 on Starter, 120 on Pro, 240 on Business and 600 on Platform per problem version or request, up to 5 MB per input and 20 MB per version, with up to 8 data files (10 MB) that every test reads; run-tests: within a 60-second budget; up to 5 MB of input per test and 32 MB of tests per request |
| Compiling | Once per submission (execution modes) | Once per request for C, C++ and Java when the tests need more than one batch; otherwise again for every test, so slow-compiling languages fit fewer tests (details) |
| Time limit | Per test, default 1 s, up to 60 s; compiling not included | Per test in a stored problem; one for the request in run-tests, default 2 s, up to 30 s; compiling not included |
| Built-in checkers | Exact, ignore extra whitespace, float with a tolerance of 0.01 or 0.000001, and score by source length (judges) | trim, exact, tokens, rows and float with any tolerance from 0 to 1, or your own checker |
| Custom checker programs | Yes, in any supported language (custom judges) | Yes, in any supported language; Python, JavaScript, C, C++ and Java are recommended, since C, C++ and Java checkers are compiled once and other compiled languages compile again for every test. Each test's checker gets 5 seconds, and checking is not charged as runs |
| Versions and reference check | - | Draft, publish and reference check: a reference solution must pass every test before a version goes live |
| Hidden drivers | - | Candidates write a function; a hidden driver of yours reads the input and calls it |
| Receipts | - | Signed, naming the problem id and version |
| Scoring | All tests must pass, or percent passed; weights need a custom master judge | all_or_nothing, percent or weighted, built in, with partial credit from a custom checker |
| Hidden tests | Per-test results hidden from widget users by default | hidden: true returns only the verdict, in the API and the widget alike, and compiler output from a compile that saw a hidden test's input is never shown |
| Output per test | 5 kB of stdout and 1 kB of stderr stored | Compared up to 64 KB; the first 4,096 characters returned for visible tests |
| Verdicts | Accepted, wrong answer, time and memory limit, compilation and runtime error, illegal system call, judge and problem errors (statuses) | Accepted, wrong answer, time, memory and output limit, compilation and runtime error, internal error, checker_error and problem_error (a stored problem's checker or the problem itself failed), plus skipped and incomplete |
| Judge only some tests | Yes: a tests list on a submission (API v4) | Yes: tests, the positions to run; the score is over them and the receipt lists them |
| Re-judge after the tests change | None documented in its API or panel | Yes: POST /api/problems/{id}/rejudge/ or the problem's page in the dashboard; each re-judge is a new submission linked to the original, with an optional webhook |
| Interactive problems | Yes (docs) | No |
| Problem widget | Yes: statement, editor, history and rankings (widget) | Yes: statement, editor, Judge on the sample tests, Submit and a link to the signed receipt (problem mode). Submit needs a session your server creates, with an expiry of up to 24 hours and up to 20 submits; the score reaches your server by signed webhook. Each problem's page in the dashboard previews it in the widget and gives the code to paste. No history or rankings tab |
| Cost of a judged test | Drawn from a quoted submission pool | One run at published prices |
We store problems and submissions' results, not people: a problem list for your candidates, a submissions table and a leaderboard stay in your own database, with the problem id in each row and your own reference for the candidate in each session. How to build an online judge walks through it.
Language versions
Sphere Engine keeps several versions of each language, chosen with compilerVersionId; we run one
current version per compiler id. Its newest versions came out in mid-2024 or earlier, and its C# and
Visual Basic run on .NET 6, which Microsoft stopped supporting in November 2024.
Sphere Engine's newest version (languages page, 18 Oct 2026):
| Language | Sphere Engine newest | Our compiler | Our version |
|---|---|---|---|
| Python | 3.12 | python-3.14 | 3.14 |
| C | GCC 13.2 | gcc-15 | GCC 15 |
| C++ | GCC 13.2 | g++-15 | G++ 15 |
| Java | 22 | openjdk-25 | OpenJDK 25 |
| JavaScript | Node.js 20.14.0 | nodejs-24 | Node.js 24 |
| Go | 1.22.4 | go-1.26 | 1.26 |
| Rust | 1.79 | rust-1.93 | 1.93 |
| Ruby | 3.1.0 | ruby-4.0 | 4.0 |
| C# | .NET 6 | dotnet-csharp-10 | .NET SDK 10 |
| Visual Basic | .NET 6 | dotnet-vbnet-10 | .NET SDK 10 |
Sphere Engine runs about eleven languages we don't, nearly all older or esoteric ones such as AWK, Forth, Raku, Sed, Smalltalk and Tcl. We run Crystal, FreeBASIC, Nim, PowerShell and Zig, which it doesn't.
Moving a Sphere Engine call
A Sphere Engine Compilers call is three steps: create, poll, then fetch the output. Ours is one synchronous call, or an async one that posts the result to your callback URL. Keep the API key on your server, as you did with the access token.
# 1. Create the submission. The token goes in the URL.
curl -X POST "https://YOUR_ID.compilers.sphere-engine.com/api/v4/submissions?access_token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"compilerId": 116, "source": "print(input()[::-1])", "input": "sphere"}'
# 2. Every 2 seconds, until "executing" is false:
curl "https://YOUR_ID.compilers.sphere-engine.com/api/v4/submissions/SUBMISSION_ID?access_token=YOUR_TOKEN"
# 3. Fetch each stream you need on its own:
curl "https://YOUR_ID.compilers.sphere-engine.com/api/v4/submissions/SUBMISSION_ID/output?access_token=YOUR_TOKEN"curl -X POST https://api.onlinecompiler.io/api/run-code-sync/ \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"compiler": "python-3.14",
"code": "print(input()[::-1])",
"input": "sphere"
}'| Sphere Engine | OnlineCompiler.io |
|---|---|
access_token in the URL | Authorization: YOUR_API_KEY header, free to create |
source | code |
compilerId + compilerVersionId | compiler, a string such as python-3.14 (list) |
input | input |
timeLimit | time_limit, in seconds; it may be a fraction |
files | files: up to 20 files as {name, content}, helper source files and data, read from the working directory or compiled with the program (several source files) |
Polling while executing | None: the response is the result |
result.status.code | status and exit_code; 124 means the run went over time_limit (exit codes) |
output stream | output |
error and cmpinfo streams | error, which holds stderr and compiler messages together |
result.time, result.memory | time (seconds) and memory (KB), as strings |
| 402 when the submission pool is empty | 429 when an account or key limit is reached, with the reason in error |
For Problems, create each problem once with the stored problems API and submit code to it by id,
as in the judging example above, or send the tests with each request to /api/run-tests/. For more options, see the wider comparison of code execution APIs. Still on the old Ideone
API? See the Ideone API alternative.
Frequently asked questions
How much does Sphere Engine cost?
Sphere Engine publishes no prices and sells by quote, after a 14-day trial without a card, billed quarterly or annually. A reseller, ComponentSource, lists Education Premium at $5,782 a year, Enterprise at $21,168 a year and an add-on of 100,000 annual submissions with 2 dedicated checkers at $2,352; the listing shows no date, so treat them as a guide. Its last public price list, from 2017, charged $249 a month for 30,000 runs. OnlineCompiler.io's prices are public: 100,000 runs a month free, then Starter at $10 for 150k, Pro at $49 for 1M, Business at $199 for 4M and Platform at $499 for 10M, billed monthly. The monthly plans carry no SLA; it covers exam tiers and Enterprise agreements.
Does Sphere Engine have a free plan?
No. It has a 14-day trial and sends free users to Ideone and SPOJ, its free sites. OnlineCompiler.io's free plan includes 100,000 runs a month, allows commercial use and needs no credit card.
Can OnlineCompiler.io replace Sphere Engine Problems?
For storing a problem and judging code against it, yes. You store a problem once with its statement and tests (hidden by default), publish versions that a reference solution can check, add hidden drivers for "write this function" problems and custom checkers (any supported language, with Python, JavaScript, C, C++ and Java recommended), and judge by problem id, synchronously or asynchronously, with partial credit, signed webhooks and signed receipts that name the problem and version. After you fix a test, earlier submissions can be re-judged against the new version. The widget shows a stored problem in your page with Judge (its sample tests) and, with a session your server creates (an expiry and a cap on submits), Submit; the score reaches your server by signed webhook, never from the browser. It does not judge interactive problems, has no history or rankings tab (those stay in your database), and most languages compile the program again in every test, so slow-compiling ones fit fewer tests in one request.
Is OnlineCompiler.io compatible with Sphere Engine's API?
No. It has its own API plus Judge0- and Piston-compatible endpoints. Moving a Sphere Engine Compilers call means renaming a few fields and dropping the polling, as the table on this page shows.
Which runs newer language versions?
OnlineCompiler.io, by about two years on most languages. On 18 October 2026 Sphere Engine's newest versions were Python 3.12, GCC 13.2, Java 22 and Go 1.22.4, and it ran C# and Visual Basic on .NET 6, which Microsoft stopped supporting in November 2024.
Does Sphere Engine publish an SLA, a DPA or a sub-processor list?
Its enterprise page says the subscription includes an SLA and 24/7 support, without terms, and it offers an on-premise version. On 4 November 2026 its pricing and enterprise pages mentioned no DPA or sub-processor list. OnlineCompiler.io publishes an SLA, a DPA, a sub-processor list and a security page, and gives no 24/7 support: only booked CodeRunner exams are watched throughout.
Can I use both?
Yes. Keep interactive problems and programs of several source files on Sphere Engine, and send plain runs, test-case judging and stored problems to OnlineCompiler.io. Both are HTTP APIs, so a small router in your backend is enough.