Find a model

Browse the full catalog →

OpenAI compatible API · Attested · Public status

Use TrustedRouter with Cline & Roo Code: Cheap, Private Models

Point Cline or Roo Code at TrustedRouter's OpenAI-compatible API: 220+ model routes, automatic fallback, and no prompt or output logs in an attested TEE.

Verify gateway
Onebase URL to migrate
100sof models and routes
0prompt or output logs. Always.
Cline and Roo Code API provider

Your coding agent streams your entire repo through its API provider, so pick one you can verify.

Cline and Roo Code both speak the OpenAI-compatible protocol, which makes TrustedRouter a three-field setup: base URL, API key, model id. That buys you 220+ model routes across 30+ providers, including Claude, GPT, Gemini, DeepSeek V4, Kimi K2.7, GLM-5.2, and Qwen 3.5, with automatic fallback to another provider when one goes down.

Privacy matters more for agents than for chat. Every agent turn ships file contents, diffs, and terminal output upstream. TrustedRouter never logs prompt or output content. Ordinary synchronous and streaming inference does not retain it. The opt-in Batch API temporarily retains enclave-encrypted artifacts for up to 30 days. The prompt path runs inside a hardware-attested confidential-compute gateway whose source is open and whose attestation you can check live.

See per-model pricing Pick a model route

Cline → Settings → API Providerbash
# Choose "OpenAI Compatible" in Cline or Roo Code, then paste:
#   Base URL:  https://api.trustedrouter.com/v1
#   API key:   your TrustedRouter key
#   Model ID:  trustedrouter/cheap

# Sanity check from a terminal:
curl https://api.trustedrouter.com/v1/chat/completions \
  -H "Authorization: Bearer $TRUSTEDROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"trustedrouter/cheap","messages":[{"role":"user","content":"ping"}]}'
Cost

Agent loops burn tokens

An agent reads files, retries edits, and reruns tests, so its token volume dwarfs chat usage. Route to trustedrouter/cheap and it picks the cheapest capable route. Pricing is a thin markup over provider list prices, listed per model at /pricing. The smart-cheap-fast chooser at /choose helps you commit to a fixed route instead.

Privacy

Attestation beats a privacy policy

The prompt path runs through an open-source, hardware-attested gateway. The image digest is published, the attestation JWT is signed by the CPU vendor's root key, and it binds to your live TLS session, so it cannot be replayed. Routes carry privacy tiers: Open, Zero-Data-Retention, or full TEE, where even the provider cannot read the prompt. Details at /security.

Models

Chinese open weights, without the vendor

With Confidential privacy (provider.min_privacy "confidential"), prompts never reach the model vendor: a Confidential request routes only to third-party confidential-compute hosts, and fails rather than fall back to the vendor's own API. ZDR and TEE tiers are available per route. One finding from our own testing: the same GLM weights answered 60/60 sensitive questions through our enclave versus 30/60 via the vendor-hosted API. The filtering is host-applied.

OpenRouterTrustedRouter
Cline / Roo Code setupOpenAI-compatible, paste and goThe same: base URL, key, model id
CatalogVery large catalog, wide ecosystem, well documented220+ routes across 30+ providers
Prompt handlingDefined by policy and per-provider settingsNo prompt or output logs; real-time inference is content-stateless; Batch retention is explicit
ProofYou read the policyYou check a live attestation: signed JWT, published image digest, open-source gateway
Privacy tiersVaries by providerOpen / Zero-Data-Retention / TEE, labeled per route
Verify, don't trust

Check the gateway yourself before your agent sends a single file.

Run curl against the attestation endpoint with a nonce and you get back a JWT signed by the CPU vendor's root key. The image digest matches the published open-source artifact, and the attestation binds to your live TLS session. Privacy you can check beats privacy you're promised. The full procedure is at /security.

The gateway handles agent-scale volume: a document-processing company scaled from zero to over a billion tokens per week through the attested gateway within three weeks of onboarding. Pay with prepaid credits, bring your own provider key, or use x402 pay-per-request with MetaMask sign-in.

Live catalog evidence

Current routes, prices, privacy, and measured performance.

Catalog facts come from the routes currently configured in TrustedRouter. Performance uses the same cached metadata snapshot as the public leaderboard. Prompts and outputs are not part of these measurements.

