# Does Elastic AI Assistant work on the free trial of Elastic Cloud?

**URL:** <https://discuss.elastic.co/t/does-elastic-ai-assistant-work-on-the-free-trial-of-elastic-cloud/371794>\
**Category:** Elastic Security\
**Tags:** elastic-ai-assistant\
**Created:** [December 10, 2024, 11:13pm UTC](https://discuss.elastic.co/t/does-elastic-ai-assistant-work-on-the-free-trial-of-elastic-cloud/371794 "2024-12-10T23:13:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Illya\_Bjazevic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/illya_bjazevic/32/139677_2.png) [@Illya\_Bjazevic](https://discuss.elastic.co/u/Illya_Bjazevic)\
**Post date:** [December 10, 2024, 11:13pm UTC](https://discuss.elastic.co/t/does-elastic-ai-assistant-work-on-the-free-trial-of-elastic-cloud/371794/1 "2024-12-10T23:13:26Z")

</div>

I am getting an error that Elastic AI Assistant cannot connect to OpenAI. However, I created a new secret key there.

The Elastic website says that an Enterprise subscription is required. Please see this link: [AI Assistant | Elastic Security Solution [8.16] | Elastic](https://www.elastic.co/guide/en/security/8.16/security-assistant.html)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/4/24b534a7b749e88c0e2a5ec093a26508addd64db.png)

---

<div class="post-metadata">

**Author:** ![Andrew\_G](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_g/32/49178_2.png) [@Andrew\_G](https://discuss.elastic.co/u/Andrew_G)\
**Post date:** [December 11, 2024, 12:44am UTC](https://discuss.elastic.co/t/does-elastic-ai-assistant-work-on-the-free-trial-of-elastic-cloud/371794/2 "2024-12-11T00:44:14Z")

</div>

Hi @Illya_Bjazevic, welcome to the community!

> Does Elastic AI Assistant work on the free trial of Elastic Cloud?

Yes, the AI Assistant is available in free trials of [Elastic Cloud](https://www.elastic.co/cloud/cloud-trial-overview) and [serverless](https://www.elastic.co/cloud/serverless).

> [@Illya\_Bjazevic](#):
>
> I am getting an error that Elastic AI Assistant cannot connect to OpenAI. However, I created a new secret key there.
> 
> The Elastic website says that an Enterprise subscription is required. Please see this link: [AI Assistant | Elastic Security Solution [8.16] | Elastic](https://www.elastic.co/guide/en/security/8.16/security-assistant.html)
> 
> ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/4/24b534a7b749e88c0e2a5ec093a26508addd64db.png)

In summary:

Your Elastic Cloud trail includes access to the AI Assistant  
 Your OpenAI API key appears to be valid (based on the error above)  
 OpenAI requires credits to use the `gpt-4o` model; it appears the OpenAI account associated with the API key may not have credits to use it.

OpenAI offers a "[Pay as you go](https://platform.openai.com/settings/organization/billing/overview)" option for OpenAI credits. At the time of this writing, it's possible to make a one time payment, with a minimum of $5.

Note: It may take a few minutes for pay as you go credits to apply to your OpenAI account, which means your API key might fail until they are applied.

Details:

The `Test failed to run` error in the screenshot:

```auto
The following error was found:
an error occurred while running the action

Details:
Status code: 404. Message: API Error: Not Found - The model `gpt-4o` does not exist or you do not have access to it.

```

indicates the connector is successfully authenticating with the API key you provided, however the OpenAI account associated with the key may not have access to the `gpt-4o` model, because OpenAI requires credits; a minimum of $5 at the time of this writing to use that model, as described above.

`gpt-4o` is the current default model for OpenAI connectors because it has [excellent](https://www.elastic.co/guide/en/security/current/llm-performance-matrix.html) performance for many assistant tasks, however OpenAI requires credits to use it.

---

<div class="post-metadata">

**Author:** ![Illya\_Bjazevic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/illya_bjazevic/32/139677_2.png) [@Illya\_Bjazevic](https://discuss.elastic.co/u/Illya_Bjazevic)\
**Post date:** [December 11, 2024, 1:06am UTC](https://discuss.elastic.co/t/does-elastic-ai-assistant-work-on-the-free-trial-of-elastic-cloud/371794/3 "2024-12-11T01:06:58Z")

</div>

Fantastic answer! Thank you so much! My Elastic AI Assistant is working! As I have the paid version of ChatGPT, I thought that OpenAI would charge to my credit card, but I was wrong. You save my life! Thank you so much!

---

<div class="post-metadata">

**Author:** ![Illya\_Bjazevic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/illya_bjazevic/32/139677_2.png) [@Illya\_Bjazevic](https://discuss.elastic.co/u/Illya_Bjazevic)\
**Post date:** [December 11, 2024, 1:08am UTC](https://discuss.elastic.co/t/does-elastic-ai-assistant-work-on-the-free-trial-of-elastic-cloud/371794/4 "2024-12-11T01:08:06Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/f/6/f61f66182763e6706dea857f784daccb0eb99fa2.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 8, 2025, 1:08am UTC](https://discuss.elastic.co/t/does-elastic-ai-assistant-work-on-the-free-trial-of-elastic-cloud/371794/5 "2025-01-08T01:08:36Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
