Tutorial

Introduction #

https://chat.laisky.com

Welcome to the web application based on OpenAI ChatGPT! This application allows you to engage in casual chat using the powerful GPT-3.5/4 language model, as well as conduct file-based chats using your own files. If you have any questions or need assistance, feel free to reach out to me at [email protected].

Features #

This application offers several exciting features:

Models #

API Base: https://oneapi.laisky.com

Support Models:

Request Model is the value of the model in the user’s request parameters, and Actual Model is the actual model that will be sent by the backend to upstream.

// …existing code…

Request ModelActual ModelInput PriceOutput Price
gpt-3.5-turbogpt-3.5-turbo-01250.51.5
gpt-3.5-turbo-110612
gpt-3.5-turbo-01250.51.5
gpt-3.5-turbo-16kgpt-3.5-turbo-01250.51.5
o11560
o1-2024-12-171560
o1-preview1560
o1-preview-2024-09-121560
o1-mini312
o1-mini-2024-09-12312
chatgpt-4o-latest2.510
gpt-4ogpt-4o-2024-08-062.510
gpt-4o-2024-05-13515
gpt-4o-2024-08-062.510
gpt-4o-2024-11-202.510
gpt-4o-mini0.150.6
gpt-4o-mini-2024-07-18gpt-4o-mini-2024-07-180.150.6
gpt-4-turbo-previewgpt-4-turbo-2024-04-091030
gpt-4-turbogpt-4-turbo-2024-04-091030
gpt-4-turbo-2024-04-091030
gpt-4-1106-preview1030
gpt-4-0125-preview1030
gpt-4-vision-previewgpt-4-turbo-2024-04-091030
gpt-4-1106-vision-preview1030
gpt-4gpt-4-turbo-2024-04-091030
gpt-4-32kgpt-4-turbo-2024-04-091030
deepseek-chat0.140.28
deepseek-coder0.140.28
claude-3-opusclaude-3-opus-202402291575
claude-3-sonnetclaude-3-sonnet-latest315
claude-3-haikuclaude-3-haiku-202403070.251.25
claude-3-opus-202402291575
claude-3-sonnet-20240229315
claude-3-haiku-202403070.251.25
claude-3.5-haikuclaude-3-5-haiku-2024102215
claude-3-5-haiku-2024102215
claude-3.5-sonnetclaude-3-5-sonnet-latest315
claude-3.5-sonnet-8kclaude-3-5-sonnet-latest315
claude-3-5-sonnet-20240620315
claude-3-5-sonnet-20241022315
claude-3-5-sonnet-latest315
gemma-7b-itFREE
llama3-8b-8192FREE
llama3-70b-8192FREE
llama-3.1-8b-instantFREE
llama-3.1-11b-vision-previewFREE
llama-3.1-70b-specdecFREE
llama-3.1-70b-versatileFREE
llama-3.1-405b-instructFREE
llama-3.2-1b-previewFREE
llama-3.2-3b-previewFREE
llama-3.2-90b-vision-previewFREE
mistral-7b-instruct-v0.3FREE
mixtral-8x7b-32768FREE
gemini-pro0.51
gemini-pro-vision0.51
gemini-1.5-flashgemini-1.5-flash-0020.020.04
gemini-1.5-flash-0010.020.04
gemini-1.5-flash-0020.020.04
gemini-2.0-flash-exp0.250.5
gemini-1.5-progemini-1.5-pro-0020.250.5
gemini-1.5-pro-0010.250.5
gemini-1.5-pro-0020.250.5
gemini-1.5-pro-latest0.250.5
gpt-3.5-turbo-0301gemini-pro0.51
gpt-3.5-turbo-16k-0613gemini-pro0.51
dall-e-20.02/pic
dall-e-30.04/pic
flux-1.1-pro0.04/pic
flux-1.1-pro-ultra0.06/pic
flux-dev0.025/pic
flux-schnell0.003/pic
sdxl-turboFREE
tts-115
tts-1-hd30
whisper-10.006/min
whisper-large-v3FREE
whisper-large-v3-turboFREE
test-embedding-ada-0020.1
text-embedding-3-small0.02
text-embedding-3-large0.13
@cf/meta/llama-2-7b-chat-fp16FREE
@cf/meta/llama-2-7b-chat-int8FREE
@cf/mistral/mistral-7b-instruct-v0.1FREE
@hf/thebloke/deepseek-coder-6.7b-base-awqFREE
@hf/thebloke/deepseek-coder-6.7b-instruct-awqFREE
@cf/deepseek-ai/deepseek-math-7b-baseFREE
@cf/deepseek-ai/deepseek-math-7b-instructFREE
@cf/thebloke/discolm-german-7b-v1-awqFREE
@cf/tiiuae/falcon-7b-instructFREE
@cf/google/gemma-2b-it-loraFREE
@hf/google/gemma-7b-itFREE
@cf/google/gemma-7b-it-loraFREE
@hf/nousresearch/hermes-2-pro-mistral-7bFREE
@hf/thebloke/llama-2-13b-chat-awqFREE
@cf/meta-llama/llama-2-7b-chat-hf-loraFREE
@cf/meta/llama-3-8b-instructFREE
@hf/thebloke/llamaguard-7b-awqFREE
@hf/thebloke/mistral-7b-instruct-v0.1-awqFREE
@hf/mistralai/mistral-7b-instruct-v0.2FREE
@cf/mistral/mistral-7b-instruct-v0.2-loraFREE
@hf/thebloke/neural-chat-7b-v3-1-awqFREE
@cf/openchat/openchat-3.5-0106FREE
@hf/thebloke/openhermes-2.5-mistral-7b-awqFREE
@cf/microsoft/phi-2FREE
@cf/qwen/qwen1.5-0.5b-chatFREE
@cf/qwen/qwen1.5-1.8b-chatFREE
@cf/qwen/qwen1.5-14b-chat-awqFREE
@cf/qwen/qwen1.5-7b-chat-awqFREE
@cf/defog/sqlcoder-7b-2FREE
@hf/nexusflow/starling-lm-7b-betaFREE
@cf/tinyllama/tinyllama-1.1b-chat-v1.0FREE
@hf/thebloke/zephyr-7b-beta-awqFREE
black-forest-labs/flux-1.1-pro0.04/pic
black-forest-labs/flux-1.1-pro-ultra0.06/pic
black-forest-labs/flux-canny-dev0.025/pic
black-forest-labs/flux-canny-pro0.05/pic
black-forest-labs/flux-depth-dev0.025/pic
black-forest-labs/flux-depth-pro0.05/pic
black-forest-labs/flux-dev0.025/pic
black-forest-labs/flux-dev-lora0.032/pic
black-forest-labs/flux-fill-dev0.04/pic
black-forest-labs/flux-fill-pro0.05/pic
black-forest-labs/flux-pro0.055/pic
black-forest-labs/flux-redux-dev0.025/pic
black-forest-labs/flux-redux-schnell0.003/pic
black-forest-labs/flux-schnell0.003/pic
black-forest-labs/flux-schnell-lora0.02/pic
ideogram-ai/ideogram-v20.08/pic
ideogram-ai/ideogram-v2-turbo0.05/pic
recraft-ai/recraft-v30.04/pic
recraft-ai/recraft-v3-svg0.08/pic
stability-ai/stable-diffusion-30.035/pic
stability-ai/stable-diffusion-3.5-large0.065/pic
stability-ai/stable-diffusion-3.5-large-turbo0.04/pic
stability-ai/stable-diffusion-3.5-medium0.035/pic
ibm-granite/granite-20b-code-instruct-8k0.1000.500
ibm-granite/granite-3.0-2b-instruct0.0300.250
ibm-granite/granite-3.0-8b-instruct0.0500.250
ibm-granite/granite-3.1-2b-instruct0.0300.250
ibm-granite/granite-3.1-8b-instruct0.0300.250
ibm-granite/granite-8b-code-instruct-128k0.0500.250
meta/llama-2-13b0.1000.500
meta/llama-2-13b-chat0.1000.500
meta/llama-2-70b0.6502.750
meta/llama-2-70b-chat0.6502.750
meta/llama-2-7b0.0500.250
meta/llama-2-7b-chat0.0500.250
meta/meta-llama-3.1-405b-instruct9.5009.500
meta/meta-llama-3-70b0.6502.750
meta/meta-llama-3-70b-instruct0.6502.750
meta/meta-llama-3-8b0.0500.250
meta/meta-llama-3-8b-instruct0.0500.250
mistralai/mistral-7b-instruct-v0.20.0500.250
mistralai/mistral-7b-v0.10.0500.250
mistralai/mixtral-8x7b-instruct-v0.10.3001.000

the unit of input/output price is USD per million tokens

Pricing #

https://openai.com/pricing

Free User #

As a new user, you will automatically receive a unique token for free. This token allows you to chat with GPT-3.5-turbo.

free token

There are three types of tokens you can use:

  1. FREETIER-*: Free token with rate limits.
  2. Your own OpenAI token: Unlimited usage.
  3. Paid token: Unlimited usage.