OpenRouter

OpenRouter is a unified interface for LLMs. It provides a standardized API for all popular LLMs.

Preparation​

Create an account and get your API key.

Configuration

We're using the anthropic/claude-3-opus model in this example.

You can find all the available models from OpenRouter website: https://openrouter.ai/docs#models

Last updated