Skip to content
May 7, 2024Tuesday
  1. Modal Blog18

    Modal Product Updates: Cloud Bucket Mounts, Okta SSO and More

    Modal's monthly product update adds writable mounts for AWS S3 and Cloudflare R2 buckets, a @web_server decorator for hosting non-ASGI/WSGI web servers on a specified port, and Okta single sign-on for enterprise plan users. A volume viewer in the web dashboard lets users explore volume file systems, and the latest client adds multi-file app composition via .include, partitioned queues, and stdin support for Sandboxes.

April 26, 2024Friday
  1. Modal Blog50

    Fine-tuning an open source embedding model to beat OpenAI's text-embedding-3-small

    A fine-tuned open source embedding model can outperform OpenAI's text-embedding-3-small in accuracy at lower cost using only a handful of examples. Modal ran an experiment on the Quora duplicate-questions dataset to find how much fine-tuning data a simple question-answering use case needs, and describes how to build one on its serverless infrastructure.

April 10, 2024Wednesday
  1. Modal Blog12

    Modal named to Wing's 2024 Enterprise Tech 30 list

    Modal, the serverless platform for AI and data teams, has been named to Wing's sixth annual Enterprise Tech 30 list, ranking No. 3 among ten companies in the early-stage category. The list was selected from nearly 600 venture-backed private enterprise tech companies by 112 venture capitalists and 36 corporate development teams.

March 26, 2024Tuesday
  1. Modal Blog22

    How Ramp automated receipt processing with fine-tuned LLMs on Modal

    Ramp used Modal to fine-tune its LLMs and build a text-to-structured-JSON model for receipt management, cutting receipts requiring manual intervention by 34% on infrastructure estimated 79% cheaper than major LLM providers like OpenAI. Modal functions trained many candidate models in parallel, persisted weights to Modal volumes, and served a parametrized inference endpoint. One engineer also ported a PII-stripping script for 25,000 invoices to Modal, parallelizing it on 256 cloud workers to finish in 20 minutes for $100 instead of 3 days locally.

March 14, 2024Thursday
  1. Modal Blog36

    Modal's modal-http: Serving Web Functions on Serverless Infrastructure

    Modal built modal-http, an HTTP and WebSocket stack that lets its serverless functions accept web requests, with full WebSocket support recently completed. Unlike AWS Lambda's 15-minute and 50 MB limits, Modal containers can use up to 64 CPUs, 336 GB of memory and 8 Nvidia H100 GPUs, so the team translates HTTP into function calls rather than fronting containers with a conventional reverse proxy.

February 27, 2024Tuesday
  1. Modal Blog38

    Modal adds WebSocket support for real-time apps

    Modal now supports WebSocket connections, letting functions on its platform maintain persistent, bidirectional links between client and server instead of per-request HTTP connections. Each WebSocket connection counts as a single input, so functions not bound by CPU/GPU should allow concurrent inputs or Modal spins up a new container per connection. Modal auto-scales WebSocket handlers, targeting real-time streaming, progress updates on long-running tasks, and hosting frameworks like ComfyUI, Streamlit and Gradio.

February 21, 2024Wednesday
  1. Modal Blog22

    How Suno cut 4 months off its launch timeline with Modal

    Suno used Modal to scale inference and batch pre-processing across thousands of GPUs, bringing its music generation model to market four months early instead of hiring engineers to build and maintain infrastructure. The team ran batch pre-processing with a few short Python scripts and no config files, then expanded to model deployment with HTTP-exposed functions and chained inference across multiple models and containers. Modal's auto-scaling to thousands of GPUs handled holiday demand spikes without long-term GPU reservations.

February 15, 2024Thursday
  1. Modal Blog22

    Modal product updates: WebSocket support, interactive commands, and H100 GPUs

    Modal has added WebSocket support to its functions, enabling out-of-the-box hosting of frameworks like Streamlit, plus interactive commands via `modal container exec` for inspecting and debugging active containers. H100 GPUs are now available on Modal, and the client update adds `@build` lifecycle hooks, automatic background commits for Volumes, and expanded CLI commands including get, put and rm.

February 6, 2024Tuesday
January 23, 2024Tuesday
  1. Modal Blog40

    Embedding English Wikipedia in under 15 minutes with Modal and Hugging Face TEI

    Modal and Hugging Face's Text Embedding Inference server can embed the entire English Wikipedia in about 15 minutes for just over $15, using Modal's serverless GPU scaling. The post argues open-source embedding models beat API-based ones like OpenAI's text-embedding-ada-002 for production RAG, since they can be fine-tuned on user data and avoid rate limits and per-token costs.

October 13, 2023Friday
  1. Cursor Changelog38

    Cursor's Problem List: Better Context, Edit Copilot, Constrained Agents

    Cursor published a list of problems it is working on, including training a custom fast reranker that filters 500k tokens from all sources down to the most relevant 8k per request. The list also covers an edit-oriented copilot, constrained in-flow agents for large codebases, bug finding, and larger-scale edits. As of Oct 12, 2023, Cursor had indexed 1.4B vectors and 150k codebases.

October 10, 2023Tuesday
  1. Modal Blog58

    Modal 正式全面开放,并宣布 1600 万美元 A 轮融资

    Modal announced that its cloud function platform is now generally available, letting anyone sign up and run Python code in the cloud within minutes, after opening a waitlist in 2022. The platform offers serverless execution billed per second, autoscaling GPU inference endpoints on A100, A10G, T4, L4 and H100, and large-scale batch jobs across thousands of containers with no YAML configuration. Modal also raised a $16M Series A led by Redpoint Ventures, with Amplify Partners, which led the seed round, and plans to use the capital to accelerate its product roadmap.

  2. Modal Blog36

    Modal Labs Raises $16M Series A and Launches Its Cloud Infrastructure Platform

    Modal Labs has raised a $16 million Series A led by Redpoint Ventures, with existing investor Amplify Partners and new participants including Lux Capital and Definition Capital, bringing total funding to $23 million. The company also officially launched its cloud platform, previously in beta with early customers such as Ramp, Substack and SphinxBio, and will use the funds to accelerate product development and hire engineers at its New York City headquarters.

July 21, 2023Friday
  1. Cursor Changelog62

    Cursor analyzes Llama-2-70B inference cost and latency against GPT-3.5

    Cursor measured Llama-2-70B inference on 2 80-GB A100 GPUs and found it over 3x cheaper than GPT-3.5 for prompt tokens but far more expensive for generated tokens at small batch sizes. Prompt processing costs about $0.00042 per 1K tokens versus GPT-3.5's $0.0015, while generation reaches $0.066 per 1K tokens at batch size 1 and only approaches GPT-3.5 pricing at large batches that push time to first token to several seconds. Cursor recommends open-source models for prompt-heavy tasks like classification and reranking, and closed-source APIs for generation-heavy workloads.

    Why it matters: Cursor's measured cost and latency data shows when self-hosting Llama-2-70B beats GPT-3.5 and when it does not, offering a reusable framework for open-source model serving decisions.

June 12, 2023Monday
  1. Cursor Changelog38

    Cursor's Arvid Lunnemark on why prompting should be called prompt design

    Cursor researcher Arvid Lunnemark argues that prompting should be called "prompt design" and compared to web design, since both pursue clear communication with dynamic inputs and must fit content to different "sizes" — screen sizes for the web, context windows for prompts. He released Priompt v0.1, a React-like JSX-based prompt design library already used inside Cursor, with a preview site for rendering prompts against real request data.