613public models
110providers
1822configured routes
399ZDR routes
55provider E2EE routes
4890recent availability samples
Model Providers Context Input Output Privacy Measured route
Anthropic: Claude Opus 4.8anthropic/claude-opus-4.8
2 routes
1,000,000 $5.275/1M $26.375/1M varies 5 cited scores 1353 ms TTFT anthropic · 90 tok/s · 100.00% available · n=2
OpenAI: GPT-5.5openai/gpt-5.5
4 routes
1,050,000 $5.275/1M $31.65/1M ZDR 3 cited scores No measurements yet
Google: Gemini 3.5 Flashgoogle/gemini-3.5-flash
3 routes
1,048,576 $1.5825/1M $9.495/1M ZDR 1632 ms TTFT google-vertex · 72 tok/s · 100.00% available · n=2
MoonshotAI: Kimi K2.7 Codemoonshotai/kimi-k2.7-code
+11
19 routes
262,144 $0.692291/1M to $1.31875/1M $3.4815/1M to $4.82135/1M ZDR 5 cited scores 1850 ms TTFT kimi · 23 tok/s · 100.00% available · n=21
Z.ai: GLM 5.2z-ai/glm-5.2
+28
48 routes
1,048,576 $0.3587/1M to $2.370374/1M $1.5825/1M to $6.838973/1M Confidential + ZDR 4 cited scores 3220 ms TTFT phala · 68 tok/s · 85.71% available · n=60
MiniMax: MiniMax M3minimax/minimax-m3
+13
25 routes
1,048,576 $0.24265/1M to $0.633/1M $1.0128/1M to $2.532/1M ZDR 4 cited scores 2234 ms TTFT minimax · 62 tok/s · 100.00% available · n=30
AnthropicPolicy varies 14 models 3156 ms p50 · n=266
OpenAIZDR on prepaid 47 models 2156 ms p50 · n=499
GMI CloudPolicy varies 78 models 3016 ms p50 · n=20
Atlas CloudPolicy varies 81 models 1958 ms p50 · n=14
Google Vertex AIZDR on prepaid 14 models 2801 ms p50 · n=188
KimiPolicy varies 4 models 1850 ms p50 · n=34
Novita AIPolicy varies 79 models 2354 ms p50 · n=35
SiliconFlowPolicy varies 27 models 2254 ms p50 · n=22

Browse every modelReview provider policiesOpen the full leaderboardSnapshot 2026-10-22T22:07:34.258Z

Questions

How do I set TrustedRouter as the API provider in Cline?

In Cline's settings, choose the OpenAI Compatible provider type, then paste three fields: the base URL https://api.trustedrouter.com/v1, your TrustedRouter API key, and a model id such as trustedrouter/cheap or any of the 220+ routes; the model chooser at trustedrouter.com/choose helps you pick one. No SDK or code changes are needed because the API is OpenAI-compatible. The same three fields work in Roo Code's OpenAI Compatible provider settings.

Which model routes are cheapest for coding agents?

trustedrouter/cheap automatically selects the cheapest capable route, which suits high-volume agent loops. trustedrouter/fast optimizes for speed instead. trustedrouter/frontier, trustedrouter/advanced, trustedrouter/professional, and trustedrouter/efficient use fixed ordered pools: the first member is preferred and the rest are fallbacks, with no synthesis or implicit privacy floor. Fixed routes for open models such as GLM glm-5.2-fast, DeepSeek V4 Flash, and Kimi K2.7 are listed with transparent per-model pricing, a thin markup over provider list prices, at trustedrouter.com/pricing.

Is my code private when an agent routes through TrustedRouter?

TrustedRouter never logs prompt or output content. Ordinary synchronous and streaming inference does not retain it. The opt-in Batch API temporarily retains enclave-encrypted artifacts for up to 30 days. The prompt path runs inside a hardware-attested confidential-compute gateway whose source is open source, and you can verify the attestation live against a published image digest. Each route also carries a privacy tier: Open, Zero-Data-Retention, or TEE, where even the serving provider cannot read your prompt.

Can I use DeepSeek, Kimi, or GLM in Cline without sending code to the model vendor?

Yes. With Confidential privacy (provider.min_privacy "confidential"), prompts never reach the model vendor: a Confidential request routes only to third-party confidential-compute hosts, and fails rather than fall back to the vendor's own API. Standard routing can include a vendor's own API, so set the Confidential tier for code that must not reach it. With it, you get the capability of the open weights while your codebase stays inside infrastructure you can verify.

Workspace access

Sign in

Choose a sign in method to access your TrustedRouter workspace.

New to TrustedRouter?

By continuing you agree to the terms of service and privacy policy.