AI i Azure eller lokalt: kostnader, säkerhet och drift
Valet mellan Azure och egen hårdvara för AI avgörs av tre faktorer: hur jämn er last är, vilka säkerhetskrav som faktiskt gäller er verksamhet och vilken driftkapacitet ni har. Vi går igenom kostnadsstrukturerna i båda spåren, brytpunkten där egen hårdvara blir billigare än betala-per-användning, vad Patientdatalagen och försvarsnära krav innebär i praktiken, och avslutar med en beslutsmatris och en checklista inför beslutet.
Claude Fable 5.1 in Foundry: cache math and the EU caveats
Claude Fable 5.1 keeps Fable 5's $10/$50 pricing but cuts cache reads to $0.25 per million tokens, which turns a 60-turn agent session from $17.25 into $10.50 and shrinks the premium over Opus 5 from 2x to about 22%. On Microsoft Foundry it ships Anthropic-hosted only, with no EU data zone, no Batches API, a zero default quota on pay-as-you-go, mandatory 30-day retention until Enterprise Frontier Safeguards arrive, and three breaking changes for teams migrating from Fable 5.
Terraform to Bicep Migration on Azure: A Field Guide
Moving Azure infrastructure from Terraform to Bicep is less about converting HCL files and more about replacing a state-file workflow with a deployment-based one. This field guide covers when migration pays off, inventorying tfstate, incremental coexistence patterns, the decompile tooling that exists, deployment stacks as the lifecycle answer, and the what-if validation and rollback discipline that keeps the cutover safe.
Anthropic Claude prompt caching pricing: write, read, TTL math
Anthropic prices prompt caching with three numbers: a 1.25x or 2x premium on cache writes depending on TTL, a 0.1x rate on cache reads, and the base input rate for everything after the last breakpoint. This deep-dive verifies every figure against the current official docs and covers per-model minimums, break-even math, batch stacking and how Claude on Azure converts it all into CCUs.
Azure Assistants API retired: migrating to Foundry Agents
The Azure OpenAI Assistants API reached its retirement date on 26 August 2026, and the classic Foundry Agent Service it underpins retires 31 March 2027. A step-by-step migration guide to the new Foundry Agent Service on the Responses API: threads become conversations, runs become responses, assistants become versioned agents, and Microsoft's migration tool rewrites code but not stored state.
Upgrading to Next.js 16.3: build cache and memory wins
Next.js 16.3 shipped on 3 August 2026 with build disk caching on by default, up to 90% lower dev-server memory through eviction, TypeScript 7 type checking, and native Node.js streams that handle up to 22% more SSR requests under load. Here is what an Azure-hosted enterprise app gains from the upgrade, how to verify the wins in your own CI pipeline, and a decision guide for the opt-in Instant Navigations suite.
Agent Framework Harness GA: build or buy your agent loop
Microsoft's Agent Framework Harness and Foundry Hosted Agents reached general availability in early August 2026, wrapping models with function invocation, context compaction, planning, memory, tool approvals and OpenTelemetry in a runtime that runs locally, in containers, or consumption-billed on Foundry. A decision framework for Azure teams weighing the GA runtime against a hand-rolled agent loop, with cost levers and the Swedish compliance picture.
Who enforces the AI Act in Sweden? PTS and the new map
Sweden's AI Act enforcement map is now set: the SOU 2025:101 inquiry designates Post- och telestyrelsen (PTS) as coordinating market surveillance authority, with eleven surveillance bodies, two notifying authorities, and a PTS-run regulatory sandbox. The supplementary law was written to take effect on 2 August 2026 but awaits formal adoption, so PTS and its peers operate on interim government assignments while EU transparency rules already apply.
The AI Act's high-risk deadline moved to December 2027
Regulation (EU) 2026/1744, the Digital Omnibus on AI, entered into force on 27 July 2026 and moves the AI Act deadline for Annex III high-risk systems from August 2026 to 2 December 2027, with Annex I embedded systems following in August 2028. Article 50 transparency still applies from 2 August 2026, a new prohibition arrives with a December 2026 marking deadline, and a phased 16-month plan turns the reprieve into a workable compliance programme.
Claude Opus 5 for long-running agents: the cost math
Claude Opus 5 launched on 24 July 2026 at $5/$25 per million tokens with a 1M context window and day-one availability in Microsoft Foundry. For long-running agents the per-token price is the wrong unit: we work through cost per completed task against Sonnet 5 and GPT-5.6 Sol, and flag the EU data-residency caveat Swedish Azure teams need to check first.
Claude Sonnet 5 vs Opus 4.8 vs GPT-5.5: agent cost math
Anthropic launched Claude Sonnet 5 on 30 June 2026 at an introductory 2/10 dollars per million tokens, posting 63.2% on SWE-bench Pro and near-Opus agentic performance at 40-60% of the cost per task. We run the cost math against Opus 4.8 and GPT-5.5, set out a routing framework for when the cheap model wins, and draw the continuity lesson from the eighteen-day Fable and Mythos export-control pause.
Claude on Azure is GA: Foundry deployment and CCU costs
Claude Opus 4.8 and Claude Haiku 4.5 are now generally available in Microsoft Foundry, hosted on Azure with Entra ID authentication, prompt caching, extended thinking and billing through Claude Consumption Units on your existing Azure invoice. Deployment steps, the CCU cost model compared with Azure OpenAI, and the data-residency caveats Swedish and EU teams should assess before production use.
Who will knock on your door about AI in Sweden? IMY, mostly
On 15 June 2026 IMY confirmed its role as market surveillance authority for the EU AI Act, with responsibility covering AI systems in areas such as law enforcement and credit assessment, alongside PTS and Finansinspektionen. For Swedish enterprises this puts GDPR and AI Act supervision under one regulator, and IMY's sandbox role offers a way to get data protection guidance before enforcement reaches full strength in 2027.
CADA explained for Azure customers: EU cloud sovereignty
On 3 June 2026 the European Commission proposed the Cloud and AI Development Act, a regulation that introduces four Union assurance levels for cloud sovereignty and aims to at least triple EU data centre capacity within five to seven years. For Swedish public-sector and regulated teams on Azure, the framework will decide which workloads can stay on a US hyperscaler and which need an EU-controlled alternative, so the classification work should start now.
Build 2026 Foundry agents: what Azure teams can ship now
Microsoft Build 2026 turned Foundry into a full production-agent stack: Foundry IQ for unified retrieval, Toolboxes for managed tool access, agent memory, Voice Live and the experimental Scout Autopilot. Foundry IQ knowledge bases and Voice Live are generally available now, Toolboxes and memory sit in public preview, and Scout remains experimental, which sets the build, pilot and watch lanes for an Azure-first EU team.
Sweden's cloud policy: digital sovereignty for Azure teams
Sweden's first national cloud policy (Fi2026/01233) bans no provider but makes jurisdictional exposure, portability and exit capability the questions every public-sector cloud decision must now answer in writing. For Azure estates, a defensible position means classified workloads, enforced Swedish and EU residency, customer-managed keys for sensitive data and a tested export path.
Azure Managed Identity and Key Vault: Secret Rotation Without Outages
A practical pattern for rotating Azure secrets with zero downtime using Managed Identity, Key Vault rotation policies, and versioned references — including the common mistakes that cause rotation-induced outages.
Bicep vs Terraform in 2026: Which to Choose for Azure
A 2026 comparison of Bicep and Terraform for Azure — state management, provider coverage, drift detection, module ecosystems, team-scale considerations, and an honest recommendation matrix for different team shapes.
Multi-Tenant SaaS on Azure: Pool vs Silo, Honestly Compared
A grounded comparison of the three multi-tenant patterns on Azure — pool, silo, and bridge — on isolation, cost, blast radius, data sovereignty, and operational complexity. Plus concrete Prisma schema patterns for each.
Azure Sweden Central Deep Dive: Services, Latency, Residency
A 2026 snapshot of the Azure Sweden Central region — which services are fully available, latency numbers from Stockholm, Gothenburg and Malmö, the residency nuances that matter for GDPR, and how to plan a migration from West Europe.
Self-Hosted GitHub Runners on Azure: The ROI Calculation
The honest cost model for self-hosted GitHub Actions runners on Azure — break-even math against hosted runners, when self-hosting is a trap, and the ephemeral scaleset architecture that keeps them safe in production.
Cognitive Search to Azure AI Search: Manufacturing Migration
Microsoft renamed Azure Cognitive Search to Azure AI Search in late 2023 and added substantial vector, semantic, and agentic-retrieval capabilities. Manufacturing teams running legacy Cognitive Search deployments need a structured migration plan — not a like-for-like upgrade, but a targeted modernisation of the features that matter most.