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
470ZDR routes
66provider E2EE routes
9045recent 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 measured amazon-bedrock · 71 tok/s · 100.00% available · n=7
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 1706 ms TTFT google-vertex · 56 tok/s · 100.00% available · n=8
MoonshotAI: Kimi K2.7 Codemoonshotai/kimi-k2.7-code
+7
15 routes
262,144 $0.633/1M to $1.004888/1M $3.165/1M to $4.5365/1M ZDR 5 cited scores 1250 ms TTFT inceptron · 109 tok/s · 80.00% available · n=20
Z.ai: GLM 5.2z-ai/glm-5.2
+23
44 routes
1,048,576 $0.6541/1M to $2.620863/1M $1.5825/1M to $7.862588/1M Confidential + ZDR 4 cited scores 1624 ms TTFT phala · 38 tok/s · 100.00% available · n=54
MiniMax: MiniMax M3minimax/minimax-m3
+9
21 routes
524,288 $0.24265/1M to $0.633/1M $1.0128/1M to $2.532/1M ZDR 4 cited scores 947 ms TTFT telnyx · 299 tok/s · 100.00% available · n=851

Provider summaries cover each provider's full catalog.

AnthropicPolicy varies 14 models 1259 ms p50 · n=285
Amazon BedrockPolicy varies 39 models 6873 ms p50 · n=106
OpenAIZDR on prepaid 40 models 1251 ms p50 · n=500
Google Vertex AIZDR on prepaid 14 models 1524 ms p50 · n=409
KimiPolicy varies 6 models 1775 ms p50 · n=21
SiliconFlowPolicy varies 55 models 1357 ms p50 · n=28
Alibaba Cloud Model StudioPolicy varies 42 models 1344 ms p50 · n=26
Microsoft Azure AI FoundryZDR on prepaid 12 models 1616 ms p50 · n=25

Browse every modelReview provider policiesOpen the full leaderboardSnapshot 2026-12-05T21:30:35.037Z

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.

Point Cline or Roo Code at 600+ models with automatic fallback.

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

Up to 1 million free tokens. No card required.

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.