Developer Tools · head to head
AWS Serverless Application Model (AWS SAM) vs Marqeta

AWS Serverless Application Model (AWS SAM)
Developer Tools
Open-source framework and CLI for building serverless apps on AWS
- From
- Free
- Free plan
- Yes

Marqeta
APIs
Card issuing and transaction processing APIs with just-in-time funding
- From
- On request
- Free plan
- No
The short version
- AWS Serverless Application Model (AWS SAM) is free; Marqeta prices on request.
- Only AWS Serverless Application Model (AWS SAM) lists SAM connectors for IAM permissions; only Marqeta lists just-in-time funding.
- Where AWS Serverless Application Model (AWS SAM) falls short: targets AWS only, so templates are not portable to other cloud providers.
- Where Marqeta falls short: pricing carries minimum monthly platform commitments, so a programme with modest card volume pays for capacity it never uses.
How do AWS Serverless Application Model (AWS SAM) and Marqeta differ?
AWS Serverless Application Model (AWS SAM) and Marqeta differ on starting price (Free against On request), pricing model (Open-source against Quote) and free tier (Yes against No). Only the attributes on which AWS Serverless Application Model (AWS SAM) and Marqeta actually diverge.
| Attribute | AWS Serverless Application Model (AWS SAM) | Marqeta |
|---|---|---|
| Starting price | Free | On request |
| Pricing model | Open-source | Quote |
| Free tier | Yes | No |
| Platforms | Windows, macOS, Linux | Web, API |
| Category | Developer Tools | APIs |
Which features does each one have?
They share no listed features; 7 appear only for AWS Serverless Application Model (AWS SAM) and 6 only for Marqeta. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in AWS Serverless Application Model (AWS SAM)
- SAM template shorthand for CloudFormation
- SAM CLI project scaffolding with sam init
- Local testing of Lambda functions and API endpoints
- sam sync for syncing local changes to the cloud
- SAM connectors for IAM permissions
- Terraform project debugging support
- CI/CD pipeline support
Only in Marqeta
- Just-in-time funding
- Virtual and physical issuing
- Spend controls
- Programme management tools
- Multi-region issuing
- Webhooks and ledger data
What is each one used for?
AWS Serverless Application Model (AWS SAM) is most often brought in for defining Lambda and API Gateway applications as code; Marqeta for an expense platform issuing a virtual card per subscription with merchant locks. The jobs each tool is most often brought in to do.
AWS Serverless Application Model (AWS SAM)
- Defining Lambda and API Gateway applications as codenot Marqeta
- Testing Lambda functions locally before deploymentnot Marqeta
- Building CI/CD pipelines for serverless appsnot Marqeta
- Converting console-created resources into templatesnot Marqeta
Marqeta
- A delivery marketplace funding courier cards only at the moment a courier pays for the ordernot AWS Serverless Application Model (AWS SAM)
- An expense platform issuing a virtual card per subscription with merchant locksnot AWS Serverless Application Model (AWS SAM)
- A lender issuing a card that draws on an approved credit line rather than a stored balancenot AWS Serverless Application Model (AWS SAM)
- A fintech wanting the same issuing stack across US and European programmesnot AWS Serverless Application Model (AWS SAM)
Where do AWS Serverless Application Model (AWS SAM) and Marqeta fall short?
AWS Serverless Application Model (AWS SAM)'s most cited limit: targets AWS only, so templates are not portable to other cloud providers. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
AWS Serverless Application Model (AWS SAM)
- Targets AWS only, so templates are not portable to other cloud providers
- Local testing of functions depends on Docker being installed and running
- Requires an AWS account, the AWS CLI and configured credentials before first use
- Declarative templates, so complex logic needs CloudFormation or the AWS CDK instead
- Does not cover non-serverless infrastructure on its own, which falls back to CloudFormation
Marqeta
- You still need a sponsor bank and a BIN, so the timeline and compliance burden of launching are set by a bank you must separately court and satisfy
- Pricing carries minimum monthly platform commitments, so a programme with modest card volume pays for capacity it never uses
- Programme revenue depends heavily on interchange, which means regulated debit interchange caps and European interchange caps materially change the business case by market
- Disputes, chargebacks and fraud losses sit with the programme, and teams that assumed the processor absorbed them discover a real operations headcount requirement
- Just-in-time funding makes your own authorisation endpoint a hard availability dependency; if it is slow or down, cards decline at the point of sale
How much do AWS Serverless Application Model (AWS SAM) and Marqeta cost?
AWS Serverless Application Model (AWS SAM) is free to use; Marqeta is priced on request. Plan by plan below, from each vendor's own pricing page.
AWS Serverless Application Model (AWS SAM)
FreeNo published plan breakdown. See the AWS Serverless Application Model (AWS SAM) review.
Marqeta
On request- Marqeta card issuingOn request
- Minimum monthly platform fee plus per-transaction and per-active-card charges
- Interchange share negotiated between programme, processor and sponsor bank
- Sponsor bank required, with its own fees and approval process
Which should you pick?
Choose AWS Serverless Application Model (AWS SAM) if
- You need sam template shorthand for cloudformation.
- You want to start without paying.
- You work on Windows, macOS, Linux.
- You also want sam cli project scaffolding with sam init.
Choose Marqeta if
- You need just-in-time funding.
- You work on Web, API.
- You also want virtual and physical issuing.
Questions people ask
- Is AWS Serverless Application Model (AWS SAM) or Marqeta better?
- It depends on the job. AWS Serverless Application Model (AWS SAM) fits defining Lambda and API Gateway applications as code; Marqeta fits a delivery marketplace funding courier cards only at the moment a courier pays for the order. AWS Serverless Application Model (AWS SAM) starts at Free and Marqeta at On request.
- Which is cheaper, AWS Serverless Application Model (AWS SAM) or Marqeta?
- AWS Serverless Application Model (AWS SAM) has a free tier; the other does not. Paid plans start at Free for AWS Serverless Application Model (AWS SAM) and On request for Marqeta.
- Does AWS Serverless Application Model (AWS SAM) or Marqeta run on more platforms?
- AWS Serverless Application Model (AWS SAM) runs on Windows, macOS, Linux. Marqeta runs on Web, API.
- Can I use AWS Serverless Application Model (AWS SAM) for free?
- Yes. AWS Serverless Application Model (AWS SAM) has a free tier, so you can try it without paying. Marqeta starts at On request.
- What is AWS Serverless Application Model (AWS SAM) best used for?
- AWS Serverless Application Model (AWS SAM) is most often used for defining lambda and api gateway applications as code, testing lambda functions locally before deployment, building ci/cd pipelines for serverless apps, converting console-created resources into templates. Of those, defining lambda and api gateway applications as code and testing lambda functions locally before deployment are not what Marqeta is typically brought in for.
- What can AWS Serverless Application Model (AWS SAM) do that Marqeta cannot?
- AWS Serverless Application Model (AWS SAM) covers SAM template shorthand for CloudFormation, SAM CLI project scaffolding with sam init, Local testing of Lambda functions and API endpoints, sam sync for syncing local changes to the cloud. Marqeta covers Just-in-time funding, Virtual and physical issuing, Spend controls, Programme management tools.
Answered from the vendors’ own pages
AWS Serverless Application Model (AWS SAM): What is AWS SAM?
AWS SAM is an open-source framework for building serverless applications with infrastructure as code. It consists of a template syntax that extends CloudFormation and a command-line tool.
SourceMarqeta: Do I need a sponsor bank?
Yes. Marqeta is an issuer processor, not a bank. Card programmes run on a sponsor bank BIN, and that bank approves and supervises your programme.
AWS Serverless Application Model (AWS SAM): Which operating systems does the SAM CLI support?
AWS publishes installers for Linux on x86_64 and arm64, macOS on Intel and Apple silicon, and a 64-bit Windows MSI. macOS versions older than 13.x are not supported.
SourceMarqeta: How does the pricing really work?
A minimum monthly platform fee plus per-transaction and per-active-card charges, offset by a negotiated share of interchange. The interchange split is the substance of the deal.
AWS Serverless Application Model (AWS SAM): What licence does AWS SAM use?
The serverless-application-model repository on GitHub is licensed under Apache-2.0.
SourceMarqeta: What is just-in-time funding?
Marqeta calls your endpoint at authorisation so you decide and fund each transaction, rather than pre-loading balances onto cards.
AWS Serverless Application Model (AWS SAM): How does SAM differ from the AWS CDK?
The documentation says to use SAM instead of the CDK if you prefer a declarative approach to describing infrastructure rather than a programmatic one. The two can also be combined, using the SAM CLI's local testing with CDK applications.
SourceRelated pages
More on AWS Serverless Application Model (AWS SAM)
Other head to heads
- AWS Serverless Application Model (AWS SAM) vs Terraform
- AWS Serverless Application Model (AWS SAM) vs LocalStack
- AWS Serverless Application Model (AWS SAM) vs Spacelift
- AWS Serverless Application Model (AWS SAM) vs Atlantis
- AWS Serverless Application Model (AWS SAM) vs Backstage
- AWS Serverless Application Model (AWS SAM) vs PDAL
- AWS Serverless Application Model (AWS SAM) vs Claude Code
- AWS Serverless Application Model (AWS SAM) vs Harness
- AWS Serverless Application Model (AWS SAM) vs Losant
- AWS Serverless Application Model (AWS SAM) vs PartyKit
- AWS Serverless Application Model (AWS SAM) vs Webpack
- AWS Serverless Application Model (AWS SAM) vs Garden
- AWS Serverless Application Model (AWS SAM) vs Pieces for Developers
- AWS Serverless Application Model (AWS SAM) vs Portainer
- AWS Serverless Application Model (AWS SAM) vs RubyMine
- AWS Serverless Application Model (AWS SAM) vs Sourcegraph
- AWS Serverless Application Model (AWS SAM) vs Sourcetree
- AWS Serverless Application Model (AWS SAM) vs Anvil
- AWS Serverless Application Model (AWS SAM) vs Paymentology
- AWS Serverless Application Model (AWS SAM) vs Highnote
- AWS Serverless Application Model (AWS SAM) vs i2c
- AWS Serverless Application Model (AWS SAM) vs Enfuce
- AWS Serverless Application Model (AWS SAM) vs Tribe Payments
- AWS Serverless Application Model (AWS SAM) vs Lithic
- AWS Serverless Application Model (AWS SAM) vs Thredd
- AWS Serverless Application Model (AWS SAM) vs Episode Six
- AWS Serverless Application Model (AWS SAM) vs Weavr
- AWS Serverless Application Model (AWS SAM) vs Unit
- AWS Serverless Application Model (AWS SAM) vs Yapily
- AWS Serverless Application Model (AWS SAM) vs Synctera
- AWS Serverless Application Model (AWS SAM) vs Zimpler
- AWS Serverless Application Model (AWS SAM) vs 3scale
- AWS Serverless Application Model (AWS SAM) vs Basis Theory
- AWS Serverless Application Model (AWS SAM) vs curl
- AWS Serverless Application Model (AWS SAM) vs Flybits
- AWS Serverless Application Model (AWS SAM) vs Moesif
- Marqeta vs Terraform
- Marqeta vs LocalStack
- Marqeta vs Spacelift
- Marqeta vs Atlantis
- Marqeta vs Backstage
- Marqeta vs PDAL
- Marqeta vs Claude Code
- Marqeta vs Harness
- Marqeta vs Losant
- Marqeta vs PartyKit
- Marqeta vs Webpack
- Marqeta vs Garden
- Marqeta vs Pieces for Developers
- Marqeta vs Portainer
- Marqeta vs RubyMine
- Marqeta vs Sourcegraph
- Marqeta vs Sourcetree
- Marqeta vs Anvil
- Marqeta vs Paymentology
- Marqeta vs Highnote
- Marqeta vs i2c
- Marqeta vs Enfuce
- Marqeta vs Tribe Payments
- Marqeta vs Lithic
- Marqeta vs Thredd
- Marqeta vs Episode Six
- Marqeta vs Weavr
- Marqeta vs Unit
- Marqeta vs Yapily
- Marqeta vs Synctera
- Marqeta vs Zimpler
- Marqeta vs 3scale
- Marqeta vs Basis Theory
- Marqeta vs curl
- Marqeta vs Flybits
- Marqeta vs Moesif
