[SDK reference](../../index.md) / [Models](../index.md) / [Ai](index.md)

# InferenceEndpoint

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Ai`  

Managed online or batch AI inference endpoint backed by `llama.cpp` or `vLLM` (ADR-1004, ADR-1007, ADR-1008, ADR-1010).Enforces per-project KV-cache salt (`cache_salt`), pre-billing safety hooks, and integer micro-euro burst spend caps.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `AcceleratorClass` | `string?` | `acceleratorClass` | Accelerator class (`cpu` \| `nvidia-rtx-5060-laptop-8gb`). |
| `AcceleratorCount` | `int?` | `acceleratorCount` | Number of accelerators attached per replica (`0` for CPU, `>= 1` for GPU). |
| `ActiveReplicas` | `int?` | `activeReplicas` | Currently warm replica count (`0` when `SCALED_TO_ZERO` or `PAUSED`). |
| `Annotations` | `Models.Ai.InferenceEndpoint_annotations?` | `annotations` | At most 256 KiB in all; never policy input. |
| `BlockCredentials` | `bool?` | `blockCredentials` | Input guardrail: refuse prompts that carry credentials (private keys, bearer tokens, cloud access keys) before any charge. Default `false`. |
| `BlockPersonalData` | `bool?` | `blockPersonalData` | Input guardrail: refuse prompts that carry personal data (e-mail addresses, card numbers, national ID numbers) before any charge. Default `false`. |
| `BlockedTerms` | `List<string>?` | `blockedTerms` | Input guardrail: refuse prompts that contain one of these terms, matched case-insensitively (`<= 32` terms of `<= 64` characters). |
| `BurstCapMicros` | `long?` | `burstCapMicros` | Per-project burst spend cap in integer micro-euros (default `100000` = EUR 0.10; ADR-1004, ADR-1008). |
| `CacheScope` | `string?` | `cacheScope` | KV-cache isolation scope: `project` (default, HMAC-salted) \| `none` (global sharing refused). |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `DeleteTime` | `DateTimeOffset?` | `deleteTime` | The deleteTime property |
| `DeploymentType` | `string?` | `deploymentType` | Deployment mode: `serverless` (scale-to-zero) \| `dedicated` \| `batch` (default `serverless`). |
| `DisplayName` | `string?` | `displayName` | Up to 63 characters. |
| `EndpointUri` | `string?` | `endpointUri` | Provisioned cell-local HTTPS invoke URI. |
| `Engine` | `string?` | `engine` | Serving engine: `llama-cpp` \| `vllm` \| `fake` (default `llama-cpp`). |
| `Etag` | `string?` | `etag` | "{generation}"; send it back in If-Match. |
| `EvidenceLevel` | `string?` | `evidenceLevel` | Confidential-AI evidence level (`C0` in P0–P3; ADR-1006). |
| `FilterOutput` | `bool?` | `filterOutput` | Output guardrail: an answer that carries personal data, credentials or a blocked term is replaced by a notice and the call finishes with `content_filter`; the tokens generated are still charged. Default `false`. |
| `IdleToZeroSeconds` | `int?` | `idleToZeroSeconds` | Idle window in seconds before scaling `minReplicas == 0` endpoints to zero (`10..86400`, default `300`). |
| `InputPricePer1kMicros` | `long?` | `inputPricePer1kMicros` | Input token rate in integer micro-euros per 1,000 tokens (defaults to pricebook `tokens-in`). |
| `Labels` | `Models.Ai.InferenceEndpoint_labels?` | `labels` | At most 64. |
| `MaxReplicas` | `int?` | `maxReplicas` | Maximum replicas (`>= minReplicas`, `1..16`). |
| `MinReplicas` | `int?` | `minReplicas` | Minimum warm replicas (`0` enables scale-to-zero on idle). |
| `Modality` | `string?` | `modality` | Modality (`text` \| `embeddings` \| `rerank`; generative media refused with `modality-not-available`). |
| `Model` | `string?` | `model` | Model resource name (`projects/{p}/locations/{l}/models/{m}`, `{m}`) or immutable `name@sha256:<64 hex>` reference. |
| `ModelDigest` | `string?` | `modelDigest` | Resolved immutable `sha256:<64 hex>` model digest served by this endpoint. |
| `ModelMaxTokens` | `int?` | `modelMaxTokens` | Maximum completion tokens allowed per `:invoke` call (default `1024`). |
| `Name` | `string?` | `name` | The resource name, for example projects/p/locations/l/instances/i. |
| `OutputPricePer1kMicros` | `long?` | `outputPricePer1kMicros` | Output token rate in integer micro-euros per 1,000 tokens (defaults to pricebook `tokens-out`). |
| `PurgeTime` | `DateTimeOffset?` | `purgeTime` | The purgeTime property |
| `Reconciling` | `bool?` | `reconciling` | True while the platform works toward the spec. |
| `RequestsPerMinuteLimit` | `int?` | `requestsPerMinuteLimit` | Rate limit: the most `:invoke` calls the endpoint takes in any 60 seconds (`0` = no limit of its own, the default; `1..100000`). A call over it is refused with `429 rate-limited` before any charge. |
| `SafetyMode` | `string?` | `safetyMode` | Safety filter policy: `block` (default) \| `flag` \| `off` (`off` refused on shared `serverless` endpoints per ADR-1007). |
| `Simulated` | `bool?` | `simulated` | True when backed by simulated lab hardware/engine. |
| `State` | `Models.Ai.InferenceEndpointState?` | `state` | Managed inference endpoint lifecycle states (ADR-1004, ADR-1010). |
| `SuspendReason` | `string?` | `suspendReason` | Reason the endpoint is paused (`spend-cap` or `user`), if paused. |
| `Uid` | `string?` | `uid` | UUIDv7, never reused. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
