Slier.AI Documents
Home
  • GET STARTED
    • Introduction
    • Quick Start
    • SDKs
  • API REFERENCE
    • API URLs
    • Models
    • Chat
    • Search
    • Images
  • Privacy & Legal
    • How do you use personal data in model training?
    • How long do you store personal data?
Powered by GitBook
On this page
  • Chat Models
  • Search Models
  • Image Models
  • Subscription Offer
  • Making Your First API Request
  • What's Next?
  1. GET STARTED

Quick Start

In this Quick Start guide, we'll walk you through the essential steps to begin using our powerful API models for various purposes, such as chat, search, and image generation. Let's dive right in!

Chat Models

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

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

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

1 Month
3 Months
6 Months
12 Months

$ 17.59

$ 50.59

$ 94.59

$175.99

Making Your First API Request

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

  1. Sign in and navigate to the Manage Account section.

  2. Navigate to the API keys section and generate an API key.

  3. 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

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?

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!

PreviousIntroductionNextSDKs

Last updated 7 months ago

You need to have an Slier.AI account. If you don't have one, sign up .

here