Minimal infrastructure using fully managed, serverless services. Designed for rapid prototyping, internal copilots, and low-operational-overhead applications. No VNets or private endpoints — pure PaaS simplicity.
The Serverless AI pattern is the lightest-weight deployment option. It uses Azure Functions (Consumption plan) for event-driven processing, Azure OpenAI with GPT-4o-mini for cost-efficient inference, and AI Search Basic for vector search.
This pattern gets you from zero to a working AI app in minutes. Ideal for hackathons, internal tools, MVPs, and PoC validation before investing in production infrastructure.
| GPT-4o-mini | 20K TPM |
| text-embedding-3-small | 60K TPM |
| Runtime | Python 3.11 |
| Plan | Consumption (Y1) |
| HTTPS Only | Yes |
| FTPS | Disabled |
graph TB
CLIENT["Client Apps<br/>Web / Mobile / Teams"]
subgraph Optional["Optional API Layer"]
APIM["Azure API Management<br/>Consumption Tier"]
end
subgraph Compute["Serverless Compute"]
FUNC["Azure Functions<br/>Consumption Plan Y1<br/>Python 3.11"]
end
subgraph AI["AI Services"]
AOAI["Azure OpenAI<br/>GPT-4o-mini"]
AIS["Azure AI Search<br/>Basic Tier"]
end
subgraph Storage["Storage"]
BLOB["Azure Blob Storage<br/>Documents"]
FUNCSA["Functions Storage<br/>Runtime"]
end
subgraph Monitor["Monitoring"]
MON["Log Analytics<br/>30-day retention"]
APPINS["App Insights"]
end
CLIENT --> APIM
APIM --> FUNC
CLIENT -.->|"Direct"| FUNC
FUNC --> AOAI
FUNC --> AIS
FUNC --> BLOB
AIS --> BLOB
FUNC --> APPINS
APPINS --> MON
| # | Service | Resource Name | SKU / Tier | Purpose | Monthly Cost |
|---|---|---|---|---|---|
| 1 | Azure OpenAI | {base}-{env}-openai | S0 | GPT-4o-mini (20K TPM) + embeddings (60K TPM) | ~$450 |
| 2 | Azure AI Search | {base}-{env}-search | Basic | Vector + keyword search (2 GB) | $73.73 |
| 3 | Azure Functions | {base}-{env}-func | Consumption (Y1) | Event-driven compute (pay per execution) | ~$20 |
| 4 | Functions Storage | {base}{env}funcsa | Standard_LRS | Functions runtime storage | ~$2 |
| 5 | Blob Storage | {base}{env}sa | Standard_LRS (no HNS) | Document and embedding storage | ~$15 |
| 6 | Log Analytics | {base}-{env}-law | PerGB2018, 30-day | Centralized logging | ~$10 |
| 7 | Application Insights | {base}-{env}-ai | Workspace-based | APM and request tracing | Incl. |
| 8 | API Management (opt.) | {base}-{env}-apim | Consumption | API facade, rate limiting, key mgmt | ~$3.50/M calls |
| Estimated Total (Moderate PoC/Internal) | ~$890/mo | ||||
Consumption pricing means near-zero cost when idle. Token costs based on ~200M tokens/month with GPT-4o-mini.
GPT-4o-mini for cost-efficient chat completions (20K TPM) and text-embedding-3-small for lightweight vector embeddings (60K TPM). ~10x cheaper than GPT-4o per token.
Event-driven serverless compute. Python 3.11 runtime. Pay only for execution time. 1M free executions/month. HTTPS-only, FTPS disabled.
Lightweight vector and keyword search. 2 GB storage, 1 replica, 1 partition. Semantic search on free tier. Upgrade to Standard for production.
Simple blob storage for source documents and pre-computed embeddings. No HNS (flat namespace). Cost-efficient for PoC-scale data.
Optional API facade providing rate limiting, API key management, and usage analytics. Consumption tier means pay per call with no fixed cost.
Log Analytics with 30-day retention. Application Insights for request tracing, dependency tracking, and exception logging.
Slack/Teams bots, internal knowledge assistants, document Q&A for teams.
Validate AI concepts before investing in full infrastructure. From idea to API in under 30 minutes.
Deploy a full AI stack in minutes for innovation sprints and competitive hackathons.
No clusters, no VNets, no private endpoints. Minimal operational burden and near-zero idle cost.
| Constraint | Mitigation |
|---|---|
| No VNet isolation — public-facing services | Acceptable for PoC; upgrade to Pattern 1/6 for production |
| Cold start latency on Consumption plan | Use Premium plan for latency-sensitive workloads |
| Basic AI Search has limited capacity (2 GB) | Upgrade to Standard for production scale |
| Not ideal for strict enterprise environments | Add private endpoints if moving to production |
| Limited scaling control | Acceptable for PoC; use dedicated plans for production |
Generate a complete deployment spec sheet with GitHub Actions workflow, Bicep file structure, and prerequisite checklist.
Generate Deployment Spec Sheet