Modal

Modal Labs

🟢 0ms Daily auto-refreshed free quota 📏 128k 30 RPM

🛡️ 🛡️ Free Tier Policy & Rate Limits

Monthly Cloud Compute Credit No Credit Card Email Only · No ID Zero Unexpected Bill Agent Ready
Context Window 128k
Rate Limit RPM 30 RPM
Daily Quota & Reset 1000 RPD · Monthly Reset on 1st
Auth & Card Requirement No Card Needed
Supported Capabilities:
📝 Text Generation

📋 Core Endpoint & Model Parameters

OpenAI API Compatible
Base URL
https://modal.com
Model ID
modal-serverless-gpu
Alternate Model Identifiers
🟢 [GitHub Auth Instant] One-click deployment of open LLMs & Stable Diffusion microservices with sub-second cold starts
👉 Quick Link: Modal Console

💡 Caveats & Rate Limits

🎯 Minimal Python cloud functions · $30 monthly free credits upon sign-up · Zero card barrier for multi-GPU A10G/T4

📋 Free Tier Quota Rules and Constraints

  • $30 free monthly serverless compute credit on GPU and CPU
  • Sub-second cold starts for custom open-source model endpoints
  • Sign in with GitHub account without credit card prerequisite

🛡️ Zero-Billing Protection and Risk Prevention

Automatically pauses jobs when 30 credit is depleted. No secret billing.

Quick Integration Code and Client Setup

🍒 Connect Cherry Studio
curl https://modal.com/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "modal-serverless-gpu",
    "messages": [{"role": "user", "content": "Hello!"}],
    "stream": true
  }'
from openai import OpenAI

client = OpenAI(
    base_url="https://modal.com",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="modal-serverless-gpu",
    messages=[{"role": "user", "content": "Hello!"}],
    stream=True
)

for chunk in response:
    content = chunk.choices[0].delta.content or ""
    print(content, end="", flush=True)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://modal.com",
  apiKey: "YOUR_API_KEY"
});

const stream = await client.chat.completions.create({
  model: "modal-serverless-gpu",
  messages: [{ role: "user", content: "Hello!" }],
  stream: true,
});

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content || "");
}
{
  "apiProvider": "openai",
  "openAiBaseUrl": "https://modal.com",
  "openAiApiKey": "YOUR_API_KEY",
  "openAiModelId": "modal-serverless-gpu"
}
✓ ✓ Copied