Modal

Modal is a serverless cloud for AI, data, and general compute. Developers define infrastructure as code in Python (with JavaScript and Go SDKs) and run functions, GPUs, sandboxes, web endpoints, cron jobs, and volumes on demand. The primary developer interface is the Modal SDK and CLI communicating with a gRPC backend, not a conventional first-party REST API. User-deployed Modal Functions can be exposed as HTTPS web endpoints (@modal.fastapi_endpoint / asgi_app / wsgi_app / web_server) on *.modal.run, and Sandboxes can expose ports via network tunnels.

Modal publishes 1 API on the APIs.io network: Modal Web Endpoints (Representative) API. Tagged areas include Serverless, Compute, GPU, AI Infrastructure, and Sandboxes.

Modal’s developer surface includes documentation, engineering blog, and 8 more developer resources.

35.1/100 thin ▬ flat Agent 22/100 agent aware Full breakdown ↓
scored 2026-08-05 · rubric v0.9.1
AccessPaid
8 APIs
ServerlessComputeGPUAI InfrastructureSandboxesInfrastructure as Code

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-05 · rubric v0.9.1
Composite quality — 35.1/100 · thin
Contract Quality 13.8 / 25
Developer Ergonomics 2.2 / 20
Commercial Clarity 7.9 / 20
Operational Transparency 4.8 / 13
Governance 0.0 / 12
Discoverability 6.5 / 10
Agent readiness — 22/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/modal-labs: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 8

Individual APIs this provider publishes, each with its own machine-readable definition.

Modal Functions and Remote Invocation

Decorate Python functions with @app.function to run them remotely on Modal's cloud. Invoke deployed functions synchronously (.remote), asynchronously (.spawn), in parallel (.map...

Modal Volumes

Distributed, high-performance file system volumes for sharing state across functions and containers, managed via modal.Volume in the SDK and the `modal volume` CLI. Read/write, ...

Modal Dicts and Queues

Distributed key-value store (modal.Dict) and distributed queue (modal.Queue) for passing state and messages between functions and containers. Accessed exclusively through the SD...

Modal Secrets

Securely inject environment variables and credentials into functions and sandboxes via modal.Secret, managed in the dashboard, CLI, or SDK (Secret.from_name / from_dict). SDK/CL...

Modal Cron and Scheduled Functions

Run functions on a recurring schedule using modal.Period or modal.Cron passed to @app.function(schedule=...). Schedules are declared in code and managed through deployment; ther...

Modal Images and GPU

