Skip to content

Home / Integrations / Azure AI Foundry

Platform guide

Stop overpaying for AI tokens and idle Provisioned Throughput.

Size PTUs to your real baseline, route routine agent steps to smaller models, and stop paying twice for repeated prompt prefixes across Azure AI Foundry.

Four AI cost leaks Trimline solves

Under-Utilized 24/7 PTU Commitments

Provisioned Throughput billed around the clock even when night and weekend traffic drops below breakeven, modeled against Microsoft Retail Prices API rates.

Apply: P40 baseline PTU and spillover sizing

Frontier Models Handling Routine Steps

Multi-step agents sending classification, extraction, and formatting calls to top-tier models instead of small-model routing.

Apply: Foundry Model Router config

Un-Cached Agent System Prompts

Multi-turn loops paying full input rates for identical system instructions, tool schemas, and context prefixes on every turn.

Apply: prompt and semantic caching gateway

Unbounded Token Spikes and Runaway Loops

Daily token surges caught by a 14-day rolling median anomaly detector before month-end.

Apply: daily Slack or Teams spike alert

From token chaos to predictable AI margins

  1. 01

    Quantify model spend

    Load your Azure cost export locally in your browser to isolate Azure OpenAI and Foundry meter spend by deployment and resource group.

  2. 02

    Run live breakeven math

    Compare pay-as-you-go, reserved PTUs, and hybrid spillover using current regional Microsoft pricing.

  3. 03

    Deploy gateway and router rules

    Export Bicep or Terraform for Azure API Management prompt caching and tiered model routing, with rollback.

Start in Dev/Test First. Connect non-production subscriptions first for 14 days to prove savings and rollbacks with zero production risk.

Security

Zero Data Retention by design

Core cost analysis never touches your prompts or completions. Optional Trimline AI reviews run inside Microsoft Azure AI Foundry's enterprise compliance boundary with Zero Data Retention and no model training. Open the 50-question InfoSec vault ↗

Zero-Access BoundaryInside your perimeter: Azure tenant, production data, raw cost files, write permissions, approvals and execution. A hard wall separates it from the Trimline control plane, which receives zero production data, zero raw uploads and zero standing write keys, and only optional masked summaries when you click unlock.INSIDE YOUR PERIMETERNever leaves your tenantAzure TenantProduction DataRaw Cost Files (CSV / Parquet)Write PermissionsApprovals and ExecutionHARD WALLTRIMLINE CONTROL PLANEReceives nothing by default0 Production Data0 Raw Uploads0 Standing Write KeysOnly optional masked summaries,and only when you click unlock.INSIDE YOUR PERIMETERNever leaves your tenantAzure TenantProduction DataRaw Cost Files (CSV / Parquet)Write PermissionsApprovals and ExecutionHARD WALLTRIMLINE CONTROL PLANE0 Production Data0 Raw Uploads0 Standing Write KeysOnly optional masked summaries,and only when you click unlock.
Zero-Access Boundary. Read-only roles, browser-only file analysis, and no standing write keys.
Zero-Upload Browser Execution

Strict CSP (default-src 'self'; connect-src 'self') keeps CSV, Gzip, and Parquet files on your machine. The analysis runs in your browser tab.

Read-Only RBAC Least Privilege

Onboarding grants only Reader, Cost Management Reader, and Monitoring Reader. Never Owner or Contributor.

SHA-256 Verified Command Allowlist

Every scan.sh release publishes a build-locked SHA-256 checksum and passes bash scan.sh --check, refusing delete, write, or key-access commands.

60-Second Unilateral Revocation

Three standard az CLI commands (or one click in Azure Lighthouse) remove Trimline's visibility completely, without contacting us.

Dev/Test-First 14-Day Rollout

Scope your first audit to non-production subscriptions to verify the savings math and rollbacks with zero production blast radius.

Zero Data Retention AI (Opt-In)

Core scanning is 100% deterministic with zero AI. Optional context reviews run only on Microsoft Azure AI Foundry with Zero Data Retention and no model training. Off by default.

Cryptographic Approval and Billing Audit Trail

Every Slack or Teams approval binds to a change hash over the apply and rollback scripts, and every Proof-of-Savings statement embeds the SHA-256 hashes of your input billing exports.

See what Trimline finds in your Azure bill.

Run Free Audit ↗