By NHI Mgmt Group Editorial TeamBased on Tetrate: “Adding Tetrate Agent Router as a third-party inference gateway in Claude Desktop” (September 11, 2026)

TL;DR: Claude Desktop can route Cowork and Code through an Agent Router gateway using one inference key, according to Tetrate, which moves billing, request logs, and model policy into a single enforcement point while avoiding per-user Claude.ai accounts. The governance shift is that desktop AI access now behaves like any other governed NHI path, where visibility and entitlement matter more than the client surface.


At a glance

What this is: This is a walkthrough of Claude Desktop third-party inference mode, showing how Tetrate routes desktop AI requests through Agent Router so teams can enforce gateway-based billing, logging, and model policy.

Why it matters: It matters because desktop AI is no longer a shadow procurement problem once it is tied to a governed inference key, request logging, and entitlement control across NHI and emerging agentic workflows.


Context

Claude Desktop becomes an identity and governance problem the moment it is used outside an individual subscription model. The issue is not the chat interface itself, but the fact that a desktop client can bypass the AI gateway, hide usage from request logs, and route spend to the wrong account unless it is brought under policy.

For IAM, NHI, and AI governance teams, the operational question is how desktop AI access is authenticated, attributed, and constrained when users prefer the simplest path. This article is about moving that access from personal sign-in into a controlled gateway model so spend, logging, and model allowlists follow organisational rules.


Key questions

Q: How should teams stop desktop AI clients from bypassing the gateway?

A: Make the gateway the only sanctioned inference path and disable any workflow that lets users authenticate directly to the model provider for enterprise use. Then verify that every desktop session produces request logs, attributed billing, and model-policy enforcement in the same control plane as other non-human access paths.

Q: Why does direct sign-in create governance risk for desktop AI usage?

A: Direct sign-in creates a second access path that may be functional but invisible to the gateway. That breaks attribution, weakens budget control, and allows model use outside the project catalog. The risk is not just policy drift, but the loss of evidence needed for audit and enforcement.

Q: What breaks when model access is not tied to project entitlement?

A: Users can see or expect models that the project is not actually authorised to call, which leads to failed requests, support churn, and unapproved workarounds. Tying model access to project entitlement keeps capability aligned to governance and prevents desktop tools from expanding beyond approved scope.

Q: What should identity teams check before rolling out desktop AI at scale?

A: Check that the configuration writes a gateway key, validates the endpoint, and records the traffic headers that distinguish the desktop client from other AI tools. Without those checks, the rollout may look standard while still bypassing the enforcement point that makes access governable.


Technical breakdown

Third-party inference turns a desktop app into a governed NHI client

In third-party inference mode, Claude Desktop stops authenticating a person directly to the model provider and instead presents a static API key to an inference gateway. The gateway resolves the upstream model, applies the project catalog, and records the request under a governed identity path. That matters because the client is no longer the trust boundary. The gateway becomes the point where billing, model entitlement, and request visibility are enforced together, which is the same structural pattern used for other non-human access paths.

Practical implication: Treat the desktop app as an NHI consumer of inference, not as a standalone user convenience layer.

Model allowlists and project entitlement now control desktop AI access

The model picker in Claude Desktop reflects two policy layers: what the gateway key can call and what the local configuration allows. That means model access is not just a UX choice, but a governed entitlement decision. If the project does not grant a model, it will not appear, even if the organisation has wider access. This is the same access-control pattern that identity teams already use for APIs and service accounts, except the failure mode is hidden spend or unapproved model use rather than direct system compromise.

Practical implication: Align model entitlements with project scope and review them like any other privileged access grant.

Request logging closes the visibility gap created by direct sign-in

When users take the Claude.ai sign-in path instead of gateway mode, traffic bypasses the AI gateway and disappears from Request Logs. That creates a governance blind spot where desktop usage exists, but the control plane cannot see it. The article shows why logging is not just operational telemetry. It is the evidence layer for budgeting, policy enforcement, and auditability. Without that evidence, desktop AI becomes indistinguishable from unmanaged shadow AI at the control plane level.

Practical implication: Verify that desktop AI sessions generate gateway-side logs before treating them as governed enterprise usage.


NHI Mgmt Group analysis

Desktop AI becomes an identity governance issue the moment it can bypass the gateway. The article shows a familiar enterprise pattern: a consumer-style client entering the organisation without the same controls as developer tooling. That matters because the risk is not only spend leakage, but the loss of enforcement over who can call which model and under what policy. The practitioner lesson is to govern the client through the same control plane as every other non-human request path.

