# mojojojo > Python and Mojo execution billed per millisecond. POST code to one endpoint and get output back. Free in the browser, CPU and GPU on demand, no containers or idle cost. Base URL: https://mojojojo.cc Auth: `Authorization: Bearer mj_live_...` (create a key at https://mojojojo.cc/keys) OpenAPI: https://mojojojo.cc/openapi.json API catalog: https://mojojojo.cc/.well-known/api-catalog Full context: https://mojojojo.cc/llms-full.txt ## Core API - [Run code](https://mojojojo.cc/docs): POST https://mojojojo.cc/v1/run with {"code", "packages", "timeout_ms", "gpu", "language"} - [Pricing JSON](https://mojojojo.cc/v1/pricing): machine-readable rates - [OpenAPI](https://mojojojo.cc/openapi.json): request and response schemas - [Browser runtime](https://mojojojo.cc/mojojojo.js): free WebAssembly CPython via `import { run } from "https://mojojojo.cc/mojojojo.js"` - [Python SDK](https://mojojojo.cc/docs#sdk): `pip install mojojojo` ## Docs and products - [Docs](https://mojojojo.cc/docs) - [Pricing](https://mojojojo.cc/pricing) - [Studio (build and host apps)](https://mojojojo.cc/studio) - [Editor](https://mojojojo.cc/editor) - [Cloud projects](https://mojojojo.cc/cloud) - [Data API](https://mojojojo.cc/data) - [Vector search](https://mojojojo.cc/vector) - [Database API](https://mojojojo.cc/database) - [Metered business APIs with MCP and OpenAPI](https://mojojojo.cc/businesses) - [Coding agent (mjj)](https://mojojojo.cc/agent) - [Examples](https://mojojojo.cc/examples) - [Research](https://mojojojo.cc/research) ## Compare - [AWS Lambda alternative](https://mojojojo.cc/alternatives/aws-lambda): Run Python without functions, IAM roles, layers or deployment packages. One HTTP call, billed per millisecond, free in the browser. - [Modal alternative](https://mojojojo.cc/alternatives/modal): Run Python and GPU code through a plain HTTP API or Python SDK with per-millisecond billing and a free browser tier. - [E2B alternative](https://mojojojo.cc/alternatives/e2b): A stateless, millisecond-billed Python execution API for AI agents, with sandboxing, auto-installed packages and an OpenAPI description. - [Replit alternative](https://mojojojo.cc/alternatives/replit): Skip the workspace: run Python in the browser for free, call it from code, and pay by the millisecond for server runs. ## Use cases - [Give your agent a Python tool that bills by the millisecond](https://mojojojo.cc/use-cases/ai-agent-code-execution): Let LLM agents run Python safely: one JSON endpoint, sandboxed workers, auto-installed packages, OpenAPI and llms.txt for discovery. - [Ship a Python backend with no servers or containers](https://mojojojo.cc/use-cases/serverless-python-api): Host Python or Mojo functions behind a static frontend and pay only for execution milliseconds. - [Make hot Python loops run natively, with no rewrite](https://mojojojo.cc/use-cases/speed-up-python-loops): mojosub transpiles numeric Python loops to Mojo, compiles once, caches by content hash and falls back to real CPython when needed. - [Run Python in the browser, free and private](https://mojojojo.cc/use-cases/run-python-in-browser): mojojojo.js runs CPython in WebAssembly on the caller's machine and only uses a server when packages, native speed or a GPU are required.