Skip to content

api-evangelist/modal-com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modal (modal-com)

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

Tags

  • Serverless, GPU, Cloud Compute, AI Infrastructure, Sandboxes, Inference, Training, Batch Processing, Python, TypeScript, Go

Timestamps

  • Created: 2026-05-25
  • Modified: 2026-05-25

GPU Pricing

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).

Plans

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

APIs

Modal Functions API

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

Modal Sandboxes API

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

Modal Volumes API

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

Modal Images API

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

Modal Secrets API

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

Modal Dicts and Queues API

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

Modal Schedules API

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

Modal Web Endpoints API

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

Modal Tokens and Administration API

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

Common Properties

Artifacts

Machine-readable API specifications organized by format.

OpenAPI

JSON Schema

JSON-LD

Capabilities (Naftiko)

Examples

Vocabulary and Rules

Commercial artifacts

Maintainers

FN: Kin Lane

Email: info@apievangelist.com

About

API Evangelist profile of Modal — serverless GPU + cloud compute platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors