Back to Examples

Modal

Run Python code effortlessly in the cloud with Modal. Perfect for AI models, serverless APIs, and high-performance batch processing.

Lines
187
Sections
3

Want your own llms.txt file?

Generate a professional, AI-friendly file for your website in minutes!

llms.txt Preview

# Modal llms.txt

> Modal is a platform for running Python code in the cloud with minimal
> configuration, especially for serving AI models and high-performance batch
> processing. It supports fast prototyping, serverless APIs, scheduled jobs,
> GPU inference, distributed volumes, and sandboxes.

Important notes:

- Modal's primitives are embedded in Python and tailored for AI/GPU use cases,
  but they can be used for general-purpose cloud compute.
- Modal is a serverless platform, meaning you are only billed for resources used
  and can spin up containers on demand in seconds.

You can sign up for free at [https://modal.com] and get $30/month of credits.

## Docs

- [Introduction](https://modal.com/docs/guide)
- Custom container images
  - [Defining Images](https://modal.com/docs/guide/images)
  - [Using existing container images](https://modal.com/docs/guide/existing-images)
  - [Fast pull from registry](https://modal.com/docs/guide/fast-pull-from-registry)
- GPUs and other resources
  - [GPU acceleration](https://modal.com/docs/guide/gpu)
  - [Using CUDA on Modal](https://modal.com/docs/guide/cuda)
  - [Reserving CPU and memory](https://modal.com/docs/guide/resources)
- Scaling out
  - [Scaling out](https://modal.com/docs/guide/scale)
  - [Input concurrency](https://modal.com/docs/guide/concurrent-inputs)
  - [Batch processing](https://modal.com/docs/guide/batch-processing)
  - [Job queues](https://modal.com/docs/guide/job-queue)
  - [Dynamic batching (beta)](https://modal.com/docs/guide/dynamic-batching)
  - [Multi-node clusters (beta)](https://modal.com/docs/guide/multi-node-training)
- [Scheduling and cron jobs](https://modal.com/docs/guide/cron)
- Deployment
  - [Apps, Functions, and entrypoints](https://modal.com/docs/guide/apps)
  - [Managing deployments](https://modal.com/docs/guide/managing-deployments)
  - [Invoking deployed functions](https://modal.com/docs/guide/trigger-deployed-functions)
  - [Continuous deployment](https://modal.com/docs/guide/continuous-deployment)
  - [Running untrusted code in Functions](https://modal.com/docs/guide/restricted-access)
- Secrets and environment variables
  - [Secrets](https://modal.com/docs/guide/secrets)
  - [Environment variables](https://modal.com/docs/guide/environment_variables)
- Web endpoints
  - [Web endpoints](https://modal.com/docs/guide/webhooks)
  - [Streaming endpoints](https://modal.com/docs/guide/streaming-endpoints)
  - [Web endpoint URLs](https://modal.com/docs/guide/webhook-urls)
  - [Request timeouts](https://modal.com/docs/guide/webhook-timeouts)
  - [Proxy Auth Tokens](https://modal.com/docs/guide/webhook-proxy-auth)
- Networking
  - [Tunnels](https://modal.com/docs/guide/tunnels)
  - [Proxies (beta)](https://modal.com/docs/guide/proxy-ips)
  - [Cluster networking](https://modal.com/docs/guide/private-networking)
- Data sharing and storage
  - [Passing local data](https://modal.com/docs/guide/local-data)
  - [Volumes](https://modal.com/docs/guide/volumes)
  - [Storing model weights](https://modal.com/docs/guide/model-weights)
  - [Cloud bucket mounts](https://modal.com/docs/guide/cloud-bucket-mounts)
  - [Dicts](https://modal.com/docs/guide/dicts)
  - [Queues](https://modal.com/docs/guide/queues)
  - [Dataset ingestion](https://modal.com/docs/guide/dataset-ingestion)
- Modal Sandboxes
  - [Sandboxes](https://modal.com/docs/guide/sandbox)
  - [Running commands](https://modal.com/docs/guide/sandbox-spawn)
  - [Networking and security](https://modal.com/docs/guide/sandbox-networking)
  - [File access](https://modal.com/docs/guide/sandbox-files)
  - [Snapshots](https://modal.com/docs/guide/sandbox-snapshots)
- [Modal Notebooks](https://modal.com/docs/guide/notebooks-modal)
- Performance
  - [Cold start performance](https://modal.com/docs/guide/cold-start)
  - [Memory Snapshot](https://modal.com/docs/guide/memory-snapshot)
  - [Geographic latency](https://modal.com/docs/guide/geographic-latency)
- Reliability and robustness
  - [Failures and retries](https://modal.com/docs/guide/retries)
  - [Preemption](https://modal.com/docs/guide/preemption)
  - [Timeouts](https://modal.com/docs/guide/timeouts)
  - [GPU health](https://modal.com/docs/guide/gpu-health)
  - [Troubleshooting](https://modal.com/docs/guide/troubleshooting)
- [Security and privacy](https://modal.com/docs/guide/security)
- Integrations
  - [Using OIDC to authenticate with external services](https://modal.com/docs/guide/oidc-integration)
  - [Connecting Modal to your Datadog account](https://modal.com/docs/guide/datadog-integration)
  - [Connecting Modal to your OpenTelemetry provider](https://modal.com/docs/guide/otel-integration)
  - [Okta SSO](https://modal.com/docs/guide/okta-sso)
  - [Slack notifications (beta)](https://modal.com/docs/guide/slack-notifications)
- Workspace & account settings
  - [Workspaces](https://modal.com/docs/guide/workspaces)
  - [Environments](https://modal.com/docs/guide/environments)
  - [Modal user account setup](https://modal.com/docs/guide/modal-user-account-setup)
  - [Service users](https://modal.com/docs/guide/service-users)
- Other topics
  - [Modal 1.0 migration guide](https://modal.com/docs/guide/modal-1-0-migration)
  - [File and project structure](https://modal.com/docs/guide/project-structure)
  - [Developing and debugging](https://modal.com/docs/guide/developing-debugging)
  - [Developing Modal code with LLMs](https://modal.com/docs/guide/developing-with-llms)
  - [Jupyter notebooks](https://modal.com/docs/guide/notebooks)
  - [Asynchronous API usage](https://modal.com/docs/guide/async)
  - [Global variables](https://modal.com/docs/guide/global-variables)
  - [Region selection](https://modal.com/docs/guide/region-selection)
Preview of Modal's llms.txt file. View complete file (187 lines) →

Ready to create yours?

Generate a professional llms.txt file for your website in minutes with our AI-powered tool.

Generate Your llms.txt File