Skip to content

Guide

  1. Product Introduction
    Built on top of excellent foundation models, we provide highly cost-effective GenAI services.

  2. Product Highlights
    As a one-stop cloud service platform that brings together leading large models, we are committed to providing developers with faster, cheaper, more comprehensive, and smoother model APIs.
    We have launched a wide range of large language models, image generation models, code generation models, vector and reranking models, as well as multimodal large models.
    This enables developers and product managers to avoid worrying about compute costs during development and large-scale rollout, achieving “token freedom.”
    We provide ready-to-use large model inference acceleration services to deliver a more efficient user experience for your GenAI applications.

  1. Log in to the platform
  2. View the model list and model details
  3. Obtain the Api Key and Base URL
  4. Call the API

We are fully aligned with the official OpenAI Docs and OpenAI API Reference, and the usage is exactly the same. Based on the official Model Endpoint Compatibility.

Wherever you need to use the OpenAI API, simply replace api.openai.com with the platform-provided Base_URL.

Replacement example:
Official: https://api.openai.com/v1/chat/completions

Ours: https://{{Base_URL}}/v1/chat/completions

Please note:
Some apps or websites use the following API_Base: https://api.openai.com or https://api.openai.com/v1
In that case, you should replace it with: https://{{Base_URL}} or https://{{Base_URL}}/v1

Please note when calling from code:
For the API KEY, in the Authorization field of the Header, place the API KEY generated in the admin console under API KEYS after Bearer, for example Bearer sk-xxxxxxx


4All API Docs - https://docs.4allapi.com