Infrastructure
AWS Lambda Adds Shared-GPU Inference Through Managed Instances
Lambda can now run inference on EC2 G-series GPUs, with up to 48 concurrent invocations sharing one model per GPU. Here is what to test before you rely on it.

AWS Lambda can now run inference on EC2 G-series GPU instances. The capability worth scrutinizing isn't GPU access itself — it's that up to 48 concurrent Lambda invocations can share one model per GPU. 1 That shared-capacity model changes what platform teams need to test before committing: utilization, queueing, and scaling behavior, not just the cost of a single invocation.
What changed in AWS Lambda GPU inference
Lambda Event Functions can now run on EC2 G-series GPU instances through Lambda Managed Instances, with up to 48 concurrent invocations sharing one model per GPU. 1 That's a different serving proposition than treating each request as an isolated function execution: it points to a shared serving path. Whether and how long the model remains loaded should be verified.
Shared model residency could suit workloads where repeated model loading hurts latency or cost. But the concurrency number is not a throughput or latency guarantee. It says nothing about load time, queue behavior, or how performance degrades as more invocations compete for the same GPU.
The source doesn't name which G-series instances or GPU configurations are supported. 1 Hardware fit becomes an early validation step, particularly for teams with fixed model-memory requirements or a standard tied to a specific GPU class.
Which workloads are worth testing first
Judge candidates by traffic shape and service requirements, not by the Lambda label. A reasonable test case: a workload that can share a loaded model across concurrent requests and tolerate asynchronous processing or some startup variability. That's a hypothesis to validate, not a published result.
Asynchronous invocations support timeouts up to 90 minutes. 1 That's enough room to trial long-running jobs, but it doesn't answer how those jobs queue, retry, cancel, or get billed mid-run. Nail those down before any long-running workload depends on them.
Interactive inference deserves more scrutiny. Initial hands-on testing reported no response streaming. 1 That's one observation, not proof streaming is unavailable in every configuration — but any team whose clients depend on incremental output should treat it as a release blocker until verified in their own deployment.
No latency, throughput, cold-start, or queueing benchmarks appear in the source. 1 Measure against your own model and request mix. A workload with a strict time-to-first-response target shouldn't get approved on the strength of the concurrency limit alone. For a related look at why latency often comes down to infrastructure choices, see AI Agent Code Sandboxes: Latency Is an Infrastructure Choice.
Lambda Managed Instances GPU billing: how to compare
Reported billing is instance price plus a 9.75% fee. 1 The source doesn't specify how charges accrue during idle periods or while instances scale up and down. 1 Don't assume request-triggered invocation means request-triggered cost.
Compare options under identical workload assumptions: model size, request rate, concurrency, processing time, idle periods, required GPU capacity. Include the cost of holding capacity ready between bursts — but first pin down how this service actually bills for that capacity. A cost model built only from request counts is incomplete.
Instance-based billing is easier to justify when a model sees steady enough use to keep capacity productive. Long quiet periods change the math, but the available information doesn't resolve the effect of idle time or scaling. The right call depends on measured utilization and documented billing rules, not on the word "serverless."
For each candidate, calculate cost per request and cost per unit of generated output using a replay of representative traffic, then record the same measures for your current serving option. Don't infer that Lambda Managed Instances is cheaper or faster — the source offers no comparative benchmark. 1
vLLM and SGLang on Lambda: what ships by default
The offering ships vLLM and SGLang base images that need no handler code. 1 Teams already running either framework may find this cuts the integration work needed to trial the deployment path.
A base image doesn't settle the operational design. Document how the model loads, how health gets checked, what request limits apply, and what happens when loading or inference fails. Confirm the chosen framework supports your request API, batching pattern, and observability needs — the source provides no results on any of that. 1
Initial hands-on testing reported an eight-minute publish. 1 Treat that as one observed result, not a deployment-time commitment. Measure the full publish path in your own account, including model configuration and any internal platform steps.
Limits to test before adoption
Test the boundaries that affect service quality and cost together. The documented ceiling is up to 48 concurrent invocations sharing one model per GPU. 1 Validate behavior on both sides of that line: queue depth, error rates, completion times, and whether excess requests wait, fail, or trigger new capacity.
Also test:
- Model loading and memory. Use your actual model sizes and GPU configurations — the source states no size limits or memory ceilings. 1
- Startup and scaling. Measure cold-start impact, scale-out timing, scale-in behavior, and idle capacity; none of this is specified in the source. 1
- Asynchronous execution. Exercise failures, retries, cancellation, and jobs approaching the 90-minute timeout ceiling. 1
- Request handling. Establish payload limits and behavior under invalid or overloaded requests.
- Streaming. Verify directly in your target configuration — initial hands-on testing reported none, but that doesn't settle every setup. 1
Run these tests against the same model and request mix as production. Otherwise you'll learn that the deployment works, not whether it meets your operating requirements.
Comparing serverless GPU inference on AWS with other options
Build a decision matrix instead of comparing product names. Score each option on model residency, concurrency, response streaming, scale response, idle cost, deployment time, operational control, and integration effort.
For Lambda Managed Instances, the confirmed facts are: up to 48 concurrent invocations sharing one model per GPU, vLLM and SGLang base images, asynchronous timeouts up to 90 minutes, and instance-price-plus-9.75%-fee billing. 1 The source leaves idle billing, scaling behavior, and comparative performance open — several matrix cells stay blank until you test. 1
Separate steady traffic from bursty traffic in the comparison. A setup that works well for a continuously used model may be the wrong fit for long gaps between requests. And a request-triggered deployment label is not evidence of low cost for intermittent use while idle billing and scale behavior remain unconfirmed.
Self-hosted GPU serving also isn't the only row in the matrix. If hosted models could serve part of the workload, include them in the same replay, whether you reach them directly or through an enterprise AI gateway. Check pricing and the model catalog to see which options are worth adding.
Replay the same production workload against each option. Capture cost, time to first response, completion latency, throughput, error rate, queue depth, and deployment time. Hold the replay conditions constant so the decision reflects differences in serving behavior, not differences in test traffic.
What to do next
Pick one representative model and a workload with known request volume, payload characteristics, latency needs, and concurrency. Deploy it with the matching vLLM or SGLang base image and time the full publish path — compare your number against the eight-minute publish from initial hands-on testing. 1
Then run controlled tests for shared-GPU concurrency, asynchronous jobs, burst traffic, idle periods, failures, retries, and model reloads. Treat the documented 48-concurrent-invocation limit as a boundary to investigate, not a performance promise. 1 Build a cost model from the instance price and 9.75% fee and compare it against your current serving option under identical traffic assumptions. 1
Before production approval, get answers on supported G-series configurations, regional availability, account limits, scaling timing, idle billing, queue handling, request limits, and streaming behavior. Keep the rollout scoped to a limited evaluation until those gaps close.
FAQ
Does AWS Lambda support GPU inference?
Lambda Event Functions can run on EC2 G-series GPU instances through Lambda Managed Instances. 1
How many Lambda invocations can share one GPU model?
Up to 48 concurrent invocations can share one model per GPU. 1
Does Lambda GPU inference support vLLM and SGLang?
Yes — the offering includes vLLM and SGLang base images that need no handler code. 1
How long can an asynchronous Lambda GPU invocation run?
Up to 90 minutes. 1
How is Lambda Managed Instances GPU inference billed?
Instance price plus a 9.75% fee. 1 The source doesn't specify idle, scale-up, or scale-down billing behavior. 1
Questions
- Does AWS Lambda support GPU inference?
- Lambda Event Functions can run on EC2 G-series GPU instances through Lambda Managed Instances [1].
- How many Lambda invocations can share one GPU model?
- Up to 48 concurrent invocations can share one model per GPU [1].
- Does Lambda GPU inference support vLLM and SGLang?
- The offering includes vLLM and SGLang base images that do not require handler code [1].
- How long can an asynchronous Lambda GPU invocation run?
- Asynchronous invocations can have timeouts of up to 90 minutes [1].
- How is Lambda Managed Instances GPU inference billed?
- The reported billing model is the instance price plus a 9.75% fee [1]. The source does not specify idle, scale-up, or scale-down billing behavior [1].
Sources
- AWS Lambda Now Runs GPU Inference with 48 Concurrent Invocations Sharing One Model per GPU · InfoQ AI, ML & Data Engineering · Nov 22, 2026
How this article was made: an AI writer persona researched and wrote it from the sources listed above; separate AI passes edited it, checked its claims against those sources and audited it; it was published after passing automated editorial checks, without an individual editor's approval. How the Yelno blog works · Follow Yelno on LinkedIn
