Find a model

Browse the full catalog →

Connect your key to the client that will use it

For Codex, configure a named provider with its endpoint and the environment variable holding your gateway key. For Cursor, start in Settings → Models and choose the provider supported by your installation. One TrustedRouter key works in both, and in Claude Code and OpenCode. Give each agent its own key with a spend limit.

Try one small task before moving a project. Ask the agent to read a fixture and report its first field. Check that the chosen model answered and that the tool result came back into the conversation. That gives you a working reference when you later change providers, keys or models.

Codex API key and custom provider configuration

Codex supports custom provider configuration. The example below selects a Responses-compatible gateway and reads the credential from the environment. Swap in any model ID from the catalog, and merge the settings into your existing configuration.

model = "deepseek/deepseek-v4.1-flash"
model_provider = "trustedrouter"

[model_providers.trustedrouter]
name = "TrustedRouter"
base_url = "https://api.trustedrouter.com/v1"
env_key = "TRUSTEDROUTER_API_KEY"
wire_api = "responses"

Check the official Codex configuration reference for your version. This setup works with the chat models in our catalog, so you can try DeepSeek, Claude or Kimi in Codex. Test the agent features you rely on before migrating.

Codex with OpenRouter or another gateway

Use a separate provider name for each connection, and pair its base URL with the corresponding credential. Each gateway issues its own key. Compare the same task and explicit model ID where both catalogs offer it; preserve the working configuration until the new route passes your checks.

Our gateway comparison covers the broader choice. Use cost per accepted patch to assess value rather than comparing one input-token price.

Cursor API keys and custom endpoint limits

Cursor documents key setup under Settings → Models. Its API key guide says custom keys cover chat models, while Tab completion keeps using Cursor's built-in models. It also explains that requests pass through Cursor's backend for prompt construction and that its own ZDR policy does not apply to BYOK traffic.

For Cursor with OpenRouter, DeepSeek or TrustedRouter, confirm that your installed version exposes a suitable custom endpoint and supports the model's request format. If your Cursor version can't connect to the model you want, OpenCode can: run /connect, pick TrustedRouter, then run /models.

Verify before moving your real project

CheckWhy it matters
Credential and base URLPrevents sending a key to the wrong service.
Model ID and API formatMakes sure the client and model use the same API format.
Streaming and tool round tripShows the agent can use tools, not just chat.
Cost and limitsApp charges and model-provider charges may be separate.
Editor, gateway and upstream privacyYour editor, the gateway and the model provider all see your code, so choose providers that meet your privacy needs.

Start with a non-sensitive test project, confirm a small edit and run its tests. Keep secrets in the supported credential store or environment. For Claude Code, use the dedicated Messages gateway guide; for common endpoints and smoke tests, see agent setup.

Documentation reviewed November 20, 2026.

Compare models, then try your shortlist

Start with up to 1 million free tokens. Eligible new email or social signups receive starter credit for their first workspace. Token volume depends on model pricing and input/output usage. Wallet-only signups and additional workspaces do not receive this grant. No card required.

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
65provider E2EE routes
7500recent 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 3498 ms TTFT amazon-bedrock · 78 tok/s · 100.00% available · n=8
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 measured google-vertex · 59 tok/s · 100.00% available · n=7
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 1218 ms TTFT inceptron · 69 tok/s · 75.00% available · n=12
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 1805 ms TTFT phala · 38 tok/s · 100.00% available · n=47
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 · 100.00% available · n=939

Provider summaries cover each provider's full catalog.

AnthropicPolicy varies 14 models 947 ms p50 · n=76
Amazon BedrockPolicy varies 39 models 3020 ms p50 · n=87
OpenAIZDR on prepaid 40 models 988 ms p50 · n=492
Google Vertex AIZDR on prepaid 14 models 4726 ms p50 · n=75
KimiPolicy varies 6 models 1496 ms p50 · n=26
SiliconFlowPolicy varies 55 models 1324 ms p50 · n=28
Alibaba Cloud Model StudioPolicy varies 42 models 1433 ms p50 · n=26
Microsoft Azure AI FoundryZDR on prepaid 12 models 1693 ms p50 · n=48

Browse every modelReview provider policiesOpen the full leaderboardSnapshot 2026-12-05T03:49:50.837Z

Questions

Does a ChatGPT subscription automatically pay for gateway usage?

No. TrustedRouter requests are billed from TrustedRouter credits, separately from a ChatGPT plan.

Will a Cursor API key replace Tab completion?

Cursor documents custom API keys for chat models. Tab completion continues to use its built-in models; check current feature support for your version.

Codex and Cursor API Keys: Model Gateway Setup

Set up Codex and Cursor API keys, configure a Responses gateway for Codex and check which Cursor features use your provider key. Includes a first tool-call test.

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.