Skip to main content
OpenRouter is a platform/unified API gateway that provides access to a large number of large-language models (LLMs) from many providers. OpenRouter lets you use a single API key and one interface to call many models Open Router docs

Using Nebius Token Factory Models with Open Router

Pre-requisites

  1. Create an OPENROUTER_API_KEY at Open Router
  2. Save the key into an environment variable
  3. Install the openai package:

Example