OpenAI
An agent asks for this key by its usual variable name, OPENAI_API_KEY, and offprompt knows the key from the name. Under any other name, the agent adds provider: "openai".
| Key | Usual names | Under any other name |
|---|---|---|
| API key | OPENAI_API_KEY | provider: "openai" |
API key
Made at platform.openai.com/api-keys. Looks like sk-proj-….
- A project, service account or user key, or a legacy sk- key