OnlineCompiler.io
Code execution API and hosted MCP server that runs code in 46 languages in fresh gVisor sandboxes and judges it against test cases.
At a Glance
About OnlineCompiler.io
OnlineCompiler.io is a code execution API from RunCode Inc. Developers send source code and receive output, exit code, run time and memory, or a verdict for each test case. It serves online judges, coding courses, assessments, runnable documentation and AI agents.
What It Is
OnlineCompiler.io is a hosted code execution and judging service covering 46 languages. A POST to the sync run endpoint returns stdout, errors, exit code, time and memory in one call. A run-tests endpoint judges a program against test cases and returns per-test verdicts, an overall verdict and a score, with support for hidden tests and pytest, Jest, JUnit and xUnit suites. Stored problems, signed receipts and signed webhooks are also documented.
Sandboxing and Isolation
Each run starts in a fresh gVisor container, as a non-root user on a read-only image with no network and capabilities dropped. The container is deleted when the run ends. The site documents limits of 2 CPUs, 512 MB to 2 GB of memory, 16 processes and 30 seconds per run.
Ways to Use It
The service is reachable through a REST API, a WebSocket interface, an embeddable widget or iframe editor, and a hosted MCP server exposing list_compilers, run_code, run_tests and judge_problem tools for Claude, Cursor, VS Code and other MCP clients. Official Node.js and Python clients, a Vercel AI SDK integration, a LangChain package and a VS Code extension are listed in the docs. A WordPress plugin adds runnable code blocks to posts.
Migration and Compatibility
The vendor says Judge0 CE-compatible and Piston-compatible endpoints let existing clients switch by changing the base URL and key. It also documents a Jobe-compatible API for Moodle CodeRunner. A dashboard lets teams author and publish problems and review submissions.
Community Discussions
Be the first to start a conversation about OnlineCompiler.io
Share your experience with OnlineCompiler.io, ask questions, or help others learn from your insights.
Pricing
Free
For students, hobbyists, prototypes and docs sites; commercial use included, no credit card
- 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
Starter
For a course or a small app
- 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
Pro
For online judges, practice sites and AI agents
- 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
- Up to 2 GB memory per run
- PostgreSQL in test suites
Business
For platforms with many users at once
- 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
Platform
For companies that build code execution into a product they sell
- 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, up to 1,000 on booked busy days
- 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
- Email support: reply within one business day
- 30-day free pilot, DPA
Enterprise
From $1,499 per month with a yearly contract. Final pricing is quoted for reserved capacity and volume.
- Capacity reserved for you alone
- 99.9% monthly uptime promise with service credits
- A named contact
- Your own languages or libraries
- Your contract terms
- Everything in Platform
Capabilities
Key Features
- Code execution API for 46 languages
- Per-test verdicts, hidden tests and scoring
- Test suites with pytest, Jest, JUnit and xUnit
- Stored problems with versions and reference check
- Fresh gVisor sandbox per run with no network
- Hosted MCP server for AI agents
- Embeddable code editor widget and iframe
- WebSocket streaming of runs
- Python code interpreter with pandas and Matplotlib
- Judge0, Piston and Jobe compatible endpoints
- Signed webhooks and verifiable receipts
- Dashboard with team roles
- OpenAPI specification
