Find a model

Browse the full catalog →

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 600+ models across 100+ 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 documented600+ models across 100+ 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.

600+ modelspublic catalog
100+ providerscatalog coverage
461ZDR routes
60provider E2EE routes
6281recent availability samples
Model Providers Context Input Output Privacy Measured route
Anthropic: Claude Opus 4.8anthropic/claude-opus-4.8
4 routes
1,000,000 $5.275/1M to $5.8025/1M $26.375/1M to $29.0125/1M ZDR 5 cited scores 1425 ms TTFT anthropic · 92 tok/s · 100.00% available · n=1
OpenAI: GPT-5.5openai/gpt-5.5
2 routes
1,050,000 $5.275/1M $31.65/1M varies 3 cited scores No measurements yet
Google: Gemini 3.5 Flashgoogle/gemini-3.5-flash
2 routes
1,048,576 $1.5825/1M $9.495/1M varies 1283 ms TTFT google-vertex · 62 tok/s · 100.00% available · n=3
MoonshotAI: Kimi K2.7 Codemoonshotai/kimi-k2.7-code
+8
16 routes
262,144 $0.633/1M to $1.004888/1M $3.165/1M to $4.5365/1M ZDR 5 cited scores 954 ms TTFT inceptron · 48 tok/s · 100.00% available · n=21
Z.ai: GLM 5.2z-ai/glm-5.2
+23
44 routes
1,048,576 $0.6541/1M to $2.646584/1M $1.5825/1M to $7.939751/1M Confidential + ZDR 4 cited scores 1722 ms TTFT digitalocean · 56 tok/s · 75.00% available · n=65
MiniMax: MiniMax M3minimax/minimax-m3
+8
20 routes
524,288 $0.24265/1M to $0.633/1M $1.0128/1M to $2.532/1M ZDR 4 cited scores 1197 ms TTFT minimax · 67 tok/s · 100.00% available · n=32

Provider summaries cover each provider's full catalog.

AnthropicPolicy varies 14 models 1314 ms p50 · n=72
Amazon BedrockPolicy varies 39 models 2675 ms p50 · n=115
OpenAIZDR on prepaid 40 models 1318 ms p50 · n=499
Google Vertex AIZDR on prepaid 14 models 1408 ms p50 · n=139
KimiPolicy varies 6 models 2587 ms p50 · n=25
SiliconFlowPolicy varies 55 models 1327 ms p50 · n=19
GMI CloudPolicy varies 47 models 2504 ms p50 · n=24
Alibaba Cloud Model StudioPolicy varies 41 models 1154 ms p50 · n=42

Browse every modelReview provider policiesOpen the full leaderboardSnapshot 2026-12-02T03:36:40.047Z

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 600+ models; 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.