# Quick Start

### Chat Models <a href="#chat-models" id="chat-models"></a>

Our API offers a range of chat models, each tailored to different needs and use cases. Here's a table summarizing the available chat models along with their corresponding model IDs, token pricing, and billing methods:

**Chat Models Table:**

| Model               | Model ID              | Web Price                         | API Price                         | Billing Method |
| ------------------- | --------------------- | --------------------------------- | --------------------------------- | -------------- |
| Slier.AI            | Slier-ai              | 0.002$ / 1k tokens                | 0.002$ / 1k tokens                | Token          |
| GPT-3.5             | gpt-3.5-turbo         | 0.0015$ / 1k in & 0.002$ / 1k out | 0.0015$ / 1k in & 0.002$ / 1k out | Token          |
| GPT-3.5-16K         | gpt-3.5-turbo-16k     | 0.003$ / 1k in & 0.004$ / 1k out  | 0.003$ / 1k in & 0.004$ / 1k out  | Token          |
| GPT-4               | gpt-4                 | 0.03$ / 1k in & 0.06$ / 1k out    | 0.03$ / 1k in & 0.06$ / 1k out    | Token          |
| GPT-4 32K           | gpt-4-32k             | 0.12$ / 1k tokens                 | 0.12$ / 1k tokens                 | Token          |
| Claude 2            | claude-2              | 0.02$ / 1k in & 0.05$ / 1k out    | 0.02$ / 1k in & 0.05$ / 1k out    | Token          |
| Claude 1            | claude-1              | 0.02$ / 1k in & 0.05$ / 1k out    | 0.02$ / 1k in & 0.05$ / 1k out    | Token          |
| Claude 1 100K       | claude-1-100k         | 0.02$ / 1k in & 0.05$ / 1k out    | 0.02$ / 1k in & 0.05$ / 1k out    | Token          |
| Claude Instant      | claude-instant-1      | 0.003$ / 1k in & 0.008$ / 1k out  | 0.003$ / 1k in & 0.008$ / 1k out  | Token          |
| Claude Instant 100K | claude-instant-1-100k | 0.003$ / 1k in & 0.008$ / 1k out  | 0.003$ / 1k in & 0.008$ / 1k out  | Token          |
| PaLM 2              | palm-2                | 0.0008$ / 1k characters           | 0.0008$ / 1k characters           | Character      |
| Codey               | palm-2-codey          | 0.0008$ / 1k characters           | 0.0008$ / 1k characters           | Character      |
| Llama 2 7B          | llama-2-7b-chat       | Free                              | 0.0004 / 1k tokens                |                |
| Llama 2 13B         | llama-2-13b-chat      | Free                              | 0.0008 / 1k tokens                |                |
| Llama 2 70B         | llama-2-70b-chat      | 0.006 / 1k tokens                 | 0.006 / 1k tokens                 |                |
| Code Llama 7B       | code-llama-7b         | Free                              | 0.0004 / 1k tokens                |                |
| Code Llama 13B      | code-llama-13b        | Free                              | 0.0008 / 1k tokens                |                |
| Code Llama 34B      | code-llama-13b        | 0.003 / 1k tokens                 | 0.003 / 1k tokens                 |                |

Choose the chat model that best suits your requirements based on the token pricing and billing method.

### Search Models <a href="#search-models" id="search-models"></a>

Our API's search models are designed to help you with efficient information retrieval. Here's a table outlining the available search model along with its model ID and usage billing:

**Search Model Table:**

| Model  | Model ID | Usage Billing   |
| ------ | -------- | --------------- |
| Search | N/A      | 0.02$ per usage |

Select the search model to enhance your search capabilities and streamline information retrieval.

### Image Models <a href="#image-models" id="image-models"></a>

For image generation tasks, our API offers a variety of image models that cater to different pixel resolutions. Below is a table detailing the available image models, their model IDs, pixel resolutions, and pricing per image:

**Image Models Table:**

| Model         | Model ID      | Pixel Resolution | Price per Image |
| ------------- | ------------- | ---------------- | --------------- |
| DALL·E 2      | dall-e-2      | 256x256          | 0.016$/image    |
| DALL·E 2      | dall-e-2      | 512x512          | 0.018$/image    |
| DALL·E 2      | dall-e-2      | 1024x1024        | 0.020$/image    |
| Google Imagen | google-imagen | 1024x1024        | 0.030$/image    |

Select an image model based on the desired pixel resolution and price per image to generate stunning visuals effortlessly.

### Subscription Offer

<table><thead><tr><th width="147">1 Month</th><th>3 Months</th><th>6 Months</th><th>12 Months</th></tr></thead><tbody><tr><td>$ 17.59</td><td>$ 50.59</td><td>$ 94.59</td><td>$175.99</td></tr></tbody></table>

### Making Your First API Request <a href="#making-your-first-api-request" id="making-your-first-api-request"></a>

To get started with our API, you'll need to create an API key. Here's how you can do it:

1. You need to have an Slier.AI account. If you don't have one, sign up [here](https://beta.theb.ai/register).
2. Sign in and navigate to the Manage Account section.
3. Navigate to the API keys section and generate an API key.
4. Copy the generated key for later use.

Now that you have your API key, let's make your first API request. Here's a simple example using cURL to interact with the chat model:

#### Example Request

POST/v1/chat/completions

```bash
curl --location 'https://api.Slier.ai/v1/chat/completions' \
# curl --location 'https://api.Slier.ai/v2/chat/completions' \
--header 'Authorization: Bearer $API_KEY' \
--header 'Content-Type: application/json' \
--data '{
  "model": "gpt-3.5-turbo",
  "messages": [
    {
      "role": "user",
      "content": "Hello, World!"
    }
  ],
  "stream": false
}'
```

### What's Next? <a href="#whats-next" id="whats-next"></a>

You've now gained a solid understanding of our various model offerings and how to make your first API request. What's next? Continue exploring our API Reference for detailed information about each endpoint and its parameters. Dive into the possibilities our models offer and start integrating them into your projects to drive innovation and excellence.

Thank you for choosing our API. Let's embark on this journey of technological advancement together!


---

# Agent Instructions: 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:

```
GET https://docs.slier.ai/get-started/quick-start.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
