Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

.env.example

11 lines466 Bytes

1# Duplicate this file, rename it to .env, and fill in the key(s) you want to use.
2# Only the provider you pick in the UI needs a key.
3​
4# Cohere — https://dashboard.cohere.com/api-keys
5# Used by the `cohereRerank(...)` adapter (@tanstack/ai-cohere).
6COHERE_API_KEY=
7​
8# OpenRouter — https://openrouter.ai/keys
9# Used by the `openRouterRerank(...)` adapter (@tanstack/ai-openrouter).
10# Routes to Cohere and NVIDIA rerank models through one key.
11OPENROUTER_API_KEY=