Request visibility is the control that separates sanctioned usage from shadow AI. If the gateway does not see the traffic, neither budgets nor model policy can be relied on. This is not a logging preference, it is a governance boundary. Organisations that allow direct sign-in paths alongside gateway paths create a parallel channel that weakens auditability and makes usage attribution unreliable.

Model entitlement should be managed as a privileged access decision, not a convenience setting. The model list is filtered by project grant and local allowlist, which means access scope can be narrower than the user expects. That is the right direction for NHI governance because it ties capability to explicit authorization rather than default availability. Practitioners should read this as evidence that model access has become part of the identity perimeter.

Gateway mode illustrates how shadow AI is often an access-routing problem before it is an AI-policy problem. Users do not need malicious intent to create governance failure. They only need a simpler path that bypasses the control point. The practical conclusion is that discovery, routing, and entitlement must be designed together if organisations want desktop AI to stay inside policy.

One named concept captures the main lesson here: gateway visibility debt. When a client can operate both inside and outside the enforcement point, the organisation carries hidden exposure until someone notices missing logs or misattributed spend. That debt accumulates across desktop adoption, and the control objective is to eliminate alternate paths before they become the normal one.

From our research library:

What this signals

Gateway visibility debt: desktop AI adoption creates hidden risk when users can route around the control plane. Once that happens, budgets, audit trails, and model policy stop describing the same reality, which is why enforcement must sit at the gateway rather than the client.

Desktop AI should now be treated as a governed non-human access pattern, not as a casual productivity add-on. The practical boundary is whether the organisation can prove where requests went, which model they used, and which project paid for them. 67% of organisations still rely heavily on static credentials despite the risks they pose to agentic AI deployments, according to the 2026 Infrastructure Identity Survey, and that same static-trust problem shows up here in client-side access paths.


For practitioners

  • Enforce gateway-only desktop AI access Disable or discourage direct Claude.ai sign-in paths where enterprise governance requires request logging and policy enforcement. Make the gateway the default and validate that no alternate client path can be used without leaving the control plane.
  • Tie model access to project entitlement Review which models each project can call and narrow the desktop allowlist to the minimum set needed for the team. Treat that allowlist as part of the access decision, not as a preference setting inside the client.
  • Verify request attribution in logs Send test prompts from each desktop tab and confirm the gateway records request headers, model identity, and key attribution in Request Logs. If the log entry is missing, the usage path is not governed.
  • Standardise desktop rollout configuration Use a repeatable setup method so the gateway key, base URL, and headers are written consistently and validated before first use. That prevents ad hoc local configuration drift from creating unmanaged access paths.

Key takeaways

  • Desktop AI becomes governable only when the gateway, not the client, is the enforcement point for model access and request logging.
  • The main control gap is alternate sign-in behaviour that bypasses logs and policy, creating shadow usage even when the app appears functional.
  • Project entitlement and model allowlists need to be managed as access decisions, because they determine what the desktop client can actually call.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationDesktop inference mode replaces direct sign-in with gateway key authentication.
NHI-05 — Overprivileged NHIModel access is narrowed by project grants and local allowlists.
NHI-10 — Human Use of NHIUsers can choose the client path that bypasses the control plane.
Recommendation — Use NHI-04 to ensure desktop AI clients authenticate through governed gateway keys only. Apply NHI-05 to keep desktop AI model entitlements minimal and project-scoped. Use NHI-10 to prevent users from bypassing enterprise controls with direct sign-in paths.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsGateway mode depends on explicit permission and entitlement control.
Recommendation — Apply PR.AA-05 to govern which projects and clients can call specific models.
MITRE ATT&CKTA0006 — Credential AccessThe article centres on static key usage and authenticated gateway requests.
Recommendation — Map desktop AI key usage to TA0006 and monitor for exposed or misrouted credentials.

Key terms

  • Third-party inference: A deployment pattern where a client sends model requests through an organisation-controlled gateway rather than signing directly into the model provider. For AI governance, it shifts billing, policy enforcement, and visibility into the control plane instead of leaving them inside the client experience.
  • Inference gateway: A routing and enforcement layer that receives model requests, applies policy, selects the upstream model, and records usage. In identity terms, it is the governed entry point for non-human AI access, so logging and entitlement are anchored before the request reaches the model provider.
  • Model Allowlist: A model allowlist is a centrally approved set of AI systems that users are permitted to access for defined tasks. In governance programmes, it limits data exposure, reduces shadow usage, and ensures the organisation can validate security, privacy, and compliance requirements before a model is used.
  • Identity visibility debt: The gap that appears when an organisation can list its assets but cannot reliably link them to owners, entitlements, or activity. It creates a false sense of control because inventory looks complete while access relationships remain hidden, stale, or unreviewed.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on October 16, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org