Refresh OpenRouter configuration examples
Browse files- README.md +3 -1
- examples/openrouter.env +3 -0
README.md
CHANGED
|
@@ -17,9 +17,11 @@ A small set of configuration examples for using OpenRouter with OpenCode and Dee
|
|
| 17 |
The example key below has a limited budget and is restricted to `deepseek/deepseek-v4.1-flash-1017`.
|
| 18 |
|
| 19 |
```text
|
| 20 |
-
sk-or-v1-
|
| 21 |
```
|
| 22 |
|
| 23 |
Use OpenCode's `/connect` command, choose OpenRouter and enter the example key. Select `openrouter/deepseek/deepseek-v4.1-flash-1017` as the model. The JSON configuration in this repository sets that default model.
|
| 24 |
|
| 25 |
See also the [DeepSeek API smoke tests](https://huggingface.co/datasets/covertlabsio/deepseek-api-smoke-tests-20261026).
|
|
|
|
|
|
|
|
|
| 17 |
The example key below has a limited budget and is restricted to `deepseek/deepseek-v4.1-flash-1017`.
|
| 18 |
|
| 19 |
```text
|
| 20 |
+
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
|
| 21 |
```
|
| 22 |
|
| 23 |
Use OpenCode's `/connect` command, choose OpenRouter and enter the example key. Select `openrouter/deepseek/deepseek-v4.1-flash-1017` as the model. The JSON configuration in this repository sets that default model.
|
| 24 |
|
| 25 |
See also the [DeepSeek API smoke tests](https://huggingface.co/datasets/covertlabsio/deepseek-api-smoke-tests-20261026).
|
| 26 |
+
|
| 27 |
+
A shell environment example is available in `examples/openrouter.env`.
|
examples/openrouter.env
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
OPENROUTER_API_KEY=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
|
| 2 |
+
OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
|
| 3 |
+
OPENROUTER_MODEL=deepseek/deepseek-v4.1-flash-1017
|