The page has been translated by Gen AI.

How-to Guides

Create Simple AI Inference

To use Simple AI Inference, you must first create an Inference. To create an inference, follow these steps.

  1. Click the All Services > AI-ML > Simple AI Inference menu. 1. Navigate to the Service Home page of Simple AI Inference.

  2. On the Service Home page, click the Simple AI Inference Create button. 2. Go to the Serverless Inference creation page.

  3. Serverless Inference Creation page: enter the information required to create the service and select detailed options.

    • In the Service Information Input area, select the options required to create the service.
      Category
      Required
      Detailed description
      Inference service nameRequiredServerless Inference Enter service name
      • Enter using lowercase English letters and numbers, 3 ~ 25 characters
      EndpointRequiredSelect external access for Simple AI Inference
      • Private: Use only private endpoint access control
      • Private&Public: Use both private and public endpoint access control
      Private endpoint access controlSelectionAdd resources within the Samsung Cloud Platform and allow access only to those resources
      • Private Access Allowed Resources: Select the resources to grant access to
        • Click the Add button to select resources to grant access to
        • Select the resource to delete from the resource list, then click the Delete button to remove it
      • If no resources are added, access is allowed to all resources on subnets within the same region
      • Can be modified after applying for a Serverless endpoint
      Public endpoint access controlSelectionSet whether to use public endpoint access control
      • Use if set, you can add IPs or resources that are allowed to access
        • Public Access Allowed IP: After entering the IP range to allow access in CIDR format or as an IP address, you can add it by clicking the Add button
        • You can add up to 100 entries
      • If not used, access is allowed for all IPs
      • Can be modified after applying for a Serverless endpoint
      Table. Serverless Inference service information input items
      Caution
      If you do not use public endpoint access control or set it to the entire IP range (Any, 0.0.0.0/0), the registry may be exposed to security attacks such as external scanning and hacking.
    • Additional Information Input area, enter or select the required information.
      Category
      Required
      Detailed description
      tagSelectionAdd Tag
      • You can add up to 50 per resource
      • After clicking the Add Tag button, enter or select Key, Value values
      Table. Serverless Inference additional information entry fields
  4. Summary Check the detailed information and estimated charges generated in the panel, and click the Create button.

  5. When the popup indicating creation opens, click the Confirm button. 5. The creation request is complete.

    • When creation is complete, check the created items on the Serverless Inference List page.

Checking usage per LLM model

In the Service Home page of Simple AI Inference, you can view the list of LLMs and token usage per model.

  1. Click the All Services > AI-ML > Simple AI Inference menu. 1. Navigate to the Service Home page of Simple AI Inference.
  2. On the dashboard of the Service Home page, check the LLM usage by model in the LLM model usage list.
    CategoryDetailed description
    Model nameLLM name
    • Click the name to go to the Report tab on the model’s detail page
    model typeLLM type
    Token usage (1 Week)Token usage for the past week as of today
    Table. Simple AI Inference LLM model usage items

Check detailed information of Serverless Inference

To view detailed information about Serverless Inference, follow the steps below.

  1. All Services > AI-ML > Simple AI Inference Click the menu. 1. Navigate to the Service Home page of Simple AI Inference.
  2. On the Service Home page, click the Serverless Inference menu. 2. Navigate to the Serverless Inference List page.
    ItemExplanation
    Create ServiceServerless Inference can be created
    • When the button is clicked, navigate to the Serverless Inference creation page
    Inference service nameServerless Inference name
    Model IDModel ID value
    • When the model ID is clicked, navigate to the detailed page of that model
    Model nameModel Name
    • When the Model ID is clicked, navigate to the detailed page of that model
    Planned model termination dateModel’s scheduled end-of-service date
    LatencyAverage response time
    throughputThe average number of tokens the model generates per second
    Service terminationServerless Inference can be terminated
    • When the button is clicked, navigate to the Serverless Inference termination page
    Table. Serverless Inference list information
    Reference
    Clicking Model ID or Model name takes you to the model detail page in the Model Catalog, where you can view the model’s detailed information.
  1. Serverless Inference List On the page, click the Inference service name to view detailed information. 3. Serverless Inference Details Navigate to the page.
    • Serverless Inference Details page consists of Details, Report, Tags, Job History tabs.

Detailed information

On the Serverless Inference List page, you can view detailed information of the selected resource and edit the information if needed.

CategoryDetailed description
serviceService name
Resource TypeResource Type
SRNUnique resource ID in Samsung Cloud Platform
Resource NameResource name
Resource IDUnique resource ID in the service
ConstructorUser who created the service
Creation date and timeService creation date and time
ModifierUser who edited the service information
Modification date and timeService information modification date and time
EndpointExternal access methods for Simple AI Inference
  • Private: Use only private endpoint access control
  • Private & Public: Use both private and public endpoint access control
  • You can change the access method by clicking the edit button
