> 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/en-us/pre-basic/providers/oneapi.md).

# OneAPI

* Log in and go to the token page

<figure><img src="/files/10de7bab5d97c1e6c7f56593df61cc15e6f9bf81" alt=""><figcaption></figcaption></figure>

* Create a new token (you can also use the default token directly ↑)

<figure><img src="/files/d109ee2e78ef8b9393bcc78b6ae20697111d980d" alt="" width="563"><figcaption></figcaption></figure>

* Copy the token

<figure><img src="/files/d5d36238f0e731070f14e3b3d4d394b8e57f197b" alt="" width="563"><figcaption></figcaption></figure>

* Open CherryStudio's provider settings and click the one at the bottom of the provider list`Add`
* Enter a remark name, select OpenAI as the provider, and click OK

<figure><img src="/files/4d817f38bfee27422bc263673a6a12cefe772170" alt="" width="291"><figcaption></figcaption></figure>

* Paste in the key you just copied
* Go back to the page where you obtained the API Key, and copy the base URL from the corresponding browser address bar, for example:

<figure><img src="/files/a7f76df2fc35af247a7144e4f065b875240096f3" alt="" width="563"><figcaption><p><strong>Just copy https://xxx.xxx.com; you don't need "/" or anything after it</strong></p></figcaption></figure>

{% hint style="info" %}

* When the address is an IP + port, just enter [http://IP:port](https://docs.cherry-ai.com/docs/en-us/pre-basic/providers/http:/IP:port), e.g., <http://127.0.0.1:3000>

* Strictly distinguish`http`and`https`, if SSL is not enabled, do not enter https
  {% endhint %}

* Add a model (click Manage to auto-fetch or enter manually); turn on the switch in the top-right corner to use it.

{% hint style="success" %}
The interface may look different in other OneAPI themes, but the method for adding it is the same as the procedure above.
{% endhint %}

***

### 💡 Get help and submit feedback

If you encounter any questions, bugs, or have suggestions for feature improvements during configuration or use, please refer to [Feedback and Suggestions](/docs/en-us/question-contact/suggestions.md) the official channels provided there.


---

# 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/en-us/pre-basic/providers/oneapi.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.
