summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src/content/docs
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2026-01-09 18:45:03 -0600
committerAiden Cline <[email protected]>2026-01-09 18:45:03 -0600
commit8b8a358de1005970c3316c0a9ff0088ad1474232 (patch)
tree2bf82e14a86174d18d05b85d460d4c272cba3ba1 /packages/web/src/content/docs
parent075fa2c0e81eb6497b78c91e008f0ac1396f369b (diff)
downloadopencode-8b8a358de1005970c3316c0a9ff0088ad1474232.tar.gz
opencode-8b8a358de1005970c3316c0a9ff0088ad1474232.zip
update docs and auth methods for openai
Diffstat (limited to 'packages/web/src/content/docs')
-rw-r--r--packages/web/src/content/docs/providers.mdx20
1 files changed, 13 insertions, 7 deletions
diff --git a/packages/web/src/content/docs/providers.mdx b/packages/web/src/content/docs/providers.mdx
index 58aa47ede..882500b96 100644
--- a/packages/web/src/content/docs/providers.mdx
+++ b/packages/web/src/content/docs/providers.mdx
@@ -1071,29 +1071,35 @@ To use Ollama Cloud with OpenCode:
### OpenAI
-1. Head over to the [OpenAI Platform console](https://platform.openai.com/api-keys), click **Create new secret key**, and copy the key.
+We recommend signing up for [ChatGPT Plus or Pro](https://chatgpt.com/pricing).
-2. Run the `/connect` command and search for OpenAI.
+1. Once you've signed up, run the `/connect` command and select OpenAI.
```txt
/connect
```
-3. Enter the API key for the provider.
+2. Here you can select the **ChatGPT Plus/Pro** option and it'll open your browser
+ and ask you to authenticate.
```txt
- ┌ API key
- │
+ ┌ Select auth method
- └ enter
+ │ ChatGPT Plus/Pro
+ │ Manually enter API Key
+ └
```
-4. Run the `/models` command to select the one you want.
+3. Now all the OpenAI models should be available when you use the `/models` command.
```txt
/models
```
+##### Using API keys
+
+If you already have an API key, you can select **Manually enter API Key** and paste it in your terminal.
+
---
### OpenCode Zen