You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The [OpenRouter](https://openrouter.ai/) SDK gives access to over 300 large language models on the OpenRouter chat and completion APIs, as well as the rest of our full API. For more information about the API: [OpenRouter Documentation](https://openrouter.ai/docs)
11
4
12
5
<br /><br />
13
6
> [!IMPORTANT]
14
7
> This SDK is not yet ready for production use. To complete setup please follow the steps outlined in your [workspace](https://app.speakeasy.com/org/openrouter/sdk). Delete this section before > publishing to a package manager.
15
8
16
-
<!-- Start Summary [summary] -->
17
-
## Summary
18
-
19
-
OpenRouter API: OpenAI-compatible Chat Completions API with additional OpenRouter features
20
-
21
-
For more information about the API: [OpenRouter Documentation](https://openrouter.ai/docs)
22
-
<!-- End Summary [summary] -->
9
+
<!-- No Summary [summary] -->
23
10
24
11
<!-- Start Table of Contents [toc] -->
25
12
## Table of Contents
26
13
<!-- $toc-max-depth=2 -->
27
-
*[openrouter](#openrouter)
14
+
*[OpenRouter SDK](#openrouter-sdk)
28
15
*[SDK Installation](#sdk-installation)
29
16
*[Requirements](#requirements)
30
17
*[SDK Example Usage](#sdk-example-usage)
@@ -99,7 +86,7 @@ import { OpenRouter } from "@openrouter/sdk";
You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. The selected scheme will be used by default to authenticate with the API for all operations that support it. For example:
0 commit comments