Private endpointPrivate endpoint value
  • Click the copy button to copy the endpoint value
Public endpointPublic endpoint value
  • Click the copy button to copy the endpoint value
Private endpoint access controlResource information with private access allowed
  • Click the edit button to add or delete resources
Public endpoint access controlPublicly accessible IP and resource information
  • Click the edit button to add or delete IP and resources
Table. Detail information tab items

Report

On the Serverless Inference list page, you can view the daily LLM call count and token usage for the selected resource.

CategoryDetailed description
Search filterSelect items to view in the report
  • Service Type:Select from All, Virtual Server, GPU Server, or Kubernetes Engine
  • Service/Resource ID: Select a service or resource ID
    • If no service type is selected, only All can be selected
    • When a specific service is selected in Service Type, you can select that service’s service and resource IDs
  • Model:Select from the available models
  • Query Period: Select the period for the report
    • Can be selected in weekly increments
    • Can select dates up to a maximum of three months ago
    • The queried data is provided up to 30 minutes prior to the current time
Call countDisplay the number of calls as a graph over the query period
Total call countProvide the number of calls per model during the query period.
Token usageDisplay Input and Output token usage as a graph for the query period.
Total token countDisplay the total token usage during the query period, separated into Input and Output.
Average number of tokens per requestDisplay the average number of tokens used for LLM calls during the query period, separated into Input and Output.
Table. Report tab items

Tag

Serverless Inference List page lets you view the tag information of selected resources, and you can add, modify, or delete them.

CategoryDetailed description
Tag listTag list
  • You can view the Key, Value information of the tag
  • Up to 50 tags can be added per resource
  • When entering a tag, you can search and select from the list of previously created Keys and Values
Table. Tag Tab Item

Job History

You can view the operation history of the selected resource on the Serverless Inference list page.

CategoryDetailed description
Task History ListResource Change History
  • Operation date/time, resource type, resource name, operation details, operation result, operator name, and path information can be viewed
  • To perform an advanced search, click the Advanced Search button
Table. Work History tab items

Check model detailed information

You can view the models provided by Simple AI Inference and their detailed information. To view the detailed model information, follow these steps.

  1. All Services > AI-ML > Simple AI Inference Click the menu. 1. Go to the Service Home page of Simple AI Inference.
  2. On the Service Home page, click the Model Catalog menu. 2. Go to the Model Catalog page.
  3. On the Model Catalog page, click the model whose detailed information you want to view. 3. Model Catalog Navigate to the detail page.
    ItemExplanation
    LicenseClick the button to view the model’s license information.
    OverviewBasic description of the model
    Sales criteriaModel developer
    CategoryModel usage scope
    Latest versionProvided version
    Release dateModel release year and date
    Model IDModel ID information
    Maximum tokenMaximum token size
    Output modelitiesModel output method
    Input modelitiesModel input method
    languageModel language types
    Deployment typeModel deployment method
    Token LimitsToken limit value
    Reqeust Limitsrequest limit
    Table. Detailed information on the model provided by Simple AI Inference

Managing API Keys

You need to create and register an API key to use Simple AI Inference in Severless Inference.

Create API Key

To create an API key, follow these steps.

  1. Click the All Services > AI-ML > Simple AI Inference menu. 1. Go to the Service Home page of Simple AI Inference.

  2. On the Service Home page, click the API Key menu. 2. Go to the API key list page.

  3. On the API Key List page, click the Create Key button. 3. API Key Creation Navigate to the detail page.

  4. On the Create API Key page, after entering the information required to generate an API key, click the Create button.

    Category
    Required
    Detailed description
    Inference typeRequiredSelect inference type
    Expiration periodrequiredEnter the expiration period of the API key
    • permanent If you check the item, it can be used without a time limit
    Intended useSelectionEnter the usage purpose of the API key within 128 characters
    Table. Serverless Inference Service Information Input Items
    Caution
    If you do not use public endpoint access control or set it to the entire IP range (Any, 0.0.0.0/0), the registry can be exposed to security attacks such as external scanning and hacking.

  5. When the popup notifying the creation of an API key opens, click the Confirm button.

    • When an API key is created, it is downloaded once at the time of creation.
Reference
API keys can be downloaded only once at the time of creation, and up to two can be generated per user.

Check API Key

