Skip to content

Commit 19ceceb

Browse files
authored
Merge pull request #5 from jperla/codex/add-trustedrouter-docs
docs: add TrustedRouter provider setup
2 parents a99a46e + ce978c4 commit 19ceceb

2 files changed

Lines changed: 61 additions & 0 deletions

File tree

docs/providers/index.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@
8484
"extension": true,
8585
"cloud": true
8686
},
87+
{
88+
"id": "providers/trustedrouter",
89+
"title": "TrustedRouter",
90+
"extension": true,
91+
"cloud": true
92+
},
8793
{
8894
"id": "providers/qwen-code",
8995
"title": "Qwen Code CLI",

docs/providers/trustedrouter.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
description: Configure TrustedRouter in Zoo Code through the OpenRouter-compatible provider flow.
3+
keywords:
4+
- zoo code
5+
- trustedrouter
6+
- openrouter compatible
7+
- ai provider
8+
- language models
9+
- api configuration
10+
sidebar_label: TrustedRouter
11+
---
12+
13+
# Using TrustedRouter With Zoo Code
14+
15+
TrustedRouter exposes an OpenAI-compatible API for model routing. In Zoo Code, connect to it by selecting the OpenRouter provider and setting a custom base URL.
16+
17+
**Website:** [https://trustedrouter.com/](https://trustedrouter.com/)
18+
19+
---
20+
21+
## Getting an API Key
22+
23+
1. **Sign in:** Go to the [TrustedRouter console](https://trustedrouter.com/console/api-keys).
24+
2. **Create an API key:** Create a new key for Zoo Code.
25+
3. **Copy the key:** Store it securely. The raw key is only shown once.
26+
27+
---
28+
29+
## Configuration in Zoo Code
30+
31+
1. **Open Zoo Code Settings:** Click the gear icon (<Codicon name="gear" />) in the Zoo Code panel.
32+
2. **Select Provider:** Choose "OpenRouter" from the "API Provider" dropdown.
33+
3. **Enter API Key:** Paste your TrustedRouter API key into the "OpenRouter API Key" field.
34+
4. **Enable Custom Base URL:** Check "Use custom base URL" and enter:
35+
36+
```text
37+
https://api.trustedrouter.com/v1
38+
```
39+
40+
5. **Select Model:** Enter a TrustedRouter model ID, for example:
41+
42+
```text
43+
trustedrouter/auto
44+
trustedrouter/zdr
45+
trustedrouter/e2e
46+
trustedrouter/synth
47+
```
48+
49+
---
50+
51+
## Tips and Notes
52+
53+
- **Model IDs:** TrustedRouter supports router aliases such as `trustedrouter/auto`, `trustedrouter/zdr`, and `trustedrouter/e2e`, plus direct model IDs from its model catalog.
54+
- **Pricing:** Usage is billed by TrustedRouter based on the selected downstream model and route.
55+
- **Verification:** TrustedRouter publishes gateway attestation details at [https://trust.trustedrouter.com/](https://trust.trustedrouter.com/).

0 commit comments

Comments
 (0)