Getting Started

How to get started with Open Router

1

Create an Account

Sign up at openrouter.com to start using the platform.

2

Add Credits

For pay-as-you-go access, add credits to your account.

3

Generate API Key

Create an API key from your account dashboard for authentication.

4

Configure OpenAI SDK

Set the baseURL to 'https://openrouter.ai/api/v1' and use your API key to make requests.

5

Make API Requests

Specify the desired model in your requests, such as for chat completions.