Modal is a serverless cloud platform for AI and data workloads. Developers write ordinary Python and run it on remote GPUs and CPUs with sub-second cold starts, instant autoscaling, and declarative container images. Modal's primitives — Functions, Sandboxes, Volumes, Images, Secrets, Dicts, Queues, Schedules, and Web Endpoints — cover inference, fine-tuning, multi-node training, batch processing, agent code execution, and HTTP/web APIs.
URL: Visit APIs.json
Run: Capabilities Using Naftiko
- Serverless, GPU, Cloud Compute, AI Infrastructure, Sandboxes, Inference, Training, Batch Processing, Python, TypeScript, Go
- Created: 2026-05-25
- Modified: 2026-05-25
Per-second on-demand rates for Modal Functions:
| GPU | Memory | $/second |
|---|---|---|
| NVIDIA T4 | 16 GB | $0.000164 |
| NVIDIA L4 | 24 GB | $0.000222 |
| NVIDIA A10 | 24 GB | $0.000306 |
| NVIDIA L40S | 48 GB | $0.000542 |
| NVIDIA A100 40GB | 40 GB | $0.000583 |
| NVIDIA A100 80GB | 80 GB | $0.000694 |
| NVIDIA RTX PRO 6000 | 96 GB | $0.000842 |
| NVIDIA H100 | 80 GB | $0.001097 |
| NVIDIA H200 | 141 GB | $0.001261 |
| NVIDIA B200 | 192 GB | $0.001736 |
CPU: $0.0000131 per core-second (min 0.125 cores). Memory: $0.00000222 per GiB-second. Volume storage: $0.09 per GiB-month (1 TiB free).
| Plan | Monthly Fee | Included Credit | Containers | GPU Concurrency | Cron Jobs | Webhooks |
|---|---|---|---|---|---|---|
| Starter | $0 | $30 | 100 | 10 | 5 | 8 |
| Team | $250 | $100 | 1,000 | 50 | Unlimited | Unlimited |
| Enterprise | Custom | Custom | Custom | Custom | Custom | Custom |
Serverless Python functions backed by autoscaling container pools. Optional GPU attachment, declarative images, Volumes, Secrets, retries, timeouts, scheduling, dynamic batching, and class-based stateful workers. Invoke synchronously (.remote()), asynchronously (.spawn()), or as a map (.map()).
Human URL: https://modal.com/docs/guide/apps
- Documentation — Apps
- Documentation — modal.Function
- Documentation — modal.App
- OpenAPI
- JSON Schema — Function
- JSON-LD
- Naftiko Capability — Functions
Secure containers for executing untrusted user or agent code. Sandbox.create() returns a long-lived isolated environment with exec, filesystem snapshots, port tunnels, volume mounts, GPU attachment, idle timeouts up to 24 h, readiness probes, named lookup, and tag-based filtering. The workhorse primitive for LLM coding agents on Modal.
Human URL: https://modal.com/docs/guide/sandboxes
High-performance distributed file system optimized for ML workflows. Volume.from_name() attaches to Functions and Sandboxes with concurrent-read support, explicit commit() and reload() semantics, sub-path mounting, and read-only mounts. Volumes v2 (beta) removes inode limits and supports hundreds of concurrent writers to distinct files.
Human URL: https://modal.com/docs/guide/volumes
Declarative, layered container image specifications built lazily on Modal's backend. Build from debian_slim, micromamba, from_registry, or from_dockerfile; layer pip_install, apt_install, run_commands, env, copy_local_file, and copy_local_dir. Modal caches layers globally so cold starts of identical images are sub-second.
Human URL: https://modal.com/docs/guide/images
Encrypted, named bundles of environment variables injected into Functions and Sandboxes at runtime. Manage via dashboard, the modal secret CLI, or programmatically with Secret.from_name() / Secret.from_dict().
Human URL: https://modal.com/docs/guide/secrets
Distributed in-memory primitives. modal.Dict is a named key-value store; modal.Queue is a FIFO queue with optional partitioning and blocking gets. Both are addressable by name across Functions and Sandboxes for cross-container coordination.
Human URL: https://modal.com/docs/guide/dicts
Periodic execution attached to a Function via @app.function(schedule=modal.Cron(...)) or modal.Period(...). Cron supports full cron syntax with timezone; Period specifies a fixed interval. Past runs appear in the dashboard with manual "run now" support.
Human URL: https://modal.com/docs/guide/cron
Expose Functions over HTTP via @modal.fastapi_endpoint, @modal.asgi_app (FastAPI / Starlette / FastHTML), @modal.wsgi_app (Flask / Django), or @modal.web_server (any port-binding server). Supports streaming, WebSockets, proxy-auth tokens, custom URL labels, and live development via modal serve.
Human URL: https://modal.com/docs/guide/webhooks
Token id/secret pair creation and revocation, environment management (e.g. dev/staging/prod), and workspace metadata. Tokens authenticate the modal CLI and the Python/TypeScript/Go SDKs against the control plane at api.modal.com.
Human URL: https://modal.com/docs/reference/cli/token
- Portal — modal.com
- Documentation — modal.com/docs
- GettingStarted
- Examples Gallery
- Python SDK Reference
- Pricing
- Blog
- ChangeLog
- StatusPage
- TermsOfService
- PrivacyPolicy
- TrustCenter
- SignUp
- Support
- Forum — Slack
- Twitter — @modal_labs
- GitHubOrganization — modal-labs
- SDK — Python (modal-client)
- SDK — TypeScript/Go (libmodal)
- Package — modal on PyPI
- Package — modal on npm
- Tool — modal CLI
- CodeExamples — modal-examples
- CodeExamples — Multi-Node Training Guide
- CodeExamples — QuiLLMan voice chat demo
- CodeExamples — Turbo Art (SDXL Turbo)
- CodeExamples — CI on Modal
- CodeExamples — Credential injection recipe
- Integrations — Vercel Integration example
- Documentation — Modal GPU Glossary
- Tool — Stopwatch LLM benchmarking
- Documentation — Awesome Modal
- Documentation — Synchronicity (async/sync interop)
- Documentation — GPU guide
- Documentation — Scaling guide
- Documentation — Cold start guide
- Documentation — Memory snapshots
- Documentation — Tunnels
- Documentation — Cloud bucket mounts
- Documentation — Notebooks
- Documentation — Region selection
- Documentation — Private VPC
- Documentation — Observability
- Documentation — Security
Machine-readable API specifications organized by format.
- Modal Functions API
- Modal Sandboxes API
- Modal Volumes API
- Modal Images API
- Modal Secrets API
- Modal Dicts and Queues API
- Modal Schedules API
- Modal Web Endpoints API
- Modal Tokens and Administration API
- Functions
- Sandboxes
- Volumes
- Images
- Secrets
- Dicts and Queues
- Schedules
- Web Endpoints
- Tokens and Administration
FN: Kin Lane
Email: info@apievangelist.com