> For the complete documentation index, see [llms.txt](https://docs.cherry-ai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherry-ai.com/docs/jp/pre-basic/providers/openai.md).

# OpenAI

## APIキーを取得

* 公式の[APIキーのページ](https://platform.openai.com/api-keys)クリック<mark style="background-color:green;">`+ 新しいシークレットキーを作成`</mark>

<img src="/files/0de60b00dc2be50edd2bc6dd1fac4c3315f1788b" alt="" class="gitbook-drawing">

* 生成されたキーをコピーし、CherryStudioの[プロバイダー設定](https://github.com/CherryHQ/cherry-studio-docs/blob/main/pre-basic/providers/broken-reference/README.md)
* プロバイダーOpenAIを見つけ、先ほど取得したキーを入力します

<figure><img src="/files/8a46df298362fe8952bf9535a425df2161d50f66" alt=""><figcaption></figcaption></figure>

* 最下部の「管理」または「追加」をクリックし、対応モデルを追加して右上のプロバイダースイッチをオンにすれば使用できます。

{% hint style="info" %}

* 中国では台湾以外の地域でOpenAIサービスを直接使用できないため、プロキシの問題は各自で解決する必要があります；
* 残高が必要です。
  {% endhint %}

***

### 💡 ヘルプの取得とフィードバックの送信

設定や使用中に疑問、バグ、または機能改善の提案がある場合は、 [フィードバックと提案](/docs/jp/question-contact/suggestions.md) に記載の公式チャネル。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cherry-ai.com/docs/jp/pre-basic/providers/openai.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