Define container images programmatically with modal.Image (from_registry, debian_slim, pip_install, run_commands) and attach GPUs by passing gpu= (T4, L4, A10, L40S, A100, H100,...

Modal CLI

The `modal` command-line interface for deploying apps, running functions, tailing logs, managing volumes/secrets/dicts, and launching shells. Wraps the same gRPC control plane t...

Modal Modal Web Endpoints (Representative) API

The Modal Web Endpoints (Representative) API from Modal — 2 operation(s) for modal web endpoints (representative).

Scroll for all 8

Open Collections 1

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Modal Labs Rate Limits

6 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Security Posture 1

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Modal Labs Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Modal Labs Agentic Access

3 operations · 1 acting

3 operations · 1 acting

AGENTIC

Resources

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 1

Authentication, authorization, and security posture

Operate 1

Status, limits, changes, and where to get help

Commercial 2

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: modal-labs
url: https://raw.githubusercontent.com/api-evangelist/modal-labs/refs/heads/main/apis.yml
name: Modal
kind: company
description: Modal is a serverless cloud for AI, data, and general compute. Developers define infrastructure as code in Python
  (with JavaScript and Go SDKs) and run functions, GPUs, sandboxes, web endpoints, cron jobs, and volumes on demand. The primary
  developer interface is the Modal SDK and CLI communicating with a gRPC backend, not a conventional first-party REST API.
  User-deployed Modal Functions can be exposed as HTTPS web endpoints (@modal.fastapi_endpoint / asgi_app / wsgi_app / web_server)
  on *.modal.run, and Sandboxes can expose ports via network tunnels.
accessModel:
  pricing: paid
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Paid
  confidence: medium
  source:
  - plans
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/modal-labs.png
tags:
- Serverless
- Compute
- GPU
- AI Infrastructure
- Sandboxes
- Infrastructure as Code
created: '2026-07-01'
modified: '2026-07-01'
specificationVersion: '0.19'
apis:
- aid: modal-labs:modal-labs-functions-api
  name: Modal Functions and Remote Invocation
  tags:
  - Functions
  - Remote Execution
  - Serverless
  - SDK
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://modal.com/docs/guide/apps
  properties:
  - url: https://modal.com/docs/guide/apps
    type: Documentation
  - url: https://modal.com/docs/reference/modal.Function
    type: APIReference
  description: Decorate Python functions with @app.function to run them remotely on Modal's cloud. Invoke deployed functions
    synchronously (.remote), asynchronously (.spawn), in parallel (.map), or look them up from another app via Function.from_name.
    This surface is SDK/gRPC-only - there is no first-party REST endpoint; invocation happens through the Modal client libraries.
- aid: modal-labs:modal-labs-volumes-api
  name: Modal Volumes
  tags:
  - Volumes
  - Storage
  - Persistence
  - SDK
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://modal.com/docs/guide/volumes
  properties:
  - url: https://modal.com/docs/guide/volumes
    type: Documentation
  - url: https://modal.com/docs/reference/modal.Volume
    type: APIReference
  description: Distributed, high-performance file system volumes for sharing state across functions and containers, managed
    via modal.Volume in the SDK and the `modal volume` CLI. Read/write, commit, and reload operations are SDK/CLI-only with
    no public REST endpoint.
- aid: modal-labs:modal-labs-dicts-queues-api
  name: Modal Dicts and Queues
  tags:
  - Dicts
  - Queues
  - Key Value
  - Messaging
  - SDK
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://modal.com/docs/guide/dicts-and-queues
  properties:
  - url: https://modal.com/docs/guide/dicts-and-queues
    type: Documentation
  - url: https://modal.com/docs/reference/modal.Dict
    type: APIReference
  description: Distributed key-value store (modal.Dict) and distributed queue (modal.Queue) for passing state and messages
    between functions and containers. Accessed exclusively through the SDK; no public REST interface.
- aid: modal-labs:modal-labs-secrets-api
  name: Modal Secrets
  tags:
  - Secrets
  - Configuration
  - Credentials
  - SDK
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://modal.com/docs/guide/secrets
  properties:
  - url: https://modal.com/docs/guide/secrets
    type: Documentation
  - url: https://modal.com/docs/reference/modal.Secret
    type: APIReference
  description: Securely inject environment variables and credentials into functions and sandboxes via modal.Secret, managed
    in the dashboard, CLI, or SDK (Secret.from_name / from_dict). SDK/CLI-only; no public REST endpoint.
- aid: modal-labs:modal-labs-scheduled-api
  name: Modal Cron and Scheduled Functions
  tags:
  - Cron
  - Scheduling
  - Jobs
  - SDK
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://modal.com/docs/guide/cron
  properties:
  - url: https://modal.com/docs/guide/cron
    type: Documentation
  - url: https://modal.com/docs/reference/modal.Cron
    type: APIReference
  description: Run functions on a recurring schedule using modal.Period or modal.Cron passed to @app.function(schedule=...).
    Schedules are declared in code and managed through deployment; there is no REST scheduling API.
- aid: modal-labs:modal-labs-images-gpu-api
  name: Modal Images and GPU
  tags:
  - Images
  - GPU
  - Containers
  - Environments
  - SDK
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://modal.com/docs/guide/images
  properties:
  - url: https://modal.com/docs/guide/images
    type: Documentation
  - url: https://modal.com/docs/reference/modal.Image
    type: APIReference
  description: Define container images programmatically with modal.Image (from_registry, debian_slim, pip_install, run_commands)
    and attach GPUs by passing gpu= (T4, L4, A10, L40S, A100, H100, H200, B200) to a function. Image build and GPU attachment
    are declared in code and resolved by the gRPC backend; no public REST endpoint.
- aid: modal-labs:modal-labs-cli
  name: Modal CLI
  tags:
  - CLI
  - Tooling
  - Deployment
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://modal.com/docs/reference/cli/modal
  properties:
  - url: https://modal.com/docs/reference/cli/modal
    type: Documentation
  description: The `modal` command-line interface for deploying apps, running functions, tailing logs, managing volumes/secrets/dicts,
    and launching shells. Wraps the same gRPC control plane the SDK uses; it is the primary operational entry point alongside
    the SDK.
- aid: modal-labs:modal-labs-modal-web-endpoints-representative-api
  name: Modal Modal Web Endpoints (Representative) API
  description: The Modal Web Endpoints (Representative) API from Modal — 2 operation(s) for modal web endpoints (representative).
  humanURL: https://modal.com/docs/guide/apps
  baseURL: https://<workspace>--<app>-<function>.modal.run
  tags:
  - Modal Web Endpoints (Representative)
  properties:
  - type: OpenAPI
    url: openapi/modal-labs-modal-web-endpoints-representative-api-openapi.yml
  - type: Documentation
    url: https://modal.com/docs/guide/webhooks
  - type: APIReference
    url: https://modal.com/docs/reference/modal.fastapi_endpoint
  - type: PostmanCollection
    url: collections/modal-labs.postman_collection.json
  - type: OpenCollection
    url: collections/modal-labs.opencollection.json
  - type: Documentation
    url: https://modal.com/docs/guide/sandbox
  - type: APIReference
    url: https://modal.com/docs/reference/modal.Sandbox
common:
- type: AgenticAccess
  url: agentic-access/modal-labs-agentic-access.yml
- type: DomainSecurity
  url: security/modal-labs-domain-security.yml
- type: GitHubOrganization
  url: https://github.com/modal-labs
- type: LinkedIn
  url: https://www.linkedin.com/company/modal-labs
- type: Website
  url: https://modal.com/
- type: Documentation
  url: https://modal.com/docs
- type: Plans
  url: plans/modal-labs-plans-pricing.yml
- type: RateLimits
  url: rate-limits/modal-labs-rate-limits.yml
- type: FinOps
  url: finops/modal-labs-finops.yml
- url: https://modal.com/blog/atom.xml
  type: Blog
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com