gpt4free/g4f/Provider/needs_auth/OpenaiAPI.py
2025-08-07 03:02:50 +02:00

12 lines
No EOL
362 B
Python

from __future__ import annotations
from ..template import OpenaiTemplate
class OpenaiAPI(OpenaiTemplate):
label = "OpenAI API"
url = "https://platform.openai.com"
login_url = "https://platform.openai.com/settings/organization/api-keys"
api_base = "https://api.openai.com/v1"
working = True
needs_auth = True
models_needs_auth = True