M
MatrixAPI by iinfosolutions
100% Google Cloud Native AI Control Plane

Zero-Trust Governance & FinOps for Enterprise AI

MatrixAPI intercepts, sanitizes, and governs every LLM API call before a single token leaves your VPC. Prevent Denial-of-Wallet attacks with Redis circuit breakers, redact sensitive PII inline, and enforce HSM-backed cryptographic audit provenance.

Gateway Overhead

<100ms

P99 INLINE INSPECTION

PII & Secret Redaction

99.9%

ZERO DATA EXFILTRATION

Cost Attribution

Real-Time

REDIS CIRCUIT BREAKERS

Audit Provenance

SHA-256

IMMUTABLE LEDGER

Unified Enterprise AI Control Plane

Directly connecting applications to external LLM APIs exposes enterprises to runaway token spend, compliance violations, and prompt injection risks. MatrixAPI sits securely between your engineering teams and frontier models.

01

Virtual Key FinOps

Never share raw provider master keys. Provision scoped MatrixAPI virtual keys (av_live_...) per developer or microservice with granular rate limits, token quotas, and instant revocation.

02

Inline PII & Prompt Firewall

Automatically detect and mask SSNs, credit cards, API secrets, and proprietary code in outbound prompts while neutralizing adversarial prompt injections before execution.

03

Cryptographic Provenance

Every prompt and model completion is cryptographically chained using SHA-256 and anchored to Google Cloud infrastructure for tamper-evident regulatory compliance.

Built on Google Cloud

High-Throughput Serverless Gateway Architecture

Engineered by iinfosolutions natively on Google Cloud Platform to guarantee sub-100ms inline enforcement at enterprise scale:

  • ✓ Google Cloud Run: Auto-scaling stateless inspection proxy handling burst LLM traffic with zero cold-start bottlenecks.
  • ✓ Memorystore / Redis Circuit Breakers: Sub-millisecond token budget validation and velocity rate limiting.
  • ✓ Vertex AI & Multi-Model Routing: Seamless policy-based routing across Gemini 2.5, Claude, and OpenAI endpoints with automatic failover.
matrixapi-gateway-flow.log

# 1. Incoming Developer Request (Identity: agent@matrixapi.ai)

POST https://matrixapi.ai/api/gateway

Authorization: Bearer av_live_98f2a...x81b

# 2. Inline MatrixAPI Enforcement (38ms)

[PASS] Virtual Key Quota Verified (Tenant: matrixapi-enterprise)

[REDACTED] Masked 1 PII Entity (EMAIL_ADDRESS -> <REDACTED_EMAIL>)

[PASS] Prompt Firewall: 0 Injection Signatures Detected

[AUDIT] SHA-256 Chain Hash: 8f94e2c0...4b19a Committed

Developer Quickstart

MatrixAPI Gateway & SDK Integration

Drop-in replacement for standard LLM SDKs. Route traffic through MatrixAPI by updating two lines of code.

1. cURL Gateway Request

curl -X POST https://matrixapi.ai/api/gateway \
-H "Content-Type: application/json" \
-H "Authorization: Bearer av_live_YOUR_VIRTUAL_KEY" \
-d '{
"model": "gemini-2.5-pro",
"messages": [
  {"role": "user", "content": "Analyze Q3 revenue for john.doe@acme.com"}
]
}'

2. Python OpenAI / Vertex SDK Drop-In

from openai import OpenAI

client = OpenAI(
base_url="https://matrixapi.ai/api/gateway/v1",
api_key="av_live_YOUR_VIRTUAL_KEY"
)

response = client.chat.completions.create(
model="gemini-2.5-pro",
messages=[{"role": "user", "content": "Summarize compliance report"}]
)