Compare commits

..
Author SHA1 Message Date
Daniel Chen 2fa3363c92 docs(web): correct GPT 6.1 Sol cache pricing (#52176) 2026-09-29 14:43:58 -07:00
Dax Raad f66b86ceec fix(ci): sign macOS CLI with Developer ID
Cross-compiled darwin binaries ship with an invalid Bun signature, which breaks codesign verification and publisher-based allowlists. Sign them on macOS with the Developer ID certificate and hardened runtime, matching V2, then repack the release zips and publish the signed binaries to npm and Homebrew.

Refs #46313
2026-09-29 15:33:27 -04:00
21 changed files with 162 additions and 10 deletions
+1 -10
View File
@@ -135,16 +135,7 @@ jobs:
const linkedIssues = result.repository.pullRequest.closingIssuesReferences.totalCount;
// GitHub only populates closingIssuesReferences when a PR targets the repository's
// default branch (dev). PRs targeting other branches like v2 always return totalCount 0.
// Fall back to checking the PR description for closing keywords (e.g. Closes #123).
const body = pr.body || '';
const issueMatch = body.match(/### Issue for this PR\s*\n([\s\S]*?)(?=###|$)/);
const issueContent = issueMatch ? issueMatch[1].trim() : body;
const hasBodyIssueRef = /(closes|fixes|resolves)\s+#\d+/i.test(issueContent) || /#\d+/.test(issueContent);
const hasLinkedIssue = linkedIssues > 0 || hasBodyIssueRef;
if (!hasLinkedIssue) {
if (linkedIssues === 0) {
await addLabel('needs:issue');
await comment('issue', `Thanks for your contribution!
+91
View File
@@ -117,6 +117,88 @@ jobs:
outputs:
version: ${{ needs.version.outputs.version }}
sign-cli-macos:
needs:
- build-cli
- version
runs-on: macos-26
if: github.repository == 'anomalyco/opencode'
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2.0.0
with:
keychain: build
p12-file-base64: ${{ secrets.APPLE_CERTIFICATE }}
p12-password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: opencode-cli
path: packages/opencode/dist
- name: Setup git committer
id: committer
uses: ./.github/actions/setup-git-committer
with:
opencode-app-id: ${{ vars.OPENCODE_APP_ID }}
opencode-app-secret: ${{ secrets.OPENCODE_APP_SECRET }}
- name: Sign macOS CLI binaries
run: |
identity=$(security find-identity -v -p codesigning build.keychain | sed -n 's/.*"\(Developer ID Application:.*\)"/\1/p' | head -n 1)
if [ -z "$identity" ]; then
echo "Developer ID Application identity not found"
exit 1
fi
for name in opencode-darwin-arm64 opencode-darwin-x64 opencode-darwin-x64-baseline; do
file="packages/opencode/dist/$name/bin/opencode"
chmod +x "$file"
codesign \
--force \
--timestamp \
--options runtime \
--entitlements packages/opencode/script/entitlements.plist \
--sign "$identity" \
"$file"
codesign --verify --deep --strict --verbose=4 "$file"
codesign --display --requirements - "$file"
done
- name: Smoke test signed binary
run: ./packages/opencode/dist/opencode-darwin-arm64/bin/opencode --version
- name: Repack macOS CLI archives
working-directory: packages/opencode/dist
run: |
for name in opencode-darwin-arm64 opencode-darwin-x64 opencode-darwin-x64-baseline; do
rm -f "$name.zip"
(cd "$name/bin" && zip -r "../../$name.zip" *)
done
- name: Upload signed macOS CLI release assets
if: needs.version.outputs.release != ''
env:
GH_TOKEN: ${{ steps.committer.outputs.token }}
run: |
gh release upload "v${{ needs.version.outputs.version }}" \
packages/opencode/dist/opencode-darwin-arm64.zip \
packages/opencode/dist/opencode-darwin-x64.zip \
packages/opencode/dist/opencode-darwin-x64-baseline.zip \
--clobber \
--repo "${{ needs.version.outputs.repo }}"
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: opencode-cli-signed-macos
path: |
packages/opencode/dist/opencode-darwin-arm64
packages/opencode/dist/opencode-darwin-x64
packages/opencode/dist/opencode-darwin-x64-baseline
packages/opencode/dist/opencode-darwin-*.zip
if-no-files-found: error
sign-cli-windows:
needs:
- build-cli
@@ -405,6 +487,7 @@ jobs:
needs:
- version
- build-cli
- sign-cli-macos
- sign-cli-windows
- build-electron
if: always() && !failure() && !cancelled()
@@ -437,6 +520,14 @@ jobs:
name: opencode-cli
path: packages/opencode/dist
- name: Remove unsigned macOS CLI binaries
run: rm -rf packages/opencode/dist/opencode-darwin*
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: opencode-cli-signed-macos
path: packages/opencode/dist
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: opencode-cli-windows
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disable-executable-page-protection</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
</dict>
</plist>
+3
View File
@@ -57,6 +57,7 @@ OpenCode Zen هي بوابة AI تتيح لك الوصول إلى هذه الن
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -278,6 +279,8 @@ curl https://opencode.ai/zen/v1/systemone \
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
+3
View File
@@ -62,6 +62,7 @@ Našim modelima možete pristupiti i preko sljedećih API endpointa.
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -285,6 +286,8 @@ Podržavamo pay-as-you-go model. Ispod su cijene **po 1M tokena**.
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
+3
View File
@@ -62,6 +62,7 @@ Du kan også få adgang til vores modeller gennem følgende API-endpoints.
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -285,6 +286,8 @@ Vi understøtter en pay-as-you-go-model. Nedenfor er priserne **pr. 1M tokens**.
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
+3
View File
@@ -53,6 +53,7 @@ Du kannst auch über die folgenden API-Endpunkte auf unsere Modelle zugreifen.
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -274,6 +275,8 @@ Wir unterstützen ein Pay-as-you-go-Modell. Unten findest du die Preise **pro 1M
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
+3
View File
@@ -62,6 +62,7 @@ También puedes acceder a nuestros modelos a través de los siguientes endpoints
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -285,6 +286,8 @@ Admitimos un modelo de pago por uso. A continuación se muestran los precios **p
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
+3
View File
@@ -53,6 +53,7 @@ Vous pouvez également accéder à nos modèles via les points de terminaison AP
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -274,6 +275,8 @@ Nous prenons en charge un modèle de paiement à l'utilisation. Vous trouverez c
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
+3
View File
@@ -62,6 +62,7 @@ Puoi anche accedere ai nostri modelli tramite i seguenti endpoint API.
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -285,6 +286,8 @@ Supportiamo un modello pay-as-you-go. Qui sotto trovi i prezzi **per 1M token**.
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
+3
View File
@@ -53,6 +53,7 @@ OpenCode Zen は、OpenCode のほかのプロバイダーと同じように動
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -274,6 +275,8 @@ curl https://opencode.ai/zen/v1/systemone \
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
+3
View File
@@ -53,6 +53,7 @@ OpenCode Zen은 OpenCode의 다른 provider와 똑같이 작동합니다.
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -274,6 +275,8 @@ curl https://opencode.ai/zen/v1/systemone \
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
+3
View File
@@ -62,6 +62,7 @@ Du kan også få tilgang til modellene våre gjennom følgende API-endepunkter.
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -285,6 +286,8 @@ Vi støtter en pay-as-you-go-modell. Nedenfor er prisene **per 1M tokens**.
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
+3
View File
@@ -62,6 +62,7 @@ Możesz też uzyskać dostęp do naszych modeli przez poniższe endpointy API.
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -285,6 +286,8 @@ Obsługujemy model pay-as-you-go. Poniżej znajdują się ceny **za 1M tokenów*
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
@@ -53,6 +53,7 @@ Você também pode acessar nossos modelos pelos seguintes endpoints de API.
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -274,6 +275,8 @@ Oferecemos um modelo pay-as-you-go. Abaixo estão os preços **por 1M tokens**.
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
+3
View File
@@ -62,6 +62,7 @@ OpenCode Zen работает как любой другой провайдер
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -285,6 +286,8 @@ curl https://opencode.ai/zen/v1/systemone \
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
+3
View File
@@ -55,6 +55,7 @@ OpenCode Zen ทำงานเหมือน provider อื่น ๆ ใน
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -276,6 +277,8 @@ curl https://opencode.ai/zen/v1/systemone \
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
+3
View File
@@ -53,6 +53,7 @@ Modellerimize aşağıdaki API uç noktaları aracılığıyla da erişebilirsin
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -274,6 +275,8 @@ Kullandıkça öde modelini destekliyoruz. Aşağıda **1M token başına** fiya
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
+3
View File
@@ -62,6 +62,7 @@ You can also access our models through the following API endpoints.
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -285,6 +286,8 @@ We support a pay-as-you-go model. Below are the prices **per 1M tokens**.
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
@@ -53,6 +53,7 @@ OpenCode Zen 的工作方式与 OpenCode 中的任何其他提供商相同。
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -274,6 +275,8 @@ curl https://opencode.ai/zen/v1/systemone \
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |
@@ -57,6 +57,7 @@ OpenCode Zen 的運作方式和 OpenCode 中的其他供應商一樣。
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | --------------------------- |
| GPT 6 Astra | gpt-6-astra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Sol | gpt-6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6.1 Sol | gpt-6.1-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 6 Luna | gpt-6-luna | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Sol | gpt-5.6-sol | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
| GPT 5.6 Terra | gpt-5.6-terra | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
@@ -279,6 +280,8 @@ curl https://opencode.ai/zen/v1/systemone \
| GPT 6 Astra (> 272K tokens) | $20.00 | $75.00 | $2.00 | $25.00 |
| GPT 6 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.20 | $2.50 |
| GPT 6 Sol (> 272K tokens) | $4.00 | $15.00 | $0.40 | $5.00 |
| GPT 6.1 Sol (≤ 272K tokens) | $2.00 | $10.00 | $0.10 | $2.50 |
| GPT 6.1 Sol (> 272K tokens) | $4.00 | $15.00 | $0.20 | $5.00 |
| GPT 6 Luna (≤ 272K tokens) | $0.10 | $0.50 | $0.01 | $0.125 |
| GPT 6 Luna (> 272K tokens) | $0.20 | $0.75 | $0.02 | $0.25 |
| GPT 5.6 Sol (≤ 272K tokens) | $4.00 | $20.00 | $0.40 | $5.00 |