To check the API key, follow these steps.

  1. Click the All Services > AI-ML > Simple AI Inference menu. 1. Go to the Service Home page of Simple AI Inference.
  2. On the Service Home page, click the API Key menu. 2. Go to the API key list page.
    ItemExplanation
    authentication keyAuthentication key information
    Inference typeInference type with a registered authentication key
    Creation Date/TimeAuthentication key creation time
    Expiration date and timeAuthentication key expiration time
    DeleteDelete the selected API key
    • API keys can only be deleted when deactivated
    • Deleted API keys cannot be recovered
    MoreChange the activation/deactivation status of the selected API key
    • Enable: Activate a disabled authentication key
    • Disable: Deactivate an active authentication key
    Key generationCreate API key
    • When the button is clicked, navigate to the Create API Key page
    Table. Detailed information on the Simple AI Inference provided model
Reference
  • API keys are created in an active state.
  • If you suspect an API key exposure, deactivate the API key through disable to block API calls immediately. * After confirming the API key’s stability, you can reactivate the key for use.

Change API Key Status

You can enable or disable an API key’s status. To change the status of an API key, follow these steps.

  1. All Services > AI-ML > Simple AI Inference menu, please click. 1. Go to the Service Home page of Simple AI Inference.
  2. On the Service Home page, click the API Key menu. 2. API key list go to the page.
  3. On the API Key List page, select all API keys whose status you want to change.
  4. After clicking the More button at the top of the list, click the Use or Disable button.
    • If the API key is active: click the Use button to activate
    • If the API key is disabled, you can click the Disable button to deactivate it.
  5. When a popup that notifies a status change opens, click the Confirm button.

Delete API Key

To delete an API key, follow these steps.

Caution
  • API keys can only be deleted when they are deactivated.
  • Deleted API keys cannot be recovered, and API calls made with that key are permanently unavailable.
  • To reuse the API key, you must generate a new API key.
  1. All Services > AI-ML > Simple AI Inference Click the menu. 1. Navigate to the Service Home page of Simple AI Inference.
  2. On the Service Home page, click the API Key menu. 2. API Key List go to the page.
  3. On the API Key List page, verify that the API key you are deleting is disabled.
  4. On the API key list page, select all API keys you want to delete, then click the Delete button.
  5. When the deletion notification popup opens, click the Confirm button.

Using PlayGround

Using PlayGround, you can directly test AI models in a web browser without any coding, compare performance, input prompts, adjust parameters, extract API code, and perform these tasks in real time, allowing you to quickly validate ideas. To use PlayGround, follow these steps.

  1. All Services > AI-ML > Simple AI Inference menu, please click. 1. Navigate to the Service Home page of Simple AI Inference.
  2. On the Service Home page, click the PlayGround menu. 2. Navigate to the PlayGround page.
    ItemExplanation
    Model information areaDisplay the currently set model name
    • Click the dropdown button to change the model
    • When changing the model, all conversation content will be reset
    Parameter settingSet Playground parameter values
    • System Prompt(required): Specific instructions to give the model (e.g., a particular persona, tone, behavior rules, etc.)
    • Maximum Generation Tokens(required): Enter the maximum number of tokens that can be generated, within 100 to 8,000 (required)
    • Temperature(required): Set the creativity level of the generated dialogue within 0.0 to 2.0 (higher values near 2.0 increase creativity)
    • Top-p Sampling(required): Set the selection range for the next word within 0.0 to 1.0 (e.g., 0.9 means the next word is chosen only from candidates whose cumulative probability is within 0.9, increasing sentence creativity)
    • Prompt Safety Model(optional): Settings to restrict unethical content such as violence, hateful speech, or personal data leakage
    • System Prompt:
    • Think(optional): Configure the model to internally perform complex reasoning steps before producing the final answer
    InputNumber of tokens input to inference
    outputNumber of tokens generated in inference
    latencyTime taken to generate the token
    Delete conversationDelete all conversation content in the chat area
    Copy conversationCopy the entire conversation content in the chat area
    Model comparisonYou can compare two models to verify
    • When comparing models, the conversation display area is split into two, and the PlayGround is shown for each model
    Conversation display areaDisplay the input content and generated conversation content in speech bubble format
    • Click the Copy button of the speech bubble to copy only that content
    Chat input areaEnter the test content within 1,000 characters
    Table. PlayGround screen information

Terminate inference

Terminate Serverless Inference

To cancel Serverless Inference, follow the steps below.

  1. All Services > AI-ML > Simple AI Inference Click the menu. 1. Navigate to the Service Home page of Simple AI Inference.
  2. On the Service Home page, click the Serverless Inference menu. 2. Serverless Inference List Navigate to the page.
  3. On the Serverless Inference List page, click the Cancel Service button for the Serverless Inference you want to delete.
  4. When the pop-up notifying service termination opens, enter the service name and click the Confirm button.
ServiceWatch metric
Setting Playground Parameters