Skip to main content

Using the OpenAI SDK

  • Using pip install openai: github.
  • Using npm i openai: github.
    You can also use Grit to automatically migrate your code. Simply run npx @getgrit/launcher openrouter.