# LLM chat

The **LLM Playground** lets you chat with NeuronAI's language model and try its settings before you use it in your own application. It's billed per token.

Open it from the Creative Platform's sidebar (**LLM Chat**), or go to [my.neuronai.uz/creative/llm](https://my.neuronai.uz/creative/llm).

## Chat with the model

1. Type in **Type your message…**, or pick one of the examples to fill it in.
2. Press Enter to send. Shift+Enter starts a new line.
3. The reply appears as it's written. **Stop** ends it early.

On each message:

- **Copy** copies the text;
- **Regenerate**, on the last reply, writes it again;
- **Edit**, on your own message, puts it back in the box to change, and removes it and everything after it;
- **Delete** removes the message.

Under the message box, the playground estimates the cost of the next request. Each reply shows its tokens and what it cost.

## Adjust the settings

Open **Settings**. Each chat keeps its own.

| Setting | What it does |
| --- | --- |
| **System instructions** | Tells the model who it is and how to answer, before the conversation starts. |
| **Model** | The model that answers. |
| **Context** | How much of the model's context window the chat already fills. |
| **Temperature** | From 0 to 2. Lower is more focused, higher is more varied. |
| **Output length** | The longest reply, in tokens, up to 4,096. |
| **Top P** | From 0 to 1. Another way to narrow or widen the model's word choices. |
| **Stop sequences** | Under **Advanced settings**: up to 4 pieces of text, one per line, where the model stops writing. |

**Reset to defaults** puts every setting back.

## Keep several chats

**New chat** starts another conversation, and **Chats** lists them. A chat is named after its first message.

> **Chats stay in this browser**
>
> Chats are saved only in the browser you use. They don't appear on another device, and clearing the browser's data deletes them.

## Use it from code

**Get code** shows the current chat and settings as a request to the NeuronAI API, in cURL, Python or JavaScript. Replace `YOUR_API_KEY` with a key from [Developers](https://docs.neuronai.uz/platform/developers). The [language models guide](https://docs.neuronai.uz/api/language-models) explains the API, which works with OpenAI's SDKs.

---

Source: https://docs.neuronai.uz/platform/llm-chat
