# Change your login password
Source: https://docs.scitix.ai/account/account-management/change-password
Change your account password, check password requirements, and find help if you have forgotten your current password.
Organization administrators and members can both change their own login passwords. You must provide your current password to make the change.
> [!TIP]
>
> If you have forgotten your current password, ask an organization administrator to reset it. For administrator instructions, see [Reset a user's password](/account/account-management/manage-users#reset-a-users-password).
## Procedure
1. Sign in to the console, open the account menu in the upper-right corner, and verify that you are using the intended account.
2. Select **Account Settings** and open **Security**.
3. In the password section, enter your current password and a new password.
* Use 8~40 characters, including uppercase letters, lowercase letters, numbers, and special characters (`!@#$%^&?`).
* Choose a password you do not use for other services, and store it securely.
4. Submit the password update. If validation fails, correct the indicated fields and submit again. Check the result shown on the page to confirm that the password was updated.
Use the new password for subsequent password-based sign-ins.
# Get access keys (AK/SK)
Source: https://docs.scitix.ai/account/account-management/get-ak-sk
Generate account-level Access Key and Secret Key credentials for SDK or CLI authentication, and store them securely.
Access keys consist of an Access Key (AK) and a Secret Key (SK). These account-level credentials authenticate SDKs, CLIs, and other tools that require AK/SK.
> [!NOTE]
>
> AK/SK are different from the API keys used to call models in Model Inference. For model requests, use a [model API key](/model-inference/usage/api-keys), not AK/SK.
## Procedure
1. Sign in to the console, open the account menu in the upper-right corner, and select **Account Settings**.
2. Open **Security**. In the **Access keys (AK / SK)** section, generate a key pair.
3. Follow the page instructions to obtain the AK and SK, and save them in a trusted credential manager.
## Security considerations
* Do not include AK/SK in public repositories, container images, logs, screenshots, or shared documents. Do not expose them in browser-side code. Even if the console lets you display a key, supply credentials to applications through environment variables or a credential manager rather than hardcoding them in source code.
* Before replacing AK/SK, identify the applications and automated tasks that use the existing credentials. Plan how to configure and verify the new credentials to avoid authentication failures and service interruptions.
# Manage users
Source: https://docs.scitix.ai/account/account-management/manage-users
Add users, change roles, reset passwords, and enable or delete accounts as an organization administrator.
Organization administrators can add users and manage their roles, passwords, and account status.
## Prerequisites
Before adding or managing a user:
* Confirm that your account has the **Org Admin** role and can access the **User Management** page.
* Verify the tenant you are signed in to and the user you intend to add or manage.

Only organization administrators can access the **User Management** page. Members can maintain only their own accounts.
## Add a user
Adding a user creates a login account within the current tenant, not a child account under the administrator's personal account.
1. Sign in to the console and open the account menu in the upper-right corner.
2. Open **User Management**.
3. Select **Add User**.
4. Enter the user information and set the account options.
| Field or option | Description |
| - | - |
| **Username** | The name the user uses to sign in and that identifies them in the user list. |
| **Password** | The user's initial login password. |
| **Email** | The user's email address. |
| **Org Admin** | Select this option to grant the organization administrator role. Leave it unselected to create a member. |
| **Enabled** | Select this option to enable sign-in. Leave it unselected to create a disabled account. |
5. Review the information and submit the form. If validation fails, correct the indicated fields and submit again.
6. Find the new user in the list and verify their account information.
7. Share the login information securely with the user. If the account is enabled, ask them to confirm that they can sign in to the correct tenant.
If the user needs access to Siverse resources, configure their resource permissions in Siverse separately.
## Manage existing users
On the **User Management** page, use the **Status**, **Role**, or **Username** filters and select **Search** to find a user. From the user list, you can view account details, change roles, update account status, reset passwords, or delete users.

The **Role** column shows organization administrators as **Org Admin** and other users as **Member**. Select **Details** to view a user's account information.
### Change a user's role
> [!WARNING]
>
> Roles determine access to administrator pages, including **User Management**. Before changing a role, ensure that at least one organization administrator remains able to manage users.
1. Find the target user and select **Edit**.
2. In the dialog, verify the username and select **Org Admin** or **Member** in **Role**.
3. Confirm the change, then check the user's role in the list.
### Reset a user's password
Use this operation when a user forgets their password or needs an administrator to set a new one. Unlike changing your own password, an administrator reset requires only the user's new password, not their current password.
> [!WARNING]
>
> Resetting a password affects the user's sign-in. Verify the target account and agree on the change with the user before submitting it.
1. Find the target user and select **Change Password**.
2. Verify the username and enter a new password.
3. Confirm the change and check the result shown on the page.
4. Share the new password securely with the user, and ask them to use it for subsequent sign-ins.
### Enable a user
Enable a disabled account when the user needs to sign in. Because this changes the account's sign-in status, verify the target account before confirming.
1. Find the target user and select **Enable**.
2. Verify the username in the dialog and confirm the action.
3. Return to the list and check that **Status** shows **Enabled**.
### Delete a user
> [!WARNING]
>
> Deleting a user affects that account's ability to sign in. Confirm that the account no longer needs access before deleting it.
1. Find the target user and select **Delete**.
2. Verify the username in the dialog and confirm deletion.
3. Return to the list and check that the user has been removed.
## Verify the results
After adding a user, changing a role, or updating an account, check that:
* The user can sign in to the current tenant as expected.
* The user's role matches the intended permissions.
# Account system overview
Source: https://docs.scitix.ai/account/account-management/overview
Understand tenants, user roles, and product permissions, and find the steps to provision a tenant or manage accounts.
ScitiX manages users within tenants. Each user has a separate login account, and their role determines which account management tasks they can perform.
## Account system
A tenant is a separate management scope on the platform. Each user belongs to a tenant and has either the organization administrator or member role.

### Tenants and users
| Concept | Description | Scope |
| - | - | - |
| Tenant | A management boundary on the platform. | Contains users and tenant-level information, such as bills and orders. |
| User | A login account within a tenant. | Uses a username and password to sign in and maintains their own password and access keys. |
Request a new tenant if you need to manage users and billing separately from an existing tenant. To let another user access an existing tenant, ask that tenant's organization administrator to add the user. You do not need a new tenant for each user.
> [!NOTE]
>
> A sub-user is a user within a tenant, not a child account of an individual administrator. Adding a user creates a login account in the current tenant.
### User roles
Organization administrators and members can both maintain their own accounts. Organization administrators can also manage other users in the current tenant. A user role controls access to account management pages; it does not grant resource permissions for individual products.
| Task | Organization administrator | Member |
| - | - | - |
| View your own account information and change your password | Yes | Yes |
| Generate and save your own AK/SK | Yes | Yes |
| Add users or manage their roles, passwords, and status | Yes | No |
| View tenant resource quotas | Yes | No |
## Account management
### Open a new tenant
Contact ScitiX support to request a new tenant. The tenant and its first organization administrator are provisioned by the support team, not created in the console. After receiving the account information, the first administrator should sign in and verify the tenant and account details.
### Manage users
Organization administrators can add users to the current tenant and manage existing users' roles, passwords, and status. See [Manage users](/account/account-management/manage-users).
When adding a user, set the role and account status. Share the login information securely with the user. If the account is enabled, ask them to verify that they can sign in to the correct tenant.
### Manage your own account
* Sign in to the console and open the account menu in the upper-right corner to check your username, email address, and user ID. You cannot edit these login details yourself. Contact ScitiX support if they need to change.
* To update the name and address used for payments and invoices, see [Update your profile](/account/account-management/update-profile).
* To change your password, see [Change your login password](/account/account-management/change-password).
* To authenticate an SDK or CLI that requires AK/SK, see [Get access keys (AK/SK)](/account/account-management/get-ak-sk).
## FAQ
> [accordion] Does signing in grant access to product resources?
>
> No. Creating a tenant user, enabling sign-in, and granting product resource permissions are separate configurations. Account status determines whether a user can sign in. Access to a product's resources also depends on that product's resource permissions.
# Update your profile
Source: https://docs.scitix.ai/account/account-management/update-profile
Update the name and address used for payment processing and invoices in your account settings.
Use your profile to maintain the name and address used for payment processing and invoices. Your email address is used for billing and security notifications.
## Procedure
1. Sign in to the console and open the account menu in the upper-right corner.
2. Select **Account Settings** and open **Profile**.
3. In **Address information**, select **Individual** or **Company**, depending on who the billing information is for.
4. Complete the address fields. Fields marked with an asterisk (\*) are required.
5. Select **Save changes**. Check the result shown on the page to confirm the update.
# View tenant resource quotas
Source: https://docs.scitix.ai/account/account-management/view-tenant-quotas
Check the current tenant's resource quotas by product, region, and resource type as an organization administrator.
The quota page lists resource quotas for the current tenant. Organization administrators can check quotas by product, region, and resource type.
> [!NOTE]
>
> Only organization administrators can view tenant resource quotas.
## Procedure
1. Sign in to the console, open the account menu in the upper-right corner, and select **Account Settings**.
2. Open **Quotas**.
3. Find the record for the target product, region, and resource type. Verify the tenant, quota value, and unit.

* Check **Last Modified** if you need to know when the record was updated.
* Check each product, region, and resource type separately. Use the value and unit shown in the corresponding record.
> [!NOTE]
>
> A quota is not the amount of resources currently remaining or the number of resources you can create immediately. Check the corresponding product's resource information to determine whether a resource is available.
## Related tasks
Tenant resource quotas are different from Siverse resource pools and individual compute quotas. To check pool capacity or configure an individual's compute quota, see [Manage compute resource pools and quotas](/siverse/resources/manage-resource-pools-and-quotas).
# View cost details
Source: https://docs.scitix.ai/account/billing/bill-details
Review tenant cost records for a product and date range to check usage, prices, discounts, and payment amounts.
Use **Cost Details** to check tenant-wide model or resource usage, unit prices, discounted charges, promotional credit deductions, and cash payments. Select a product, date range, and a level of aggregation supported by that product.
> [!NOTE]
>
> Only organization administrators can access **Cost Details** in the billing center.
## Query cost details
1. Sign in to the console, expand **Available Balance** in the top bar, and follow the link to the billing center.
2. Open **Cost Details**.
3. Select the product tab.
4. Set the date range in **Period** and choose an available option in **Group by**. For example, select **Day** or **Month** for Model Inference.
5. Review the records in the list.

* Prices and payments: **List Unit Price** is the standard price before discounts. **Effective Unit Price** is the price per unit after discounts, and **Discounted Cost** is the record's charge after discounts. **Credits Applied** shows the amount deducted from promotional credits. Cash payments show how much of the charge was covered by the cash balance.
* Model Inference: Check usage for input, output, and cache-related billing items. Use the categories and pricing units shown in each record. For definitions and token billing rules, see [Token usage and billing](/model-inference/usage/billing). These cost records are aggregated at the selected granularity; they are not individual request logs. To inspect individual requests, see [View model usage details](/model-inference/usage/view-usage).
* GPU Cloud and Siverse: Check resource usage and duration against the applicable billing mode and the units shown in the records.
## Related documentation
* [Billing overview](/account/billing/billing-account): Understand product billing methods, balances, promotional credits, and online top-ups.
* [View bills and cost statistics](/account/billing/bills): Reconcile monthly charges and review product cost breakdowns and trends.
* [View model usage details](/model-inference/usage/view-usage): Analyze model usage using request records.
# Billing overview
Source: https://docs.scitix.ai/account/billing/billing-account
Understand how ScitiX products are billed, check your tenant's balance and promotional credits, and top up online.
ScitiX products are billed by model usage, resource usage duration, or subscription period. Organization administrators can check the tenant's balance, bills, cost details, and orders in the billing center.
## Billing methods
The tables below summarize billing by product. Follow the links for the applicable billing rules.
### Model Inference
| Item | Billing method | Documentation |
| - | - | - |
| Model requests | Pay-as-you-go billing based on actual token usage and the price of the model used. | [Token usage and billing](/model-inference/usage/billing) |
### Siverse
| Item | Billing method | Documentation |
| - | - | - |
| Instance quotas | Purchase quotas based on the instance specifications, quantity, and runtime selected when ordering. | [Prepare compute resources](/siverse/resources/prepare-compute-resources) |
| Storage quotas | Purchase quotas based on the requested capacity and number of days. | [Create and use storage volumes](/siverse/resources/create-and-use-storage-volumes) |
To check whether a Siverse quota is active, find its expiration date, or renew it, see [View and renew resource orders](/siverse/resources/manage-resource-orders).
### GPU Cloud
| Item | Billing method | Documentation |
| - | - | - |
| GPU instances | Pay-as-you-go billing for actual usage duration, or subscription billing for the purchased period. | [Create a GPU instance](/gpu-cloud/instance/create-gpu-instance) |
| CPU instances | Pay-as-you-go billing for actual usage duration, or subscription billing for the purchased period. | [Create a CPU instance](/gpu-cloud/instance/create-cpu-instance) |
| GPFS file systems | Pay-as-you-go billing based on configured capacity and actual usage duration, or a prepaid subscription for a fixed period. | [GPFS overview](/gpu-cloud/storage/gpfs-overview) |
| OSS object storage | Pay-as-you-go billing based on configured capacity and actual usage duration. | [OSS overview](/gpu-cloud/storage/oss-overview) |
## Balance and promotional credits
Sign in to the console, expand **Available Balance** in the top bar, and follow the link to the billing center. Open **Overview**.
* **Available Balance** shows the cash balance available across products. It excludes promotional credits.
* **Promotional Credits** shows **Available Credits** and the amount **Expiring Within 7 Days**. Select **View Details** to check each credit's status, amount used, remaining balance, and expiration date.
The amount used in the credit details is cumulative for that credit. To check credit deductions for a specific billing period, use [bills](/account/billing/bills) or [cost details](/account/billing/bill-details).
## Top up your balance
You can add funds to your tenant's balance online from **Overview**.
To maintain the name and address used for payment processing and invoices, see [Update your profile](/account/account-management/update-profile).
1. In **Top up**, select a preset amount or enter a custom amount.

2. Check the amount and select **Top up** to proceed to Stripe checkout.
3. Review the checkout total and complete payment. Sales tax is calculated at checkout based on your billing address.
4. Return to **Overview** and check **Available Balance** to verify the top-up.
## Find billing information
Use bills to reconcile service charges and orders to check purchase records, periods, status, and amounts. An order amount is not a substitute for the service charges shown on a bill.
| Task | Documentation |
| - | - |
| Reconcile monthly charges, cash payments, and promotional credit deductions; review cost breakdowns and trends. | [View bills and cost statistics](/account/billing/bills) |
| Review cost records for a product and date range at an available level of aggregation; check usage, prices, and charges. | [View cost details](/account/billing/bill-details) |
| Find orders by date and product; check their periods, status, and amounts. | [View orders](/account/billing/orders) |
To analyze token usage for individual model requests, see [View model usage details](/model-inference/usage/view-usage).
# View bills and cost statistics
Source: https://docs.scitix.ai/account/billing/bills
Reconcile your tenant's monthly charges, cash payments, and promotional credit deductions, and review cost breakdowns and trends.
The **Overview** page brings together monthly bills and tenant-wide cost statistics. Use it to reconcile cash payments and promotional credit deductions, compare costs across products, and track changes over time.
> [!NOTE]
>
> Only organization administrators can access **Overview** in the billing center.
## Procedure
Sign in to the console, expand **Available Balance** in the top bar, and follow the link to the billing center. Open **Overview**.
### View the cost breakdown
In **Usage & Costs**, select the month you want to review in **Billing Period**.

* **Total Cost** shows total charges for the selected period. **Cash Applied** and **Credits Applied** show the amounts paid in cash or deducted from promotional credits.
* Review **Cost Breakdown** to see how much each product contributed to the total.
### View cost trends
In **Cost Trend**, select a date range and choose **Monthly** or **Daily** to compare costs over time. The chart separates **Cash Applied** from **Credits Applied**.

### View monthly bills
In **Monthly Bills**, find the month you want to review. The list shows bills for the last 12 months only.

To examine a month's charges, select **View Details** for that month. For instructions on interpreting the records, see [View cost details](/account/billing/bill-details).
## Related documentation
* [Billing overview](/account/billing/billing-account): Understand product billing methods, balances, promotional credits, and online top-ups.
* [View cost details](/account/billing/bill-details): Check usage, prices, and charges for a model or resource.
* [View orders](/account/billing/orders): Find purchase records and check their periods and status.
# View orders
Source: https://docs.scitix.ai/account/billing/orders
Filter your tenant's orders by date and product, check their periods, status, and amounts, and distinguish orders from bills.
The **Orders** page lists orders for the tenant. Filter by date and product to find an order, then check its period, status, and amount.
> [!NOTE]
>
> Only organization administrators can access **Orders** in the billing center.
## Find an order
1. Sign in to the console, expand **Available Balance** in the top bar, and follow the link to the billing center.
2. Open **Orders**.
3. Set the date range and, if needed, select a product.
4. Use **Order ID**, **Product**, and **Description** to identify the order. Check **Period**, **Status**, and **Amount**.

## Related documentation
* [Billing overview](/account/billing/billing-account): Understand product billing methods, balances, and where to find billing information.
* [View bills and cost statistics](/account/billing/bills): Reconcile monthly service charges. Order records are different from bills; do not use order amounts as a substitute for billed charges.
* [View and renew resource orders](/siverse/resources/manage-resource-orders): Check whether Siverse resource quotas are active, find their expiration dates, or renew them.
# Use ScitiX docs with AI
Source: https://docs.scitix.ai/account/connect-docs-to-ai
Learn how to use MCP, llms.txt, skill.md, and Markdown pages to let AI tools query ScitiX product documentation.
You can connect ScitiX Docs to AI tools such as Claude Code, Codex, and Cursor. The AI tool can then answer questions about Model Inference, Siverse, and GPU Cloud based on the documentation, such as how to choose a model, call the API, configure API keys, view usage, prepare resources, create development environments, submit training tasks, publish inference services, manage instances and Kubernetes clusters, use storage, or configure monitoring and alerts.
## Choose a method
We recommend using MCP first. MCP is best for querying ScitiX documentation continuously from an IDE, coding agent, or desktop AI client. The AI tool can retrieve relevant documentation on demand, without requiring you to copy page links or page content each time.
If your AI tool does not support MCP, choose another method based on your use case.
| Use case | Recommended method |
| - | - |
| Your AI tool supports MCP and needs long-term access to the docs | Use MCP |
| Your AI agent supports skills or custom context | Use `skill.md` |
| You want AI to discover available documentation pages | Use `llms.txt` |
| You want AI to read the full documentation content | Use `llms-full.txt` |
| You only need AI to read one page | Use single-page Markdown |
## MCP access
If your AI tool supports Model Context Protocol (MCP), you can connect it to ScitiX documentation. After connection, the AI tool can search relevant documentation and answer questions based on the docs.
### Access URL
Use the following MCP server URL when adding ScitiX Docs to your AI tool.
```text theme={null}
https://docs.scitix.ai/mcp
```
### Tool capabilities
After connection, the AI tool can use the following documentation tools:
| Tool | Description |
| - | - |
| `search` | Search ScitiX documentation for relevant pages, guides, and API references. |
| `query_docs_filesystem` | Read pages from the virtual documentation filesystem. Use it to inspect full pages, browse the docs structure, or match exact keywords. |
| `submit_feedback` | Submit feedback to the documentation team for incorrect, outdated, confusing, or incomplete documentation. |
### Example questions
Ask questions about the product and task you are working on, for example:
| Product | Example questions |
| - | - |
| Model Inference |
Which model should I use? How do I create an API key and call a model? How do I troubleshoot API errors? How do I view token usage and costs? |
| Siverse | What resources do I need to prepare before first use? Should I use a development environment, a training task, or an inference service? How do I troubleshoot a training task that is queued or has failed? |
| GPU Cloud | Should I choose a CES instance or a Kubernetes cluster? Should I use GPFS or OSS for shared data? How do I view monitoring data? How do I subscribe to alerts? |
### Configure in Claude Code
Claude Code is primarily a command-line workflow. In the project directory where you want to use ScitiX Docs, run:
```bash theme={null}
claude mcp add --transport http scitix-docs https://docs.scitix.ai/mcp
```
After configuration, run the following command to check the connection:
```bash theme={null}
claude mcp list
```
### Configure in Codex
If you use a Codex client that supports graphical MCP configuration, you can add an MCP server in the app and set the server URL to `https://docs.scitix.ai/mcp`.
If you want to reuse the configuration across projects or IDEs, use the CLI or configuration file.
Run the following command to add the ScitiX Docs MCP server:
```bash theme={null}
codex mcp add scitixDocs --url https://docs.scitix.ai/mcp
```
After configuration, run the following command to check the connection:
```bash theme={null}
codex mcp list
```
You can also edit the Codex configuration file, such as `~/.codex/config.toml`, and add:
```toml theme={null}
[mcp_servers.scitixDocs]
url = "https://docs.scitix.ai/mcp"
```
## Other reading methods
### Use skill.md
`skill.md` describes the documentation site and product capabilities to AI agents. It is useful for tools that support skills or agent context.
```text theme={null}
https://docs.scitix.ai/skill.md
```
### Use llms.txt
`llms.txt` provides an index of the documentation pages. It is useful when you want AI to understand what pages are available.
```text theme={null}
https://docs.scitix.ai/llms.txt
```
### Use llms-full.txt
`llms-full.txt` provides more complete documentation content. It is useful when an AI tool needs a larger documentation context at once.
```text theme={null}
https://docs.scitix.ai/llms-full.txt
```
> [!WARNING]
>
> `llms-full.txt` may contain a large amount of content. Some AI tools have context length limits. If the content is too long, use MCP, `llms.txt`, or single-page Markdown instead.
### Use single-page Markdown
Every documentation page can be read in Markdown format. Add `.md` to the page URL to get a plain-text version that is easier for AI tools to read.
For example:
```text theme={null}
https://docs.scitix.ai/model-inference/get-started/first-api-call.md
https://docs.scitix.ai/siverse/training/create-training-tasks.md
https://docs.scitix.ai/gpu-cloud/get-started/quickstart-instance.md
```
## Usage recommendations
* For product concepts, setup steps, and configuration details, prefer MCP or a specific Markdown page.
* For real-time information such as model availability, pricing, quotas, resource availability or inventory, task and service status, instance and cluster status, orders, and console configuration, also check the console.
* If an AI answer conflicts with the documentation page, rely on the documentation page.
# Use ScitiX docs with AI
Source: https://docs.scitix.ai/changelog/connect-docs-to-ai
Learn how to use MCP, llms.txt, skill.md, and Markdown pages to let AI tools query ScitiX product documentation.
You can connect ScitiX Docs to AI tools such as Claude Code, Codex, and Cursor. The AI tool can then answer questions about Model Inference, Siverse, and GPU Cloud based on the documentation, such as how to choose a model, call the API, configure API keys, view usage, prepare resources, create development environments, submit training tasks, publish inference services, manage instances and Kubernetes clusters, use storage, or configure monitoring and alerts.
## Choose a method
We recommend using MCP first. MCP is best for querying ScitiX documentation continuously from an IDE, coding agent, or desktop AI client. The AI tool can retrieve relevant documentation on demand, without requiring you to copy page links or page content each time.
If your AI tool does not support MCP, choose another method based on your use case.
| Use case | Recommended method |
| - | - |
| Your AI tool supports MCP and needs long-term access to the docs | Use MCP |
| Your AI agent supports skills or custom context | Use `skill.md` |
| You want AI to discover available documentation pages | Use `llms.txt` |
| You want AI to read the full documentation content | Use `llms-full.txt` |
| You only need AI to read one page | Use single-page Markdown |
## MCP access
If your AI tool supports Model Context Protocol (MCP), you can connect it to ScitiX documentation. After connection, the AI tool can search relevant documentation and answer questions based on the docs.
### Access URL
Use the following MCP server URL when adding ScitiX Docs to your AI tool.
```text theme={null}
https://docs.scitix.ai/mcp
```
### Tool capabilities
After connection, the AI tool can use the following documentation tools:
| Tool | Description |
| - | - |
| `search` | Search ScitiX documentation for relevant pages, guides, and API references. |
| `query_docs_filesystem` | Read pages from the virtual documentation filesystem. Use it to inspect full pages, browse the docs structure, or match exact keywords. |
| `submit_feedback` | Submit feedback to the documentation team for incorrect, outdated, confusing, or incomplete documentation. |
### Example questions
Ask questions about the product and task you are working on, for example:
| Product | Example questions |
| - | - |
| Model Inference | Which model should I use? How do I create an API key and call a model? How do I troubleshoot API errors? How do I view token usage and costs? |
| Siverse | What resources do I need to prepare before first use? Should I use a development environment, a training task, or an inference service? How do I troubleshoot a training task that is queued or has failed? |
| GPU Cloud | Should I choose a CES instance or a Kubernetes cluster? Should I use GPFS or OSS for shared data? How do I view monitoring data? How do I subscribe to alerts? |
### Configure in Claude Code
Claude Code is primarily a command-line workflow. In the project directory where you want to use ScitiX Docs, run:
```bash theme={null}
claude mcp add --transport http scitix-docs https://docs.scitix.ai/mcp
```
After configuration, run the following command to check the connection:
```bash theme={null}
claude mcp list
```
### Configure in Codex
If you use a Codex client that supports graphical MCP configuration, you can add an MCP server in the app and set the server URL to `https://docs.scitix.ai/mcp`.
If you want to reuse the configuration across projects or IDEs, use the CLI or configuration file.
Run the following command to add the ScitiX Docs MCP server:
```bash theme={null}
codex mcp add scitixDocs --url https://docs.scitix.ai/mcp
```
After configuration, run the following command to check the connection:
```bash theme={null}
codex mcp list
```
You can also edit the Codex configuration file, such as `~/.codex/config.toml`, and add:
```toml theme={null}
[mcp_servers.scitixDocs]
url = "https://docs.scitix.ai/mcp"
```
## Other reading methods
### Use skill.md
`skill.md` describes the documentation site and product capabilities to AI agents. It is useful for tools that support skills or agent context.
```text theme={null}
https://docs.scitix.ai/skill.md
```
### Use llms.txt
`llms.txt` provides an index of the documentation pages. It is useful when you want AI to understand what pages are available.
```text theme={null}
https://docs.scitix.ai/llms.txt
```
### Use llms-full.txt
`llms-full.txt` provides more complete documentation content. It is useful when an AI tool needs a larger documentation context at once.
```text theme={null}
https://docs.scitix.ai/llms-full.txt
```
> [!WARNING]
>
> `llms-full.txt` may contain a large amount of content. Some AI tools have context length limits. If the content is too long, use MCP, `llms.txt`, or single-page Markdown instead.
### Use single-page Markdown
Every documentation page can be read in Markdown format. Add `.md` to the page URL to get a plain-text version that is easier for AI tools to read.
For example:
```text theme={null}
https://docs.scitix.ai/model-inference/get-started/first-api-call.md
https://docs.scitix.ai/siverse/training/create-training-tasks.md
https://docs.scitix.ai/gpu-cloud/get-started/quickstart-instance.md
```
## Usage recommendations
* For product concepts, setup steps, and configuration details, prefer MCP or a specific Markdown page.
* For real-time information such as model availability, pricing, quotas, resource availability or inventory, task and service status, instance and cluster status, orders, and console configuration, also check the console.
* If an AI answer conflicts with the documentation page, rely on the documentation page.
# Console Changelog
Source: https://docs.scitix.ai/changelog/console-changelog
Track updates to ScitiX console navigation, user experience, features, and bug fixes.
**2026.10.30**
Updated console navigation and access to account tools
### Console navigation and layout updates
The top and left navigation bars now share a consistent layout and visual style. Product navigation, billing, account settings, documentation, and support have dedicated locations, making navigation more consistent across products.
* **Billing access**: Billing pages, including bills and orders, are no longer part of the product menu. Expand the account balance menu in the top navigation bar, then follow the link to the billing center.
* **Account menu**: The account menu is now at the right end of the top navigation bar. Open it to access account settings, AK / SK credentials, user management, and other account tools.
* **Product switcher**: The product switcher is now at the left end of the top navigation bar, separate from each product's menu.
* **Documentation and support**: Documentation and technical support links are now at the bottom of the left navigation bar, separate from product features.

**2026.10.20**
Billing page redesign
### Billing page redesign
* Added an [Overview](https://console.scitix.ai/model-inference/cost/overview) page showing the available account balance, billing charges, and cost trends in one place.
* Improved the [Cost Details](https://console.scitix.ai/model-inference/cost/details) page to make it easier to view costs by product and time range.
**2026.9.21**
Standardized timestamp display across the console
### UTC time display
* All console timestamps are now displayed in UTC.
The following image shows the Metrics page as an example.

**2026.09.02**
Updated the post-login homepage and product switcher entry point
### Console homepage and product switcher changes
* Changed the page shown after logging in to the console
After you log in to the console, the previous unified homepage is no longer shown. You are taken directly to the default product console.
* To view resource information, go to the corresponding product console.
* To get AK/SK credentials, see [Get access keys](/account/account-management/get-ak-sk).

* Updated the product selection entry point
The product selection path has changed. Instead of choosing a product from **Products** in the top navigation, you can now switch the current product directly from the top of the left navigation.

# GPU Cloud Release Notes
Source: https://docs.scitix.ai/changelog/gpu-cloud-product-changelog
View GPU Cloud release notes for CES instances, CKS clusters, GPFS storage, and image registries.
**2026.10**
Updated GPFS specifications, provisioning, and image replication permission checks
### Improvements
* Updated specifications for the performance and capacity types of GPFS. For details, see [GPFS Overview](/gpu-cloud/storage/gpfs-overview#specification-types).
* Improved wait and retry handling for CES instance and CKS cluster provisioning errors to reduce provisioning stalls.
* Standardized the software baseline for CES instance and CKS cluster provisioning, including operating system, GPU driver, RDMA OFED, and GPFS version combinations.
### Bug fixes
* Fixed permission checks for cross-region image replication tasks. Access, manual trigger, and stop permissions are now checked against the replication policy's region and organization.
* Fixed an issue where image replication tasks returned underlying error details when access was denied or the resource did not exist. These cases now return consistent error messages.
# Model Launch Records
Source: https://docs.scitix.ai/changelog/model-launch-records
View launch dates, model IDs, and use cases for newly available Model Inference models.
**2026.11.05**
Kimi-K3.1-Pro is now available
### 【Model Launch】Kimi-K3.1-Pro
* Model ID: `moonshotai/kimi-k3.1-pro`
* Model description: Kimi K3.1 Pro is the first model in the K3.1 series and Kimi's most capable 3T-scale open-weight model to date. It supports a context window of 1 million tokens and delivers significant improvements in coding, 3D creation, financial research, and a range of agentic tasks. Stronger long-context understanding, complex reasoning, and task execution make it well suited to software development, specialized research, and long-horizon agent applications.
**2026.10.19**
DeepSeek-V4.1-Flash-1017 is now available
### 【Model Launch】DeepSeek-V4.1-Flash-1017
* Model ID: `deepseek-ai/deepseek-v4.1-flash-1017`
* Model description: DeepSeek-V4.1-Flash-1017 is a minor version update to DeepSeek-V4.1-Flash, with significant improvements in reasoning, coding, agentic tasks, and vision benchmarks. It further reduces task execution time and output length, helping you complete tasks faster and at lower cost. Across multiple agent frameworks, it also expands the Pareto frontier between model performance and usage cost.
**2026.10.09**
IQuest-Q1 is now available
### 【Model Launch】IQuest-Q1
* Model ID: `iquestLab/iquest-q1`
* Model description: IQuest-Q1 is designed for agentic coding, complex reasoning, and multi-step tool use. It supports a 512K context window and is suitable for code development, terminal-based agents, long-horizon complex task execution, and long-context analysis.
**2026.09.10**
DeepSeek-V4.1-Flash is now available
### 【Model Launch】DeepSeek-V4.1-Flash
* Model ID: `deepseek-ai/deepseek-v4.1-flash`
* Model description: DeepSeek-V4.1-Flash is designed for coding assistance, terminal and computer-use agents, long-horizon complex tasks, and long-context analysis. It also natively supports image understanding, making it suitable for applications that need to balance response speed, task performance, and cost efficiency.
**2026.08.26**
DeepSeek-V4-Flash-0731 is now available
### 【Model Launch】DeepSeek-V4-Flash-0731
* Model ID: `deepseek-ai/deepseek-v4-flash-0731`
* Model description: DeepSeek-V4-Flash-0731 is designed for general chat, coding assistance, and complex task processing scenarios. It is suitable for applications that need to balance response speed and reasoning quality.
**2026.08.26**
GLM-5.2 PD disaggregated version is now available
### 【Model Launch】GLM-5.2 PD Disaggregated Version
* Model ID: `glm-5.2`
* Model description: The GLM-5.2 PD disaggregated version uses a Prefill / Decode disaggregated deployment architecture. It is suitable for long-context, high-throughput, or stability-sensitive inference workloads.
# Model Inference Release Notes
Source: https://docs.scitix.ai/changelog/model-product-changelog
View Model Inference release notes for console, API, observability, usage and billing, stability, and compatibility updates.
**2026.10.28**
Improved model information, request retries, and API error handling
### Improvements
* **Model catalog**
* Newly created models now appear near the top of the list by default.
* The model catalog now supports more recognizable display names. Model IDs remain unchanged.
* **Request retries**
* For rate-limited requests, the `Retry-After` value in `429` responses now more closely reflects available capacity.
* Improved the retry strategy to reduce unnecessary retries for some temporary errors.
### Bug fixes
* Fixed an issue where some unavailable models returned `503` responses without a reason. Error responses now provide a clearer explanation.
* Fixed an issue that could cause `/v1/images/edits` to fail to decode requests from browsers, `curl -F`, and other clients.
**2026.09.29**
Improved metrics, billing, and troubleshooting
### Improvements
* **Console**
* Improved per-user usage queries on the Metrics page to improve responsiveness under high concurrency.
* Reduced data refresh delays on the Metrics page for more timely usage visibility.
* Updated Playground so that the default output limit follows the model configuration and the output display includes a detailed token breakdown.
* **Billing**
* Adjusted the billing policy for client disconnections (`499`). For details, see [Token Usage and Billing](/model-inference/usage/billing#client-disconnection-499-billing).
* **Request troubleshooting**
* Error responses now include `request_id` to support troubleshooting. For details, see [Error Handling](/model-inference/api/error-handling).
* **Stability**
* Improved service stability for high-concurrency workloads.
### Bug fixes
* Fixed a data-alignment issue in Metrics page trend charts when aggregating data by time range.
* Fixed an issue where Playground parameters set to `0` did not take effect.
**2026.08.26**
Improved observability, usage and billing, call paths, and stability
### New features
* Usage and cost analysis now supports Top Models, Top API Keys, and member usage, helping you quickly identify major traffic and cost sources. Member usage is visible only to administrators. For more information, see [View Metrics](/model-inference/usage/view-metrics).
* The Metrics page now includes Time to First Token (TTFT), end-to-end latency (Latency), and prompt length distribution (prompt bucket) metrics to help analyze call performance and response latency. For more information, see [View Metrics](/model-inference/usage/view-metrics).
* The [Usage Detail](/model-inference/usage/view-usage) page now provides more complete request details, including request time, API Key, token usage, cost, TTFT, and end-to-end latency.
### Improvements
* **Model information**
* Improved `context window` and `max output token` display on model details pages, helping you evaluate context and output capabilities more accurately.
* **Call path**
* Improved error code semantics: recoverable retryable errors now use 4xx responses, making it easier for callers to identify and configure handling logic.
* Improved platform request retry strategy to reduce unnecessary retries in some temporary error scenarios.
* **Stability and performance**
* Improved caching and load balancing for high-concurrency scenarios, increasing service stability for long-context or high-throughput workloads.
* Improved inference service deployment and startup capabilities, reducing service preparation time for some models.
### Bug fixes
* Fixed cache hit issues in some long-context call scenarios, improving stability for continuous requests.
* Fixed request timeout issues in some long-context call scenarios.
# Siverse Release Notes
Source: https://docs.scitix.ai/changelog/siverse-product-changelog
View Siverse release notes for resource management, training tasks, inference services, monitoring and alarms, development tools, and other modules.
**2026.10.29**
Updates to resource scheduling, development environments, and general services
### New features
* **Resource scheduling**
* Resource requests for training tasks, development environments, inference services, and general services now enter a unified queue. Scheduling takes into account the resource pool, instance type, priority, round-robin ordering across users, and submission time.
* **General services**
* Added a toggle to disable console-domain access and restrict access to the cluster's shared gateway. For details, see [Enable or disable console-domain access](/siverse/inference/manage-general-inference-services#enable-or-disable-console-domain-access).
### Improvements
* Development environment events now include the workload name.
**2026.10.22**
Updates to training tasks, inference services, development environments, and image governance
### New features
* When automatic fault tolerance is enabled for training tasks of the PyTorchJob type, the **Automatic Node Replacement Upon Failure** switch is now available. For details, see [Create Training Tasks](/siverse/training/create-training-tasks#advanced-options).
* The Image Governance list now includes the **Active Workloads** column. For details, see [View Image Usage Statistics](/siverse/images/view-image-usage-statistics#view-usage-statistics).
### Improvements
* Optimized inference service event display by filtering kubelet health-check events.
* Added ephemeral storage write-risk notices to the SSH/Web login page for development environments.
### Bug fixes
* Fixed an issue with Batch Quota validation for inference services.
**2026.10.15**
Updates to Resource Dashboard, training tasks, and ephemeral storage
### New features
* **Resource Dashboard**
* Resource Dashboard now includes the [GPU Node Faults](/siverse/resources/view-resource-usage#view-gpu-node-faults) page, enabling tenant administrators to filter by cluster, instance type, and resource pool to view real-time faulty node statuses and historical fault data.
* **Training Tasks**
* Added an independent switch for compute prechecks. You can configure precheck script environment variables separately for each training task. For details, see [Advanced Training Task Configuration](/siverse/training/advanced-training-task-configuration#resource-precheck).
* Added [training task environment variable validation rules](/siverse/training/create-training-tasks#environment-information).
* Supports collecting [custom monitoring metrics](/siverse/training/advanced-training-task-configuration#custom-monitor) from multiple ports. The [training task monitoring page](/siverse/training/view-training-task-monitoring) now uses an HTML interface instead of the original Grafana dashboard.
* **Ephemeral storage**
* Development environments, training tasks, LLM inference services, and general services now support viewing Pod ephemeral storage usage. For details, see [Best practices for ephemeral storage](/siverse/best-practices/use-ephemeral-storage).
### Improvements
* Optimized backoff handling after training task scheduling failures, improving task-processing stability in exceptional scenarios.
* Optimized port reclamation after SSH is enabled for VS Code Server. Port resources are now automatically reclaimed when the service is stopped.
* Optimized general service API response speed.
* Optimized alarm and retry handling after default volume creation failures.
### Bug fixes
* Optimized the scheduling status display logic for nodes in exclusive resource pools, fixing an issue where other users saw a node as scheduling-disabled when it was temporarily blocklisted by a user within their personal scope.
* Fixed an intermittent failure when updating training task Pod statuses.
* Fixed an issue where the username was missing from stop events due to the training task event write order.
* Fixed an issue where exceptions during development environment event queue processing caused periodic service replica restarts.
**2026.09.24**
Updates to resource management and scheduling, inference services, and Task Dashboard
### New features
* **Resource Management and Scheduling**
* Exclusive resource pools now support the **Resource Pool Scheduling Policy**. You can choose BinPack or Spread to control whether tasks are consolidated on a small number of nodes or distributed across different nodes. The default policy is BinPack. For details, see [Create a Resource Pool](/siverse/resources/manage-resource-pools-and-quotas#create-resource-pool).
* Authorized users of resource pools can now be imported and exported in batches. You can use strings separated by commas (`,`) or line breaks to configure user quotas in batches. For details, see [Manage Authorized Users and Personal Quotas](/siverse/resources/manage-resource-pools-and-quotas#manage-authorized-users-and-personal-quotas).
* The resource pool details page now includes the **All Workloads** tab, which lets you view all historical workload records submitted to the current resource pool by workload type. For details, see [View Resource Pool Details](/siverse/resources/manage-resource-pools-and-quotas#view-resource-pool-details).
* On [View Resource Usage](/siverse/resources/view-resource-usage), the user resource details page now includes P50, P90, and P95 charts for **Idle task queue duration (minutes)** and **Idle task run duration (minutes)**.
* Added a node scheduling policy settings page that supports filtering by scope, node name, creator, reason, and other criteria. For details, see [Manage node scheduling policies](/siverse/configuration/manage-node-scheduling-policies).
* [View Task Resource Usage](/siverse/resources/view-task-resource-usage) now supports viewing historical development environment, inference service, and general service records.
* **Inference Services**
* LLM inference services now support configuring priority and whether preemption is allowed. For details, see [Advanced Config](/siverse/inference/create-llm-inference-services#advanced-config).
**2026.09.17**
Updates to resource management and scheduling, training tasks, and inference services
### New features
* **Resource Management and Scheduling**
* [View Task Resource Usage](/siverse/resources/view-task-resource-usage) now supports displaying instance specifications, GPU models, and actual resource usage, as well as sorting by GPU count or CPU core count.
* [View Resource Usage](/siverse/resources/view-resource-usage) now includes a resource pool GPU performance metrics dashboard:
* Displays SM utilization, Tensor utilization, GPU memory utilization, NVLink transmit and receive rates, and historical trends.
* Supports comparing metrics across multiple resource pools and filtering by instance specification and node.
* [View Resource Usage](/siverse/resources/view-resource-usage) now includes a user details page:
* Supports accessing details from the user usage ranking and viewing user resource usage over the past 1, 7, or 14 days and by resource pool.
* Supports viewing historical trends in the average number of GPUs in use by resource pool, with separate SM utilization trends for guaranteed and idle resources.
* When displaying a user's task scale, task type, and resource pool usage distribution, supports switching between GPU-hour distributions by “resource pool × task type” and “GPU model × task type.”
* Displays the names, types, statuses, GPU counts, GPU models, resource pools, SM utilization, GPU-hours used, queue and run durations, and submission, start, and end times of users' historical tasks.
* [View Resource Usage](/siverse/resources/view-resource-usage) now includes node disk usage and alarms:
* Supports viewing disk usage, capacity, writable capacity, and Top Pod usage for nodes in exclusive resource pools, as well as the number and details of Pods evicted within the past 24 hours because node disk usage or Pod usage reached a warning threshold.
* When a user's Pod ephemeral storage usage reaches the 80% or 90% threshold, the platform sends an alarm notification to the user.
* **Inference Services**
* Inference services in custom engine mode now support configuring images, commands, and environment variables. For details, see [Create an LLM inference service](/siverse/inference/create-llm-inference-services).
* Added an LLM inference monitoring dashboard. For details, see [Manage LLM Inference Services](/siverse/inference/manage-llm-inference-services).
### Improvements
* Optimized monitoring metrics for idle tasks in Resource Dashboard, aligning the runtime duration card before the first preemption with the gauge metric.
* Optimized fuzzy query performance for training tasks, reducing overall query time from approximately 3 seconds to approximately 1 second.
# Alarm Overview
Source: https://docs.scitix.ai/gpu-cloud/alarm/alarm-overview
Learn about GPU Cloud alerting capabilities, rule types, notification methods, and alert handling procedures.
GPU Cloud provides alerting capabilities to help you identify resource or service anomalies and send anomaly messages to specified channels through the Notifier. You can use Preset Rules to monitor common anomalies or use PromQL to create Custom Rules.
After accessing the **Alerts** page, you can view custom rules, preset rules, notification channels, and the number of alert events in the past 15 days. You can also configure rules, query events, and manage notifications on the **Custom Rules**, **Preset Rules**, **History**, and **Notifier** tabs. You can also access the **OBSERVABILITY > Alerts** page from the CKS cluster console to view or configure alerts related to cluster O\&M.
## Usage workflow
When using alerts for the first time, we recommend following the steps below for configuration and troubleshooting:
1. Create a notifier to receive alert messages.
2. Select an alert rule based on the monitoring scenario.
| Scenario | Recommendation |
| - | - |
| Monitor common exceptions already covered by the platform | Subscribe to Preset Rules. |
| Need to use custom PromQL expressions or a custom Active Period | Create Custom Rules. |
3. After enabling the rule, confirm that it is working as expected and is associated with the correct Notifier.
4. After an alert is triggered, view the event status, trigger value, and tag information on the **History** tab, then return to the relevant resource or monitoring metric to troubleshoot the issue.

## Alert Rule Types
GPU Cloud supports the following two types of alert rules:
| Rule Type | Description |
| - | - |
| Custom Rules | Configure the Rule Name, Severity, PromQL, execution frequency, Duration, Notifier, and Active Period. Suitable for scenarios requiring custom conditions. |
| Preset Rules | Common alarm rules provided by the platform. You can view and subscribe to them by product. |
## Alert Event Status
On the **History** tab, you can view the current status of alerts. Alert statuses include:
| Status | Description |
| - | - |
| Firing | The alert is still active. |
| Resolved | The alert has been resolved. |
## Alarm Severity
Custom Rules and historical events can use alert severity to distinguish event severity. Alert severity levels include `CRITICAL`, `WARNING`, and `INFO`.
## Alarm Handling Recommendations
After receiving an alert, it is recommended that you first view the rule name, trigger time, duration, trigger value, and label information on the **History** tab. Labels may include information related to the product, region, cluster, resource, or rule, which can help you return to the relevant resource or monitoring metric for further troubleshooting.
# Manage Notifier
Source: https://docs.scitix.ai/gpu-cloud/alarm/configure-alert-notifier
Learn how to create and manage notifiers to receive alarm trigger and recovery messages.
Notifiers are used to receive messages sent when alarm rules are triggered or restored. Before creating custom rules or subscribing to preset rules, we recommend creating an available notifier.
## Supported Notification Channels
When creating a notifier, **Type** supports the following channels:
* Feishu Application
* Feishu
* HTTP Trigger
* Email
* Slack
* Telegram
* WeCom
* Discord
* Teams
## Create Notifier
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Alerts** page.
2. On the **Notifier** tab, click **Create Notifier**.
3. Configure the name and type of the notifier.
| Parameter | Description |
| - | - |
| **Name** | The name of the alarm notification. We recommend using a name that distinguishes the team, business, or purpose. |
| **Type** | The channel type for alarm notifications. |
4. Configure notifications based on the selected type.
Different notification channels require different recipient addresses or account information. Before configuration, obtain the required information from the relevant messaging platform.
> [tab] Feishu Application
>
> | Parameter | Description |
> | - | - |
> | **AppID** | The App ID of the Feishu Application. |
> | **AppSecret** | The AppSecret of the Feishu Application. |
> | **DefaultGroup** | The name of the Feishu group that receives alarm messages. |
> | **DefaultUser** | The email address or mobile phone number of the default user who receives alarm messages. |
> [tab] Feishu
>
> | Parameter | Description |
> | - | - |
> | **Webhook URL** | The Webhook URL of the Feishu bot. |
> [tab] HTTP Trigger
>
> | Parameter | Description |
> | - | - |
> | **Webhook URL** | The Webhook URL for receiving alarm messages. |
> [tab] Email
>
> | Parameter | Description |
> | - | - |
> | **Sender Email** | The email address used to send alarm messages. |
> | **Email Subject** | The subject of the alarm email. |
> [tab] Slack
>
> | Parameter | Description |
> | - | - |
> | **API address** | The API address where Slack receives alarm messages. |
> | **Channel** | The Slack channel that receives alarm messages. |
> [tab] Telegram
>
> | Parameter | Description |
> | - | - |
> | **Bot Token** | The access token for the Telegram Bot. |
> | **Chat ID** | The Telegram chat ID that receives alarm messages. |
> [tab] WeCom
>
> | Parameter | Description |
> | - | - |
> | **Enterprise ID** | The Enterprise ID of WeCom. |
> | **Third-Party Application ID** | The Third-Party Application ID of WeCom. |
> | **Third-Party Application Secret** | The Third-Party Application secret of WeCom. |
> [tab] Discord
>
> | Parameter | Description |
> | - | - |
> | **Webhook URL** | The Webhook URL used by Discord to receive alarm messages. |
> [tab] Teams
>
> | Parameter | Description |
> | - | - |
> | **Webhook URL** | The Webhook URL for Teams to receive alarm messages. |
5. Select **Send Resolved** as needed.
When selected, a resolved notification will also be sent when the alert is resolved.
6. Click **Confirm**.
After creation, verify that the newly created notifier is displayed. To view its configuration, click **View** for the corresponding notifier.

## Update Notifier
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Alerts** page.
2. Click the **Notifier** tab.
3. Locate the Notifier you want to modify and click **Update**.
Before making changes, we recommend confirming that the notification channels and recovery message delivery method meet your expectations.
4. After modifying the configuration, click **Confirm**.
## Delete Notifier
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Alerts** page.
2. Click the **Notifier** tab.
3. Locate the Notifier that is no longer needed and click **Delete**.
# Create and manage custom alert rules
Source: https://docs.scitix.ai/gpu-cloud/alarm/create-custom-alert-rule
Learn how to create and manage custom alert rules, and configure trigger conditions and notification recipients.
Custom alert rules are suitable for scenarios where you need to define trigger conditions, alert severity, notification channels, and active periods. You can use PromQL to write condition expressions and receive alert messages through Notifier.
## Create Custom Rules
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Alerts** page.
2. On the **Custom Rules** tab, click **New Rule**.
3. Configure the rule in **Basic Setting**.
| Parameter | Description |
| - | - |
| **Rule Name** | A custom rule name. We recommend using a name that reflects the alert target and trigger condition. |
| **Severity** | The alert severity. You can select `CRITICAL`, `WARNING`, or `INFO`. |
| **Enabled** | Whether to enable the rule after it is created. |
| **PromQL** | A PromQL condition expression. After entering an expression, click **Preview** to view the expression result. |
| **Eval Interval Seconds** | How frequently the rule checks the condition expression. |
| **For Duration Seconds** | How long the condition must remain true before an alert is triggered. |
| **Notifier** | The notification channel for sending messages after an alert is triggered. To send alert messages, select a previously created notifier. If none is available, [create a notifier](./configure-alert-notifier#create-notifier) first. |
4. Under **Active Period**, configure the effective dates and active times for the rule.
| Parameter | Description |
| - | - |
| **Effective Days** | Select the days of the week when the rule takes effect. |
| **Active Times** | Configure the time range during which the rule takes effect each day. |
To make the rule effective during multiple periods on the same day, click **Add Period** and continue configuration.
5. Click **Confirm**.
After creation, verify that the rule is displayed and that its enabled status, trigger conditions, and Notifier meet expectations.

## Update Custom Rules
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Alerts** page.
2. On the **Custom Rules** tab, search for and locate the rule that needs to be modified.
3. Click **Update**.
4. After modifying the rule configuration, click **Confirm**.
## Disable Custom Rules
If you temporarily do not need a rule to continue triggering alerts, search for and locate the target rule on the **Custom Rules** tab, then click **Disable**. Once disabled, the rule will no longer trigger new alarm notifications.
## Delete Custom Rules
If you no longer need a custom rule, Search for and locate it on the **Custom Rules** tab, then click **Delete**. After it is deleted, the rule will no longer trigger new alarm notifications.
# Subscribe to Preset Alert Rules
Source: https://docs.scitix.ai/gpu-cloud/alarm/subscribe-preset-alert-rules
Learn how to subscribe to preset alert rules to quickly monitor common resource anomalies.
Preset alarm rules are common alarm rules provided by the GPU Cloud. You can view Preset Rules by product and subscribe to the rules you need to monitor.
## Subscribe to Preset Rules
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Alerts** page.
2. Click the **Preset Rules** tab.
3. Select a Module from the drop-down list.
4. In the Preset Rules list, identify the rules to subscribe to based on the rule description and subscription status.
5. Based on the subscription status of the rules, subscribe to the Preset Rules that require attention.
To receive alarm messages, select a created Notifier. If none is available, [create a notifier](./configure-alert-notifier#create-notifier) first.
After subscribing, confirm that the rule is in the Subscribed status.

## Cancel Subscription to Preset Rules
If you no longer need to receive alarm messages for a preset rule, locate the target rule on the **Preset Rules** tab and click **Unsubscribe**. After unsubscribing, the rule will no longer send new alarm messages through the original Notifier.
# View Alarm History
Source: https://docs.scitix.ai/gpu-cloud/alarm/view-alert-history
Learn how to view historical alert events and use alert information to identify abnormal resources.
After an alarm is triggered or cleared, you can view alarm events on the **History** tab. Historical events can be used to confirm the alarm status, trigger time, duration, trigger value, and tag information.
## View History Events
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Alerts** page.
2. Click the **History** tab.
3. Filter alarm events as needed.
| Filter | Description |
| - | - |
| **Status** | Filter by **All**, **Resolved**, or **Firing**. |
| **Severity** | Filter by **All**, **CRITICAL**, **WARNING**, or **INFO**. |
| **Time Range** | Filter by trigger time range. |
| **Search Labels** | Enter label keywords to search. Separate multiple keywords with spaces, for example, `kind=node ip=214.196.xx.xx`. |
4. Click **Search**.
5. View alarm events in the history event list.
| Field | Description |
| - | - |
| **Trigger Time (UTC)** | The time when this alarm event was triggered. |
| **Rule Name** | The name of the rule that triggered the alarm. |
| **First Trigger Time (UTC)** | The time when the current alarm was first triggered. |
| **Status** | The current status of the alarm. |
| **Severity** | The alarm severity. |
| **Duration** | The duration of the alarm. |
| **Trigger Value** | The value when the alarm was triggered. |
| **Labels** | The labels associated with the alarm event. |
Labels can help identify the source of an alert. They may include information such as the product, region, cluster, resource name, namespace, rule name, or notification. When troubleshooting, first use the labels to identify the resource associated with the alert, then go to the corresponding resource or monitoring metrics to check its status and metrics.

# Accessing a CKS cluster using KubeConfig
Source: https://docs.scitix.ai/gpu-cloud/cluster/access-cluster-with-kubeconfig
Obtain the KubeConfig for a CKS cluster and use kubectl to access the cluster from a local terminal or operations environment.
KubeConfig stores the cluster address and authentication information required to access a CKS cluster. After obtaining and configuring KubeConfig, you can use kubectl to connect to the cluster from a local terminal or O\&M environment.
## When KubeConfig Is Required
KubeConfig tells kubectl which cluster to connect to and which identity to use to access the cluster. Common uses include:
* Use kubectl to view and manage cluster resources.
* Provide access credentials for O\&M scripts or automated workflows that need to connect to the cluster.
> [!WARNING]
>
> KubeConfig is an access credential. Do not commit it to public repositories or public documents, and do not share it with unauthorized personnel.
## Select a Retrieval Method
Before you begin, log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
### Obtain from the cluster workspace
1. Click the target cluster name to go to the cluster workspace.
2. In the left navigation pane, go to the **Permissions** page.
3. Switch to the **KubeConfig Manage** tab.
4. Locate the target user, then generate or view the KubeConfig as needed.
### Obtain from cluster details
1. On the **Clusters** page, locate the target cluster and click **Details**.
2. Switch to the **Connect Info** tab.
3. Under **Access Method**, select **Intranet Access** or **Public Access**.
4. Click **Copy** to copy the KubeConfig content, or click the download icon to download the configuration file.
## Configure KubeConfig in the Access Environment
Before using KubeConfig, install kubectl in the access environment.
Save the KubeConfig content to `$HOME/.kube/config`, then run the following command to confirm that kubectl can read the cluster nodes:
```bash theme={null}
kubectl get nodes
```
If the configuration file is saved in another path, use `--kubeconfig` to specify the file:
```bash theme={null}
kubectl --kubeconfig get nodes
```
## Renew KubeConfig
When a KubeConfig is nearing expiration and still needs to be used, you can extend its validity period before it expires to prevent clients, O\&M scripts, or automated workflows that rely on the credential from being unable to access the cluster due to credential expiration.
1. On the **Permissions** page, under the **KubeConfig Manage** tab, locate the KubeConfig that needs to be renewed.
2. In the **Actions** column, click **Renew**.
3. In the dialog box that appears, select the number of renewal days.
4. Click **OK**.
5. Return to the **KubeConfig Manage** tab and confirm that the KubeConfig expiration time has been updated.
## Stop Using KubeConfig
> [!WARNING]
>
> After the KubeConfig is deleted, clients using it will no longer be able to access the cluster. Before deleting it, confirm that no automated tasks, O\&M scripts, or business processes are still using these credentials.
1. On the **Permissions** page, under the **KubeConfig Manage** tab, locate the target KubeConfig.
2. Click **Delete** and confirm as prompted.
# Select and Install Cluster Components
Source: https://docs.scitix.ai/gpu-cloud/cluster/choose-and-install-cluster-components
Determine the additional cluster capabilities needed based on workload dependencies and operational goals, then install or maintain the corresponding components.
## Component Overview
Components extend CKS clusters with storage, network, device, scheduling, training, and O\&M capabilities. Do not install components in batches based solely on their names. First, determine which capabilities your workloads lack:
* When workloads require network, persistent storage, GPU, RDMA, or node management capabilities, see the foundational capability components.
* When you need to expose services, run batch or distributed training jobs, or orchestrate workflows, see the business runtime components.
* When you need to collect metrics, logs, and events, or perform inspections, backups, and multi-cluster management, see the observability and operations components.
### Prepare Basic Capabilities for Workloads
This set of components provides the cluster with container networking, persistent storage, node management, and device resources. If a workload depends on any of these capabilities, ensure that the corresponding component is installed first.
#### Cluster Network
The cluster network component provides network communication and network policy capabilities for Pods.
| Component | Function | When to Install |
| - | - | - |
| `cilium` | Provides eBPF CNI container networking and network policy capabilities. | Required when you need to use Cilium networking capabilities or network policies. |
| `calico` | Provides BGP/IPIP CNI container networking and network policy capabilities. | Required when you need to use Calico networking capabilities or network policies. |
#### Storage
The storage component enables workloads to mount platform storage resources.
| Component | Function | When to install |
| - | - | - |
| `scitix-csi-plugin` | Provides CSI drivers for block storage or file storage. | Required when mounting platform storage resources for workloads. |
#### Node Management
The node management component is used to manage node groups and node labels.
| Component | Function | When to install |
| - | - | - |
| `navix-nodegroup-controller` | Provides elastic control capabilities for node groups. | When you need to manage or elastically scale node resources by node group. |
| `scitix-label-manager` | Manages node labels. | When you need to maintain node labels in batches or automatically. |
#### Device Resources
The device resource component registers GPU or RDMA devices as schedulable Kubernetes resources, enabling workloads to request and use the corresponding devices.
| Component | Purpose | When to install |
| - | - | - |
| `nvidia-device-plugin` | Reports and allocates NVIDIA GPU device resources. | Required when requesting and using GPUs in Pods. |
| `rdma-device-plugin` | Reports and allocates shared RDMA NIC device resources. | Required when using RDMA network capabilities in workloads. |
### Supported Service Operating Modes
These components provide traffic entry points for services, run batch or distributed training jobs, and orchestrate and maintain application workflows.
#### Traffic Entry Points
The traffic entry component exposes services in the cluster externally through a Gateway or Ingress.
| Component | Function | When to install |
| - | - | - |
| `envoyproxy-gateway` | Provides an Envoy gateway and a north-south traffic entry point. | When you need to manage ingress traffic through the Gateway API. |
| `nginx-ingress-controller` | Provides an NGINX Ingress traffic entry point. | When you need to expose HTTP or HTTPS services through Ingress. |
#### Scheduling and Training
Scheduling and training components support batch scheduling, group scheduling, and distributed training jobs.
| Component | Function | When to install |
| - | - | - |
| `volcano` | Provides batch and gang scheduling capabilities. | Required for running AI training, batch processing, or multi-Pod coordinated workloads. |
| `training-operator` | Provides an operator for distributed training. | Required for running distributed training workloads such as PyTorchJob. |
#### Workflows and Application Operations and Maintenance
Workflows and application O\&M components are used to orchestrate multi-step tasks or enhance workload O\&M capabilities.
| Component | Purpose | When to install |
| - | - | - |
| `argo-workflow` | Provides a workflow orchestration engine. | When you need to orchestrate multi-step training, data processing, or automated tasks. |
| `kruise` | Provides enhanced workload management capabilities. | When you need enhanced application O\&M capabilities, such as in-place upgrades. |
### Monitor and Maintain Clusters
This set of components is used to collect metrics, logs, and events; detect cluster anomalies; perform checks or backups; and manage multiple clusters.
#### Monitor Metrics
The monitoring metrics component collects metrics from Kubernetes objects, nodes, storage, GPUs, CPUs, network hardware, the control plane, and high-availability components.
| Component | Purpose | When to install |
| - | - | - |
| `metrics-server` | Collects Pod and node resource metrics. | When you need to view basic resource usage or use HPA capabilities that depend on resource metrics. |
| `kube-state-metrics` | Collects Kubernetes object status metrics. | When you need to monitor the status of Kubernetes objects such as Deployments, Pods, and Nodes. |
| `node-exporter` | Collects node system metrics. | When you need to view system metrics for nodes, such as CPU, memory, disks, and network. |
| `gpfs-exporter` | Collects GPFS storage metrics. | When you need to view GPFS file system capacity, performance, or operational status metrics. |
| `dcgm-exporter` | Collects GPU metrics. | When you need to monitor GPU utilization, GPU memory, temperature, and other GPU operating conditions. |
| `pcm-exporter` | Collects CPU PCM performance metrics. | When you need to analyze underlying performance data such as CPU performance or memory bandwidth. |
| `ib-hca-exporter` | Collects InfiniBand network adapter metrics. | When you need to monitor InfiniBand network status and performance. |
| `ipmi-exporter` | Collects out-of-band IPMI hardware metrics. | When you need to monitor server hardware health status. |
| `haproxy-exporter` | Collects control plane HAProxy metrics. | When you need to monitor the status of control plane proxy services. |
| `keepalived-exporter` | Collects VIP keepalived status metrics. | When you need to monitor the high-availability status of control plane or ingress VIPs. |
| `vmo` | Provides victoria-metrics-operator. | When you need to extend monitoring capabilities through the VictoriaMetrics ecosystem. |
| `prometheus-monitoring-cks` | Provides Prometheus capabilities for Kubernetes monitoring. | When you need to deploy Prometheus monitoring for CKS clusters. |
#### Logs and Events
The logs and events component is used to collect cluster logs, Kubernetes events, or telemetry data.
| Component | Purpose | When to Install |
| - | - | - |
| `logging-stack` | Provides a log collection pipeline. | When you need to collect and query cluster or workload logs. |
| `event-exporter` | Collects and reports Kubernetes events. | When you need to track Kubernetes events such as scheduling, startup, failures, and evictions. |
| `otel-collector` | Collects and forwards telemetry data. | When you need to integrate with OpenTelemetry-related observability pipelines. |
#### Cluster Operations and Maintenance
Cluster O\&M components are used to detect node or cluster exceptions and support inspection, self-healing, and backup.
| Component | Purpose | When to install |
| - | - | - |
| `node-problem-detector` | Detects node kernel, GPU, and other failures. | When you need to detect node-level failures and help troubleshoot issues. |
| `aegis-cks` | Provides an Agent for fault self-healing inspection. | When you need to perform inspection and self-healing-related O\&M for CKS clusters. |
| `aegis` | Provides an intelligent O\&M framework. | When you need to use the intelligent O\&M capabilities provided by the platform. |
| `cks-inspect` | Provides automated checks for additional cluster configurations. | When you need to check cluster configurations or assist with validating cluster status. |
| `etcd-backup` | Backs up etcd to object storage on a scheduled basis. | When you need to configure periodic backups for etcd data. |
#### Multi-Cluster Management
The multi-cluster management component is used to centrally manage multiple CKS clusters.
| Component | Purpose | When to install |
| - | - | - |
| `karmada` | Provides a multi-cluster federation control plane. | When you need to centrally manage multiple CKS clusters. |
## Install Components
After identifying the components required for the workload or O\&M objective, proceed with installation. Installing multiple components with similar functions may increase resource consumption and maintenance complexity.
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
2. Click the target cluster name to access the cluster workspace.
3. In the left navigation pane, go to the **Component** page.
4. Click **Install**.

5. In the **Install component** dialog box, select a component.
When the component list is long, enter a component name in the search box to filter the list.
6. After confirming that the component name and purpose meet business requirements, submit the installation.
7. Return to the **Component** page. After confirming that the component status is normal, deploy workloads that depend on this component.
If a component is in an abnormal state, first verify that the cluster resources, namespace, storage, or network configuration it depends on are functioning properly. If the cause still cannot be identified, record the component name, version, namespace, and error message, and contact technical support.
## Update or remove components
> [!WARNING]
>
> Updating or deleting a component may affect business operations, monitoring, logs, storage, network, or O\&M processes that depend on it. Before proceeding, confirm the component’s purpose, dependencies, and scope of impact.
1. On the **Clusters** page, click the name of the target cluster.
2. In the left navigation pane, go to the **Component** page.
3. Locate the target component and confirm its purpose, as well as the workloads or operational processes that depend on it.
4. Perform the following actions as needed:
* Update a component: Click **Update**.
* Delete a component: Click **Delete** and confirm as prompted.
5. After completing the operation, return to the **Component** page to verify the component status.
# Clean up persistent storage resources
Source: https://docs.scitix.ai/gpu-cloud/cluster/cleanup-persistent-storage-resources
Delete unused PVCs and PVs, and handle backend data according to the reclaim policy for dynamically or statically provisioned volumes.
When persistent storage used by a workload is no longer needed, you can clean up the PVC and PV. Before cleanup, make sure that the workload has stopped using the PVC, and determine whether the backend data will be retained or deleted based on the reclaim policy.
## Pre-Action Confirmation
* The workloads using the target PVC have been stopped, or the corresponding `volumeMounts` and `volumes` configurations have been removed from the workload YAML.
* It has been confirmed that the target PVC, PV, and backend data are no longer needed, or the data has been backed up.
> [!WARNING]
>
> After a PVC is deleted, workloads can no longer access data through that PVC. When the reclaim policy is `Delete`, the CSI driver may also delete the PV, backend storage, and data. If you need to retain the data, first confirm the reclaim policy and data backup status.
## Understand the Impact of Cleanup
| Volume Type | Cleanup Target | Impact |
| - | - | - |
| Dynamic volume | Delete the PVC. | After the PVC is deleted, the handling of the dynamically provisioned PV and backend data depends on the reclaim policy and CSI driver behavior. |
| Static volume | Delete the PVC first, then handle the PV as needed. | After the PVC is deleted, the PV is unbound from the PVC. Whether to retain the PV and backend data depends on the reclaim policy and the administrator's data disposal requirements. |
## Clean up dynamic storage volumes
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home).
2. On the **Clusters** page, click the name of the target cluster to access the cluster workspace.
3. In the left navigation pane, go to the **Storage** page and switch to the **PVC** tab.
4. Locate the target PVC and click **Delete**.
5. Verify the PVC information and confirm deletion.
6. Switch to the **PV** tab and verify the processing result for the corresponding PV.
* If the PV has been deleted, the PV object has been fully cleaned up.
* If the PV is retained, confirm how the backend data should be handled before processing the PV and the data.
## Clean Up Static Volumes
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home).
2. On the **Clusters** page, click the name of the target cluster to go to the cluster workspace.
3. In the left navigation pane, go to the **Storage** page and switch to the **PVC** tab.
4. Locate the target PVC and click **Delete**.
5. Switch to the **PV** tab and check the status and reclaim policy of the original PV.
6. Process PVs according to the data disposal method:
* If the data needs to be retained, retain the PV or have an administrator reprovision it.
* When the PV object is no longer needed, ensure that the backend data is no longer needed or has been backed up, then delete the target PV.
## Frequently Asked Questions
> [accordion] Why does the PV still exist after the PVC is deleted?
>
> Whether a PV is automatically deleted depends on the reclaim policy and storage plugin behavior. When the reclaim policy is `Retain`, the PV and backend data are retained and usually require further action by an administrator. When the reclaim policy is `Delete`, Kubernetes requests that the storage plugin handle the corresponding storage; the actual outcome depends on the plugin's capabilities and configuration.
# Configure ConfigMaps and Secrets for Workloads
Source: https://docs.scitix.ai/gpu-cloud/cluster/configure-configmap-and-secret
Choose ConfigMap or Secret based on configuration sensitivity, then create and maintain the configuration required by workloads.
Workloads can read runtime configuration through ConfigMaps and Secrets. Configuration objects and the workloads that reference them must be in the same namespace.
## Select a Configuration Object
First, select objects based on whether the configuration content is sensitive, to avoid mistakenly storing credentials in a ConfigMap.
| Configuration Object | Suitable Content to Store |
| - | - |
| ConfigMap | Non-sensitive information such as run modes, log levels, environment variables, or configuration files. |
| Secret | Passwords, tokens, certificates, or other sensitive information. |
## Using ConfigMap
### Create ConfigMap
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
2. Click the target cluster name to go to the cluster workspace.
3. In the left navigation pane, click **Configure**.
4. Switch to the **ConfigMap** tab and click **Create**.
5. Enter the name, namespace, and configuration details.
The following YAML creates a ConfigMap that includes the runtime mode and log level. Modify it as needed for the workload.
```yaml theme={null}
apiVersion: v1
kind: ConfigMap
metadata:
name: app-config
namespace: default
data:
APP_MODE: production
LOG_LEVEL: info
```
6. Submit the creation. After returning to the **ConfigMap** tab and confirming that the ConfigMap has been created, reference it in the workload.
### Modify or Delete a ConfigMap
> [!WARNING]
>
> Modifying or deleting a ConfigMap may affect workloads that reference this configuration. Before proceeding, confirm the scope of impact and update workload configurations as needed.
1. On the **ConfigMap** tab, filter by namespace or use the search box to locate the target ConfigMap.
2. Perform actions as needed:
* Check the configuration: Click **YAML**.
* Modify the configuration: Click **Edit**, make the changes, and submit them.
* Delete the configuration: Click **Delete** and confirm as prompted.
## Using Secrets
### Create Secret
> [!WARNING]
>
> Do not include real passwords, tokens, certificates, or other sensitive information in Public documents, Public repositories, or Logs.
1. On the **Clusters** page, click the name of the target cluster to open the cluster workspace.
2. In the left navigation pane, click **Configure**.
3. Switch to the **Secret** tab and click **Create**.
4. Enter the name, namespace, Secret type, and Secret content.
The following YAML shows the structure of an `Opaque` Type Secret. Replace the example values with credentials used by your application, and manage the content in a controlled manner.
```yaml theme={null}
apiVersion: v1
kind: Secret
metadata:
name: app-secret
namespace: default
type: Opaque
stringData:
username: REPLACE_WITH_USERNAME
password: REPLACE_WITH_PASSWORD
```
5. Submit the creation request, return to the **Secret** tab, confirm that the Secret has been created, and then reference it in the workload.
### Modify or Delete a Secret
> [!WARNING]
>
> Modifying or deleting a Secret may prevent workloads that reference it from obtaining credentials, certificates, or tokens. Before proceeding, confirm the workloads and automated processes that use this Secret.
1. On the **Secret** tab, filter by namespace or use the search box to locate the target Secret.
2. Perform actions as needed:
* Check the configuration: Click **YAML**.
* Modify the configuration: Click **Edit**, make the changes, and submit them.
* Delete the configuration: Click **Delete**, then confirm as prompted.
# Create and manage Service
Source: https://docs.scitix.ai/gpu-cloud/cluster/create-and-manage-service
Create a stable access entry point for a group of Pods, and view or delete Services that are no longer in use.
A Service selects a set of Pods by labels and provides them with a stable access address. When workloads are scaled or Pods change, clients can still access Pods that meet the selection criteria through the Service. To configure HTTP or HTTPS routing with Ingress, you must first create a Service as the backend.
## Create Service
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
2. Click the target cluster name to open the cluster workspace.
3. In the left navigation pane, go to the **Network** page and switch to the **Services** tab.
4. Click **Create**.
5. Configure Service.
| Parameter | Description |
| - | - |
| **Name** | Set the Service name. The name should reflect the application or workload being accessed. |
| **Namespace** | Select the namespace to which the Service belongs. When selecting Pods by labels, the Service and Pods must be in the same namespace. |
| **Labels** | Optional. Add labels to the Service resource to identify or filter Services. The labels here do not determine which Pods traffic is forwarded to. |
| **Spec (YAML)** | Enter the Kubernetes spec for the Service. Enter only the content under `spec`; you do not need to enter `apiVersion`, `kind`, or `metadata`. Here, `selector` is used to select backend Pods, and `ports` is used to configure the mapping between Service ports and Pod ports. |
The following example creates a Service of type `ClusterIP`, forwarding port 80 of the Service to port 8080 of Pods labeled `app: example-app`. `ClusterIP` is suitable for accessing workloads within the cluster and can also serve as a backend Service for Ingress.
```yaml theme={null}
type: ClusterIP
selector:
app: example-app
ports:
- name: http
protocol: TCP
port: 80
targetPort: 8080
```
Modify the example based on the actual labels and listening ports of the workload:
| Field | Description |
| - | - |
| `type` | The Service type. This example uses `ClusterIP`, which provides an access endpoint only within the cluster. |
| `selector` | Selects the backend Pods. The key-value pairs must match the labels of the target Pods; otherwise, the Service cannot forward requests to the target Pods. |
| `port` | The port exposed by the Service to clients. |
| `targetPort` | The port on which the application in the backend Pod actually listens. |
6. Click **Create**, then verify that the Service has been created.
## View Service
1. On the **Services** tab, filter by namespace or use the Search box to locate the target Service.
2. In the **Actions** column of the target Service, click **View**.
3. Check the Service type, label selector, and port mappings to ensure that they point to the expected Pods and application ports.
If the Service has been created but the workload cannot be accessed, first check whether `selector` matches the Pod labels and whether `targetPort` is the port actually listened on by the application.
## Delete Service
> [!WARNING]
>
> Deleting a Service removes the access endpoint it provides and interrupts in-cluster access or Ingress routing that depends on it. Deleting a Service does not delete its backend Pods.
1. On the **Services** tab, locate the target Service.
2. In the **Actions** column for the target Service, click **Delete**.
3. Confirm the deletion.
When HTTP or HTTPS access needs to be provided through a domain name or path, see [Expose Cluster Services Using Ingress](/gpu-cloud/cluster/expose-services-with-ingress).
# Create CKS cluster access roles
Source: https://docs.scitix.ai/gpu-cloud/cluster/create-cluster-access-role
Create a regular role or cluster role based on the scope of Kubernetes resources that users need to manage.
Access roles define the Kubernetes resources that users can manage and the actions they can perform. Before creating a role, select either a standard role or a cluster role based on the permission scope required for your business.
## Select Role Type
| Role Type | Scope of Permissions | Applicable Scenarios |
| - | - | - |
| Regular role (`Role`) | Resources within a specified namespace. | The user only needs to manage workloads, configurations, or storage resources in a specific namespace. |
| Cluster role (`Cluster Role`) | Cluster-level resources or resources across namespaces. | The user needs to manage cluster-level resources such as nodes and namespaces, or perform the same operations across multiple namespaces. |
> [!WARNING]
>
> The permission scope of a cluster role may cover the entire cluster. Configure roles with the minimum permissions required for users to complete their tasks, and avoid granting permissions to operate unrelated resources.
## Create Role
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
2. Click the name of the target cluster to access the cluster workspace.
3. In the left navigation pane, go to the **Permissions** page.
4. Switch to the **Custom Roles** tab and click **Create**.
5. Configure the role in the **Create Custom Role** dialog box.
| Configuration Item | Description |
| - | - |
| **Name** | Enter a display name that makes the role's purpose easy to identify. |
| **Role Type** | Select **Role** to create a standard role, or select **Cluster Role** to create a cluster role. |
| **YAML** | Enter the Kubernetes YAML for the role. The `kind` in the YAML must match the selected role type. |
> [tab] Standard Role Example
>
> The following example allows viewing Pods, Pod logs, and Deployments in the `default` namespace. Modify the role name, namespace, resources, and actions as needed.
>
> ```yaml theme={null}
> apiVersion: rbac.authorization.k8s.io/v1
> kind: Role
> metadata:
> name: workload-reader
> namespace: default
> rules:
> - apiGroups: [""]
> resources: ["pods", "pods/log"]
> verbs: ["get", "list", "watch"]
> - apiGroups: ["apps"]
> resources: ["deployments"]
> verbs: ["get", "list", "watch"]
> ```
> [tab] Cluster Role Examples
>
> The following example allows viewing nodes and namespaces in the cluster. Modify the role name, resources, and actions as needed. `ClusterRole` does not require a namespace.
>
> ```yaml theme={null}
> apiVersion: rbac.authorization.k8s.io/v1
> kind: ClusterRole
> metadata:
> name: cluster-resource-reader
> rules:
> - apiGroups: [""]
> resources: ["nodes", "namespaces"]
> verbs: ["get", "list", "watch"]
> ```
6. Click **OK**.
After creation is complete, verify that the role is displayed on the **Custom Roles** tab.
# Create a CKS Cluster
Source: https://docs.scitix.ai/gpu-cloud/cluster/create-kubernetes-cluster
Create a runtime environment for containerized workloads and configure the CKS cluster, initial node pool, and node Logon Credential.
When creating a CKS cluster, you need to specify the Kubernetes version, control plane resources, initial node pool, and node Logon Credential. Once the cluster enters the `Running` state, you can access the cluster workspace to prepare the service runtime environment.
## Procedure
### Go to the creation page
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
2. Click **New Cluster**.
### Configure Cluster Information
Configure the cluster's basic information.
| Configuration Item | Description |
| - | - |
| **Cluster Name** | The cluster name must be 1 to 63 characters long and can contain letters, digits, and hyphens (`-`). It must start with a letter or digit. We recommend using a name that distinguishes the business, environment, or purpose. |
| **Region** | The Region where the cluster is located. The Region cannot be changed after the cluster is created. |
| **Billing Method** | Select **Pay-as-you-go** or **Subscription**. Pay-as-you-go is suitable for short-term, elastic, or testing scenarios, while Subscription is suitable for scenarios with a defined resource usage period. |
| **Kubernetes Version** | Select a Kubernetes version. Before making a selection, ensure that your service images, components, drivers, and O\&M tools are compatible with the target version. |
| **Enable VF Virtualization** | Enable VF to use SR-IOV. If you do not need to use SR-IOV, keep it disabled. |
### Configure compute resources
In the **Compute Resources** section, configure the resources used by the control plane.
| Configuration Item | Description |
| - | - |
| **RDMA** | The RDMA network used by Cluster nodes. |
| **Number of Masters** | The number of control plane nodes. The default is 3 and cannot be changed. |
| **Instance Type** | The instance resource configuration used by control plane nodes. |
### Configure Node Pool
In the **Node Pool** section, configure the initial node pool.
| Configuration Item | Description |
| - | - |
| **NodePool Name** | The node pool name is used to generate node hostnames. For example, if the node pool name is `nodepool` and the node IP address is `10.10.10.1`, the hostname is `nodepool-10-10-10-1`. |
| **Instance Type** | The CES instance specification used by the node pool. Select based on workload requirements for GPU, CPU, memory, and cost. |
| **Node Quantity** | The initial number of nodes in the node pool. |
| **Node OS**、 **Node File System Type** | Select based on the service image and data read/write requirements. **Node File System Type** currently supports `ext4` and `xfs`. |
| **Install GPU Driver**、 **GPU Driver Version** | Choose whether to install GPU drivers for the nodes. When creating a GPU node pool, determine whether to install them based on the service image and runtime environment. |
### Configure Authentication
In the **Authentication** section, configure the node login credentials.
When using a custom password, set it as required on the page and keep it secure.
### Submit Creation
1. View **Estimated Cost** and balance information, and verify that the current balance can cover this creation.
2. Click **Next**, verify the cluster configuration, and submit the creation request.
After returning to the **Clusters** page, you can view the creation status in the **Deployed Clusters** list. Once the cluster status changes to `Running`, click the cluster name to access the cluster workspace.
## Frequently Asked Questions
> [accordion] Can I change the region after creating a cluster?
>
> No. The region determines the location of the resources used by the cluster and cannot be changed after the cluster is created. Select the region required for your business before submitting the creation request.
> [accordion] How can I tell whether a cluster has been created successfully?
>
> Return to the **Clusters** page to view the creation status. Once the cluster status changes to `Running`, you can click the cluster name to access the cluster console.
# Delete a CKS Cluster
Source: https://docs.scitix.ai/gpu-cloud/cluster/delete-kubernetes-cluster
When the CKS cluster is no longer needed, safely delete it after confirming the impact on data and resources.
If you no longer need a CKS cluster, you can delete it. Deleting the cluster will affect the nodes, workloads, and cluster configuration within it.
## Pre-Operation Confirmation
> [!WARNING]
>
> Deleting a cluster cannot be undone and has the following impacts:
>
> * Kubernetes resources in the cluster will be deleted, and running tasks will be stopped.
> * Cluster nodes will be released, and data on node disks will be deleted and cannot be recovered.
> * Data in persistent storage will not be deleted with the cluster. Before deleting the cluster, save any node disk data that needs to be retained to persistent storage.
## Procedure
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
2. Select a region.
3. In the **Deployed Clusters** list, find the target cluster.
4. In the **Actions** column, click **Delete**.
5. In the confirmation dialog box, verify the cluster information and confirm the deletion.
6. Return to the cluster list and confirm that the cluster has been deleted or that its status has been updated.
# Deploy and Troubleshoot Workloads
Source: https://docs.scitix.ai/gpu-cloud/cluster/deploy-and-troubleshoot-workloads
Select Kubernetes workloads based on how your business runs, submit YAML, and troubleshoot runtime issues through status, details, and Logs.
CKS clusters support running different types of workloads using Pods, Deployments, StatefulSets, DaemonSets, Jobs, and CronJobs. Before deployment, select the workload type based on whether the task needs to run continuously, requires stable identities, node-level replicas, or needs to be scheduled periodically.
## Select Workload Type
| Workload | Applicable Scenario |
| - | - |
| Pod | Validating images, debugging commands, or running temporary tasks. For long-running services, prioritize workloads managed by controllers. |
| Deployment | Runs stateless services and maintains the desired number of Pods through replicas. |
| StatefulSet | Runs stateful services that require stable network identities or persistent storage. |
| DaemonSet | Runs one Pod on each matching node, for example, for log collection, node monitoring, or node-level agents. |
| Job | Runs one-time tasks that exit upon completion. |
| CronJob | Creates and runs Jobs on a scheduled basis. |
## Prepare Workload Runtime Conditions
Based on the workload configuration, first prepare the resources required immediately after submission:
* Ensure that the target namespace has been created.
* If runtime configuration or sensitive information needs to be read, first create a ConfigMap or Secret in the same namespace.
* If data needs to be retained, first create a PVC in the same namespace and ensure that the PVC status is `Bound`.
* If a private image needs to be pulled, prepare the image access credentials required by the workload.
* If GPU, RDMA, Ingress, or other extended capabilities are required, ensure that the corresponding cluster components are installed and operating normally.
## Prepare the Workload YAML
Prepare the YAML based on the selected workload type, and adjust the configuration according to the business image, namespace, resource specifications, environment variables, and storage mount requirements.
> [tab] Pod
>
> Pods are suitable for validating images, debugging commands, or running temporary tasks. For long-running services, use a Deployment, StatefulSet, or DaemonSet for management.
>
> ```yaml theme={null}
> apiVersion: v1
> kind: Pod
> metadata:
> name: nginx-pod
> namespace: default
> labels:
> app: nginx
> spec:
> containers:
> - name: nginx
> image: nginx:1.14.2
> ports:
> - containerPort: 80
> ```
> [tab] Deployment
>
> A Deployment is suitable for stateless services and can control the number of Pods through the number of replicas.
>
> ```yaml theme={null}
> apiVersion: apps/v1
> kind: Deployment
> metadata:
> name: nginx-deployment
> namespace: default
> spec:
> replicas: 3
> selector:
> matchLabels:
> app: nginx
> template:
> metadata:
> labels:
> app: nginx
> spec:
> containers:
> - name: nginx
> image: nginx:1.14.2
> ports:
> - containerPort: 80
> ```
> [tab] StatefulSet
>
> StatefulSets are suitable for stateful services that require stable network identities or persistent storage. The Headless Service in this example provides stable network identities for the StatefulSet.
>
> ```yaml theme={null}
> apiVersion: v1
> kind: Service
> metadata:
> name: nginx
> namespace: default
> labels:
> app: nginx
> spec:
> ports:
> - port: 80
> name: web
> clusterIP: None
> selector:
> app: nginx
> ---
> apiVersion: apps/v1
> kind: StatefulSet
> metadata:
> name: web
> namespace: default
> spec:
> serviceName: nginx
> replicas: 3
> selector:
> matchLabels:
> app: nginx
> template:
> metadata:
> labels:
> app: nginx
> spec:
> containers:
> - name: nginx
> image: nginx:1.14.2
> ports:
> - containerPort: 80
> name: web
> ```
> [tab] DaemonSet
>
> A DaemonSet is suitable for running one Pod on each matching node, for example, for log collection, node monitoring, or node-level agents.
>
> ```yaml theme={null}
> apiVersion: apps/v1
> kind: DaemonSet
> metadata:
> name: fluentd
> namespace: default
> spec:
> selector:
> matchLabels:
> name: fluentd
> template:
> metadata:
> labels:
> name: fluentd
> spec:
> containers:
> - name: fluentd
> image: fluent/fluentd:v1.16
> ```
> [tab] Job
>
> Jobs are suitable for one-time tasks. After a task is completed, the Pod is retained for a period of time to facilitate viewing its status and Logs.
>
> ```yaml theme={null}
> apiVersion: batch/v1
> kind: Job
> metadata:
> name: pi
> namespace: default
> spec:
> template:
> spec:
> restartPolicy: Never
> containers:
> - name: pi
> image: perl:5.34.0
> command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
> backoffLimit: 4
> ```
> [tab] CronJob
>
> CronJob is suitable for tasks that run on a scheduled basis. Adjust `schedule` as needed.
>
> ```yaml theme={null}
> apiVersion: batch/v1
> kind: CronJob
> metadata:
> name: hello
> namespace: default
> spec:
> schedule: "*/5 * * * *"
> jobTemplate:
> spec:
> template:
> spec:
> restartPolicy: OnFailure
> containers:
> - name: hello
> image: busybox:1.28
> command:
> - /bin/sh
> - -c
> - date; echo Hello from the Kubernetes cluster
> ```
## Submit Workload
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
2. Click the name of the target cluster to access the cluster workspace.
3. In the left navigation pane, go to the **Workloads** page.
4. Switch to the tab corresponding to the selected workload type.
5. Use the creation entry provided on the page, select a namespace, enter the prepared YAML, and then submit to create.
6. Return to the relevant tab and verify that the newly created resource is displayed.
## Confirm Workload Status
1. On the **Workloads** page, switch to the tab for the corresponding resource.
2. Search for the target resource as needed.
3. Confirm the workload status. When checking Pods, focus on the node, namespace, container readiness, and restart count.
If the workload is not running as expected, check the Pod logs, resource details, and events in the following order.
## Troubleshoot Workloads That Are Not Running Properly
### View Pod Logs
1. On the **Pods** tab, locate the target pod.
2. In the **Actions** column, click **Log**.
3. View the Pod logs.
To filter logs by time range, keyword, or field, go to the **Logs** page. For more information, see [Querying and Analyzing Logs](/gpu-cloud/log/query-logs).
### View Resource Details and Events
1. On the corresponding resource tab, locate the target workload.
2. In the **Actions** column, click **View**.
3. View resource configuration, status, events, and other information.
If a Pod remains in `Pending` status for an extended period or restarts frequently, check the node status, PVC binding status, Logs, and Monitor metrics to identify the cause.
# Scale and Maintain Cluster Nodes
Source: https://docs.scitix.ai/gpu-cloud/cluster/expand-and-maintain-cluster-nodes
Create or resize node pools when capacity is insufficient, add existing instances to node pools, and maintain cluster nodes.
When existing nodes cannot meet the compute requirements of the workload, you can create a node pool or increase the number of nodes in an existing node pool. After nodes join the cluster, first verify that they are available, then perform scheduling maintenance, Label Management, or deletion.
## Create a Node Pool to Expand Capacity
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
2. Click the target cluster name to go to the cluster workspace.
3. In the left navigation pane, go to the **Nodes** page and switch to the **Node Pools** tab.
4. Click **Create Node Pool** and configure the node pool.
| Parameter | Description |
| - | - |
| **Node Pool Name** | Set the node pool name. The node HostName is automatically generated based on the node pool name and node IP address. For example, if the node pool name is `nodepool` and the node IP address is `10.10.10.1`, the node HostName is `nodepool-10-10-10-1`. |
| **Instance Type** | Select node specifications based on the workload requirements for CPU, GPU, and memory. |
| **Node Instance Number** | Set the initial number of nodes. Determine the required capacity based on the task scale, current Balance, inventory, and quota. |
| **VPC** | Select the Cluster Network. |
| **Install GPU Driver**, **GPU Driver Version** | Select to install the GPU driver when nodes need to run GPU workloads. |
5. Click **Create**.
6. Return to the **Node Pool** tab and verify that the node pool has entered the Running state.
## Adjust an Existing Node Pool
You can adjust the number of nodes in a node pool or add existing CES instances to the node pool.
### Adjusting the Node Quantity of a Node Pool
When the existing configuration of a node pool meets business requirements, you can directly adjust the node quantity without creating a new node pool.
> [!WARNING]
>
> Setting the target node count to less than the current node count triggers scale-in, which may affect workloads running on the nodes. Before scaling in, ensure that the relevant workloads can be migrated or rebuilt.
1. On the **Node Pool** tab, locate the target node pool and click **Scale**.
2. In **Scale-out Node Count**, enter the adjusted total number of nodes.
* Greater than the current number of nodes: Scale out the node pool.
* Less than the current number of nodes: Scale in the node pool.
3. Click **Scale In/Out**.
4. After the operation is complete, switch to the **Nodes** tab and confirm that the Node Quantity and Status meet expectations.
### Add Existing Instances to a Node Pool
If an available CES instance already exists, you can add the instance directly to the node pool.
1. On the **Node Pool** tab, locate the target node pool, click  in the Actions column, and then select **Add Node**.
2. Select one or more instances to add to the node pool.
3. Click **Add**.
4. After the action is complete, switch to the **Nodes** tab, confirm that the instance has joined the cluster as a node, and check the node status.
## Confirm That Newly Added Nodes Are Available
1. On the **Nodes** page, switch to the **Nodes** tab.
2. Locate the target node and verify its node status, node pool, role, scheduling status, and node check results.
3. To view the complete configuration, click **View** in the **Actions** column for the target node.
When a Pod cannot be scheduled, a node is in an abnormal state, or workload fluctuations occur, go to node monitoring and use metrics such as CPU, memory, GPU, and network to assess node resource utilization.
## Maintaining Running Nodes
### Adjust Scheduling Status and Labels
1. On the **Nodes** tab, select one or more nodes.
2. In the action area at the bottom, select an action.
| Actions | Applicable scenario |
| - | - |
| **Cordon** | Prevents new Pods from being scheduled to the node before node maintenance or decommissioning. |
| **Uncordon** | Restores node scheduling after maintenance is complete. |
| **Drain** | Evicts Pods from the node before maintaining, replacing, or deleting it. Before proceeding, ensure that workloads can be migrated or recreated. |
| **Add label** | Adds a label to the node for node filtering, affinity scheduling, or workload grouping. |
| **Remove label** | Removes a node label. Before removing it, ensure that no workloads depend on the label for scheduling. |
3. Confirm the action as prompted, and verify that the node status is as expected.
### Delete Node
> [!WARNING]
>
> Deleting a node may interrupt or reschedule Pods running on that node. Before deleting it, ensure that workloads can be migrated, stopped, or rebuilt.
* Delete a single node: In the target node's **Actions** column, click , select **Delete**, and then follow the prompts to confirm.
* Delete nodes in batches: Select multiple nodes, choose **Delete** in the action area at the bottom, and then follow the prompts to confirm.
# Expose Cluster Services Using Ingress
Source: https://docs.scitix.ai/gpu-cloud/cluster/expose-services-with-ingress
Configure HTTP or HTTPS routes for existing Services, review request forwarding relationships, and maintain Ingress.
Ingress forwards HTTP or HTTPS requests to existing Services based on domain names and paths. Ingress does not directly associate with Pods; Services select the backend Pods, while Ingress is responsible only for configuring access routes.
## Pre-Operation Confirmation
* A Service has been created to access backend Pods. For details, see [Create and Manage a Service](/gpu-cloud/cluster/create-and-manage-service).
* The cluster has an installed component for processing Ingress routing.
## Create Ingress
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
2. Click the name of the target cluster to access the cluster workspace.
3. In the left navigation pane, click **Network**.
4. Switch to the **Ingress** tab and click **Create**.
5. Configure Ingress.
| Parameter | Description |
| - | - |
| **Name** | Set the Ingress name. We recommend using a name that reflects the purpose of the service or entry point. |
| **Namespace** | Select the namespace to which the Ingress belongs. An Ingress must reference Services in the same namespace. |
| **Labels** | Optional. Add labels to identify or filter the Ingress. |
| **Spec (YAML)** | Enter the Kubernetes spec for the Ingress. Include only the content under `spec`; `apiVersion`, `kind`, and `metadata` are not required. |
> [tab] Ingress Spec Example
>
> Replace the domain name, Service name, and port with the actual values for your service.
>
> ```yaml theme={null}
> rules:
> - host: example.com
> http:
> paths:
> - path: /
> pathType: Prefix
> backend:
> service:
> name: nginx-service
> port:
> number: 80
> ```
> [tab] Complete Ingress YAML Reference
>
> When preparing a complete Ingress manifest using Kubernetes YAML, you can refer to the following structure.
>
> ```yaml theme={null}
> apiVersion: networking.k8s.io/v1
> kind: Ingress
> metadata:
> name: nginx-ingress
> namespace: default
> spec:
> rules:
> - host: example.com
> http:
> paths:
> - path: /
> pathType: Prefix
> backend:
> service:
> name: nginx-service
> port:
> number: 80
> ```
The `service.name` and port in the example must match those of the existing Service, and the Ingress and target Service must be in the same namespace.
6. Submit the creation. Return to the **Ingress** tab to verify that the Ingress has been created, and check whether the domain name, path, and target Service meet expectations.
## Modify or Remove Access Entry Points
> [!WARNING]
>
> Modifying Ingress routes may change request forwarding behavior; deleting an Ingress will interrupt access that depends on this entry point. Before proceeding, confirm the domain name, path, target Service, and business impact.
1. On the **Ingress** tab, filter by namespace or use the search box to locate the target Ingress.
2. Perform actions as needed:
* Modify a route: Click **Edit**, make the changes, and submit them.
* Delete an entry: Click **Delete**, and verify the resource information in the confirmation dialog.
# CKS Cluster Overview
Source: https://docs.scitix.ai/gpu-cloud/cluster/kubernetes-cluster-overview
Determine whether a CKS cluster suits your business and learn the workflow from preparing the runtime environment to maintaining workloads.
CKS is an unmanaged Kubernetes cluster provided by the GPU Cloud. It is suitable for running training, inference, data processing, or online services in containers, while using Kubernetes to centrally schedule computing resources, organize workloads, and maintain the runtime environment.
## Applicable Scenarios
When your workloads require container orchestration, coordinated execution of multiple tasks, or ongoing maintenance of online services, you can choose a CKS cluster.
| Business Requirement | Role of a CKS Cluster |
| - | - |
| Run training, inference, or batch processing tasks in parallel | Use workloads such as Pods, Jobs, and CronJobs to organize tasks and view their status centrally. |
| Continuously run online inference services or business applications | Use resources such as Deployments and StatefulSets to maintain replicas, configurations, and runtime status. |
| Share computing resources across teams or multiple projects | Use namespaces, node pools, and access credentials to define resource and management boundaries. |
| Deliver business environments through images | Package the runtime, dependencies, and code into container images, then submit them to the cluster for execution. |
| Provide shared data for workloads | Use Kubernetes storage objects such as PVCs, PVs, and StorageClasses to access persistent storage. |
| Centrally observe and maintain business operations | Assess operational status across clusters, nodes, workloads, monitoring, logs, and alarms. |
If you need only one or a small number of compute resources for development and debugging, temporary experiments, single-node training, or manual O\&M, you can prioritize CES instances. For more information, see [Select Computing Resources](/gpu-cloud/get-started/gpu-cloud-overview#select-computing-resources).
## Usage Process
1. [Create a CKS cluster](/gpu-cloud/cluster/create-kubernetes-cluster) and select the Kubernetes version, compute resources, and initial node pool.
2. [View cluster status and configuration](/gpu-cloud/cluster/view-cluster-status-and-configuration) and confirm that the cluster is available.
3. Depending on the access method, [create a cluster access role](/gpu-cloud/cluster/create-cluster-access-role) or [access the cluster using KubeConfig](/gpu-cloud/cluster/access-cluster-with-kubeconfig).
4. Scale nodes and install components as required by your workloads, and prepare namespaces, configurations, and persistent storage.
5. Select a workload suitable for your business requirements and submit the YAML. Configure Ingress when you need to provide an entry point for HTTP or HTTPS services.
6. Monitor business operations through workload status, monitoring, logs, and alerts, and clean up resources that are no longer needed when operations end.
## Core Resources
| Object | Purpose |
| - | - |
| Cluster | The management boundary for Kubernetes resources and configurations. |
| Node pool | Organizes a group of nodes with the same specifications, billing method, and OS, and can be used to divide resource pools for different services. |
| Node | Provides the compute resources required to run Pods and other Kubernetes workloads. |
| Namespace | Isolates and organizes workloads, configurations, and storage claims within a cluster. |
| Workload | Includes Kubernetes resources such as Pods, Deployments, StatefulSets, DaemonSets, Jobs, and CronJobs. |
| Configuration | ConfigMaps store non-sensitive configuration, while Secrets store sensitive information such as passwords, tokens, and certificates. |
| Persistent storage | Workloads request storage through PVCs and mount bound storage to Pods. |
| Application | A release deployed to a cluster through Helm. |
## Maintenance Responsibilities and Precautions
* A CKS cluster is an unmanaged cluster. You must maintain the Kubernetes resources, workloads, and runtime environment within the cluster.
* Node specifications and inventory may affect the creation of clusters or node pools.
* Creating, modifying, or deleting Kubernetes resources may affect running tasks. Before performing any actions, confirm the resource scope, dependencies, and data impact.
* Deleting a cluster releases its nodes and deletes the Kubernetes resources and node disk data within the cluster. Data in persistent storage is retained.
## Related Documentation
* [Expand and Maintain Cluster Nodes](/gpu-cloud/cluster/expand-and-maintain-cluster-nodes)
* [Select and Install Cluster Components](/gpu-cloud/cluster/choose-and-install-cluster-components)
* [CKS cluster persistent storage overview](/gpu-cloud/cluster/persistent-storage-overview)
* [Deploy and Troubleshoot Workloads](/gpu-cloud/cluster/deploy-and-troubleshoot-workloads)
* [View Cluster Overview Monitoring](/gpu-cloud/monitoring/view-cluster-overview-monitoring)
* [Query and Analyze Logs](/gpu-cloud/log/query-logs)
* [Alerts Overview](/gpu-cloud/alarm/alarm-overview)
# Mount persistent storage for workloads
Source: https://docs.scitix.ai/gpu-cloud/cluster/mount-persistent-storage-to-workload
Reference the bound PVC in the workload YAML and confirm that the container can access persistent data through the specified directory.
After a [dynamic](./use-dynamic-persistent-volume) or [static](./use-static-persistent-volume) persistent volume is provisioned, workloads use persistent storage through PVCs. The PVC and the workload must be in the same namespace, and the PVC status must be `Bound`.
## Reference a PVC in a Workload
Complete the following configuration in the workload's Pod template:
* Reference the PVC through `persistentVolumeClaim.claimName` in `spec.volumes`.
* Set the volume name and mount directory in the container's `volumeMounts`.
The following Pod mounts the PVC named `training-data-pvc` to the container's `/data` directory.
```yaml theme={null}
apiVersion: v1
kind: Pod
metadata:
name: training-task
namespace: default
spec:
containers:
- name: training
image: nginx:1.14.2
volumeMounts:
- name: training-data
mountPath: /data
volumes:
- name: training-data
persistentVolumeClaim:
claimName: training-data-pvc
```
Replace `namespace`, `image`, `mountPath`, and `claimName` with actual values. Workloads such as Deployments, StatefulSets, and Jobs can also use the same `volumes` and `volumeMounts` configuration in their Pod templates.
## Submit and confirm the mount result
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
2. Click the name of the target cluster to go to the cluster workspace.
3. In the left navigation pane, go to the **Workloads** page, select the appropriate workload type, and submit the YAML.
4. Verify that the workload is running properly and that the container can read and write data through the target mount directory.
If a Pod remains in `Pending` for an extended period or a container cannot start, check whether the PVC is `Bound`, whether the PVC and workload are in the same namespace, and whether `claimName` is correct.
## Unmount PVC
Before deleting a PVC, remove all workload references to the PVC:
* For workloads managed by controllers such as Deployment, StatefulSet, and Job, update the Pod template and remove the corresponding `volumeMounts` and `volumes` configurations.
* For directly created Pods, stop and delete the Pod, or recreate it using a configuration that no longer references the PVC.
After confirming that no running Pods are using the PVC, handle the PVC and PV based on how the storage volume was created or bound.
# Manage Cluster Resources Using Namespaces
Source: https://docs.scitix.ai/gpu-cloud/cluster/organize-resources-with-namespaces
Create namespaces by team, project, or environment, view the resources they contain, and safely delete namespaces that are no longer in use.
Namespaces are used to organize and isolate workloads, configurations, and storage claims within the same CKS cluster. You can divide namespaces by team, project, or runtime environment, and then create the relevant Kubernetes resources in the corresponding namespaces.
## Create a Namespace
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
2. Click the name of the target cluster to open the cluster workspace.
3. In the left navigation pane, go to the **Namespace** page and then click **Create**.
4. Enter a namespace name.
5. To identify resource ownership or environments, enter the key and value in **Labels**.
6. Submit the request and confirm that the namespace status is Active.
## View Namespaces and Their Resources
1. On the **Namespace** page, locate the target namespace and click **View** in the **Actions** column.
2. Verify that the namespace status, labels, and number of workloads are as expected.
The number of workloads can help determine whether the namespace is still serving business workloads. Before deleting the namespace, also verify whether it contains any workloads, configurations, or PVCs that need to be retained.
3. In the **Workloads in This Namespace** section, click the corresponding card to go to the **Workloads** page and view the workloads in the namespace.

## Delete Namespace
> [!WARNING]
>
> Deleting a namespace deletes the Kubernetes resources within it. Before proceeding, ensure that the namespace contains no workloads, configurations, or storage claims that still need to be retained, and back up or migrate any data that must be kept.
1. On the **Namespace** page, locate the target namespace.
2. In the **Actions** column, click **Delete**.
3. Confirm the deletion.
# Overview of persistent storage for CKS clusters
Source: https://docs.scitix.ai/gpu-cloud/cluster/persistent-storage-overview
Understand the relationship between PVs, PVCs, and StorageClasses, and choose dynamic or static volumes.
CKS clusters use Kubernetes persistent volumes to store workload data. If training data, model files, or task output must be retained after Pods are rebuilt, first prepare persistent storage, then use a PVC to mount the storage to the workload.
## Learn about persistent storage objects
| Object | Description | Scope |
| - | - | - |
| PV (PersistentVolume) | Represents a piece of persistent storage available for use by a cluster. A PV includes information such as capacity, access modes, reclaim policy, and storage backend. | Cluster level |
| PVC (PersistentVolumeClaim) | Represents a workload's request for storage capacity and Access Method. Workloads use PVs through PVCs rather than referencing PVs directly. | Namespace level |
| StorageClass | Defines how storage volumes are dynamically created, including the storage plugin, reclaim policy, and storage parameters. | Cluster level |
After a PVC is bound to an eligible PV, its status changes to `Bound`. A workload can reference only PVCs in the same namespace.
## Select how to use a storage volume
Depending on whether the backend storage is ready, choose a dynamic storage volume or a static storage volume.
| Method | Applicable scenario | Resource relationship | Required preparations |
| - | - | - | - |
| Dynamic volumes | You want PVs to be created automatically based on PVC requests. | StorageClass → PVC → Automatically created PV | An available storage plugin and StorageClass. When using GPFS, you can also create a StorageClass through a volume template. |
| Static volumes | The backend storage already exists, or storage resources need to be prepared in advance by a storage administrator. | Backend storage → Manually created PV → PVC | Backend storage information and a PV configuration that matches the storage. |
StorageClass is the core object for dynamically provisioning storage volumes. When using static storage volumes, you can also match PVs and PVCs through `storageClassName`, but StorageClass will not automatically create PVs.
## Using persistent storage
1. Depending on how the Volume is prepared, create or bind a storage volume:
* [Use Dynamic Persistent Volumes](/gpu-cloud/cluster/use-dynamic-persistent-volume)
* [Use Static Persistent Volumes](/gpu-cloud/cluster/use-static-persistent-volume)
2. Verify that the PVC status is `Bound`.
3. [Mount persistent storage to a workload](/gpu-cloud/cluster/mount-persistent-storage-to-workload).
4. When you no longer need the storage resources, [clean up persistent storage resources](/gpu-cloud/cluster/cleanup-persistent-storage-resources).
# Using Dynamic Volumes
Source: https://docs.scitix.ai/gpu-cloud/cluster/use-dynamic-persistent-volume
Use StorageClass to automatically create PVs based on PVC capacity and access requirements, and provide storage volumes for workloads.
Dynamic volume provisioning is suitable for scenarios where PVs need to be automatically created based on workload storage requests. You must first prepare a StorageClass, then create a PVC that references the StorageClass. The storage plugin creates and binds a PV according to the PVC configuration.
## Pre-Operation Confirmation
* The CKS cluster has installed the CSI driver or storage plugin for the target storage backend.
* When creating a GPFS StorageClass on the **Volume Template** tab, ensure that `scitix-csi-plugin` is installed on the cluster and that an available GPFS file system exists.
## Create or Select a StorageClass
If the cluster already has a StorageClass that meets your requirements, note its name and continue creating the PVC. When creating a new StorageClass for GPFS, use a volume template whenever possible. Create a StorageClass manually only if you have obtained the CSI driver and all its parameters.
### Create a GPFS StorageClass Using a Volume Template
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
2. On the **Clusters** page, click the target cluster name to open the cluster workspace.
3. In the left navigation pane, go to the **Storage** page and switch to the **Volume Template** tab.
4. Click **Create GPFS StorageClass** to configure the StorageClass.

| Parameter | Description |
| - | - |
| **File system** | Select the GPFS file system used to create dynamic storage volumes. |
| **FS path** | Specify the path in the file system for creating storage volumes, for example, `/gpfs/data`. |
| **StorageClass name** | Specify the StorageClass name. When creating a PVC, use this name in `storageClassName`. |
| **Reclaim policy** | Select how dynamically provisioned PVs are reclaimed after a PVC is deleted. Before selecting **Delete**, confirm that the backend data is no longer needed. After selecting **Retain**, an administrator must further handle the retained PVs and data. |
| **Archive when deleted** | Select whether to archive data upon deletion based on data retention requirements. Before enabling this option, confirm the archive location and recovery method. |
5. Click **Create**.
### Create a Custom StorageClass
Creating a custom StorageClass is suitable when you have obtained a complete configuration from the storage administrator or CSI plugin documentation. If the parameters are incomplete, use a volume template to avoid creating a StorageClass that cannot create storage volumes properly.
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
2. On the **Clusters** page, click the name of the target cluster to open the cluster workspace.
3. In the left navigation pane, go to the **Storage** page, switch to the **StorageClass** tab, and click **Create**.

4. Set **Name** and enter the StorageClass configuration in **Spec (YAML)**.
The following YAML shows the basic structure of a StorageClass. Replace the placeholders with the actual values required by the CSI driver, and add parameters as needed.
```yaml theme={null}
provisioner:
parameters:
:
reclaimPolicy: Retain
mountOptions: []
volumeBindingMode: Immediate
```
5. Click **Create**.
## Create a PVC
1. On the **Storage** page, switch to the **PVC** tab and click **Create**.

2. Configure the PVC.
| Parameter | Description |
| - | - |
| **Name** | Set the PVC name. Workloads reference the PVC by this name. |
| **Namespace** | Select the namespace to which the PVC belongs. The PVC and the workloads that reference it must be in the same namespace. |
| **Spec (YAML)** | Enter the PVC's `metadata` and `spec`. Do not enter `apiVersion` or `kind`. |
Replace `storageClassName` with the name of the StorageClass selected or created in the previous step, and adjust the capacity and access mode as needed.
```yaml theme={null}
metadata:
labels: {}
annotations: {}
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 50Gi
storageClassName: gpfs-dynamic
volumeMode: Filesystem
```
3. Click **Create**.
4. Return to the **PVC** tab and confirm that the PVC status changes to `Bound`.
After the status changes to `Bound`, it indicates that the storage plugin has created a PV and that the PV has been bound to the PVC.
## Next Actions
After the PVC status becomes `Bound`, you can [mount persistent storage to a workload](/gpu-cloud/cluster/mount-persistent-storage-to-workload). When you no longer need the PVC or PV, see [Clean up persistent storage resources](/gpu-cloud/cluster/cleanup-persistent-storage-resources).
## Frequently Asked Questions
> [accordion] What should I do if a PVC remains in Pending status for an extended period?
>
> Ensure that the StorageClass corresponding to `storageClassName` exists, and check whether the CSI driver or storage plugin is installed and functioning properly. If GPFS is used, also ensure that the target file system and the path for creation are available.
# Using Static Volumes
Source: https://docs.scitix.ai/gpu-cloud/cluster/use-static-persistent-volume
Create a PV for existing backend storage and make it available to workloads in a namespace through a PVC.
Static volumes are suitable for scenarios where backend storage already exists or where storage resources must be prepared in advance by an administrator. You need to create a PV for the backend storage first, and then create a PVC to bind to the PV.
## Review Before Proceeding
* A backend storage volume is ready for use by the CKS cluster.
* Information required to create a PV has been obtained, including capacity, access mode, CSI driver name, and a unique volume identifier. The specific fields and values are provided by the storage backend or storage administrator.
## Create PV
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
2. On the **Clusters** page, click the name of the target cluster to access the cluster workspace.
3. In the left navigation pane, go to the **Storage** page, switch to the **PV** tab, and click **Create**.

4. Set **Name** and complete the PV configuration in **Spec (YAML)**.
| Configuration Item | Description |
| - | - |
| `capacity.storage` | Sets the capacity provided by the PV. |
| `accessModes` | Sets the access modes supported by the volume. They must be compatible with subsequent PVC requests. |
| `persistentVolumeReclaimPolicy` | Sets how the PV is reclaimed after the PVC is released. Select `Retain` if you need to retain the data. |
| `storageClassName` | Sets the storage class value used to filter and match PVCs. When using static volumes, the values in the PV and PVC should be consistent; this field does not automatically create a PV. |
| `csi.driver` | Enter the actual CSI driver name. |
| `csi.volumeHandle` | Enter the unique identifier of the backend volume. |
The following YAML shows the basic structure of a CSI PV. Replace the placeholders with the actual values provided by the storage backend, and add other fields as required by the storage plugin.
```yaml theme={null}
metadata:
labels: {}
annotations: {}
spec:
capacity:
storage: 100Gi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
storageClassName: manual
volumeMode: Filesystem
csi:
driver:
volumeHandle:
```
5. Click **Create**.
## Create a PVC and Bind It to a PV
1. On the **Storage** page, switch to the **PVC** tab and click **Create**.
2. Configure the PVC.
| Parameter | Description |
| - | - |
| **Name** | Set the PVC name. Workloads reference the PVC by this name. |
| **Namespace** | Select the namespace to which the PVC belongs. |
| **Spec (YAML)** | Enter the PVC `metadata` and `spec`. Do not enter `apiVersion` or `kind`. |
`volumeName` must be set to the name of the PV created in the previous step. The requested capacity must not exceed the PV capacity, and `accessModes`, `storageClassName`, and `volumeMode` must be compatible with the PV.
```yaml theme={null}
metadata:
labels: {}
annotations: {}
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 100Gi
storageClassName: manual
volumeName: training-data-pv
volumeMode: Filesystem
```
3. Click **Create**.
4. Return to the **PVC** tab and verify that the PVC status has changed to `Bound`. Then, on the **PV** tab, verify that the target PV is bound to this PVC.
## Next Actions
After the PVC status becomes `Bound`, you can [mount persistent storage to a workload](/gpu-cloud/cluster/mount-persistent-storage-to-workload). When a PVC or PV is no longer needed, see [Clean up persistent storage resources](/gpu-cloud/cluster/cleanup-persistent-storage-resources).
## Frequently Asked Questions
> [accordion] What should I do if a PVC cannot be bound to the specified PV?
>
> Ensure that `volumeName` exactly matches the PV name, and verify that the requested capacity, access modes, `storageClassName`, and `volumeMode` are compatible with the PV. The target PV must also be available for binding and must not already be bound to another PVC.
# View and Delete Helm Applications
Source: https://docs.scitix.ai/gpu-cloud/cluster/view-and-delete-helm-applications
Determine whether the Helm release was deployed successfully, and delete it when the application is no longer in use.
Applications deployed to a CKS cluster through Helm are displayed on the **Applications** page. First, check the Release status to determine whether the application was deployed successfully. If the deployment fails, go to the corresponding workload for troubleshooting, then delete any releases that are no longer needed.
## Determine Whether the Application Has Been Successfully Deployed
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
2. Click the target cluster name to go to the cluster workspace.
3. In the left navigation pane, go to the **Applications** page.
4. Locate the target Helm and verify that the deployment status meets expectations.
When the Release status is failed, you can continue troubleshooting by checking the status, events, and Logs of the corresponding workload.
## Delete Helm Applications
> [!WARNING]
>
> Deleting a Helm release may delete or affect the Kubernetes resources created by the application. Before deleting it, ensure that the application is no longer running any tasks or services that need to remain active, and back up any data and configurations that need to be retained.
1. On the **Applications** page, find the target release.
2. In the **Actions** column, click **Delete**.
3. Confirm the deletion.
# View CKS cluster status and configuration
Source: https://docs.scitix.ai/gpu-cloud/cluster/view-cluster-status-and-configuration
Check whether the CKS cluster is available, verify its configuration or connection information as needed, and open the cluster workspace.
After creating a cluster, first verify that it is available. Go to the cluster details page only when you need to review the creation configuration or obtain connection information.
## Confirm Cluster Status
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Clusters** page.
2. Select a region and switch to the **Deployed Clusters** tab.
3. Locate the target cluster and verify that its status is Running.
When the cluster status is Running, you can access the cluster workspace. If the cluster is not yet available, wait for creation to complete. If the status remains abnormal for an extended period, record the cluster name and status and contact technical support.
To view resource usage for a cluster or node, click **Monitor**. For complete metric descriptions, see [View Cluster Overview Monitoring](/gpu-cloud/monitoring/view-cluster-overview-monitoring).
## View Cluster Configuration and Connection Information
In the target cluster’s **Actions** column, click **Details**, and then select a tab based on your objective:
* **Base Info**: Verify that the Kubernetes version and the basic settings selected during creation meet your expectations.
* **Connect Info**: Obtain the KubeConfig required to access the cluster through kubectl. For details, see [Access a CKS Cluster Using KubeConfig](/gpu-cloud/cluster/access-cluster-with-kubeconfig).
## Go to the Cluster Workbench
In the **Deployed Clusters** list, click the cluster name to open the cluster workspace. You can then prepare nodes, components, namespaces, configurations, and storage as needed before deploying workloads.
## View cluster observability information
After entering the cluster workspace, you can find access points for monitoring, logs, and alerts for the current cluster in the **OBSERVABILITY** section.
| Entry Point | Applicable Scenario |
| - | - |
| **Monitor** page | View resource metrics for the current cluster, including CPU, GPU, GPU memory, and memory. For complete instructions, see [View Cluster Overview Monitoring](/gpu-cloud/monitoring/view-cluster-overview-monitoring). |
| **Logs** page | Query logs based on the current cluster and troubleshoot issues by filtering by log type, time range, keywords, or fields. For complete instructions, see [Query and Analyze Logs](/gpu-cloud/log/query-logs). |
| **Alerts** page | View or configure alarm rules, alarm history, and Notifier. Alarm capabilities are centrally maintained by the alarm module. For more information, see [Alarm Overview](/gpu-cloud/alarm/alarm-overview). |
# Use ScitiX docs with AI
Source: https://docs.scitix.ai/gpu-cloud/get-started/connect-docs-to-ai
Learn how to use MCP, llms.txt, skill.md, and Markdown pages to let AI tools query ScitiX product documentation.
You can connect ScitiX Docs to AI tools such as Claude Code, Codex, and Cursor. The AI tool can then answer questions about Model Inference, Siverse, and GPU Cloud based on the documentation, such as how to choose a model, call the API, configure API keys, view usage, prepare resources, create development environments, submit training tasks, publish inference services, manage instances and Kubernetes clusters, use storage, or configure monitoring and alerts.
## Choose a method
We recommend using MCP first. MCP is best for querying ScitiX documentation continuously from an IDE, coding agent, or desktop AI client. The AI tool can retrieve relevant documentation on demand, without requiring you to copy page links or page content each time.
If your AI tool does not support MCP, choose another method based on your use case.
| Use case | Recommended method |
| - | - |
| Your AI tool supports MCP and needs long-term access to the docs | Use MCP |
| Your AI agent supports skills or custom context | Use `skill.md` |
| You want AI to discover available documentation pages | Use `llms.txt` |
| You want AI to read the full documentation content | Use `llms-full.txt` |
| You only need AI to read one page | Use single-page Markdown |
## MCP access
If your AI tool supports Model Context Protocol (MCP), you can connect it to ScitiX documentation. After connection, the AI tool can search relevant documentation and answer questions based on the docs.
### Access URL
Use the following MCP server URL when adding ScitiX Docs to your AI tool.
```text theme={null}
https://docs.scitix.ai/mcp
```
### Tool capabilities
After connection, the AI tool can use the following documentation tools:
| Tool | Description |
| - | - |
| `search` | Search ScitiX documentation for relevant pages, guides, and API references. |
| `query_docs_filesystem` | Read pages from the virtual documentation filesystem. Use it to inspect full pages, browse the docs structure, or match exact keywords. |
| `submit_feedback` | Submit feedback to the documentation team for incorrect, outdated, confusing, or incomplete documentation. |
### Example questions
Ask questions about the product and task you are working on, for example:
| Product | Example questions |
| - | - |
| Model Inference | Which model should I use? How do I create an API key and call a model? How do I troubleshoot API errors? How do I view token usage and costs? |
| Siverse | What resources do I need to prepare before first use? Should I use a development environment, a training task, or an inference service? How do I troubleshoot a training task that is queued or has failed? |
| GPU Cloud | Should I choose a CES instance or a Kubernetes cluster? Should I use GPFS or OSS for shared data? How do I view monitoring data? How do I subscribe to alerts? |
### Configure in Claude Code
Claude Code is primarily a command-line workflow. In the project directory where you want to use ScitiX Docs, run:
```bash theme={null}
claude mcp add --transport http scitix-docs https://docs.scitix.ai/mcp
```
After configuration, run the following command to check the connection:
```bash theme={null}
claude mcp list
```
### Configure in Codex
If you use a Codex client that supports graphical MCP configuration, you can add an MCP server in the app and set the server URL to `https://docs.scitix.ai/mcp`.
If you want to reuse the configuration across projects or IDEs, use the CLI or configuration file.
Run the following command to add the ScitiX Docs MCP server:
```bash theme={null}
codex mcp add scitixDocs --url https://docs.scitix.ai/mcp
```
After configuration, run the following command to check the connection:
```bash theme={null}
codex mcp list
```
You can also edit the Codex configuration file, such as `~/.codex/config.toml`, and add:
```toml theme={null}
[mcp_servers.scitixDocs]
url = "https://docs.scitix.ai/mcp"
```
## Other reading methods
### Use skill.md
`skill.md` describes the documentation site and product capabilities to AI agents. It is useful for tools that support skills or agent context.
```text theme={null}
https://docs.scitix.ai/skill.md
```
### Use llms.txt
`llms.txt` provides an index of the documentation pages. It is useful when you want AI to understand what pages are available.
```text theme={null}
https://docs.scitix.ai/llms.txt
```
### Use llms-full.txt
`llms-full.txt` provides more complete documentation content. It is useful when an AI tool needs a larger documentation context at once.
```text theme={null}
https://docs.scitix.ai/llms-full.txt
```
> [!WARNING]
>
> `llms-full.txt` may contain a large amount of content. Some AI tools have context length limits. If the content is too long, use MCP, `llms.txt`, or single-page Markdown instead.
### Use single-page Markdown
Every documentation page can be read in Markdown format. Add `.md` to the page URL to get a plain-text version that is easier for AI tools to read.
For example:
```text theme={null}
https://docs.scitix.ai/model-inference/get-started/first-api-call.md
https://docs.scitix.ai/siverse/training/create-training-tasks.md
https://docs.scitix.ai/gpu-cloud/get-started/quickstart-instance.md
```
## Usage recommendations
* For product concepts, setup steps, and configuration details, prefer MCP or a specific Markdown page.
* For real-time information such as model availability, pricing, quotas, resource availability or inventory, task and service status, instance and cluster status, orders, and console configuration, also check the console.
* If an AI answer conflicts with the documentation page, rely on the documentation page.
# GPU Cloud
Source: https://docs.scitix.ai/gpu-cloud/get-started/gpu-cloud-overview
Learn about the core modules of GPU Cloud and access getting started documentation.
GPU Cloud provides compute, storage, network, and observability capabilities to help you run training, inference, development and debugging, data processing, and batch processing tasks in the cloud.
This document helps you understand the core modules of GPU Cloud and identifies the documents you should read before getting started.
## Core Modules
### Compute
The compute module provides the computing resources required to run tasks. You can select CES instances or CKS clusters based on the task type:
* [CES Instances](/gpu-cloud/instance/instance-overview): Provides GPU Instances and CPU Instances, suitable for scenarios where you need to log in to servers directly, run standalone tasks, perform development and debugging, or set up custom environments.
* [CKS Clusters](/gpu-cloud/cluster/kubernetes-cluster-overview): Provides Kubernetes clusters for containerized workloads, suitable for running training tasks, inference services, batch processing tasks, or containerized environments shared by teams.
### Storage
The storage module is used to store artifacts such as input data, output results, and container images. You can select different storage capabilities based on your data access method:
* [GPFS File System](/gpu-cloud/storage/gpfs-overview): Suitable for sharing data through a file system among multiple CES instances or CKS cluster nodes.
* [OSS object storage](/gpu-cloud/storage/oss-overview): Suitable for saving, accessing, and archiving data through object semantics.
* [Registry](/gpu-cloud/registry/container-registry-overview): Used to store and manage container images and other artifacts, supporting the delivery of containerized workloads in CKS clusters.
### Network
The cloud networks module is used to prepare the network capabilities required for resource access. You can create and configure the following objects as needed:
* [VPC](/gpu-cloud/network/manage-vpc): Used to prepare the network environment for resources.
* [Elastic IP](/gpu-cloud/network/manage-eip): Used to create public network access addresses.
* [NAT Gateway](/gpu-cloud/network/manage-nat-rule): Used to configure public network access mappings.
### Observability
The observability module is used to view resource status, troubleshoot operational issues, and send notifications when exceptions occur or are resolved:
* [Monitor](/gpu-cloud/monitoring/monitoring-overview): View resource status and key metrics.
* [Logs](/gpu-cloud/log/query-logs): Query task output, application errors, or debugging information.
* [Alerts](/gpu-cloud/alarm/alarm-overview): Subscribe to preset alarm rules, create custom alarm rules, and configure notification channels.
## Select Computing Resources
Before using the GPU Cloud, determine whether your task is better suited to run directly on a CES instance or in a CKS cluster.
| If you need to | Recommended choice |
| - | - |
| Quickly obtain a GPU or CPU server and log in to use it directly | CES instance |
| Run single-node training, model fine-tuning, development and debugging, or lightweight inference services | CES instance |
| Manage the OS, drivers, dependency libraries, or task scripts yourself | CES instance |
| Run and centrally manage training, inference, or batch processing tasks as containers over the long term | CKS cluster |
| Run online inference services or business applications with multiple replicas, continuous releases, or centralized operations and maintenance | CKS cluster |
| Share GPU and CPU resources across teams or multiple projects, and deliver business environments through images | CKS cluster |
Overall:
* CES instances are suitable for directly using server resources.
You can log in to CES instances to manage the OS and runtime environment, and run training, inference, development and debugging, data processing, or lightweight services.
CES instances are categorized into GPU Instances and CPU Instances:
* GPU instances are suitable for deep learning training, model fine-tuning, inference services, and GPU-accelerated computing.
* CPU instances are suitable for data preprocessing, development and debugging, scheduling services, and lightweight services.
* CKS clusters are suitable for hosting containerized workloads.
You can package training tasks, inference services, data processing tasks, or business applications as images, run them as workloads in a cluster, and centrally manage nodes, namespaces, storage, configurations, monitoring, logs, and alerts.
## Get Started
If you are still unsure whether to use a CES instance or a CKS cluster, first refer to [Select Computing Resources](#select-computing-resources) in this document to determine how your task will run.
If you have already determined your computing resource requirements, you can continue reading the relevant documentation:
* [Using CES Instances](/gpu-cloud/get-started/quickstart-instance)
* [Using CKS Clusters](/gpu-cloud/get-started/quickstart-kubernetes-cluster)
# Using CES instances
Source: https://docs.scitix.ai/gpu-cloud/get-started/quickstart-instance
Learn the basic workflow for running tasks with CES instances, including selecting an instance, preparing data, configuring the network, connecting to the instance, and viewing status.
CES instances are suitable for scenarios where you need to log in to a server directly to run standalone training, model debugging, data processing, or lightweight inference services. This article does not cover specific parameter configurations; instead, it helps you understand the basic workflow from preparing resources to running tasks, monitoring status, and releasing resources.
## Usage workflow
**1. Select CES Instance Type**
Select a GPU Instance or CPU Instance based on the task type.
* GPU Instances are suitable for training, fine-tuning, and inference tasks that require GPU acceleration.
* CPU Instances are suitable for data preprocessing, scheduling services, development and debugging, or lightweight services.
If you are still unsure whether to use a CES instance or a CKS cluster, see the recommendations in [GPU Cloud](/gpu-cloud/get-started/gpu-cloud-overview#select-computing-resources).
**2. Prepare a Logon Credential**
When creating a CES instance, you need to select a logon credential. When using Custom Password, you can set the password during instance creation. When using Key Pair, prepare [Key Pairs](/gpu-cloud/instance/manage-key-pairs) first.
If you need to access the instance through SSH or other methods, determine in advance whether you need to configure a public network access entry point later.
**3. Prepare data and storage**
Select a volume based on the task's data access method.
* When multiple CES instances need to share datasets, model weights, or training outputs, you can use [GPFS file storage](/gpu-cloud/storage/gpfs-overview) and mount the file system to the CES instances.
* When you need to transfer datasets, model files, inference inputs, or training outputs between your local environment and CES instances, you can use [OSS object storage](/gpu-cloud/storage/oss-overview) and upload or download them using ossctl.
If the program needs to read and write shared data as if accessing a local directory, use the GPFS file system first. If task outputs need to be retained, do not save them only in temporary directories or locations that will be lost when the CES instance is released.
**4. Prepare the Network Environment**
Before creating a CES instance, confirm the network environment required by the instance. If you need to place the instance in a specified network, create a VPC in advance. For details, see [Manage VPCs](/gpu-cloud/network/manage-vpc).
If the task runs only in an internal network environment, you generally do not need to configure a public network access endpoint in advance.
**5. Create a CES Instance**
Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home), go to the **Instance** page, and create a GPU Instance or CPU Instance as required by the task.
When creating an instance, you typically need to confirm the region, billing mode, instance specification, image, and Logon Credential. GPU Instance and CPU Instance offer different resource options. For configuration details, see [Create GPU Instance](/gpu-cloud/instance/create-gpu-instance) or [Create CPU Instance](/gpu-cloud/instance/create-cpu-instance).
**6. Configure Public Network Access**
If you need to access an instance from the public network or provide services externally, you can create an Elastic IP and NAT rules based on the access method after the CES instance is created. Before configuring public network access, confirm the private IP address, port, and protocol of the instance to be exposed. For details, see [Manage Elastic IP](/gpu-cloud/network/manage-eip) and [Manage NAT Rules](/gpu-cloud/network/manage-nat-rule).
**7. Connect to an Instance and Run Tasks**
After the CES instance is created, use a logon credential supported by the instance to connect to it. After connecting, you can prepare the runtime environment, upload or mount data, and start training, inference, development and debugging, or batch processing tasks.
If you use a GPU Instance, we recommend confirming that the GPU resources and driver environment are available before starting the formal task.
**8. View Status**
While a task is running, you can use monitoring to view the status of resources such as CPU, memory, and GPU, and use logs to view task output or application errors. For details, see [View GPU Instance Monitoring](/gpu-cloud/monitoring/view-gpu-instance-monitoring), [View CPU Instance Monitoring](/gpu-cloud/monitoring/view-cpu-instance-monitoring), and [Query and Analyze Logs](/gpu-cloud/log/query-logs).
If you need to continuously monitor resource status or exceptional events, [create a custom alert rule](/gpu-cloud/alarm/create-custom-alert-rule) to define the alert conditions.
To receive alert messages, select an available notifier or [create a notifier](/gpu-cloud/alarm/configure-alert-notifier#create-notifier).
**9. Clean Up Resources**
After the task is complete, decide whether to stop, renew, or delete the CES instance based on the billing method and data retention requirements. Before deleting the CES instance, ensure that any data to be retained has been saved to the GPFS file system, OSS, or another persistent location.
# Using a CKS Cluster
Source: https://docs.scitix.ai/gpu-cloud/get-started/quickstart-kubernetes-cluster
Learn the basic workflow for running containerized applications on CKS clusters, including preparing images, creating clusters, configuring storage, deploying workloads, and viewing status.
CKS clusters are suitable for hosting containerized training tasks, inference services, batch processing tasks, or long-running business applications. Without going into specific parameter configurations, this document helps you understand the basic workflow: preparing a business image, creating a cluster, configuring storage, deploying workloads, configuring access endpoints, and monitoring operational status.
## Usage workflow
**1. Prepare a Container Image**
Kubernetes workloads are typically delivered with their runtime environments through container images. Before submitting a workload, build or obtain the required image for your application, and push it to a container image registry.
After the image is prepared, record the image address and tag required for subsequent workloads. For instructions on pushing and pulling images, see [Push and Pull Images](/gpu-cloud/registry/push-pull-container-images).
**2. Create a CKS Cluster**
Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home), go to the **Clusters** page, and create a CKS cluster.
When creating a cluster, you typically need to confirm the Kubernetes version, node pool configuration, and other settings. For details, see [Create a CKS Cluster](/gpu-cloud/cluster/create-kubernetes-cluster).
**3. Configure cluster access and basic resources**
After the cluster is created, prepare the access credentials and basic resources according to the subsequent operation method.
* If you need to manage the cluster through `kubectl`, obtain the KubeConfig. For details, see [Access a CKS Cluster Using KubeConfig](/gpu-cloud/cluster/access-cluster-with-kubeconfig).
* If you need to isolate resources by team, project, or environment, create namespaces. For details, see [Organize Namespace Resources](/gpu-cloud/cluster/organize-resources-with-namespaces).
* If workloads depend on non-sensitive configuration or sensitive information, create a ConfigMap or Secret. For details, see [Manage ConfigMaps and Secrets](/gpu-cloud/cluster/configure-configmap-and-secret).
* If your business depends on cluster components, select and install components as needed. For details, see [Select and Install Cluster Components](/gpu-cloud/cluster/choose-and-install-cluster-components).
**4. Configure storage and data access**
After the cluster becomes available, configure storage and data access based on the workload's data access method.
* When multiple nodes or workloads need to share data through a file system, you can use the GPFS file system and make it available to workloads through Kubernetes storage objects such as PVs, PVCs, or StorageClasses. For details, see [CKS cluster persistent storage overview](/gpu-cloud/cluster/persistent-storage-overview).
* When you need to store datasets, model files, inference inputs, training outputs, or archived logs, and upload or download them from a local environment, CES instances, or automated scripts, you can use OSS. For details, see [OSS object storage overview](/gpu-cloud/storage/oss-overview).
If the workload needs to mount a directory directly, prepare persistent storage before deployment. If training data, model weights, or output results need to be retained long term, plan the storage location and access permissions in advance.
**5. Submit and run workloads**
Once the cluster is available, submit workloads for training, inference, batch processing, or online services based on your business requirements.
Before submitting, we recommend confirming the workload type, image address and labels, CPU/memory/GPU resource configuration, namespace, configuration items, storage mounts or object storage access methods, and log output path. For deployment and troubleshooting procedures, see [Deploy and Troubleshoot Workloads](/gpu-cloud/cluster/deploy-and-troubleshoot-workloads).
**6. Configure Service Access**
After the workload is running, you can configure a Service or Ingress based on the access scope.
* Access endpoints within the cluster are typically provided through Services. For details, see [Create and Manage Services](/gpu-cloud/cluster/create-and-manage-service).
* HTTP or HTTPS access endpoints are typically provided through Ingresses. If your workload needs to be accessed from outside the cluster, confirm the access domain name or port, target service, and access endpoint. For details, see [Expose Cluster Services Using Ingress](/gpu-cloud/cluster/expose-services-with-ingress).
**7. Observe Runtime Status**
During workload execution, you can use monitoring to view cluster, node, or workload metrics, and use logs to view task output or application errors. For details, see [View Cluster Overview Monitoring](/gpu-cloud/monitoring/view-cluster-overview-monitoring) and [Query and Analyze Logs](/gpu-cloud/log/query-logs).
To continuously monitor cluster or workload exceptions, [create a custom alert rule](/gpu-cloud/alarm/create-custom-alert-rule) to define the alert conditions. To receive alert messages, select an available notifier or [create a notifier](/gpu-cloud/alarm/configure-alert-notifier#create-notifier).
**8. Clean Up Resources**
After the task is complete, clean up workloads, image artifacts, and stored data that are no longer needed based on your business requirements. Before deleting a cluster, repository, or storage resource, ensure that no running tasks will be affected and that any data that needs to be retained has been backed up or migrated.
# CPU Instance Benchmarking Reference
Source: https://docs.scitix.ai/gpu-cloud/instance/cpu-instance-benchmark-reference
Learn about the scope, interpretation guidelines, and reference data for CPU Instance benchmark results.
This document provides benchmark results for CPU Instances, helping you gain an initial understanding of CPU Instance performance on bare metal and virtual machines.
Benchmark results are for reference only. Actual performance may be affected by the instance specification, image version, system configuration, testing tools, test parameters, and workload.
* Benchmark results are intended for comparison and selection reference only and do not constitute a business performance commitment.
* If your workloads have specific requirements for performance stability, throughput, or latency, we recommend validating them against actual workload conditions.
* When comparing different CPU instance specifications, in addition to benchmark results, also consider the number of CPU cores, memory, disk, and network capabilities.
## Dry-run Object
The following CPU Instance benchmark results are currently available. This document provides only example specifications used for benchmarking and does not include a complete instance specification table.
| Resource Type | Example Specification | Description |
| - | - | - |
| Bare Metal | `ces.c23-2` | CPU bare metal instance benchmark results. |
| Virtual Machine | `ces.vc23-2.2xlarge` | CPU virtual machine instance benchmark results. |
## Bare Metal Instance Benchmarking
The following are the CPU benchmark results for `ces.c23-2`.

## Virtual Machine Instance Benchmark Testing
The following are the CPU benchmark results for `ces.vc23-2.2xlarge`.

# Create CPU Instance
Source: https://docs.scitix.ai/gpu-cloud/instance/create-cpu-instance
Learn how to create a CPU Instance and configure the billing mode, resource type, network, specifications, Image, storage, and Logon Credential.
After creating a CPU Instance, you can run data preprocessing, development and debugging, scheduling services, or other tasks that do not require GPU acceleration. CPU Instances support Bare Metal Instances and Virtual Machine Instances. When creating one, configure the billing mode, region, resource type, network, specifications, image, storage, logon credential, and optional components.
## Procedure
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Instance** page.
2. On the **CPU Instance** tab, click **Create CPU Instance**.
3. In the **Billing mode** section, select a billing mode.
| Parameter | Description |
| - | - |
| **Pay-as-you-go** | Billed based on actual usage duration. Suitable for short-term tasks, temporary validation, or tasks with variable run times. |
| **Subscription** | Billed by subscription period. Suitable for tasks that run stably over the long term. Subscription durations of 1 month, 3 months, 6 months, 12 months, and 24 months are available. |
4. In the **Basic information** section, configure the HostName and Region.
| Parameter | Description |
| - | - |
| **HostName** | The instance hostname. You can select **IP Address-based Hostname** and enter a hostname prefix, or select **Custom** and enter a hostname. When creating instances in batches, running multinode tasks, or distinguishing node order by hostname, after selecting **Custom**, you can select **Custom Hostname Order** as needed to make hostnames easier to identify and maintain later. |
| **Region** | The region where the instance is located. The region cannot be changed after the instance is created. |
5. In the **Instance & Image** section, select the resource type, Network, specifications, Image, and runtime environment.
| Parameter | Description |
| - | - |
| **Instance** | Select **Bare Metal Instance** or **Virtual Machine Instance**. |
| **RDMA** | Select the RDMA network to be used by the instance. |
| **Instance Spec** | Select a specification that meets the task requirements. The specification card displays vCPU, memory, price, and the number of instances that can be created. |
| **Image** | Select the base OS image for the instance. |
| **Install GPU Driver** | Choose whether to install the GPU driver based on the selected specification, image, and business requirements. |
| **GPU Driver Version** | If you selected Install GPU Driver, select a GPU driver version. |
| **Container Network Mode** | Used to configure the network initialization mode for the instance. |
If your workloads have no specific container network requirements, we recommend keeping the default options. If existing workloads depend on the network behavior of the legacy setup, you can select **Use Legacy Setup Behavior**.
6. In the **Storage** section, configure the data disk.
| Parameter | Description |
| - | - |
| **Mount Data Disk** | Select whether to mount a data disk. |
| **FsType** | Select the file system type for the disk. Currently, `ext4` and `xfs` are available. |
7. In the **Authentication** section, configure the logon credential.
| Parameter | Description |
| - | - |
| **Logon Credential** | Select **Custom Password** or **Key Pair**. |
| **Logon Username** | Select a logon username. Currently, `root` and `ces-user` are supported. |
| **Logon Password / Confirm Password** | When **Custom Password** is selected, enter and confirm the logon password. |
| **Select Key Pairs** | When **Key Pair** is selected, choose an existing key pair. If you plan to use key pair logon but do not currently have an available key pair, first [manage key pairs](/gpu-cloud/instance/manage-key-pairs); otherwise, you cannot continue to select a key pair. |
8. In the **Options** section, choose whether to install optional components.
| Parameter | Description |
| - | - |
| **Install Assistant** | After installation, the platform can assist in maintaining CES instances. |
| **Install Monitor** | After installation, instance monitoring data can be collected for monitoring and alerts. |
9. Check the **Estimated Cost** on the right and confirm the Instance Type, quantity, and Balance information.
10. Click **Continue** to proceed to the **Review** step.
11. After verifying that the configuration is correct, submit the creation request. Once creation is complete, verify on the **Instance** page that the instance status is as expected.
# Create GPU Instance
Source: https://docs.scitix.ai/gpu-cloud/instance/create-gpu-instance
Learn how to create a GPU Instance and configure the billing mode, network, specifications, Image, storage, and Logon Credential.
After creating a GPU instance, you can run deep learning training, model fine-tuning, inference services, or other GPU-accelerated tasks on the instance. GPU instances use bare-metal resources. When creating one, you must configure the billing mode, region, network, specifications, image, storage, logon credential, and optional components.
## Procedure
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Instance** page.
2. On the **GPU Instance** tab, click **Create GPU Instance**.
3. In the **Billing mode** section, select a billing mode.
| Parameter | Description |
| - | - |
| **Pay-as-you-go** | Billed based on actual usage duration. Suitable for short-term tasks, temporary validation, or tasks with an uncertain runtime. |
| **Subscription** | Billed by subscription period. Suitable for tasks that run stably over the long term. Subscription durations of 1 month, 3 months, 6 months, 12 months, and 24 months are available. |
4. In the **Basic Information** section, configure the HostName and Region.
| Parameter | Description |
| - | - |
| **HostName** | The instance hostname. You can select **IP Address-based Hostname** and specify a hostname prefix, or select **Custom** and enter a hostname. When creating instances in batches, running multi-node tasks, or distinguishing node order by hostname, after selecting **Custom**, you can optionally select **Custom Hostname Order** to make hostnames easier to identify and manage later. |
| **Region** | The region where the instance is located. The region cannot be changed after the instance is created. |
5. In the **Instance & Image** section, select the network, specifications, Image, and runtime environment.
| Parameter | Description |
| - | - |
| **Instance** | GPU Instance currently uses a Bare Metal Instance. |
| **RDMA** | Select the RDMA network to be used by the instance. |
| **Instance Spec** | Select a specification that meets task requirements. Specification cards display vCPU, Memory, GPU model, Price, and the number of instances that can be created. |
| **Image** | Select the base OS image to be used by the instance. |
| **Install GPU Driver** | Choose whether to install the GPU driver. When running GPU tasks, it is recommended that you confirm the driver version based on the image, CUDA, framework, and task requirements. |
| **Driver Version** | If Install GPU Driver is selected, select the GPU Driver Version. |
| **Container Network Mode** | Used to configure the network initialization mode for the instance. |
If your workload has no specific container network requirements, we recommend keeping the default options. If existing workloads depend on legacy provisioning network behavior, select **Use Legacy Provisioning Behavior**.
6. In the **Storage** section, configure the data disk.
| Parameter | Description |
| - | - |
| **Mount Data Disk** | Select whether to mount a data disk. |
| **FsType** | Select the file system type for the disk. Currently, `ext4` and `xfs` are available. |
7. In the **Authentication** section, configure the **Logon Credential**.
| Parameter | Description |
| - | - |
| **Logon Credential** | Select **Custom Password** or **Key Pair**. |
| **Logon Username** | Select a logon username. Currently, `root` and `ces-user` are supported. |
| **Logon Password / Confirm Password** | When **Custom Password** is selected, enter and confirm the logon password. |
| **Select Key Pairs** | When **Key Pair** is selected, choose an existing key pair. If you plan to use key pair logon but do not currently have an available key pair, [create a key pair](/gpu-cloud/instance/manage-key-pairs) first. |
8. In the **Options** section, select whether to install optional components.
| Parameter | Description |
| - | - |
| **Install Assistant** | After installation, the platform can assist in maintaining CES instances. |
| **Install Monitor** | After installation, instance monitoring data can be collected and used for monitoring and alerts. |
9. Check the **Estimated Cost** on the right, and confirm the Instance Type, quantity, and Balance information.
10. Click **Continue** to proceed to the **Review** step.
11. After verifying that the configuration is correct, submit the creation request. Once creation is complete, confirm that the instance status is as expected on the **Instance** page.
# Delete Instance
Source: https://docs.scitix.ai/gpu-cloud/instance/delete-instance
Learn about the impacts to confirm before deleting one or more CES instances and how to delete instances.
If you no longer need an instance, you can delete it. Deleting an instance may make it unrecoverable and interrupt tasks running on it. You can delete a single instance or delete multiple instances in batches from the instance list.
## Review Before Proceeding
* No tasks are running on the instance.
* Required data, training outputs, model files, and logs have been saved to persistent storage.
* You have confirmed the billing and resource-release implications of deleting the instance.
* If deletion protection is enabled for the instance, disable it first.
* Batch deletion affects multiple instances. Before proceeding, confirm the scope of instances.
## Impact After Deletion
| Impact | Description |
| - | - |
| Task interruption | Training, inference, or data processing tasks on the instance will be interrupted. |
| Instance unavailable | After deletion, you can no longer log in to the instance or run tasks on it. |
| Data risk | Data stored locally on the instance or on the system disk or data disk may not be recoverable. |
| Storage access interruption | If the instance has mounted a GPFS file system, it will no longer be able to access the file system after the instance is deleted. |
## Procedure
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Instance** page.
2. On the **GPU Instance** or **CPU Instance** tab, select the instance to delete.
* Delete a single instance: In the instance Actions column, click , then select **Delete**.
* Batch delete: After selecting multiple instances, click **Delete** in the action area at the bottom.
3. In the confirmation dialog box, review the instance information and precautions, then confirm the deletion.
4. Return to the instance list and confirm that the instance has been deleted or its status has been updated.
## Frequently Asked Questions
> [accordion] Why can't I delete an instance?
>
> Whether an instance can be deleted depends on its status and deletion protection status. If deletion protection is enabled for the instance, disable it first. If you still cannot delete the instance, check whether its status supports deletion.
# Instance Overview
Source: https://docs.scitix.ai/gpu-cloud/instance/instance-overview
Learn about CES instance use cases, resource selection, pre-creation decisions, and common management tasks.
A CES instance is a computing resource in the GPU Cloud that you can log in to and use directly. Like a server, you can prepare the runtime environment, access data, and run training or inference tasks on an instance. Depending on the task status, you can start, stop, restart, renew, or delete the instance.
If your tasks require direct control of the OS environment, temporary debugging, running standalone tasks, or managing a small number of fixed resources, prioritize CES instances. If you need to run containerized workloads over the long term, centrally schedule multiple nodes, or manage applications using Kubernetes-native capabilities, CKS clusters are recommended.
## Select Instance Type
CES instances are classified as GPU Instances and CPU Instances. Before creating one, select an instance type based on whether the task requires GPU acceleration.
| Instance Type | Applicable Scenarios | Resource Types Available at Creation |
| - | - | - |
| GPU Instance | Deep learning training, model fine-tuning, inference services, and GPU-accelerated computing. | Bare metal. |
| CPU Instance | General computing tasks such as data preprocessing, scheduling services, development environments, lightweight services, and file storage clients. | Virtual machines or bare metal. |
GPU Instances are suitable for tasks that require direct access to GPU resources. CPU Instances are suitable for tasks that do not rely on GPU acceleration. If a CPU task has requirements for resource scale, hardware isolation, or RDMA networking, you can select a Bare Metal Instance when creating it.
## What You Need to Decide Before Creating
Before creating an instance, we recommend confirming the following items to avoid rework caused by mismatched specifications, Logon Credential, or data access methods after creation.
| Item | Details to Confirm |
| - | - |
| Task type | Confirm whether the task requires GPUs, whether it needs to run on a single machine or collaboratively across multiple nodes, and whether the instance environment needs to be retained long term. |
| Billing method | Pay-as-you-go is suitable for short-term tasks or tasks with an uncertain duration; subscription is suitable for resources intended for long-term, stable use. |
| Region and network | The instance is created in a specified region and requires you to select its network. When subsequently using an EIP, NAT Gateway, or VPC, ensure that it matches the region and network associated with the instance. |
| Instance specification | The specification determines information such as vCPUs, memory, GPUs, RDMA, and price. When selecting a specification, consider the task's resource requirements, available inventory, and budget. |
| Image and drivers | The image determines the base operating system. GPU tasks typically also require an appropriate GPU driver version based on the framework, CUDA version, or task requirements. |
| Logon method | Password login and key pair login are supported. Before selecting key pair login, prepare an available key pair. |
| Data access | To access shared datasets, model weights, or training outputs, you can plan the GPFS file system mount path in advance. For object-based access, you can use OSS. |
| Monitoring and alerts | If you need to continuously monitor resource usage or configure alerts, it is recommended that you install monitoring when creating the instance. |
When creating instances in batches, if you need to distinguish the node order by HostName, you can select Custom HostName and enable HostName with a custom sequence as needed, making it easier for multi-node tasks to identify node roles and for subsequent operations and maintenance.
## How to Use It After Creation
After the instance is created and ready, it is typically used as follows:
1. Connect to the instance using the Logon Credential selected when creating the instance.
2. Prepare the runtime environment, for example, by installing dependencies, configuring frameworks, or pulling images.
3. Prepare the data required for the task. Select an appropriate storage location and complete the necessary preparations based on whether the data needs to be shared between instances, transferred to or from the local environment, or retained long term.
4. Run common compute tasks such as training, inference, or data processing.
5. Use Monitor to view resource utilization, use Logs to view task output and troubleshoot errors, and use Alerts to receive timely notifications of resource or task exceptions.
6. After the task is complete, Stop, Renew, or Delete the instance depending on whether the resource is still needed.
## Common Management Tasks
After an instance is created, go to the **Instance** page and manage it under the **GPU Instance** or **CPU Instance** tab. The available actions may vary depending on the status and billing method.
| Task | Applicable Scenario | Notes |
| - | - | - |
| Start, stop, or restart an instance | Manage the instance power status, resume operation, or temporarily release runtime resources. | Stopping or restarting interrupts running tasks. |
| Mount or unmount a file system | Enable an instance to access shared data in a GPFS file system. | Before unmounting, ensure that tasks no longer read from or write to the mount path. |
| Find mount points or manage clients | Check the file system mount status on instances in batches, or manage file storage clients. | Before performing batch operations, confirm the scope of instances. |
| Reinstall the instance OS | The operating system environment is abnormal and needs to be restored. | The current system reinstallation does not support selecting an image again and deletes system disk data. |
| Modify deletion protection | Reduce the risk of accidentally deleting an instance. | If deletion protection is enabled, disable it before deleting the instance. |
| Renew an instance | A Subscription instance is nearing expiration and its usage period needs to be extended. | Renewal incurs charges. Before proceeding, confirm the renewal period and fees. |
| Delete an instance | The instance is no longer needed. | Before deletion, confirm the tasks, data, mount relationships, and billing impact. |
## Security and Data Risks
* Key pairs and account passwords are both login credentials. Keep them secure, and do not include them in public repositories, images, script templates, or logs.
* Data stored locally on an instance or on system disks or data disks may be unrecoverable after deletion, reinstallation, or unexpected operations. Save important data to persistent storage.
* Delete, Stop, restart, reinstallation, and batch operations may interrupt tasks. Before proceeding, confirm the task status and scope of impact.
* To reduce the risk of accidental deletion, you can enable deletion protection for important instances.
# Manage instance storage mounts
Source: https://docs.scitix.ai/gpu-cloud/instance/manage-instance-storage
Mount and unmount GPFS file systems for CES instances, find mount paths, and manage clients through the console.
CES instances access shared GPFS data through local mount directories. Use the instance page to mount and unmount file systems for one or more instances, find mount paths, and manage clients.
## Mount a file system
Before mounting, ensure that the file system is in the `Running` state and in the same region as the instance. Choose a local path that does not conflict with an existing mount.
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to **Instance**.
2. Select the target instances on the **GPU Instance** or **CPU Instance** tab.
* For a single instance, click  in its actions column and select **Storage Operations > Mount File System**.
* For multiple instances, select them and click **Mount File System** in the bottom actions area.
3. In the **Mount GPFS File System** panel, configure the mount service, file system binding, clients, and mount paths. See [Mount from the instance page](/gpu-cloud/storage/mount-gpfs-file-system#mount-from-the-instance-page) for the detailed steps.
4. After mounting completes, find the mount paths and log in to the instances to verify data access.
## Unmount a file system
> [!WARNING]
>
> Unmounting interrupts data access through the mount path. Stop related read and write tasks, ensure that no processes are using the directory, and verify the selected instances and mount path before proceeding.
1. Select one or more instances on the **GPU Instance** or **CPU Instance** tab.
2. Click  in the bottom actions area and select **Unmount**.
3. In the **Umount File System** panel, enter the local path in **Mount Path**, verify the target **Nodes**, and click **Umount**.
4. After the operation completes, find the mount paths again to verify the result. See [Unmount a file system](/gpu-cloud/storage/mount-gpfs-file-system#unmount-a-file-system) for details.
## Find mount paths
Find mount paths to check which file systems an instance has mounted or to verify mounting and unmounting results.
1. Select one or more instances on the **GPU Instance** or **CPU Instance** tab.
2. Click  in the bottom actions area and select **Find Mount path on CES**.
3. Configure the query in the **Find Mount** panel.
| Parameter | Description |
| - | - |
| **Nodes** | The nodes whose mounts you want to query. Verify that the selected instances are included. |
| **Mount Path** | Optional. The local mount path to query. |
4. Click **Find** to view the results. Opening the panel does not run the query.
## Manage clients
> [!WARNING]
>
> Stop related read and write tasks and unmount the associated file systems before removing a client.
1. Select one or more instances on the **GPU Instance** or **CPU Instance** tab.
2. Click  in the bottom actions area and select **Manage Client**.
3. Select the mount service and verify the nodes, then follow the prompts to add or remove clients. See [Manage clients](/gpu-cloud/storage/manage-gpfs-mount-service#manage-clients) for configuration details.
# Manage Key Pairs
Source: https://docs.scitix.ai/gpu-cloud/instance/manage-key-pairs
Learn how to create, import, and delete key pairs, and review security considerations for using key pairs to log in to CES instances.
Key Pairs are used to log in to CES instances through SSH. When creating an instance, if you select **Key Pair**, you must first prepare an available key pair.
A key pair consists of a public key and a private key. The platform stores the public key, while users are responsible for storing the private key. When a key pair is generated automatically, the private key file is available for download only once. Please save it to a secure location immediately.
## Usage Recommendations
* When centralized management of login credentials is required to reduce the risk of password exposure, we recommend using Key Pair login.
* In shared environments, do not share the same private key file among multiple users. Manage access credentials separately by user or operational process.
* Do not upload private key files to public code repositories, images, script templates, ticket attachments, or logs.
* If a private key is compromised, we recommend deleting the corresponding Key Pairs and changing the access method for instances that use the Key Pair for login.
## Create Key Pairs
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Instance** page.
2. Click the **Key Pairs** tab, then click **Create Key Pair**.
3. Enter a name.
4. Select **Creation Method**.
| Parameter | Description |
| - | - |
| **Automatic Creation** | The system automatically generates a key pair and provides a one-time download of the private key file (`.pem`). Keep the private key secure, as the platform does not retain a copy. |
| **Import Public Key** | Create a key pair using an existing SSH public key. This is suitable when you have already generated a key pair locally or in another system and only need to import the public key to the platform. |
5. If you select **Import Public Key**, paste the prepared SSH public key content.
6. Click **Confirm**.
After creation is complete, confirm that the Key Pairs have been created. When using **Auto Create**, immediately download and save the private key file.
## Delete Key Pairs
### Confirm Before Deletion
* It has been confirmed that this key pair is no longer needed to log in to newly created CES instances.
* It has been confirmed whether any instances or O\&M processes still depend on this key pair.
* If the key pair needs to be deleted due to exposure, also check the access methods of instances that use this key pair.
### Deletion Steps
1. On the **Key Pairs** tab, locate the key pair to delete.
2. Click **Delete**.
3. In the confirmation dialog, verify the Key Pairs information and confirm the deletion.
After you delete a key pair, it can no longer be selected when creating instances. The platform will not automatically delete saved private key files. Handle them in accordance with your internal security requirements.
# Reinstall the Instance System
Source: https://docs.scitix.ai/gpu-cloud/instance/reinstall-instance-os
Learn about data risks before reinstalling the CES instance system and how to perform the reinstallation.
If the instance OS environment is abnormal, you can reinstall the instance system. Currently, reinstalling the system does not support selecting a different OS image.
> [!WARNING]
>
> Reinstalling the system is a high-risk operation. After the system is reinstalled, data on the CES instance system disk will be deleted and cannot be recovered. Before reinstalling, ensure that any data you need to retain has been backed up.
## Pre-Operation Confirmation
* Reinstalling the operating system will interrupt tasks currently running on the instance.
* After the operating system is reinstalled, data on the CES instance system disk will be deleted and cannot be recovered. Back up any data you need to retain before proceeding.
* If the instance has a GPFS file system mounted, confirm whether reinstalling the operating system will affect the mount configuration.
## Procedure
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Instance** page.
2. On the **GPU Instance** or **CPU Instance** tab, locate the instance whose operating system needs to be reinstalled.
3. Click  in the instance Actions column, and select **Reinstall System**.
4. In the confirmation dialog box, review the instance information and risk notice, then confirm the reinstallation.
5. Return to the instance list and check the reinstallation status. After reinstallation is complete, check whether you can log in to the instance and whether the required network, storage, and GPU capabilities are available.
## Frequently Asked Questions
> [accordion] Why can't I see the Reinstall System option?
>
> The Reinstall System option depends on the current status of the instance. If you do not see **Reinstall System**, first confirm whether the instance status supports reinstallation.
# Renew instance
Source: https://docs.scitix.ai/gpu-cloud/instance/renew-instance
Learn how to renew one or more subscription-based CES instances.
If a Subscription instance is nearing expiration, you can renew the instance to extend its usage period. You can renew a single instance or renew multiple instances in batches.
## Pre-Action Confirmation
* Renewal incurs charges. Before proceeding, confirm the renewal period and pricing information.
* Bulk renewal affects multiple instances at the same time. Before proceeding, confirm the scope of instances.
* If an instance has expired or is in an abnormal billing status, confirm whether it can still be renewed.
## Procedure
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Instance** page.
2. On the **GPU Instance** or **CPU Instance** tab, select the Subscription instances that you want to renew:
* Renew a single instance: Click  in the Actions column of the instance, then select **Renew**.
* Renew multiple instances: Select multiple instances, click  in the action area at the bottom, and then select **Renew**.
3. Select a renewal period and confirm the pricing information.
4. Submit the renewal.
5. Return to the instance list to view the instance renewal status.
## FAQ
> [accordion] Why can't I find the renewal option?
>
> The renewal option depends on the instance billing method and status. If you do not see **Renew**, first confirm that the instance is a Subscription instance and that its status supports renewal.
# Start, Stop, and Restart Instances
Source: https://docs.scitix.ai/gpu-cloud/instance/start-stop-restart-instance
Learn how to start, stop, and restart one or more CES instances.
After an instance is created, you can start, stop, or restart it as needed for your tasks. You can perform actions on a single instance, or select multiple instances in the instance list and perform the same action in batches.
## Action Instructions
| Actions | Applicable Scenario | Impact |
| - | - | - |
| Start | The instance has been stopped and needs to be used again. | After being started, the instance can continue running tasks. |
| Stop | The instance is temporarily not needed. | After being stopped, the instance cannot continue running tasks. |
| Restart | You need to restart the OS or restore the instance to a running state. | The instance is unavailable during the restart, and running tasks may be interrupted. |
## Pre-Action Confirmation
* There are no training, inference, or data processing tasks on the instance that cannot be interrupted.
* Task outputs or model files that need to be retained have been saved to persistent storage.
* Batch operations affect multiple instances at the same time. Confirm the scope of instances before proceeding.
## Procedure
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Instance** page.
2. On the **GPU Instance** or **CPU Instance** tab, find the instance you want to manage.
3. Perform start, stop, or restart actions.
* Single action: Click  in the Actions column of the instance, then select **Start**, **Stop**, or **Restart**. If the target action is displayed directly in the Actions column, you can click it directly.
* Batch stop: After selecting multiple instances, click **Stop** in the action area at the bottom.
* Batch start or restart: After selecting multiple instances, click  in the action area at the bottom, then select **Start** or **Restart**.
4. Confirm the action in the confirmation dialog box.
5. Return to the instance list and view changes in instance status.
## Frequently Asked Questions
> [accordion] Why can't I see a specific action?
>
> Available actions depend on the current status of the instance. For example, a running instance does not need to be started again, and a stopped instance cannot be stopped directly. If you do not see the desired action, first confirm whether the instance status supports that action.
# Query and Analyze Logs
Source: https://docs.scitix.ai/gpu-cloud/log/query-logs
Learn how to query logs by log type, time range, keywords, and filters, and troubleshoot issues using raw logs and log clustering.
On the Logs page, you can query logs by log type and locate target logs using a time range, keywords, and filter criteria. Query results support two views: **Raw Logs** and **Log Patterns**. The former displays individual log details, while the latter aggregates similar logs and identifies frequent error patterns.
To troubleshoot resources or workloads in a CKS cluster, go to the **OBSERVABILITY > Logs** page from the cluster workbench. The system presets the query scope based on the current cluster. You can further adjust the log type, time range, keywords, and filter criteria.
## Applicable Scenarios
Querying logs is suitable for the following scenarios:
* Troubleshoot abnormal resource, task, or application behavior.
* Search for application errors, task output, or debugging information by keyword.
* Filter logs by log fields.
* View aggregated results for similar logs through log clustering.
* Export query results for issue tracking or technical support troubleshooting.
## Query Logs
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to the **Logs** page.
To query from the cluster entry point, go to the **Clusters** page, click the name of the target cluster to open the cluster workbench, and then go to **OBSERVABILITY > Logs**.
2. Under **Kind**, select a log type, for example, `container_stdout`.
3. Select the time range to query.
4. Enter log keywords in the search box.
The search box supports full-text matching of log content. If no keyword is specified, the system queries logs based on the current log type, time range, and filter criteria.
5. To further narrow the scope, click **Add Filter** and add field-based filter conditions.
Filtering criteria and search criteria apply simultaneously to both the **Raw Logs** and **Log Patterns** views.
6. Click **Search**.
Log query results provide up to the first 5 pages. If there are many logs, narrow the time range or add keywords and filter criteria.
## View Raw Logs
On the **Raw Logs** tab, you can view log entries that match the current query criteria. When troubleshooting a specific issue, first use the time distribution to identify periods with concentrated anomalies, then use fields and log content to determine the scope of affected resources.

When viewing raw logs, focus on the following information:
| Information | Description |
| - | - |
| Record count | The total number of log records matching the current query criteria. |
| Time distribution | The distribution of logs within the current time range. Drag the chart to select a time interval and narrow the query scope. |
| Field list | Adjust the fields displayed in the results table, view candidate field values, and add candidate values to the filter criteria. Available fields include `_timestamp`, `region`, `cluster`, `namespace_name`, `pod_name`, `container_name`, and `log`. |
| Log content | View specific log text and use resource fields to locate the corresponding cluster, namespace, Pod, container, or node. |
### Filter Logs by Field
* In **Available Fields** on the left, click the **+** next to a field to add it to **Selected Fields**. The Logs results table displays results based on the selected fields.
* Click a field name to view its candidate values. In the candidate value list, click the **+** next to the desired value to filter Logs by that value.

### Filter Logs by Time Range
Drag to select a time interval in the time distribution chart to quickly configure the time range. After selection, the time range at the top of the page is updated accordingly.

## View Log Clusters
When there are many query results or you need to quickly identify frequent errors, switch to the **Log Patterns** tab to view aggregated results for similar logs.
Log clustering uses the current search criteria, filter criteria, and time range. You can first narrow the scope by using keywords and field filters, then switch to the **Log Patterns** tab to view the aggregation results.

On the **Log Patterns** tab, you can view the following information:
| Information | Description |
| - | - |
| **Count** | The number and percentage of logs matching the current clustering pattern. A higher count indicates that it should be prioritized to determine whether it is a common issue. |
| **Log Distribution** | The distribution of the current clustering pattern within the time range. This can be used to determine whether the issue persists or occurs in a concentrated burst. |
| **Log Pattern** | The aggregated log template. Placeholders such as ``, ``, ``, ``, and `` represent normalized variable content. |
| **Cluster Field** | The field used to aggregate logs, typically `log`. |
| **Sample Size** | The number of log samples used to generate clustering results. With a larger sample size, the clustering results more closely reflect the overall distribution within the current query range. |
## Export Logs
To save or share the query results, click the download icon in the upper-right corner of the page to export the logs.
Before exporting, verify the time range, search keywords, and filter criteria to avoid exporting too many irrelevant logs.
## What should I do if I cannot find logs?
If the expected logs are not found, first check the following:
| Check Item | Description |
| - | - |
| Log type | Confirm that the correct **Kind** is selected, for example, `container_stdout`. |
| Time range | Confirm that the time range covers when the issue occurred. |
| Search keywords | Confirm that the keywords are not too restrictive. If necessary, clear the keywords and query again. |
| Filter criteria | Confirm that there are not too many filter criteria and that field values are entered correctly. |
| Resource name | When querying `container_stdout` logs, confirm that the cluster, namespace, pod, container, or workload name is correct. |
| Log output | When querying `container_stdout` logs, confirm that the target container outputs standard output logs. |
If you still cannot query the logs, record the query criteria, time range, resource name, and error message, and contact technical support.
# Monitor Overview
Source: https://docs.scitix.ai/gpu-cloud/monitoring/monitoring-overview
Learn about the resource types and usage paths supported by GPU Cloud Monitor.
GPU Cloud provides monitoring capabilities to help you view the operating status of computing, cluster, storage, and network resources. You can go to **OBSERVABILITY > Monitor** and filter monitoring data by resource type, region, resource name, and time range to assess resource loads, identify performance anomalies, or help troubleshoot task issues.
This topic helps you understand the resource types supported by Monitor and the basic usage workflow. For details about metrics, see the monitoring documentation for the corresponding resource type.
## Supported Resource Types
Monitor supports viewing data by resource type:
| Resource Type | Applicable Scenario | Main Metric Categories |
| - | - | - |
| GPU Instance | View the resource status of GPU-type CES instances. | GPU, resource monitoring, disk, network. |
| CPU Instance | View the resource status of CPU-type CES instances. | Resource monitoring, disk, network. |
| Cluster Overview | View the overall resource status of the CKS cluster. | Nodes, Pods, compute utilization, memory, I/O throughput. |
| CES | View basic system and network metrics for CES resources. | CPU/MEM/LOAD, Disk Metrics, Infiniband. |
| GPFS file system (displayed as **Xstor** under Resource Type) | View capacity and performance metrics for the GPFS file system. | Capacity Summary, Performance Summary. |
| VPC | View public network bandwidth metrics for the VPC. | Internet Uplink bandwidth, Internet Downlink bandwidth. |
| Traffic | View traffic-related monitoring. | Refer to the charts displayed after selecting a resource for specific metrics. |
## Usage workflow
When viewing monitoring data, you typically follow this path:
1. Go to **OBSERVABILITY > Monitor**.
2. Select a resource type.
3. Select a region and specific resources. When viewing the **Cluster Overview**, you can also filter by namespace or Pod.
4. Select a time range.
5. View the metrics charts.
6. To retrieve the latest data, click **Refresh**.
## Usage Recommendations
* To determine whether an individual CES instance is busy, view the corresponding **GPU Instance** or **CPU Instance** monitoring data.
* To determine the overall load of a CKS cluster, view the **Cluster Overview** monitoring data.
* To view dedicated metrics for CES, a GPFS file system, or a VPC, select the corresponding resource type. When viewing GPFS file system monitoring data, select **Xstor** under **Resource Type**.
* If a chart displays No data, first verify that the resource and time range are correct.
* If metrics are abnormal, continue troubleshooting by reviewing logs and alert history.
## Related Documentation
* [View GPU Instance Monitoring](/gpu-cloud/monitoring/view-gpu-instance-monitoring)
* [View CPU Instance Monitoring](/gpu-cloud/monitoring/view-cpu-instance-monitoring)
* [View Cluster Overview Monitoring](/gpu-cloud/monitoring/view-cluster-overview-monitoring)
* [View CES Monitoring](/gpu-cloud/monitoring/view-ces-monitoring)
* [View GPFS File System Monitoring](/gpu-cloud/monitoring/view-gpfs-file-system-monitoring)
* [View VPC Monitoring](/gpu-cloud/monitoring/view-vpc-monitoring)
# View CES Monitor
Source: https://docs.scitix.ai/gpu-cloud/monitoring/view-ces-monitoring
Learn how to view system, disk, and InfiniBand monitoring data for CES resources.
You can view monitoring data for CES resources to understand the operating status of the CPU, memory, load, disks, and InfiniBand.
## View Monitoring Data
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to **OBSERVABILITY > Monitor**.
2. Select **CES** under **Resource Type**.
3. Select a region and the target resource.
4. Select a time range.
5. View monitoring charts.
CES monitoring includes the following metric groups:
| Group | Metrics | Description |
| - | - | - |
| CPU/MEM/LOAD | CPU Usage(%)、Memory Usage(GB)、System Load | View CPU usage, memory usage, and system load. |
| Disk Metrics | Disk Usage(B)、Inode Usage(%)、Disk I/O(Bps)、Disk I/O Count(count/s)、Infiniband Receive(B/s)、Infiniband Transmitted(B/s) | View disk capacity, inodes, disk I/O, and InfiniBand data transmission and reception. |
**Memory Usage (GB)** can display curves for `memory used`, `memory buffers`, `memory cached`, `memory free`, and `memory total`. **System Load** can display the 1-minute, 5-minute, and 15-minute load averages, as well as the number of logical cores.
If some charts display **No data**, check whether the resources and time range are correct.
6. To retrieve the latest data, click **Refresh**.
When viewing metrics, pay close attention to trends in CPU Usage (%), Memory Usage (GB), System Load, Disk Usage (B), and InfiniBand send/receive metrics. When investigating resource anomalies, it is recommended to assess them together with instance monitoring, logs, and alarm history.
# View Cluster Overview Monitor
Source: https://docs.scitix.ai/gpu-cloud/monitoring/view-cluster-overview-monitoring
Learn how to view the CKS cluster overview monitor and assess the overall resource status of the cluster.
You can view the CKS cluster overview monitoring to understand the overall status of cluster nodes, Pods, compute resources, memory, and I/O. You can access full monitoring from the **OBSERVABILITY > Monitor** page, or access the monitoring view for a target cluster from the **Clusters** page.
## View Monitoring Data
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to **OBSERVABILITY > Monitor**.
To view it from the cluster entry point, go to the **Clusters** page, click the name of the target cluster to open the cluster workspace, and then go to **OBSERVABILITY > Monitor**. When accessed from the cluster workspace, monitoring is scoped to the current cluster.
2. Select **Cluster Overview** under **Resource Type**.
3. Select a Region and the target CKS cluster.
4. To narrow the scope, select a namespace or Pod.
5. Select a time range.
6. View the overview cards and monitoring charts.
The cluster overview provides the following information:
| Information | Description |
| - | - |
| **Node Quantity** | The number of nodes in the current cluster. |
| **Pod Quantity** | The number of pods within the current filter scope. |
| **GPU Computing Power Utilization** | GPU computing power utilization within the current filter scope. |
| **CPU Utilization** | CPU utilization within the current filter scope. |
Cluster overview monitoring includes the following metric groups:
| Group | Metrics | Description |
| - | - | - |
| Compute utilization | Average CPU utilization (%), average GPU compute utilization (%), total GPU memory usage (GiB) | View overall CPU, GPU compute, and GPU memory usage for the cluster. The average CPU utilization chart can display both the `req` and `limit` curves. |
| Memory | Average memory utilization (%), average GPU memory utilization (%) | View overall memory and GPU memory usage for the cluster. The average memory utilization chart can display both the `req` and `limit` curves. |
| I/O throughput | Average network I/O (Mbps), average disk I/O (IO/s) | View overall network and disk I/O status for the cluster. The average disk I/O chart can display both the `Read` and `Write` curves. |
If some charts display **No Data**, check whether the selected scope contains workload or resource usage data of the corresponding type. If a chart fails to load, retain the resource, time range, and error information, and contact technical support.
7. To retrieve the latest data, click **Refresh**.
When viewing metrics, focus on trends in average CPU utilization, average GPU compute utilization, average memory utilization, average GPU memory utilization, average network I/O, and average disk I/O. When troubleshooting workload issues, evaluate them together with workload status, logs, and alarm history.
# View CPU Instance Monitor
Source: https://docs.scitix.ai/gpu-cloud/monitoring/view-cpu-instance-monitoring
Learn how to view monitoring data for CPU-type CES instances.
You can view monitoring data for CPU-type CES instances to assess their CPU, memory, disk, and network resource usage.
## View monitoring data
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to **OBSERVABILITY > Monitor**.
2. Select **CPU Instance** for **Resource Type**.
3. Select the region and target instance.
4. Select a time range.
5. View monitoring charts.
CPU Instance monitoring includes the following Metrics groups:
| Group | Metrics | Description |
| - | - | - |
| Resource Monitoring | CPU utilization (%), system memory (%), load average (1m), memory page faults | View the instance CPU, system memory, load, and memory page fault status. |
| Disk | Disk usage (GiB), disk utilization (%), inode utilization (%), disk throughput (MiB/s) | View file system capacity, disk usage, inode usage, and disk read/write throughput. |
| Network | Inbound network traffic (Mbps), outbound network traffic (Mbps), TCP connections | View inbound network traffic, outbound network traffic, and the number of TCP connections. |
Disk metrics may display multiple curves by mount path or device. Common examples are as follows:
* `/`
* `/boot/efi`
* `/var/lib/containers/storage/overlay`
* Specific disk device name
If some charts display **No Data**, confirm that the instance status, task runtime, and time range are correct.
6. To obtain the latest data, click **Refresh**.
When viewing Metrics, pay particular attention to trends in CPU utilization, system memory, average load, disk usage, and network traffic. When troubleshooting task issues, it is recommended to review task logs together with alert history.
# View GPFS File System Monitor
Source: https://docs.scitix.ai/gpu-cloud/monitoring/view-gpfs-file-system-monitoring
Learn how to view capacity and performance monitoring data for GPFS file systems.
You can view monitoring data for GPFS file systems to check the status of file system capacity, inodes, throughput, latency, and the number of I/O operations. When viewing GPFS file system monitoring, select **Xstor** under **Resource Type**.
## View Monitor Data
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to **OBSERVABILITY > Monitor**.
2. Select **Xstor** for **Resource Type**.
3. Select a region and the target resource.
4. Select a time range.
5. View monitoring charts.
GPFS file system monitoring includes the following metric groups:
| Group | Metrics | Description |
| - | - | - |
| Capacity Summary | FileSystem Capacity, FileSystem Inode | View file system capacity and inode status. |
| Performance Summary | Read/Write Throughput, Read IO Latency (with queue), Write IO Size, WriteIO Latency (with queue), IO Operations Count (OPS) | View read/write throughput, read/write latency, write I/O size, and I/O operation count. |
If the chart displays **No data**, check whether the resource and time range are correct.
6. To retrieve the latest data, click **Refresh**.
When viewing metrics, focus on trends in capacity, inodes, read/write throughput, read/write latency, and the number of I/O operations. When troubleshooting storage access issues, consider the mount status, client task logs, and alarm history together.
# View GPU Instance Monitor
Source: https://docs.scitix.ai/gpu-cloud/monitoring/view-gpu-instance-monitoring
Learn how to view monitoring data for GPU-type CES instances.
You can view monitoring data for GPU-type CES instances to assess their GPU, CPU, memory, disk, and network resource usage.
## View Monitoring Data
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to **OBSERVABILITY > Monitor**.
2. Select **GPU Instance** under **Resource Type**.
3. Select a Region and the target instance.
4. Select a time range.
5. View monitoring charts.
GPU Instance monitoring includes the following Metrics groups:
| Group | Metrics | Description |
| - | - | - |
| GPU | GPU compute utilization (%), GPU memory usage (GiB), GPU temperature (℃), GPU power consumption (W) | View the status of GPU compute, memory, temperature, and power consumption. |
| Resource Monitoring | CPU utilization (%), system memory (%), load average (1m), memory page faults | View the instance CPU, system memory, load, and memory page faults. |
| Disk | Disk usage (GiB), disk utilization (%), inode utilization (%), disk throughput (MiB/s) | View file system capacity, disk utilization, inode utilization, and disk read/write throughput. |
| Network | Inbound network traffic (Mbps), outbound network traffic (Mbps), TCP connections | View inbound network traffic, outbound network traffic, and the number of TCP connections. |
Disk Metrics may display multiple curves by mount point or device, such as `/`, `/boot`, `/boot/efi`, or a specific disk device name.
If some charts display **No Data**, confirm that the instance status, task runtime, and time range are correct.
6. To obtain the latest data, click **Refresh**.
When viewing metrics, pay close attention to trends in GPU compute utilization, GPU memory usage, CPU utilization, system memory, disk usage, and network traffic. When troubleshooting task issues, it is recommended to assess them together with task logs and alarm history.
# View VPC Monitor
Source: https://docs.scitix.ai/gpu-cloud/monitoring/view-vpc-monitoring
Learn how to view monitoring data for VPC public network upstream and downstream bandwidth.
You can view public bandwidth monitoring data for the VPC to understand bandwidth changes in the uplink and downlink directions.
## View Monitor Data
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and navigate to **OBSERVABILITY > Monitor**.
2. Select **VPC** under **Resource Type**.
3. Select the Region and target VPC.
4. Select a time range.
5. View monitoring charts.
VPC Monitor includes the following Metrics:
| Metrics | Description |
| - | - |
| Internet Uplink bandwidth | View outbound public network bandwidth. |
| Internet Downlink bandwidth | View inbound public network bandwidth. |
If the chart displays **No data**, verify that the VPC and time range are correct.
6. To retrieve the latest data, click **Refresh**.
When viewing metrics, focus on the peak values, duration, and trends of public network inbound and outbound bandwidth. When troubleshooting network access issues, consider the configurations of the relevant instances, EIPs, and NAT gateways.
# Manage Elastic IP
Source: https://docs.scitix.ai/gpu-cloud/network/manage-eip
Learn how to create and delete EIPs and associate them with a specified VPC.
An EIP provides a static public IP address. When creating an EIP, you need to associate it with the target VPC and select an EIP type.
## Create Elastic IP
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to **CLOUD NETWORKS > Elastic IP**.
2. In the upper-right corner, select the target region.
3. Click **Create EIP**.
4. Configure the EIP.
| Parameter | Description |
| - | - |
| **Name** | The EIP name. We recommend using a name that reflects the business, environment, or purpose. |
| **Associated VPC** | Select the VPC to associate with the EIP. If no VPC is available, create a VPC first. |
| **Type** | Select **Standard** or **High Availability**. |
5. Click **OK**.
After creation, the EIP is displayed in the list.
## Delete Elastic IP
If an EIP is no longer needed, you can delete it.
> [!WARNING]
>
> Deleting an EIP removes the associated public IP address. Before deletion, ensure that no instances, NAT rules, or service access still depend on the EIP.
1. In the Elastic IP list, locate the target EIP and click **Delete**.
2. Follow the on-screen prompts to confirm deletion.
# Manage NAT Rules
Source: https://docs.scitix.ai/gpu-cloud/network/manage-nat-rule
Learn how to create, update, and delete NAT rules to map public IP access to private IP addresses.
NAT rules map access to a public IP address to an instance's private IP address. When creating a NAT rule, select the public IP address, VPC, and private IP address of the target instance. This is equivalent to binding the NAT Gateway to that instance. You can create Port Mapping rules or map the entire public IP address to an instance's private IP address.
## Create NAT Rules
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to **CLOUD NETWORKS > NAT Gateway**.
2. In the upper-right corner, select the target region.
3. Click **Create NAT Rule**.
4. Configure basic information.
| Parameter | Description |
| - | - |
| **Public IP** | Select the public IP used to receive public access. If no public IP is available, create an EIP first. |
| **VPC** | Select the VPC to which the NAT rule belongs. If no VPC is available, Create VPC first. |
| **Private IP** | Select the private IP address of the target instance. If no instance is available, create an instance first. After the NAT rule is created, access to the public IP is forwarded to the instance based on the mapping. |
5. Select the mapping method.
| Mapping Method | Description | Configuration Required |
| - | - | - |
| **Port Mapping** | Maps a specific port on the public IP to the corresponding port on the instance's private IP for targeted access. | **Public Port**, **Private Port**, **Protocol** |
| **Full Port Mapping** | Maps the entire public IP to an instance's private IP, forwarding all traffic without changing ports. | No port configuration required |
6. Click **OK**.
After creation, the NAT rule is displayed in the list.
## Update NAT Rules
You can update the private IP address of the instance bound to the NAT rule and the specific port number used for Port Mapping, but you cannot modify the mapping method of the NAT rule.
1. In the NAT rule list, find the target rule and click **Edit**.
2. Modify the private IP address of the associated instance as needed.
If you are currently using **Port Mapping**, you can also modify the private port.
3. Click **Confirm**.
After the update is complete, confirm that the NAT rule displays the new instance private IP address or port configuration.
The mapping mode of a NAT rule cannot be changed after creation. To switch between **Port Mapping** and **Full Port Mapping**, delete the original NAT rule and create a new one.
## Delete NAT Rule
If a NAT rule is no longer needed, you can delete it.
> [!WARNING]
>
> Deleting a NAT rule stops public-to-private network forwarding for that rule. Before deleting it, ensure that related public network access no longer needs to be forwarded to the target instance through this rule.
1. In the NAT rule list, locate the target rule and click **Delete**.
2. Follow the on-screen prompts to confirm deletion.
# Manage VPC
Source: https://docs.scitix.ai/gpu-cloud/network/manage-vpc
Learn how to create and delete a VPC, and configure its name, public internet access restrictions, and description.
A VPC provides an isolated cloud network environment for GPU Cloud resources. Before creating an EIP or NAT rule, you typically need to prepare a VPC that can be associated.
## Create VPC
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to **CLOUD NETWORKS > VPC**.
2. In the upper-right corner, select the target Region.
3. Click **Create VPC**.
4. Configure the VPC.
| Parameter | Description |
| - | - |
| **Name** | The VPC name. We recommend using a name that reflects the business, environment, or purpose. |
| **Disable Access Public Network** | Select whether to disable public network access for the VPC as needed. |
| **Description** | Additional information about the VPC for easier identification and management later. |
5. Click **OK**.
After creation is complete, confirm that the VPC has been created.
## Delete VPC
If you no longer need a VPC, you can delete it.
> [!WARNING]
>
> After you Delete the VPC, this network configuration will no longer be available. Before deleting it, make sure that you no longer need to use this VPC.
1. In the VPC list, locate the target VPC and click **Delete**.
2. Follow the on-screen prompts to confirm the deletion.
# Configure Registry Artifact Retention Policies
Source: https://docs.scitix.ai/gpu-cloud/registry/configure-artifact-retention
Configure retention rules for registry projects, verify the results with a dry run, then execute them manually or on a schedule.
After multiple image versions have accumulated in a project, you can use retention rules to specify the repositories, tags, and version ranges to retain. First, confirm which versions are still required for deployment or rollback, then perform a trial run and verify the results before deciding whether to execute the rule officially.
> [!WARNING]
>
> Formally executing the retention policy may delete artifacts that do not match the rules, affecting the deployment or rollback of Images in earlier versions. Before execution, ensure that the retention rules cover versions still in use and review the trial run results.
## Create Retention Rule
Each project supports up to 15 retention rules. When multiple rules exist, they are evaluated using an OR relationship: an artifact is retained if it matches any rule.
### Procedure
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home).
2. Go to the **STORAGE > Registry** page.
3. Select the target region, then, on the **Projects** tab, click the name of the target project.
4. In the project sidebar, go to the **Retention Policy** page. In the **Retention Rules** section, click **Add Policy**.
5. Configure the scope of artifacts to retain.
| Configuration Item | Description |
| - | - |
| **Scope** | Specify the repository scope to which the rule applies. When **Project** is selected, you can use a matching pattern to specify a group of repositories within the project; when **Repository** is selected, specify a single repository. Verify whether repositories still required for deployment and rollback are included. |
| **Retention Policy** | Select the retention basis and enter a quantity or time range based on the selected method. You can configure the following:Sort by push time and retain M artifacts. Sort by pull time and retain M artifacts. Retain artifacts pushed within N days. Retain artifacts pulled within N days. Always retain |
| **Tag Matching Pattern** | Use a matching pattern to specify the tags to retain. `**` matches all tags; `v1.0.0*` matches tags starting with `v1.0.0`. Before filling in the pattern, verify the tags still used for deployment or rollback. |
| **Untagged Artifacts** | Choose whether to retain untagged artifacts as needed. |
6. Save the rule, then verify the matching conditions and status in the **Retention Rules** list.
### Recommendation Strategy Examples
The following configuration example can be adjusted as needed for your project.
* **Clean Up Untagged Artifacts**
* Configure: Set the tag matching pattern to `**`, select **Always Retain** as the retention policy, and close **Untagged Artifacts**.
* Description: This rule retains tagged artifacts; untagged artifacts may still be retained by other rules.
* **Retain Versions by Push and Pull History**
* Configure: Create two rules, both with the tag matching pattern set to `**`: one retains `20` artifacts by push time, and the other retains `10` artifacts by pull time.
* Note: `20` and `10` are example quantities and can be adjusted as needed. To retain untagged artifacts, enable **Untagged Artifacts** in the relevant rule.
* **Retain Versions of Key Repositories by Tag Prefix**
* Configure: Create a rule for the `aegis` repository, set the tag matching pattern to `v3*`, and select **Always Retain** as the retention policy.
* Description: Tags beginning with `v3` are retained; other tags are handled according to other rules.
## Trial Run and Result Verification
1. In the **Retention Rules** section, click **Dry Run** and wait for the execution record to be generated.
> [!TIP]
>
> The trial run is only used to preview the scope of artifacts matched by the rule and will not delete any artifacts.
2. In **Execution History**, find the record for this trial run, and verify the repositories involved and the retained results as described in [View Execution History](#view-execution-history).
If the results do not meet expectations, adjust the rules and run a trial again before performing the formal execution.
## Execute Retention Policy
### Manual Execution
After confirming that the trial run results meet expectations, click **Run Now** in the **Retention Rules** section. After execution, you can view the record in **Execution History**.
### Configure Scheduled Execution
In **Trigger Cron**, select **Custom**, enter the Cron expression in the order of “second minute hour day month day of week,” and then click **Save**. The expression uses the UTC timezone. For example, `0 0 2 * * *` indicates execution at 02:00 UTC every day.
Before enabling scheduled execution, ensure that the labels of subsequently added versions are also within the expected retention scope.
## View Execution History
1. Open the **Retention Policy** page for the target project, and click **Refresh** under **Execution History** to retrieve the latest records.
2. Locate the record you want to view, verify the execution status and the repositories involved, and confirm that the result meets expectations.
3. Perform actions in the **Actions** column based on the record status.
* Records that are in progress can be stopped.
* Completed records support viewing logs.

## Adjust or Disable Rules
In the **Retention Rules** list, locate the target rule. Click **Edit** to modify the matching criteria as needed, or click **Disable** to suspend it. When the rule is no longer needed, click **Delete** and follow the prompts to confirm. Before modifying, disabling, or deleting a rule, check whether other rules still cover the versions that need to be retained. After making changes, perform a trial run before executing it formally.
# Configure Registry Webhook
Source: https://docs.scitix.ai/gpu-cloud/registry/configure-container-registry-webhook
Configure event callbacks for registry projects and view webhook delivery records.
A webhook is an event notification mechanism for the container image registry. After you configure a webhook, when an artifact in a project triggers a specified event, the system sends event information to the target address via HTTP POST. You can use webhooks to trigger CI/CD pipelines, synchronize the status of external systems, record audit information, or send notifications.
## Pre-Action Confirmation
* A callback URL (Endpoint) ready to receive HTTP POST requests has been prepared.
* If the callback service requires authentication, authentication headers for request validation have been prepared.
## Create Webhook
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home).
2. Go to **STORAGE > Registry** and select the region where the project is located.
3. On the **Projects** tab, click the name of the target project.
4. In the project sidebar, go to the **Webhook** page and click **Create Webhook**.
5. Fill in the Webhook configuration.
| Configuration Item | Description |
| - | - |
| **Name** | Enter a name that makes it easy to identify the receiving system or purpose. |
| **Description** | Record the callback purpose as needed, for example, image synchronization, audit logging, or external notifications. |
| **Event Type** | Select the events that the downstream system needs to process. Select only the necessary events to prevent external systems from receiving irrelevant notifications. |
| **Target Address** | Enter the receiving address of the callback service, and ensure that the service can receive HTTP POST requests sent by the registry. |
| **Authentication Header** | If the callback service requires requests to include authentication headers, enter the relevant information. Do not include keys in the description or other public content. |
| **Certificate Verification** | When using an HTTPS callback address, choose whether to verify the certificate based on the certificate configuration of the receiving service. |
Select the **Event Type** from the table below. Callback requests sent to the target URL vary by event and typically include the event type, occurrence time, operator, and information about the relevant repository or artifact.
| Event | Event Type | Description | Main Callback Content |
| - | - | - | - |
| Push artifact to repository | `PUSH_ARTIFACT` | Triggered when an artifact is pushed to a repository in a project. | Namespace, repository, resource URL, tag, manifest digest, artifact name, push time, operator. |
| Pull artifact from repository | `PULL_ARTIFACT` | Triggered when an artifact is pulled. | Namespace, repository, manifest digest, artifact name, pull time, operator. |
| Delete artifact from repository | `DELETE_ARTIFACT` | Triggered when an artifact is deleted. | Namespace, repository, manifest digest, artifact name, artifact size, deletion time, operator. |
| Project quota exceeded | `QUOTA_EXCEED` | Triggered when the project quota is exceeded. | Namespace, repository, tag, manifest digest, artifact name, push time, operator. |
| Project quota reaches warning threshold | `QUOTA_WARNING` | Triggered when the project quota reaches the warning threshold. | Namespace, repository, tag, manifest digest, artifact name, push time, operator. |
| Artifact scanning completed | `SCANNING_COMPLETED` | Triggered when an artifact scanning task is completed. This event indicates that the scanning process has finished; it does not mean that the artifact has no vulnerabilities. | Namespace, repository, tag, artifact name, number of vulnerabilities, scan completion time, user who performed the scan. |
| Artifact scanning stopped | `SCANNING_STOPPED` | Triggered when an artifact scanning task is stopped or aborted. This event does not indicate that the scan was completed successfully. | Namespace, repository, tag, artifact name, scan status. |
| Artifact scanning failed | `SCANNING_FAILED` | Triggered when an artifact scanning task fails. This event indicates that the scan did not complete normally. | Namespace, repository, tag, artifact name, error message, user who performed the scan. |
| Artifact replication status changed | `REPLICATION` | Triggered when the status of an artifact replication task changes. | Namespace, repository, tag, manifest digest, artifact name, replication status, operator. |
| Artifact tag retention completed | `TAG_RETENTION` | Triggered when an artifact retention policy has finished executing. | Namespace, repository, retention count, retention rules, deleted artifact results. |
6. Save the configuration, and confirm on the **Webhook** page that the webhook has been created.

## View Delivery Records
1. On the **Webhook** page, locate the target webhook and click the expand icon.
2. View delivery records.
**Payload** is the event content that the webhook actually sends to the target URL. If the external system does not receive the callback, first check whether the webhook is enabled, whether the event type matches, whether the target URL is available, and whether the receiving service can process the current event content.

## Update or Disable a Webhook
* To modify the destination URL, event type, or authentication information, click **Edit** in the **Actions** column for the target webhook, make the changes, and save them.
* To pause event notifications, click **Disable**. Once disabled, the webhook no longer delivers events to the destination URL.
* When the webhook is no longer needed, click **Delete** and follow the prompts to confirm. Before deleting it, ensure that downstream systems no longer depend on the corresponding event notifications.
# Container Image Registry Overview
Source: https://docs.scitix.ai/gpu-cloud/registry/container-registry-overview
Learn about the use cases, core objects, and usage workflow of the container registry.
Container Registry is a private repository in GPU Cloud for storing, managing, and distributing container images and Helm Charts. You can push locally built images or Charts to projects in a specified region, or import images from external repositories for use in local environments, CI/CD pipelines, or CKS clusters.
## Applicable Scenarios
Container image registries are suitable for the following scenarios:
* Before deploying containerized workloads in a CKS cluster, centrally store workload images.
* Manage team-built images by project and tag for pulling in development, testing, or production environments.
* Store Helm Charts to reuse Kubernetes application deployment configurations.
* Import images from external repositories into GPU Cloud, or synchronize images from GPU Cloud to other regions or external repositories.
* Use audit logs, webhooks, and retention policies to trace actions, integrate with downstream systems, and clean up historical artifacts.
## Core Concepts
### Region and Repository Address
The registry provides services by region, and each region has a different registry address. When pushing, pulling, or synchronizing images, use the registry address corresponding to the region where the image is located or the target region.
### Project
A project is used to organize a group of container images or Helm Charts and is also part of an image path. Before pushing, confirm the target region and project. When pulling, you typically need the repository address, project name, image or Chart name, and version information.
Projects can be configured with members and access scopes. When business images, internal components, or other sensitive content are involved, we recommend confirming the access scope when creating the project.
### Artifacts
Container images and Helm Charts are both artifacts in the registry. You can push and pull container images using Docker, and push and pull Charts using Helm. When you need to clean up historical versions, you can configure an artifact retention policy.
### Copy Rules
Replication rules are used to transfer images between different repositories. Select a mode based on the image flow direction:
* Use Pull Mode to import images from an external repository into the GPU Cloud.
* Use Push Mode to synchronize images in the GPU Cloud to other regions or external repositories.
### Governance and Tracking
The registry provides retention policies, webhooks, and audit logs.
* Retention policies are used to clean up historical artifacts that are no longer needed.
* Webhooks are used to notify downstream systems when artifacts change.
* Audit logs are used to query action records in the Registry.
## Usage workflow
**1. Prepare a Project and Members**
Before pushing a Docker image or Helm Chart, create a project in the target region. A project is part of the image path and is also used to manage the access scope of artifacts.
If team members, CI/CD pipelines, or automated tasks need to access artifacts in the project, add members to the project and configure permissions. For details, see [Manage Registry Projects and Members](/gpu-cloud/registry/create-view-container-registry-projects).
**2. Push and Pull Artifacts**
Select the appropriate push and pull method based on the artifact type.
* Docker images: Use Docker to log in to the repository and push local images to the project, or pull and use them in local environments, CI/CD pipelines, or CKS clusters. For details, see [Push and Pull Container Images](/gpu-cloud/registry/push-pull-container-images).
* Helm Charts: Use Helm to log in to the repository and push Charts to the project by version, or pull a specified version in other environments. For details, see [Push and Pull Helm Charts](/gpu-cloud/registry/push-pull-helm-charts).
**3. Copy Image**
If the image needs to be transferred between different repositories or regions, select a copy method based on the image flow.
* When importing an image from an external repository, use Pull Mode. For details, see [Importing Images from External Repositories](/gpu-cloud/registry/import-external-container-images).
* When synchronizing an image to another region or an external repository, use Push Mode. For details, see [Synchronizing Images to Other Regions or Repositories](/gpu-cloud/registry/sync-container-images).
**4. Govern and Track Artifacts**
After an image is added to a project, you can configure governance capabilities based on retention, integration, and audit requirements.
* To clean up unused artifacts, configure the [Registry Artifact Retention Policy](/gpu-cloud/registry/configure-artifact-retention).
* To notify downstream systems when artifacts change, configure the [Registry Webhook](/gpu-cloud/registry/configure-container-registry-webhook).
* To trace actions related to projects, artifacts, or replication, view the [Registry Audit Logs](/gpu-cloud/registry/view-container-registry-audit-logs).
# Manage Registry Projects and Members
Source: https://docs.scitix.ai/gpu-cloud/registry/create-view-container-registry-projects
Create and view Registry projects, add members to projects, and configure access permissions.
Projects are used to organize artifacts such as images and Helm Charts and are also part of image paths. Before pushing an image, create a project in the target region. If team members or automated tasks need to access artifacts in the project, add members to the project and configure permissions.
## Create a Project
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home).
2. Go to **STORAGE > Registry** and select the target region.
3. On the **Projects** tab, click **New Project**.
4. Configure the project information.
| Configuration Item | Description |
| - | - |
| **Project Name** | Used as the project path in the image address. We recommend using a name that clearly identifies the business or environment. |
| **Public** | Select based on the image access requirements. Do not enable public access for images containing sensitive information or intended for internal use only. |
| **Storage Limit** | Sets the available capacity for the project. Refer to the value displayed on the page. |
5. Click **New Project**.
6. After the project is created, return to the **Projects** tab to confirm that the project appears.
## Manage Project Members
### Add Project Members
After members are added to a project, they can access the artifacts in the project according to their roles. Project member permissions apply only to the current project and do not automatically grant access to other projects.
1. On the **Projects** tab, click the name of the target project.
2. In the project sidebar, go to the **Project Members** page.
3. Click **Add Member**.
4. Select members and configure their roles.
| Configuration Item | Description |
| - | - |
| **User / User Group** | Select the users or user groups that need to access the current project. |
| **Role** | Select project-level permissions.**Read/Write (RW)** is suitable for members who need to push or pull images, or maintain artifacts and rules within the project. **Read-Only (R)** is suitable for members who only need to view project content or pull images. |
5. After submitting the configuration, confirm on the **Project Members** page that the member has been added.
### Modify or Delete Project Members
When a member’s responsibilities change, an account is no longer in use, or an automated task no longer needs access to the project, promptly update or remove the project member.
1. On the target project details page, go to **Project Members**.
2. Find the target member.
3. Perform the following actions as needed:
* Click **Edit** to adjust member roles.
* Click **Delete** to remove a member's access to the current project. Before deleting a member, ensure that the member or user group is not relied upon by image push, pull, synchronization, retention policy maintenance, or CI/CD workflows.
# Import Images from External Repositories
Source: https://docs.scitix.ai/gpu-cloud/registry/import-external-container-images
Import external images into the Registry in the selected Region using remote repositories and pull replication rules.
If the business images are stored in an external repository, you can first connect the repository and then create a pull rule to import matching images into a project in the target region. Before importing, confirm the repository path and tag range of the external images, as well as the target project, to avoid importing unnecessary versions.
Images can be imported from the following four types of registries:
* Docker Registry
* Docker Hub
* Google GCR
* Quay
## Pre-Action Confirmation
* A project in the target Region has been prepared to receive the image.
* The access URL for the external repository has been obtained. If the repository requires authentication, the corresponding credentials have also been obtained.
## Integrating External Repositories
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home).
2. Go to **STORAGE > Registry** and select the target region.
3. Open the **Replication** tab.
4. Click to expand the **Registry Endpoints** section, then click **Add Endpoint**.

5. Enter the external repository connection information.
| Configuration Item | Description |
| - | - |
| **Type** | Select the external repository type. |
| **Name** | Set the endpoint name, which is used to identify the external repository in replication rules. We recommend using a name that indicates the repository source or purpose. |
| **URL** | Enter the public access address of the external repository, for example, `https://example.com`. |
| **Username** | Enter this when the external repository requires authentication. Leave it blank for public repositories. |
| **Password** | Enter this when the external repository requires authentication. Leave it blank for public repositories. |
6. Click **Confirm**.
Upon submission, the **URL** and credentials are validated. If the endpoint is unavailable, first check the external repository address, network connectivity, username, and password, then create an import rule. When synchronizing images across GPU Cloud regions, no external repository endpoint needs to be added.
## Create Synchronization Rule
1. On the **Replication** tab, click **Create Replication Rule**.
2. On the **Create Sync Rule** page, Configure the synchronization rule.
Basic information:
| Configuration Item | Description |
| - | - |
| **Sync Type** | Select **Pull Mode** to import images from an external registry to the registry in the current region. |
| **Rule Name** | Enter a rule name. We recommend using a name that reflects the external registry, target project, or synchronization scope for easy identification in the rule list. |
| **Description** | Enter a rule description as needed, such as the import source, applicable business, or maintainer. |
Source Registry:
| Configuration Item | Description |
| - | - |
| **Registry Endpoint** | Select an integrated external registry endpoint. If no endpoint is available, first complete external registry integration. |
| **Namespace** | Enter or select the source project in the external registry. |
| **Repository** | Enter or select the image repository to import. |
| **Tag (Regex)** | Specify the tag matching criteria for import. `**` matches all tags; `1.0*` matches tags starting with `1.0`. We recommend matching only the version range required by your business. |
Destination Registry:
| Configuration Item | Description |
| - | - |
| **Region** | Select the target region to receive the image. |
| **Namespace** | Enter or select the target project. After the import is complete, the image will be written to this project. |
Synchronization rules:
| Configuration Item | Description |
| - | - |
| **Override Mode** | When enabled, resources with the same name in the target project will be overwritten. Before enabling this option, confirm whether existing versions on the target side still need to be retained. |
| **Enable Rule** | When enabled, the rule takes effect immediately after it is created. When not enabled, the rule is saved but synchronization does not start. |
| **Trigger Mode** | Select a trigger method.**Event-driven**: Synchronization is triggered after the source image is pushed. **Scheduled**: Imports are performed periodically according to a Cron expression. **Manual**: Users manually trigger the import after creating the rule. |
3. Submit the rule and verify that the new rule appears in the rule list. When using manual triggering, you also need to synchronize the rule once.
## Confirm Import Results
View the execution records for the corresponding rule on the **Replication** tab.
* If any tasks fail, view the task logs and focus on checking the external repository connection, image path, label matching, and target project.
* After successful execution, switch to the **Projects** tab in the target region and confirm that the image has been added to the expected project.
## Related Documentation
If you need to distribute images from the current region to other repositories, see [Synchronize Images to Other Regions or Repositories](/gpu-cloud/registry/sync-container-images).
# Push and Pull Container Images
Source: https://docs.scitix.ai/gpu-cloud/registry/push-pull-container-images
Use Docker to log in to the registry and push or pull container images.
After pushing a local image to a project, you can pull the image in other environments with access permissions.
## Pre-Operation Confirmation
* A Registry project already exists in the target region, and the current account has read and write permissions for the project.
* Docker is installed in the environment where you run the commands.
* When pushing an image, the image to be pushed has been prepared locally.
## Get push and pull commands
* Get reference commands for login, push, and pull
On the **Registry** page, click **Push & Pull**.
* Obtain the push command for a project
Go to the target project details page. In the left navigation pane, click **Registry**, and then click **Get Push Command**.
* Get the pull command for an image
1. Go to the details page of the target project and click **Registry** in the left navigation pane.
2. Locate the target image registry and click its name.
3. In the **Actions** column of the artifact list, click **Copy Pull Command**.
## Log In to the Registry
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home).
2. Go to **STORAGE > Registry** and select the target region.
3. Click **Push & Pull**.
4. On the **Docker** tab, obtain the registry address and login instructions for the region.
5. Log in to the registry in the environment where you perform image operations:
```bash theme={null}
docker login --username
```
* Replace `` with the registry address for the current region, for example, `registry-ap-southeast.scitix.ai`.
* Replace `` with the Registry Logon Username in the format `@`.
* Enter the corresponding credentials as prompted. The default password is the platform logon password.
## Push Image
Log in to the Registry, add the target registry address, project path, and tag to the local image, and push it to the target project.
```bash theme={null}
docker tag : //:
docker push //:
```
* ``: Local image.
* ``: Registry endpoint.
* ``: Target project.
* ``: Target image name.
* ``: Image tag.
Example:
```bash theme={null}
docker tag myimage:latest registry-ap-southeast.scitix.ai/project-test/myimage:latest
docker push registry-ap-southeast.scitix.ai/project-test/myimage:latest
```
After the push is complete, go to the relevant project under the **Projects** tab in the target region, then confirm that the image can be found in **Registry**.
## Pull an Image
Log in to the repository in the environment where you need to use the image, then run:
```bash theme={null}
docker pull //:
```
* ``: Registry address.
* ``: Target project.
* ``: Target image name.
* ``: Image tag.
Example:
```bash theme={null}
docker pull registry-ap-southeast.scitix.ai/project-test/myimage:latest
```
Replace the example address with the actual repository address. If the pull fails, first verify the region, project path, image name and tag, and whether the credentials used in the current environment can access the project.
## Frequently Asked Questions
> [accordion] What should I do if DENIED: ... exceed the configured upper limit is displayed when pushing an image?
>
> This error indicates that the storage quota of the target registry project is insufficient or has reached its limit. The registry refuses to accept additional image data.
>
> These issues are usually not caused by Docker login status, image tag format, or network connectivity. You can address them in the following order:
>
> 1. Verify that the project name in the image address is correct to avoid pushing the image to a full or unintended project.
> 2. Delete image versions, tags, or other artifacts that are no longer needed. If an artifact retention policy is configured for the project, we recommend running it in dry-run mode and verifying the impact before performing the cleanup. For details, see [Configure Registry Artifact Retention Policies](./configure-artifact-retention).
> 3. If historical images still need to be retained, contact the project administrator to adjust the project storage quota, or push them to a project with sufficient quota.
> 4. After releasing or adjusting the quota, run `docker push` again.
# Push and Pull Helm Charts
Source: https://docs.scitix.ai/gpu-cloud/registry/push-pull-helm-charts
Package the Helm Chart and push it to the image registry for other environments to pull by version.
After storing a Helm Chart in the image registry, you can distribute Chart versions using the same project path. Helm Charts are stored as OCI artifacts, and repository paths starting with `oci://` must be used when pushing and pulling them.
## Confirmation Before Proceeding
* A Registry project already exists in the target region, and the current account has read and write permissions for the project.
* Helm with OCI registry support is installed in the environment where the commands are executed, and the Chart directory or `.tgz` package to be packaged is ready.
## Get push and pull commands
* Get reference commands for login, push, and pull.
On the **Registry** page, click **Push & Pull**, then open the **Helm** tab.
* Obtain the push command for a project.
Go to the details page of the target project. In the left navigation pane, click **Registry**, and then click **Get Push Command**.
* Obtain the pull command for a Chart
1. Go to the target project details page and click **Registry** in the left navigation pane.
2. Locate the target Chart and click its name.
3. In the **Actions** column of the artifact list, click **Copy Pull Command**.
## Log In to the Registry
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home).
2. Go to **STORAGE > Registry** and select the target region.
3. Click **Push & Pull**.
4. On the **Helm** tab, obtain the registry address and login instructions for the region.
5. Log in to the registry in the environment where you perform Helm operations:
```bash theme={null}
helm registry login --username
```
* Replace `` with the registry endpoint for the current region, for example, `registry-ap-southeast.scitix.ai`. The Helm login command uses only the registry endpoint, without `oci://` or the project path.
* Replace `` with the Registry Logon Username in the format `@`.
* Enter the corresponding credentials as prompted. The default password is the platform logon password. Do not write the password directly in commands or public logs.
## Push a Chart
Log in to the registry, package the Chart directory into a `.tgz` file, and push it to the target project.
```bash theme={null}
helm package
helm push ./-.tgz oci:///
```
* ``: Chart directory.
* ``: Chart name.
* ``: Chart version.
* ``: registry endpoint.
* ``: target project.
Helm reads the name and version from the Chart package. The push target is the project path; do not append the Chart name or version to the end. If you already have a compliant `.tgz` package, you can skip `helm package` and run `helm push` directly.
Example:
```bash theme={null}
helm package ./mychart
helm push ./mychart-1.0.0.tgz oci://registry-ap-southeast.scitix.ai/project-test
```
After the push is complete, go to the relevant project on the **Projects** tab in the target region, then confirm that the Chart can be found in **Registry**.
## Pull a Chart
Log in to the registry in the environment where you need to use the chart, then pull a specific version using the full OCI chart path:
```bash theme={null}
helm pull oci://// --version
```
For example:
```bash theme={null}
helm pull oci://registry-ap-southeast.scitix.ai/project-test/mychart --version 1.0.0
```
Ensure that the `.tgz` file corresponding to the specified version has been obtained locally. If the pull fails, first verify the region, project path, Chart name and version, and whether the credentials used in the current environment can access the project.
# Synchronize Images to Other Regions or Repositories
Source: https://docs.scitix.ai/gpu-cloud/registry/sync-container-images
Create a Push replication rule to synchronize specified images to a target region or external registry.
If the service image is stored in a Region of the GPU Cloud, you can create a push rule to synchronize matching images to projects in other regions or to connected external repositories. Before synchronization, determine the source image repository path, tag scope, and target project to avoid synchronizing unnecessary versions.
## Pre-Operation Confirmation
* Prepare the images to be synchronized in the source region.
* When synchronizing to an external repository, obtain the repository access address. If the repository requires authentication, obtain the corresponding credentials.
## Connect an External Repository (Optional)
If the target is another region of the GPU Cloud, you can skip this section. You only need to add an external repository endpoint before synchronizing to an external repository.
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home).
2. Go to **STORAGE > Registry** and select the region where the source image is located.
3. Open the **Replication** tab.
4. Click to expand the **Registry Endpoints** section, then click **Add Endpoint**.

5. Enter the external repository connection information.
| Configuration Item | Description |
| - | - |
| **Type** | Select the external repository type. |
| **Name** | Set the endpoint name to identify the external repository in replication rules. We recommend using a name that reflects the repository source or purpose. |
| **URL** | Enter the public access address of the external repository, for example, `https://example.com`. |
| **Username** | Enter this when the external repository requires authentication. Leave blank for public repositories. |
| **Password** | Enter this when the external repository requires authentication. Leave blank for public repositories. |
6. Click **Confirm**.
The URL and credentials are validated upon submission. If the endpoint is unavailable, check the external repository address, network connectivity, username, and password before creating a synchronization rule. When synchronizing images between GPU Cloud regions, you do not need to add an external repository endpoint.
## Create Synchronization Rule
1. On the **Replication** tab, click **Create Replication Rule**.
2. On the **Create Sync Rule** page, configure the synchronization rule.
Basic information:
| Configuration Item | Description |
| - | - |
| **Sync Type** | Select **Push Mode** to synchronize images from the current region to other regions or external repositories. |
| **Rule Name** | Enter a rule name. Use a name that reflects the source project, destination, or synchronization scope to make the rule easy to identify in the rule list. |
| **Description** | Enter a description for the rule as needed, such as the purpose of synchronization, the maintainer, or the applicable business. |
Source Registry:
| Configuration Item | Description |
| - | - |
| **Region** | Select the Region where the source image is located. |
| **Namespace** | Select the project to which the source image belongs. |
| **Repository** | Select the image repository to synchronize. |
| **Tag (Regex)** | Enter the tag matching criteria to synchronize. `**` indicates that all tags are matched; `1.0*` indicates that tags starting with `1.0` are matched. We recommend matching only the version range required by your business. |
Destination Registry:
| Configuration Item | Description |
| - | - |
| **Type** | Select the target repository type. **Local** indicates synchronization to other regions of the GPU Cloud; **Remote** indicates synchronization to an integrated external repository. |
| **Registry Endpoint** | Configure this when **Remote** is selected. Select an integrated external repository endpoint. If no endpoints are available, first integrate an external repository. |
| **Regions** | Configure this when **Local** is selected. Select the target region that will receive the images. |
| **Namespace** | Enter or select the target project. After synchronization is complete, the images will be written to this project. |
Synchronization Rules:
| Configuration Item | Description |
| - | - |
| **Override Mode** | When enabled, resources with the same name in the target project will overwrite the resources on the target end. Before enabling it, confirm whether existing versions on the target end still need to be retained. |
| **Enable Rule** | When enabled, the rule takes effect immediately after it is created. When not enabled, the rule is saved but synchronization will not start. |
| **Trigger Mode** | Select a trigger method.**Event-driven**: Synchronization is triggered when a source image is pushed. **Scheduled**: Synchronization is performed periodically according to a Cron expression. **Manual**: The user manually triggers synchronization after creating the rule. |
| **Cron** | Fill in this field when **Scheduled** is selected. The Cron expression uses UTC time. According to the page validation requirements, the first field must be `0`, and the second field cannot be `*`. For example, `0 0 8 * * 1-5` indicates execution at 08:00 UTC every Monday through Friday. |
3. Submit the rule and confirm that the new rule appears in the rule list. When using manual triggering, you also need to synchronize the rule once.
## Confirm Synchronization Results
View the execution records for the corresponding rule on the **Replication** tab.
* If a task fails, view its logs and focus on checking the source image path, label matching, target project, and external repository connection.
* After successful execution, switch to the target region or target repository and confirm that the image has been added to the intended project.
## Related Documentation
To import images from an external repository into the Registry in the current region, see [Import Images from an External Repository](/gpu-cloud/registry/import-external-container-images).
# View Registry Audit Logs
Source: https://docs.scitix.ai/gpu-cloud/registry/view-container-registry-audit-logs
Query registry action records by region, time, and user.
Audit logs can be used to trace actions in the Registry, such as pushing, pulling, deleting, scanning, and replicating images. To investigate relevant actions, query the audit logs in the target region. First determine the region and approximate time when the action occurred, then narrow the query scope.
## Query Audit Logs
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home).
2. Go to **STORAGE > Registry** and select a region.
3. In the upper-right corner of the page, click **Audit Logs**.
4. Set the query criteria in the pop-up panel, then click **Search**.
| Configuration Item | Description |
| - | - |
| **Time Range** | Select the time period during which the action may have occurred. |
| **Filter Criteria** | Filter by user, resource, resource type, or action. |
Locate target records by operation time, event type, operator, and associated resources. Available operation types and query scope are subject to the audit records in the selected region. If no target records are found, first expand the time range, then check the region and filter criteria.
5. View the query results.

# Configure ossctl
Source: https://docs.scitix.ai/gpu-cloud/storage/configure-ossctl
Learn how to obtain Access Keys, download, and configure ossctl.
ossctl is the official S3 protocol command-line tool provided by ScitiX. After configuration, you can use the command line to upload, download, and list objects in OSS Buckets.
## Pre-Operation Confirmation
* The OSS bucket (Bucket) to be accessed has been created, and you have obtained permission to access it.
* The current environment can access the OSS Endpoint in the Region where the bucket is located.
## Obtain an Endpoint
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home).
2. Go to **STORAGE > Object Storage**.
3. In the upper-right corner, select the Region where the bucket is located.
4. On the **Buckets** tab, copy the **Endpoint** displayed above the list.
Different regions use different endpoints. When configuring ossctl, use the endpoint corresponding to the region where the bucket is located.
## Obtain Access Keys
1. Go to the **STORAGE > Object Storage** page.
2. Click the **Access Keys** tab, and then create an access key.
3. Configure the Access Keys parameters, then submit.
| Parameter | Description |
| - | - |
| **Access Key** | The system-generated access key ID. |
| **Secret Key** | The system-generated access key secret. |
| **Expiration Time** | The expiration time of the access key. |
| **Name** | The access key name, used to distinguish keys for different purposes. |
| **Description** | A description of the access key. You can specify the usage scenario or management notes. |
4. Save the generated Access Key and Secret Key.
> [!WARNING]
>
> The Secret Key is used only for access authentication. Keep it secure, and do not transmit it through public channels or write it to Logs.
## Download ossctl
Download ossctl for your local OS.
### Windows Download
```bash theme={null}
curl -LO https://oss-ap-southeast.scitix.ai/oss-tools/packages/ossctl/latest/windows-amd64/ossctl.exe
```
### Linux amd64 Download
```bash theme={null}
curl -LO https://oss-ap-southeast.scitix.ai/oss-tools/packages/ossctl/latest/linux-amd64/ossctl
```
### macOS amd64 Download
```bash theme={null}
curl -LO https://oss-ap-southeast.scitix.ai/oss-tools/packages/ossctl/latest/darwin-amd64/ossctl
```
### macOS arm64 Download
```bash theme={null}
curl -LO https://oss-ap-southeast.scitix.ai/oss-tools/packages/ossctl/latest/darwin-arm64/ossctl
```
## Configure OSS
After the download is complete, add the OSS access configuration based on the OS.
### Configure Linux or macOS
```bash theme={null}
chmod +x ossctl
./ossctl config add
```
### Windows Configuration
```powershell theme={null}
.\ossctl.exe config add
```
### Parameter Description
| Parameter | Description |
| - | - |
| `` | The name of the local OSS access configuration. You can replace it with a custom name as needed. |
| `` | The OSS access endpoint for the region where the bucket is located. |
| `` | The Access Key in the access keys. |
| `` | The Secret Key in the access keys. |
## Verify Configuration
After configuration is complete, you can list the objects in the authorized Buckets to verify that ossctl is available.
```bash theme={null}
./ossctl ls /
```
Where:
* `` is the name of the local OSS access configuration.
* `` is the name of the authorized Bucket.
If command execution fails, first check the endpoint, access keys, configuration name, bucket permissions, and network connectivity. If the issue persists, record the error information and contact technical support.
# Create a GPFS file system
Source: https://docs.scitix.ai/gpu-cloud/storage/create-gpfs-file-system
Create a GPFS file system in the GPU Cloud console and configure the region, storage type, and capacity.
After creating a GPFS file system, you can mount it to CES instances or CKS cluster nodes in the same region to store and share data.
## Prerequisites
* You have a valid account and permission to create a GPFS file system.
* You have selected the region where the file system will reside.
* The CES instance or CKS cluster node that needs to mount the file system must be in the same region as the file system.
* The file system count, available capacity, and inventory in the selected region allow you to create the file system.
* You have confirmed the required specifications and capacity.
## Procedure
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home).
2. Go to **GPFS > File System**.
3. Click **Create File System**.
4. Configure the file system parameters.
| Parameter | Description |
| - | - |
| **File System Name** | The name of the file system. Do not use the same name for different file systems. We recommend a name that identifies the workload, environment, or purpose. |
| **Region** | The region where the file system resides. A file system cannot be mounted across regions. |
| **Billing Type** | Select a billing method. |
| **Storage Type** | Select a specification based on your requirements. |
| **Capacity** | The capacity of the file system. GPFS uses thick provisioning. The capacity specified at creation affects resource metering and the increment for subsequent capacity expansions. |
| **Description** | A description of the file system, 2 to 128 English or Chinese characters in length. |
5. Click **Confirm**.
6. Return to the file system list page to view the creation result.
Verify the file system ID and status.
* `Pending`: The file system is being created.
* `Running`: The file system is ready to mount.
* `Failed`: Creation failed. Check the error message. If you cannot determine the cause, contact technical support.
Creating a file system is an asynchronous operation. Creation typically takes 2–10 minutes; larger capacities may take longer.
After creating the file system, [mount it](/gpu-cloud/storage/mount-gpfs-file-system) to access its data from compute nodes.
# Create and Manage OSS Buckets
Source: https://docs.scitix.ai/gpu-cloud/storage/create-oss-bucket
Create OSS buckets, view usage, and configure access control, compliance retention, and cross-origin access rules.
A bucket is a container in OSS for storing objects. After you create a bucket, you can view its usage and number of objects, and configure access control, compliance retention, and cross-origin access rules as needed.
> [!NOTE]
>
> Buckets are available in high-performance and standard types. When you create a bucket, only high-performance buckets can be created. Existing standard buckets can still be maintained, but new standard buckets cannot be created.
## Create Bucket
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home).
2. Go to **STORAGE > Object Storage**.
3. At the top of the page, select the target region and ensure that the type is **High Performance**.
After a bucket is created, it belongs to the selected Region. When accessing it later through the S3 Protocol, use the Endpoint corresponding to that Region.
4. On the **Buckets** tab, click **Create Bucket**.
5. Configure Buckets parameters.
| Parameter | Description |
| - | - |
| **Region** | The region to which the bucket belongs, determined by the currently selected region. |
| **Bucket Name** | The name of the bucket. The system populates the name prefix; you need to enter the custom portion of the name. |
| **Versioning** | Whether to enable versioning. When enabled, the bucket can retain multiple versions of objects. |
| **Size** | The bucket capacity quota. GiB, TiB, PiB, or EiB can be selected as the unit. |
6. Click **Confirm**. Return to the Buckets list and verify that the new bucket has been created.
## View the Buckets List
To verify that a bucket was created successfully or view its used capacity and object count, select a region and type on the **Buckets** tab to view buckets within the corresponding scope. The page displays the number of buckets, used capacity, and total number of objects. The list provides the following information:
| Information | Description |
| - | - |
| Bucket Name | The name of the bucket. |
| Creation Time | The time when the bucket was created, displayed in UTC. |
| Access Permissions | The access permissions currently displayed for the bucket. |
| Creator | The user who created the bucket. |
| Usage, Size | Used capacity and the bucket capacity quota. |
| Objects | The total number of objects in the bucket. |
| Actions | You can open the bucket settings or delete the bucket. |
## Configure Access Permissions
On the **Access Control** tab in the console, you can use **Add Directory Policy** to configure access permissions for specific path prefixes in a bucket.
1. In the Buckets list, locate the target bucket and click **Settings**.
2. Open the **Access Control** tab, then click **Add Directory Policy**.
3. Enter the directory policy information.
| Parameter | Description |
| - | - |
| **Directory** | The bucket path prefix for which to set access permissions. |
| **Permission Type** | Select `admin`, `rewrite`, `readonly`, or `writeonly`. |
| **Policy Name** | The name of the directory policy. |
| **User** | Select the user to whom this directory policy will be applied. |
4. Click **Confirm**.
## Configure Object Protection Period
To prevent objects from being deleted before the end of the retention period, you can enable compliance retention and set a retention period. Before enabling or adjusting it, confirm your business's data retention requirements.
1. In the Buckets list, locate the target bucket and click **Settings**.
2. Open the **Compliance Retention** tab to view the current retention period status.
3. Click **Edit**, enable compliance retention as needed and set the protection period, then click **Confirm**.
4. Verify that the retention period status and protection period displayed on the page meet your expectations.
## Configure Cross-Origin Access Rules
When a web application needs to access OSS objects in a browser, the browser determines whether to allow the request based on cross-origin resource sharing (CORS) rules. You can add rules in **Cross-Origin Access Configuration** for a bucket to allow specified web origins to access the bucket using specified methods and request headers.
Cross-origin access rules affect only browser cross-origin validation and do not replace bucket access permissions or authentication.
1. In the Buckets list, locate the target bucket and click **Settings**.
2. On the **Overview** tab, locate **CORS Configuration**, and then click **Create Rule**.
3. Configure the rule.
| Configuration Item | Description |
| - | - |
| **Origin** | The web origins allowed to initiate cross-origin requests. Enter a domain name or IP address; a port number is allowed, for example, `https://example.com` or `http://192.0.2.10:8080`. Enter one origin per line, separated by line breaks. Each line can contain at most one wildcard `*`, and up to 1,000 entries can be specified. |
| **Methods** | The HTTP methods that the origin is allowed to use. Select `GET`, `HEAD`, `PUT`, `POST`, or `DELETE` based on how the web application accesses the resource. For example, if objects are read only in a browser, select `GET` or `HEAD`. |
| **Allow-Headers** | Request headers allowed in browser cross-origin requests. If requests include authentication headers or custom request headers, enter the corresponding request header names. Enter one request header name per line, separated by line breaks. Up to 1,000 entries can be specified. If there are no special requirements, set this parameter to `*`. |
| **Expose-Headers** | Response headers that browser JavaScript is allowed to read. If the frontend needs to read specific response headers, enter the corresponding response header names. Enter one response header name per line, separated by line breaks. Wildcards `*` are not allowed. |
| **Max-Age** | The duration, in seconds, for which the browser caches preflight request results. During the cache lifetime, identical cross-origin requests can reduce the number of preflight requests. |
4. Click **Confirm** to submit the rule.
## Delete Buckets
> [!WARNING]
>
> Deleting a bucket may result in unrecoverable data. Before proceeding, ensure that any data you need to retain has been backed up or migrated.
Locate the target bucket in the Buckets list, click **Delete**, and then follow the prompts to confirm the deletion.
## Next Actions
To access Buckets through the command line, first [configure ossctl](./configure-ossctl), then [use ossctl to upload and download OSS objects](./upload-download-oss-object).
# Delete a GPFS file system
Source: https://docs.scitix.ai/gpu-cloud/storage/delete-gpfs-file-system
Check file system usage, unmount it, and review mount service bindings before deleting a GPFS file system you no longer need.
You can delete a GPFS file system that you no longer need. Deletion permanently deletes all data in the file system.
## Prerequisites
* Data that needs to be retained has been backed up or migrated.
* The file system is not being used by any running training, inference, or data processing tasks.
* The file system has been unmounted from all compute nodes that use it.
* You have checked its mount service bindings and [unbound the file system](/gpu-cloud/storage/manage-gpfs-mount-service#unbind-a-file-system) if necessary.
* You understand that data cannot be recovered after deletion.
See [Unmount a file system](/gpu-cloud/storage/mount-gpfs-file-system#unmount-a-file-system) for CES instances. For CKS clusters, also ensure that no workloads use the associated persistent storage before handling the node mounts.
## Delete a file system
> [!WARNING]
>
> Deleting a file system permanently deletes its data. Back up or migrate any data you need to retain, stop related tasks, and unmount the file system before proceeding. If you delete it without unmounting, commands such as `df` on compute nodes may hang.
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home) and go to **GPFS > File System**.
2. Find the file system and click **Delete**. Check the target file system and confirm as prompted.
3. Verify that the file system no longer appears in the list.
## Impact of deletion
| Impact | Description |
| - | - |
| Data cannot be recovered | Data in the file system will be deleted and cannot be recovered. |
| Access interruption | Compute nodes that have mounted this file system will no longer be able to access its data. |
| Abnormal mount status | If the file system is not unmounted before deletion, the mount status on compute nodes may become abnormal. |
If the file system cannot be deleted, record the error message and contact technical support.
# GPFS overview
Source: https://docs.scitix.ai/gpu-cloud/storage/gpfs-overview
Learn about GPFS file storage use cases, performance specifications, capacity ranges, and usage limits.
GPFS is a shared file storage system designed for high-performance computing and AI workloads. You can mount a GPFS file system to CES instances or CKS cluster nodes to store and share datasets, model weights, training outputs, and log files.
## Use cases
GPFS is suitable when workloads need to share data through a file system, for example:
* Multiple CES instances or CKS cluster nodes need to access the same data.
* Training tasks need to read datasets and write model weights, checkpoints, or training outputs.
* Inference, batch processing, or data processing tasks need to share input files and output results.
> [!TIP]
>
> If your application primarily reads and writes data through object APIs, OSS may be a better fit.
## Core concepts
| Concept | Description |
| - | - |
| File system | The storage resource that holds shared data, with its own specifications and capacity. |
| Mount service | Configures the client environment for GPFS access and manages file system bindings and clients. |
| Client | A CES instance or CKS cluster node that accesses a file system through a mount service. |
| Mount | Connects a file system or one of its subdirectories to a local directory on a compute node for data access. |
Creating a mount service, binding a file system, and adding clients prepare the access environment. Compute nodes can access data through a local directory only after the file system is mounted to that directory.
## Usage workflow
1. Choose a specification based on your data volume, throughput requirements, and region, then [create a GPFS file system](/gpu-cloud/storage/create-gpfs-file-system).
2. Prepare a mount service: reuse a suitable service or create one, then bind the file system and add clients as needed. See [Manage GPFS mount services](/gpu-cloud/storage/manage-gpfs-mount-service).
3. [Mount the file system](/gpu-cloud/storage/mount-gpfs-file-system) or one of its subdirectories to a local directory on the target compute nodes.
4. Read and write data through the mount directory, and [monitor the file system](/gpu-cloud/monitoring/view-gpfs-file-system-monitoring) to track capacity, performance, and status.
5. [Resize the file system](/gpu-cloud/storage/resize-gpfs-file-system) as your data volume changes. Unmount it when access is no longer needed, and [delete it](/gpu-cloud/storage/delete-gpfs-file-system) when you no longer need to retain it.
> [!NOTE]
>
> CKS workloads use persistent storage through resources such as PVs and PVCs. Mounting GPFS on a node is different from mounting a volume in a container. See [Persistent storage overview](/gpu-cloud/cluster/persistent-storage-overview).
## Specification types
GPFS provides two specification types: performance and capacity.
| Specification | Performance | Capacity |
| - | - | - |
| Read throughput | 500 MB/s/TiB | 5 MB/s/TiB |
| Write throughput | 250 MB/s/TiB | 5 MB/s/TiB |
| Maximum bandwidth per file system | 500 GB/s | 20 GB/s |
| Starting capacity | 70 TiB | 160 TiB |
| Maximum capacity | 2 PiB | 100 PiB |
| Capacity expansion increment | 70 TiB | 160 TiB |
| Expansion method | Through the console or API | Through the console or API |
| Number of inodes | 5 million per TiB, up to 1 billion | 3 million per TiB, up to 10 billion |
Contact technical support for an assessment if you need to change the maximum bandwidth or increase the inode limit.
## Capacity and billing
GPFS file systems support two billing modes:
* Pay-as-you-go: Billed based on actual usage duration and configured capacity.
* Subscription: Prepaid for a fixed term.
All capacities in the GPFS specifications table are usable capacities. The underlying file system may use replicas or erasure coding to protect data.
Depending on the configuration, capacity and usage reported by `df` or `du` on compute nodes may differ from the usable capacity and usage shown in the console.
For example, when replication is enabled, `df` may report a capacity greater than the usable capacity shown in the console, and `du` may report 2 GiB in use after you write a 1 GiB file.
## Capacity and quantity limits
GPFS file systems use thick provisioning. You must specify the capacity when creating a file system. Expanding or shrinking the file system adjusts its target capacity.
The starting capacity and expansion increment depend on the storage hardware model. Specifications may vary across regions and storage clusters.
| Limit | Description |
| - | - |
| Number of file systems | A tenant can create up to 3 file systems in a single region. |
| Number of client clusters | A tenant can create up to 5 client clusters in a single region. |
| Single-node mounting | A CES instance or CKS cluster node can mount multiple file systems belonging to the same tenant, as well as subdirectories within a file system. |
| Number of nodes mounting a single file system | We recommend mounting a file system on no more than 256 CES instances or CKS cluster nodes. If you exceed this number, contact technical support for an assessment. |
| inode limit | Performance: 5 million per TiB, up to 1 billion. Capacity: 3 million per TiB, up to 10 billion. Contact technical support to request an increase. |
| Maximum capacity | The maximum capacity of a file system depends on its specification and regional inventory. The maximum is 2 PiB for the performance type and 100 PiB for the capacity type. If a single file system requires more than 200 TiB, contact technical support in advance to confirm inventory availability. |
## Performance and utilization recommendations
For stable performance, keep both storage space and inode utilization below 95%. High file system utilization can degrade I/O performance.
## Data protection
GPFS protects data through mechanisms such as replication and erasure coding. You still need to back up important data yourself for additional protection.
After you delete a file system or data in a file system, the data cannot be recovered. Before performing the deletion, ensure that any data you need to retain has been backed up or migrated.
## Runtime environment restrictions
The following restrictions apply to the runtime environment of CES instances or CKS cluster nodes after mounting. Contact technical support before changing these configurations.
| Type | Restrictions |
| - | - |
| Hostname | After a CES instance or CKS cluster node joins an XStor cluster, do not modify or duplicate the hostname configuration, including host entries in `/etc/hosts`. |
| Number of XStor master nodes | Ensure that CES instances or CKS cluster nodes have at least three XStor master nodes. If there are fewer than three, the cluster cannot handle split-brain scenarios such as network partitions, and XStor may not function properly. |
| XStor master nodes | Do not restart XStor master nodes simultaneously. |
| XStor components | Do not delete, modify, or stop XStor-related binaries, libraries, configuration files, or services. |
| Cloud Assistant | Keep Cloud Assistant components running for GPFS mounting, unmounting, and client management. Do not delete, modify, or stop them. |
| GPFS components | Do not delete, modify, or stop GPFS-related binaries, libraries, configuration files, or services. |
| OFED components | Do not delete, modify, or stop OFED-related binaries, libraries, configuration files, or services. |
| Operating system and kernel | Do not upgrade or reinstall the operating system or kernel version of a CES instance or CKS cluster node. |
| System disk utilization | Keep system disk utilization on CES instances or CKS cluster nodes at or below 80%. |
| root SSH configuration | You can change the login password of CES instances or CKS cluster nodes, but do not modify the root SSH configuration used by XStor master nodes to access other nodes, including `/root/.ssh/authorized_keys` and `/root/.ssh/known_hosts`. |
## Port requirements
Ensure that the following ports and protocols used by GPFS are available:
| Type | Port or protocol |
| - | - |
| Protocol | ICMP |
| Management and access ports | 22, 1191, 4739, 8889, 9085, 9980, 9981 |
| Dynamic port range | 60000–61000 |
If the IP address used by GPFS is moved to a different network interface, for example, from `eth0` to `br0`, restart the GPFS client on the node.
## API call rate limits
If you manage GPFS file systems through the API, comply with the call rate limits.
Storage management API:
| Feature | API | Call rate |
| - | - | - |
| Create file system | `/api/fscm/filesystem` | 1 per 60 sec |
| Query file system | `/api/fscm/filesystem/describe` | 1000 per 60 sec |
| Create client cluster | `/api/fscm/cluster/client` | 1 per 60 sec |
| Delete client cluster | `/api/fscm/cluster/client` | 1 per 60 sec |
| Delete file system | `/api/fscm/filesystem` | 10 per 60 sec |
CES management service API:
| Feature | API | Call rate |
| - | - | - |
| Mount file system | `/api/v1/xstor/mnt/mount` | 100 per 60 sec |
| Unmount file system | `/api/v1/xstor/mnt/umount` | 100 per 60 sec |
# Manage GPFS mount services
Source: https://docs.scitix.ai/gpu-cloud/storage/manage-gpfs-mount-service
Create GPFS mount services, bind file systems, and manage clients to prepare compute nodes for shared storage access.
A GPFS mount service configures the client environment that compute nodes need to access a file system. You can create a service, bind a file system, and add clients separately, or complete these tasks in the instance mounting wizard.
> [!NOTE]
>
> The operation durations on this page are estimates. Check the corresponding asynchronous task for actual progress.
## Prerequisites
* Identify the compute nodes that need GPFS access and their region.
* Ensure that the compute nodes can reach the mount service over the network and that the Cloud Assistant components are running.
* Before binding a file system, ensure that it is in the `Running` state and in the same region as the compute nodes.
## Create a mount service
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home).
2. Go to **GPFS > Mount Service** and click **Create Mount Service**.
3. Configure the mount service.
| Parameter | Description |
| - | - |
| **Mount Service Name** | A name that identifies the service's workload, environment, or purpose. |
| **Region** | The region of the mount service, determined by the currently selected region. |
| **VPC** | Shown in regions with automatic node configuration. Select the VPC of the target compute nodes. The system creates three Quorum nodes automatically. |
| **Quorum Nodes** | Shown in regions that require manual node configuration. Select three Quorum nodes. The mount service uses their VPC. Check that this VPC has network connectivity to the target compute nodes. |
4. Click **Confirm** and wait for the client environment to be configured. Creating a mount service takes approximately 10 minutes.
5. Check the service status in the mount service list. Click the service name to view its clients, file systems, and mount counts.
## Bind a file system
1. Find the target service in the mount service list and select **Bind File System** from its more menu.
2. Check the mount service information and select the file system in **Volume**.
3. Click **Confirm** and wait for the binding to complete. Binding takes approximately five minutes. Verify that the file system is associated with the service.
## Manage clients
A client is a compute node that accesses GPFS through a mount service. Adding a client prepares its access environment. To access data through a local directory, you must also [mount the GPFS file system](/gpu-cloud/storage/mount-gpfs-file-system).
### Add clients
1. Click **Client Management** in the target mount service's actions column.
2. Click **Add Client**.
3. Check the mount service and VPC information, then select one or more nodes in **Client Nodes**.
We recommend adding 20 to 50 nodes per request. The system processes nodes in batches of 20, with each batch taking approximately 20 minutes.
4. Click **Confirm** and wait for the GPFS client environment to be configured on the nodes. Check their status in the client list.
### Remove clients
> [!WARNING]
>
> Removing a client affects the node's access to GPFS through the mount service. Stop related read and write tasks and unmount the associated file systems from the node before proceeding.
1. Select the clients you no longer need on the client management page.
2. Click **Remove Client**, verify the selected nodes, and confirm as prompted.
The system processes nodes in batches of 20, with each batch taking approximately five minutes.
3. Verify that the nodes no longer appear in the client list.
## Unbind a file system
Unbind a file system when you no longer need to access it through a particular mount service.
> [!WARNING]
>
> Stop tasks that access the file system through the mount service and unmount it from the related compute nodes before unbinding it.
1. Return to the mount service list and select **Unbind File System** from the target service's more menu.
2. Check the file system binding and confirm as prompted.
3. Wait for the operation to complete and verify that the file system is no longer associated with the mount service. Unbinding takes approximately five minutes.
## Delete a mount service
> [!WARNING]
>
> Deleting a mount service affects GPFS access for compute nodes that depend on it. Ensure that the service is no longer in use, unmount the associated file systems, and check its clients and file system bindings before proceeding.
1. Find the service you no longer need in the mount service list and select **Delete** from its more menu.
2. Check the target service and confirm as prompted.
3. Verify that the service no longer appears in the list.
## View asynchronous tasks
Use asynchronous tasks to check the progress and results of mount service operations.
1. Go to **GPFS > Async Task** and locate the operation by its description and time.
2. Check the task status. Click the task ID to view the status, start and end times, and errors for each execution step.
3. If the task fails or partially fails, check the failed steps and affected nodes. Identify which nodes have completed the operation and which still require attention.
If you cannot resolve the issue, contact technical support with the task ID, mount service ID, related resource IDs, and error information.
# Mount and unmount a GPFS file system
Source: https://docs.scitix.ai/gpu-cloud/storage/mount-gpfs-file-system
Mount or unmount GPFS file systems for CES instances through the console, configure local paths, and verify data access.
Mount a GPFS file system to access shared data through a local directory on a compute node. You can start from either the file system page or the instance page in the console.
## Prerequisites
* The file system is in the `Running` state and in the same region as the compute nodes. Cross-region mounting is not supported.
* The compute nodes have network connectivity to the mount service, and the Cloud Assistant components are running.
* The local mount path does not conflict with an existing mount. If you mount only a subdirectory of the file system, that subdirectory must already exist.
> [!NOTE]
>
> Before mounting, prepare a mount service, bind the file system, and add target compute nodes as clients. Reuse a suitable service if one exists. Otherwise, create one separately or through the instance mounting wizard. See [Manage GPFS mount services](/gpu-cloud/storage/manage-gpfs-mount-service).
>
> These configurations prepare the access environment. They do not mount the file system to a local directory on the compute nodes.
## Mount from the file system page
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home).
2. Go to **GPFS > File System**.
3. Select the file system and click **Mount**.
4. Select the CES instance and configure the paths.
| Parameter | Description |
| - | - |
| **Region** | The region of the file system and CES instance. |
| **CES Instance** | The instance that needs access to the file system. |
| **CES mount path** | The local directory on the instance, such as `/data`. Use this directory to access data after mounting. |
| **File path** | The remote path to mount. Enter `/` to mount the entire file system, or an existing subdirectory path to mount only that subdirectory. |
5. Check the instance and paths, click **Confirm**, and wait for mounting to complete.
6. [Find the mount path](/gpu-cloud/instance/manage-instance-storage#find-mount-paths) and log in to the instance to verify that you can access data through the target directory.
## Mount from the instance page
1. Go to **Instance** and select the target instances on the **GPU Instance** or **CPU Instance** tab.
* For a single instance, select **Storage Operations > Mount File System** from its more menu in the actions column.
* For multiple instances, select them and click **Mount File System** in the bottom actions area.
2. In the **GPFS Mount Service** step of the **Mount GPFS File System** panel, select a mount service for the target instances. Create a service if no suitable one exists.
| Configuration item | Description |
| - | - |
| **Mount Service Name** | Select an existing service, or select **New Mount Service** to create one. |
| **New Service Name** | The name of the new mount service. Not required when you select an existing service. |
| **Region** | The region of the mount service. Verify that it matches the target instances' region. |
| **VPC** | Shown after you select **New Mount Service** in regions with automatic node configuration. Select the VPC of the target instances. The system creates three Quorum nodes automatically. |
| **Quorum Nodes** | Shown after you select **New Mount Service** in regions that require manual node configuration. Select three Quorum nodes. The mount service uses their VPC. |
3. Click **Next** and complete the remaining steps in the wizard.
| Step | Action |
| - | - |
| **Bind File System** | Bind the file system to the mount service. |
| **Client Management** | Add the compute nodes that need file system access as clients. |
| **Mount File System** | Configure the remote file system path and local mount path, then mount the file system. |
| **Result** | Check the operation results. |
4. Find the mount path and log in to the instances to verify data access. If any operations failed, record the error details and follow the checks in [Troubleshoot mount failures](#troubleshoot-mount-failures).
> [!NOTE]
>
> Mounting a file system to a CKS cluster node does not make it accessible to Pods automatically. See [Mount persistent storage to a workload](/gpu-cloud/cluster/mount-persistent-storage-to-workload) for workload storage configuration.
## Unmount a file system
Unmount a file system when an instance no longer needs access through a mount directory. The following steps use the CES instance page.
> [!WARNING]
>
> Unmounting interrupts data access through the mount path. Stop related read and write tasks, ensure that no processes are using the directory, and check the selected instances and mount path before proceeding.
1. On the **GPU Instance** or **CPU Instance** tab of the **Instance** page, select one or more instances.
2. Select **Unmount** from the more menu in the bottom actions area.
3. Configure and verify the parameters in the **Umount File System** panel.
| Parameter | Description |
| - | - |
| **Mount Path** | The local mount path to unmount. |
| **Nodes** | The nodes on which to unmount the file system. Verify that all target instances are included. |
4. Click **Umount** and wait for the operation to complete.
5. Find the mount paths again and verify that the target path is no longer mounted on the selected nodes.
Unmounting a file system, removing a client, and unbinding a file system are separate operations. To also clean up mount service configurations, [manage the clients and file system bindings](/gpu-cloud/storage/manage-gpfs-mount-service) after unmounting.
## Troubleshoot mount failures
If mounting fails, check the following:
| Check | Description |
| - | - |
| File system status | The file system must be in the `Running` state. |
| Region and network | The compute nodes and file system must be in the same region, with network connectivity to the mount service. |
| Mount service configuration | The file system must be bound to the selected mount service, and the target nodes must be added as clients. |
| Local mount path | The mount path must not conflict with an existing mount. |
| File system path | The specified subdirectory must already exist. |
| Cloud Assistant | The components must be running and must not have been deleted, modified, or stopped. |
If the issue persists, contact technical support with the file system ID, mount service ID, instance ID, mount path, and error information.
# OSS Overview
Source: https://docs.scitix.ai/gpu-cloud/storage/oss-overview
Learn about OSS use cases, Buckets, Access Method, and basic management capabilities.
OSS is an object storage service provided by GPU Cloud for storing and accessing object data. You can store datasets, model files, training outputs, log archives, and other unstructured data in OSS Buckets. Use the console to create and manage buckets. To access object data, use an SDK or command-line tool that supports the S3 protocol.
## Applicable Scenarios
OSS is suitable for storing data that does not rely on POSIX file system semantics and for reading and writing objects through the S3 protocol or command-line tools. Common scenarios include:
* Upload training datasets, model files, or inference input data.
* Download training outputs, model weights, or log archives.
* Access object data from a local environment, CES instance, or automated scripts.
* Archive unstructured data that does not need to be mounted as a local directory.
> [!TIP]
>
> If your workloads require multiple CES instances or workloads in a CKS cluster to share read and write access to the same data through local directories, the GPFS file system may be more suitable.
## Core Concepts
| Concept | Description |
| - | - |
| Buckets (Bucket) | Containers in OSS used to store objects. You can write objects to or read objects from a bucket only after creating it. Buckets are classified as high-performance or standard. When creating a bucket, only high-performance buckets can be created. Existing standard buckets can continue to be maintained, but new standard buckets cannot be created. |
| Object | A unit of data stored in OSS. It can be a file, a file object generated by copying a directory, or other unstructured data. |
| Access Keys | Authentication credentials for accessing OSS through the S3 protocol, including an Access Key and a Secret Key. |
| Endpoint | The service access address of OSS. Different regions use different endpoints. When configuring an SDK or command-line tool, use the endpoint corresponding to the region where the bucket is located. |
## Access Method
| Access Method | Applicable Tasks | Description |
| - | - | - |
| Console | Create Bucket, view bucket usage and object counts, and manage bucket settings. | Creating or managing buckets requires the relevant permissions. If you do not have permission, contact an administrator to obtain authorization. |
| S3 SDK or command-line tools | Upload or download objects, list objects, and upload or download directories. | Before use, obtain Access Keys, confirm the regional endpoint, and configure the relevant tools. |
## Billing
OSS uses pay-as-you-go billing based on the bucket's configured capacity and usage duration. When creating a bucket, you can view the price for the selected capacity in the console.
## Usage workflow
**1. Create or Select a Bucket**
First, create a high-performance bucket in the console, or select an existing bucket. When creating a bucket, confirm parameters such as the region, Bucket Name, Versioning, and size.
When creating a bucket, only new high-performance buckets are supported. Existing standard buckets can continue to be maintained, but new standard buckets cannot be created. For more information, see [Create and manage OSS buckets](./create-oss-bucket).
**2. Configure access control, compliance retention, and cross-origin access rules**
Based on business access methods and data protection requirements, configure access control, compliance retention, or cross-origin access rules in the bucket settings as needed.
* To grant specified users access to a specific path prefix, add a directory policy on the **Access Control** tab.
* To prevent objects from being deleted before the end of the protection period, configure **Compliance Retention**.
* When a web application needs to access bucket resources across origins from a browser, configure cross-origin access rules on the **Overview** tab.
**3. Prepare Access Credentials and Tools**
Before accessing object data through the S3 SDK, ossctl, or other command-line tools, prepare Access Keys and configure the tool using the Endpoint corresponding to the Region where the Buckets are located.
If you use ossctl, first [Configure ossctl](./configure-ossctl).
**4. Upload, Download, or List Objects**
After configuring the tool, you can use ossctl or other tools that support the S3 protocol to upload objects, download objects, list objects, or upload and download directories.
For instructions on using ossctl to access objects, see [Upload and Download OSS Objects Using ossctl](./upload-download-oss-object).
**5. View usage and maintain data security**
During use, you can view bucket usage and the number of objects in the console, and adjust access permissions, cross-origin access rules, or retention policies as business needs change.
Before deleting an object or bucket, ensure that any data to be retained has been backed up or migrated.
## Security and Data Protection
* Store your Access Key and Secret Key securely. Do not include them in public code repositories, images, script templates, or logs.
* If an access key is compromised, disable or delete the key as soon as possible, and create a new access key.
* Deleting objects or Buckets may result in unrecoverable data loss. Before performing a delete or overwrite operation, ensure that any data to be retained has been backed up or migrated.
# Expand and shrink a GPFS file system
Source: https://docs.scitix.ai/gpu-cloud/storage/resize-gpfs-file-system
Adjust GPFS file system capacity as your data volume changes, and review the conditions and impact of expanding or shrinking it.
You can resize a GPFS file system when its capacity is insufficient or larger than needed. Set a target capacity above the current capacity to expand the file system, or below it to shrink the file system.
## When to resize
* Expansion is suitable when file system capacity is insufficient or when training, inference, or data processing tasks are expected to write more data.
GPFS file systems use thick provisioning. After expansion is complete, resources are metered based on the adjusted capacity.
* Shrinking is suitable when the file system capacity is larger than needed and the current data volume is significantly lower than the target capacity.
Before shrinking the file system, check its current usage. We recommend deleting or migrating data that is no longer needed and leaving sufficient spare capacity. If usage is too close to the target capacity, shrinking may fail or subsequent writes may be affected.
## Prerequisites
Before adjusting the capacity, confirm the following:
* The file system status is `Running`.
* The target capacity is within the capacity range and adjustment increment for the current specification.
* The impact of the capacity adjustment on running tasks has been assessed.
* If you need to shrink the file system, current usage is lower than the target capacity, with sufficient spare capacity reserved.
If current file system usage exceeds the target capacity, shrinking will fail.
## Procedure
1. Log in to the [GPU Cloud console](https://console.scitix.ai/gpu-cloud/home).
2. Go to **GPFS > File System**.
3. Locate the file system whose size you want to adjust, and click **Manage**.
4. In the pop-up panel, click **Adjust Capacity** under **Capacity**.
5. Choose whether to increase or decrease the capacity, then enter the target capacity.
| Parameter | Description |
| - | - |
| **Action Type** | Choose to expand if the target capacity is greater than the current capacity, or shrink if it is less. |
| **Capacity** | The target capacity of the file system after adjustment. The target capacity must fall within the capacity range and adjustment increment of the current specification. |
6. Confirm the amount, then click **Confirm**.
7. Return to the file system list page and verify the adjustment result based on the status.
* `Extending`: The file system capacity is being adjusted. This status may be displayed when expanding or shrinking the file system.
* `Running`: Capacity adjustment is complete.
* `Failed`: Capacity adjustment failed. Check the error message. If you cannot determine the cause, contact technical support.
Capacity adjustment is an asynchronous operation. Expanding or shrinking a file system typically takes 2–10 minutes. Larger capacity adjustments may take longer.
# Upload and Download OSS Objects Using ossctl
Source: https://docs.scitix.ai/gpu-cloud/storage/upload-download-oss-object
Learn how to use the ossctl command line to upload, download, copy, and list OSS objects.
After configuring ossctl, you can use the command line to upload objects, download objects, batch-copy directories, or list objects in Buckets.
## Pre-Action Confirmation
* An OSS bucket has been created, and you have obtained permission to access it.
* Access Keys have been obtained, and ossctl has been configured.
* The current environment can access the OSS Endpoint in the Region where the bucket is located.
## Upload Objects
### Uploading a Single Object
Use the `put` command to upload a single object.
```bash theme={null}
./ossctl put /
```
Parameter description:
| Parameter | Description |
| - | - |
| `` | Path to the local file to upload. |
| `` | Name of the local OSS access configuration. |
| `` | Target Bucket Name. |
After the command is executed, you can list the objects in the target Buckets to confirm that the object has been created.
### Upload Directories in Batches
Use the `cp` command to recursively upload a directory.
```bash theme={null}
./ossctl cp -r //
```
Parameter description:
| Parameter | Description |
| - | - |
| `` | Path to the local directory to be uploaded. |
| `` | Name of the local OSS access configuration. |
| `` | Name of the target bucket. |
After the command is executed, verify that the files in the directory have been uploaded to the target bucket and that the object paths are as expected.
## Download Objects
### Download a Single Object
Use the `get` command to download a single object.
```bash theme={null}
./ossctl get //
```
Parameter description:
| Parameter | Description |
| - | - |
| `` | Name of the local OSS access configuration. |
| `` | Source bucket name. |
| `` | Name or path of the object to download. |
| `` | Local file path after download. |
After the command has finished executing, verify that the file has been generated in the local directory.
### Batch Download Directories
Use the `cp` command to recursively download a directory.
```bash theme={null}
./ossctl cp --recursive //
```
Parameter description:
| Parameter | Description |
| - | - |
| `` | Name of the local OSS access configuration. |
| `` | Source bucket name. |
| `` | Path of the object to download. |
| `` | Path of the local directory to download to. |
After the command is executed, verify in the local directory that the file structure and number of files meet expectations.
## List objects
Use the `ls` command to list objects in Buckets.
```bash theme={null}
./ossctl ls /
```
Parameter description:
| Parameter | Description |
| - | - |
| `` | Name of the local OSS access configuration. |
| `` | Bucket Name to view. |
If uploading, downloading, or listing objects fails, first check the local path, object path, Bucket Name, Access Keys, bucket permissions, and network connectivity. If the issue persists, record the command, error message, and Bucket Name, and contact technical support.
# Error Handling
Source: https://docs.scitix.ai/model-inference/api/error-handling
Understand ScitiX Model Inference API error responses, status codes, request IDs, trace IDs, and retry guidance.
When a request fails, check the HTTP status code and the `error` object in the response body. Use `error.type` together with `error.code` (when present) and the status code to decide what to do next.
If you need help, [contact support](https://console.scitix.ai/model-inference/home) and include the response `request_id` and `traceId`.
## Error response format
Most failed non-streaming requests return JSON like this:
```json theme={null}
{
"error": {
"msg": "parameter check failed, temperature range is [0, 2.0]",
"type": "invalid_request_error",
"code": "invalid_request",
"message": "parameter check failed, temperature range is [0, 2.0] (request_id: 8071e4c1-a8ce-4ab8-a010-8d9282311f9d)",
"traceId": "1fdc54880fe9fc770e1e08fb0876f52a",
"request_id": "8071e4c1-a8ce-4ab8-a010-8d9282311f9d",
"retry_after_sec": 30
}
}
```
| Field | Description |
| - | - |
| `type` | Error category — your main signal for what to do next |
| `code` | More specific reason; shown as — in the table below when not set |
| `message` / `msg` | What went wrong. `message` usually contains `request_id`, while `msg` provides a shorter error description. |
| `traceId` | Trace identifier for troubleshooting. It is distinct from `request_id`. |
| `request_id` | Platform-generated identifier for troubleshooting. |
| `retry_after_sec` | Suggested wait before retrying (common on 429) |
On `429` responses you may also see `Retry-After` and `X-RateLimit-*` headers.
Some errors also return `param` to identify the related request field. Retryable errors, such as rate limits, can also return `retry_after_sec` to indicate how long to wait before retrying.
Error responses include a `request_id` for troubleshooting. It may appear in `error.message`, `error.request_id`, and the `request-id` or `x-request-id` response headers. When contacting support, provide the `request_id` and retain the `traceId`, request time, model ID, and API path.
## Error reference
Read `message` for specifics — limits, model names, parameters, or which API to use.
## Quick guide
* **Fix first, then retry:** `authentication_error`, `billing_denied`, `model_not_found`, `invalid_request`, `unsupported_protocol`
* **Wait, then retry:** `rate_limit_error` — use `retry_after_sec` or `Retry-After` when available
* **Retry with backoff:** `service_unavailable` and in-stream streaming errors; contact support with `request_id` and `traceId` if the issue persists
* **Usually do not retry:** `client_aborted`; if the request reached a model, billing may still apply
* **If `code` is missing:** rely on `error.type` and the HTTP status
* **Still stuck?** Contact support with `request_id` and `traceId`
## Streaming requests
When a streaming request fails (e.g. `stream: true`), how the error is returned depends on when the failure happens:
1. **Before any stream data is sent** — You get the same JSON `error` object and a non-2xx HTTP status as in the table above.
2. **After the stream has started** — HTTP may already be `200`. The failure is reported as an error event inside the stream (format depends on the API). The text is usually generic, for example *upstream stream error, please retry later*. Retry with backoff; if it keeps happening, [contact support](https://console.scitix.ai/model-inference/home) with `request_id` and `traceId`.
# Use ScitiX docs with AI
Source: https://docs.scitix.ai/model-inference/get-started/connect-docs-to-ai
Learn how to use MCP, llms.txt, skill.md, and Markdown pages to let AI tools query ScitiX product documentation.
You can connect ScitiX Docs to AI tools such as Claude Code, Codex, and Cursor. The AI tool can then answer questions about Model Inference, Siverse, and GPU Cloud based on the documentation, such as how to choose a model, call the API, configure API keys, view usage, prepare resources, create development environments, submit training tasks, publish inference services, manage instances and Kubernetes clusters, use storage, or configure monitoring and alerts.
## Choose a method
We recommend using MCP first. MCP is best for querying ScitiX documentation continuously from an IDE, coding agent, or desktop AI client. The AI tool can retrieve relevant documentation on demand, without requiring you to copy page links or page content each time.
If your AI tool does not support MCP, choose another method based on your use case.
| Use case | Recommended method |
| - | - |
| Your AI tool supports MCP and needs long-term access to the docs | Use MCP |
| Your AI agent supports skills or custom context | Use `skill.md` |
| You want AI to discover available documentation pages | Use `llms.txt` |
| You want AI to read the full documentation content | Use `llms-full.txt` |
| You only need AI to read one page | Use single-page Markdown |
## MCP access
If your AI tool supports Model Context Protocol (MCP), you can connect it to ScitiX documentation. After connection, the AI tool can search relevant documentation and answer questions based on the docs.
### Access URL
Use the following MCP server URL when adding ScitiX Docs to your AI tool.
```text theme={null}
https://docs.scitix.ai/mcp
```
### Tool capabilities
After connection, the AI tool can use the following documentation tools:
| Tool | Description |
| - | - |
| `search` | Search ScitiX documentation for relevant pages, guides, and API references. |
| `query_docs_filesystem` | Read pages from the virtual documentation filesystem. Use it to inspect full pages, browse the docs structure, or match exact keywords. |
| `submit_feedback` | Submit feedback to the documentation team for incorrect, outdated, confusing, or incomplete documentation. |
### Example questions
Ask questions about the product and task you are working on, for example:
| Product | Example questions |
| - | - |
| Model Inference | Which model should I use? How do I create an API key and call a model? How do I troubleshoot API errors? How do I view token usage and costs? |
| Siverse | What resources do I need to prepare before first use? Should I use a development environment, a training task, or an inference service? How do I troubleshoot a training task that is queued or has failed? |
| GPU Cloud | Should I choose a CES instance or a Kubernetes cluster? Should I use GPFS or OSS for shared data? How do I view monitoring data? How do I subscribe to alerts? |
### Configure in Claude Code
Claude Code is primarily a command-line workflow. In the project directory where you want to use ScitiX Docs, run:
```bash theme={null}
claude mcp add --transport http scitix-docs https://docs.scitix.ai/mcp
```
After configuration, run the following command to check the connection:
```bash theme={null}
claude mcp list
```
### Configure in Codex
If you use a Codex client that supports graphical MCP configuration, you can add an MCP server in the app and set the server URL to `https://docs.scitix.ai/mcp`.
If you want to reuse the configuration across projects or IDEs, use the CLI or configuration file.
Run the following command to add the ScitiX Docs MCP server:
```bash theme={null}
codex mcp add scitixDocs --url https://docs.scitix.ai/mcp
```
After configuration, run the following command to check the connection:
```bash theme={null}
codex mcp list
```
You can also edit the Codex configuration file, such as `~/.codex/config.toml`, and add:
```toml theme={null}
[mcp_servers.scitixDocs]
url = "https://docs.scitix.ai/mcp"
```
## Other reading methods
### Use skill.md
`skill.md` describes the documentation site and product capabilities to AI agents. It is useful for tools that support skills or agent context.
```text theme={null}
https://docs.scitix.ai/skill.md
```
### Use llms.txt
`llms.txt` provides an index of the documentation pages. It is useful when you want AI to understand what pages are available.
```text theme={null}
https://docs.scitix.ai/llms.txt
```
### Use llms-full.txt
`llms-full.txt` provides more complete documentation content. It is useful when an AI tool needs a larger documentation context at once.
```text theme={null}
https://docs.scitix.ai/llms-full.txt
```
> [!WARNING]
>
> `llms-full.txt` may contain a large amount of content. Some AI tools have context length limits. If the content is too long, use MCP, `llms.txt`, or single-page Markdown instead.
### Use single-page Markdown
Every documentation page can be read in Markdown format. Add `.md` to the page URL to get a plain-text version that is easier for AI tools to read.
For example:
```text theme={null}
https://docs.scitix.ai/model-inference/get-started/first-api-call.md
https://docs.scitix.ai/siverse/training/create-training-tasks.md
https://docs.scitix.ai/gpu-cloud/get-started/quickstart-instance.md
```
## Usage recommendations
* For product concepts, setup steps, and configuration details, prefer MCP or a specific Markdown page.
* For real-time information such as model availability, pricing, quotas, resource availability or inventory, task and service status, instance and cluster status, orders, and console configuration, also check the console.
* If an AI answer conflicts with the documentation page, rely on the documentation page.
# Make your first API call
Source: https://docs.scitix.ai/model-inference/get-started/first-api-call
Create a ScitiX API key, send a Chat Completions request with Python or curl, and check the response, usage, and cost.
Send a Chat Completions request and read the model's answer. This guide covers API key setup, a non-streaming request using either the OpenAI Python SDK or curl, and where to check usage and cost.
## Before you begin
* Have a ScitiX account and access to the console.
* Choose a model in [Models](https://console.scitix.ai/model-inference/models). Check its model ID, supported capabilities, and price. The examples use `zai-org/glm-5.3`; to use another model, replace it with the ID from that model's details page.
* For Python, use Python 3.10 or later and the OpenAI Python SDK. For REST requests, use curl.
> [!WARNING]
>
> API requests incur charges. Check the model's prices before sending a request. For billing items and how tokens are counted, see [Token usage and billing](/model-inference/usage/billing).
If you need help choosing a model, see [Choose and test a model](/model-inference/get-started/model-selection-playground). Testing in the Playground is optional, not a prerequisite for API access.
## 1. Create an API key
1. Sign in to the console, open [**API Keys**](https://console.scitix.ai/model-inference/api_keys), and select **Create API Key**.
2. Give the key a recognizable name and copy the generated key.
3. In the terminal where you will run the examples, set the environment variable below. Replace `YOUR_API_KEY` with your key, and run subsequent commands in the same terminal.
```bash theme={null}
export API_KEY="YOUR_API_KEY"
```
The variable is available only in that terminal session. Set it again when you open a new terminal. To load it automatically, you can add the command to your shell's user startup file. That file stores the key in plaintext; do not share it or commit it to a repository.
> [!WARNING]
>
> Do not hard-code API keys, commit them to Git, or expose them in browser or other client-side code.
The key list shows creation time, last-used time, and rate limits. To set spending caps, adjust rate limits, or manage a key's status, see [Manage API keys](/model-inference/usage/api-keys).
## 2. Send a request
Choose Python to call the model from a program, or curl to send a REST request without installing an SDK. Both examples wait for generation to finish and then return the complete response.
| Connection detail | Value |
| - | - |
| API key | The `API_KEY` environment variable. The Python SDK reads it from the environment; the REST request sends it in `Authorization: Bearer $API_KEY`. |
| Python SDK `base_url` | `https://api.scitix.ai/model-api`. Do not include `/chat/completions`; the SDK appends the request path. |
| Full REST request URL | `https://api.scitix.ai/model-api/chat/completions`. This includes the path for the request below. |
| Model ID | `zai-org/glm-5.3`, passed in the `model` parameter. |
> [tab] Python SDK
>
> Install the OpenAI Python SDK:
>
> ```bash theme={null}
> python3 -m pip install --upgrade openai
> ```
>
> Save this example as `first_api_call.py`. It reads your API key from the environment and prints the model's final answer.
>
> ```python theme={null}
> import os
> from openai import OpenAI
>
> client = OpenAI(
> api_key=os.environ["API_KEY"],
> base_url="https://api.scitix.ai/model-api",
> )
>
> response = client.chat.completions.create(
> model="zai-org/glm-5.3",
> messages=[
> {
> "role": "user",
> "content": "What new opportunities might reasoning models bring to the market?",
> }
> ],
> max_completion_tokens=1024,
> stream=False,
> )
>
> print(response.choices[0].message.content)
> ```
>
> Run the script in the terminal where you set `API_KEY`:
>
> ```bash theme={null}
> python3 first_api_call.py
> ```
>
> On success, the terminal prints the final answer from `response.choices[0].message.content`. The wording depends on the model's response.
>
> If you see `KeyError: 'API_KEY'`, set the environment variable in this terminal before running the script again. For other errors, see [Troubleshoot a failed request](#troubleshoot-a-failed-request).
> [tab] REST (curl)
>
> Run this command in the terminal where you set `API_KEY`:
>
> ```bash theme={null}
> curl https://api.scitix.ai/model-api/chat/completions \
> -H "Authorization: Bearer $API_KEY" \
> -H "Content-Type: application/json" \
> -d '{
> "model": "zai-org/glm-5.3",
> "stream": false,
> "max_completion_tokens": 1024,
> "messages": [
> {"role": "user", "content": "What new opportunities might reasoning models bring to the market?"}
> ]
> }'
> ```
>
> On success, the terminal displays a JSON response. Read the final answer from `choices[0].message.content`; its wording depends on the model's response. If the response contains an error, see [Troubleshoot a failed request](#troubleshoot-a-failed-request).
### Request parameters
| Parameter | Purpose |
| - | - |
| `model` | The model ID to call. Check the model details page for supported capabilities and parameters. |
| `messages` | The messages sent to the model. In this example, `role` identifies a user message and `content` contains the prompt. |
| `max_completion_tokens` | The generation budget for this request. The example uses `1024`; adjust it as needed. For reasoning models, reasoning tokens and visible output tokens share this budget. |
| `stream` | Whether to stream the response. These examples use `false` in JSON and `False` in Python to return the complete response after generation finishes. |
To display the answer as it is generated, see [Streaming](/model-inference/models/streaming). To read a model's reasoning output, see [Reasoning](/model-inference/models/reasoning).
## 3. Check usage and cost
After a successful call, open [**Usage Detail**](https://console.scitix.ai/model-inference/usage_detail) in the console. Filter by model, API key, and time range to find the request and review its token usage and cost. See [View usage](/model-inference/usage/view-usage) for details.
## Troubleshoot a failed request
First check the connection details above. Do not use the full REST request URL as the Python SDK's `base_url`. Then follow the error message:
| Symptom or HTTP status | What to check or do |
| - | - |
| Python reports `KeyError: 'API_KEY'` | Set `API_KEY` in the same terminal where you run the script. |
| `401`: authentication failed | Check that the API key is correct, usable, and included in the request. |
| `400` / `422`: invalid request | Check the model ID, request body, and model-specific parameter requirements. Correct the request before trying again. |
| `402`: billing rejected | Check the account quota and spending limits. Resolve the billing issue before trying again. |
| `429`: rate limit reached | Reduce the request rate or concurrency and wait before retrying. If the response includes `retry_after_sec`, wait at least that many seconds. |
| `500` / `502` / `503`: temporary service issue | Retry later with backoff. |
For more error types, see [Error handling](/model-inference/api/error-handling). If the issue persists, keep the `request_id`, `traceId`, request time, model ID, and API path for technical support. Do not include your API key.
## Next steps
Choose the capabilities your application needs, and check the model details page for support:
* [Text generation](/model-inference/models/text-generation) for text responses and multi-turn conversations.
* [Structured output](/model-inference/models/structured-output) for extracting fields and returning a specified structure.
* [Function calling](/model-inference/models/function-calling) for letting a model ask your application to call a tool.
* [Vision and multimodal](/model-inference/models/vision-and-multimodal) for image and other multimodal inputs.
# Model Inference
Source: https://docs.scitix.ai/model-inference/get-started/model-inference-overview
Access text, reasoning, vision, embedding, and speech models through a unified API, choose models for your task, and manage usage and costs.
ScitiX Model Inference gives developers and enterprises access to text generation, reasoning, vision and multimodal, embedding, and speech models through a unified API.
Use the console to test models, manage API keys, and monitor usage as you move from a prototype to a production application.
## Get started
Follow these steps to choose a model, make an API call, and monitor usage. If you have already chosen a model, start with step 2.
**1. Choose and test a model**
Compare models in the console, then [test supported models in the Playground](/model-inference/get-started/model-selection-playground) to check whether they fit your use case. Test embedding models through the [Embeddings API](/model-inference/models/embedding).
**2. Create an API key and call a model**
Create an API key and use your chosen model's ID to [make your first API call](/model-inference/get-started/first-api-call) through REST or an SDK. For failed requests, see [Error handling](/model-inference/api/error-handling).
**3. Check usage and performance**
* [View usage](/model-inference/usage/view-usage): Review per-request token usage, cost, and duration.
* [View metrics](/model-inference/usage/view-metrics): Track overall request trends, throughput, and latency to assess performance and cost.
## What the platform provides
* **A unified API.** Call different models through a common interface, with REST requests and streaming responses. Integrate with mainstream SDKs and AI coding tools while reducing the changes needed to switch models.
* **Inference acceleration and autoscaling.** In-house inference acceleration and autoscaling support low latency, high throughput, and stable processing of long-context workloads.
* **Model discovery and testing.** Filter the model catalog by provider, category, context window, and price, then test supported models in the Playground.
* **Usage and cost controls.** The platform supports pay-as-you-go billing. Set spending caps and token-per-minute (TPM) and request-per-minute (RPM) limits for each API key.
* **Usage monitoring and API key management.** View token consumption, spending, request details, and performance metrics on the Home, Usage Detail, and Metrics pages. Manage API keys throughout their lifecycle, including their spending caps and rate limits.
## Choose a model for your task
Start with the capabilities your task requires, then compare response quality, context window, and price.
| Model type | What to use it for | Example model IDs |
| - | - | - |
| [Text generation](/model-inference/models/text-generation) | Generate responses from prompts and conversation history for chat, content creation, and coding tasks. | `deepseek-ai/deepseek-v4-pro` `qwen/qwen3.8-max` `iquestLab/iquest-q1` |
| [Reasoning](/model-inference/models/reasoning) | Solve math, coding, and logical analysis tasks that require multiple reasoning steps. | `Qwen/Qwen3.6-27B` `zai-org/glm-5.3` |
| [Vision and multimodal](/model-inference/models/vision-and-multimodal) | Combine text and image inputs for image understanding, visual question answering, and tasks involving both text and images. | `moonshotai/kimi-k3` |
| [Embedding](/model-inference/models/embedding) | Convert text into semantic vectors for search, retrieval, clustering, and RAG pipelines. | `Qwen/Qwen3-Embedding-8B` |
| [Speech](/model-inference/models/speech) | Convert speech to text for transcription, or generate speech from text for voice assistants and accessibility tools. | `bosonai/asr` `bosonai/tts` |
> [!NOTE]
>
> A model can support more than one capability. For large documents or codebases that must fit in a single request, also check the context window. See [Long context](/model-inference/models/long-context).
>
> The catalog changes over time. The model IDs above are examples, not a complete list. Check the model details in [Models](https://console.scitix.ai/model-inference/models) for available models, supported capabilities, context windows, and prices. Use the model ID shown there in API requests.
## Common use cases
* **Question answering and assistants.** Build enterprise knowledge assistants, operations assistants, and customer service bots that answer questions or help with business tasks.
* **Content creation.** Develop ideas, generate marketing copy and long-form content, and write structured documents.
* **Coding and agent workflows.** Connect models to coding tools or applications for code generation, agentic coding, refactoring, and multi-step development tasks.
* **Semantic search and RAG.** Use embedding models to retrieve relevant content, then provide it as context for a text generation model.
* **Vision and multimodal understanding.** Describe images, answer questions about visual content, and analyze charts, screenshots, or documents containing text and images.
* **Speech applications.** Transcribe audio or generate spoken responses for voice assistants and accessibility tools.
* **Long-context workflows.** Include large documents, code excerpts, or relevant conversation history in one request for question answering, summarization, comparison, or code analysis.
## Manage usage and costs
Charges depend on actual usage and the selected model's unit prices. Token-based models are billed by token usage. Speech models are billed by audio duration: input audio for ASR and output audio for TTS.
For billing definitions and cost controls, see [Token usage and billing](/model-inference/usage/billing).
* **Match the model to the task.** Start with a lower-cost model during development, then switch to a more capable model if needed. Compare quality, latency, and cost before making the change.
* **Set limits per application.** Create separate API keys for different applications and configure spending caps and TPM/RPM limits to reduce the risk of unexpected usage.
* **Use request data to guide changes.** Identify the main sources of usage and cost from request records and aggregate metrics. Adjust the model, input length, or generation budget accordingly.
# Choose and test a model
Source: https://docs.scitix.ai/model-inference/get-started/model-selection-playground
Find a model for your task, test prompts and settings in the Playground, and use the selected configuration in your application.
Test candidate models in the console before writing integration code. Compare their responses, choose the settings that fit your task, and use that configuration as a starting point for API calls.
If you already have a candidate model, go straight to its details and start testing. Otherwise, use Model Assistant to help narrow down your options.
## 1. Choose a model
On [Home](https://console.scitix.ai/model-inference/home), describe your task in **Model Assistant**. It recommends models and configurations based on your goal and asks for additional constraints when needed.
You can also start with a suggested task, such as document summarization, coding assistance, or text classification.

Open [Models](https://console.scitix.ai/model-inference/models) to filter candidates by provider, category, context window, and price. Use these criteria to decide which models to test:
| Criterion | What to check |
| - | - |
| Task and capabilities | Does the model support your task, such as question answering, code generation, image understanding, semantic search, or speech processing? See [Text generation](/model-inference/models/text-generation), [Reasoning](/model-inference/models/reasoning), [Vision and multimodal](/model-inference/models/vision-and-multimodal), [Embedding](/model-inference/models/embedding), and [Speech](/model-inference/models/speech). |
| Context window | Can the model accommodate your input and conversation history? For large documents or codebases, see [Long context](/model-inference/models/long-context). |
| Price | Estimate costs from the model's unit prices and expected usage. Then test whether its responses meet your requirements. |
| Response quality and speed | Use prompts from your actual workload to compare quality and wait time. Balance both against cost. |
Each model card shows key information, including the name, context window, and price. Select **View Details** to review the model and its API examples.
> [!TIP]
>
> A model's display name and API model ID serve different purposes. Use the model ID shown on the details page in API requests. The page also provides curl and Python examples you can copy.
## 2. Test prompts and settings
> [!NOTE]
>
> Some model types, such as embedding models, are not supported in the Playground. Test embedding models through the [Embeddings API](/model-inference/models/embedding) instead.
> [!WARNING]
>
> Playground requests incur charges based on token usage and the selected model's unit prices. Check the price on the model details page before testing. See [Token usage and billing](/model-inference/usage/billing).
1. Select **Try Now** on a model card, or open the [Playground](https://console.scitix.ai/model-inference/playground) and choose a model from the model selector.
2. Choose a preset, set the system prompt, and adjust the settings you need.
3. Enter a prompt and send it. Read the response. You can continue the conversation to add context or ask for changes.
4. Adjust the system prompt or settings and send another prompt to test the updated configuration. Use **Save** or **Reset** to manage the configuration.
Use the settings below to adjust model behavior. Before using a setting in an API request, check that the selected model and API support it.
| Setting | Purpose |
| - | - |
| **Preset** | Choose **Balanced**, **Creative**, or **Precise**, or use a **Custom** configuration. |
| **System prompt** | Set the assistant's role, tone, and response constraints. For example, require a specific format or answers based only on the supplied material. |
| **Temperature** | Control randomness. Lower values generally suit tasks that need more consistent responses; higher values can produce more varied phrasing. |
| **Top P** | Control the sampling pool based on the cumulative probability of candidate tokens to adjust response diversity. |
| **Top K** | Limit the number of candidate tokens considered during sampling to adjust response diversity. |
| **Max tokens** | Limit the number of generated tokens. The default output limit is determined by the model configuration. The context window and output limit are different, so also account for input length. This setting corresponds to `max_completion_tokens` in the API. For reasoning models, the budget covers both reasoning tokens and visible output tokens, not just the final answer. See [Token usage and billing](/model-inference/usage/billing). |
| **Frequency penalty** | Adjust the penalty for repeated content. Try changing it if responses contain too much repetition. |
### Compare responses
Use representative inputs from your workload. Include longer material or complex constraints when those are part of the task. Check:
* **Accuracy:** Is the response correct and consistent with the supplied material?
* **Instructions and format:** Does it follow the task, tone, and output format you requested?
* **Completeness:** Does it cover the key questions without repetition or truncation?
* **Response time:** Is the wait acceptable for your application?
Keep prompts, input material, and output requirements the same when comparing models. When tuning a configuration, change one factor at a time so you can identify what affected the result. Record the selected model, system prompt, and settings for API integration.
### Check usage
During multi-turn conversations, check the context window and session usage in the configuration area. Keep track of the length of your input material and conversation history.
On [Home](https://console.scitix.ai/model-inference/home), review token consumption, API requests, throughput trends, Top Models, Top API Keys, and member usage to identify overall consumption and its main sources. Member usage is visible only to administrators.
For individual request usage, cost, and duration, see [View usage](/model-inference/usage/view-usage). For aggregate request trends, throughput, and latency, see [View metrics](/model-inference/usage/view-metrics).
## 3. Use the configuration in your application
Once the responses meet your requirements, prepare:
* The model ID from the model details page.
* The system prompt and input you used during testing.
* The settings you want to keep, limited to those supported by the selected model and API.
Follow [Make your first API call](/model-inference/get-started/first-api-call) to create an API key and connect to the model. Start with the prompts you used in the Playground to check the responses, then validate the integration with requests from your actual workload.
# Aider
Source: https://docs.scitix.ai/model-inference/integrations/aider
Learn how to connect Aider to ScitiX Model Inference for terminal-based AI pair programming and code editing workflows.
[Aider](https://aider.chat) is a terminal AI pair-programming tool built around a git diff workflow. You can connect Aider to the ScitiX Model Inference API through its OpenAI-compatible integration.
## Configure
### 1. Install Aider
```bash pip (official installer) theme={null}
python -m pip install aider-install && aider-install
```
```bash uv theme={null}
uv tool install --force --python python3.12 --with pip aider-chat@latest
```
### 2. Configure the model
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page, then add the ScitiX configuration to `~/.aider.conf.yml`. Aider reads this file on every launch and in every terminal.
```yaml theme={null}
model: openai/glm-5.2
openai-api-base: https://api.scitix.ai/model-api/v1
openai-api-key:
```
Keep the following in mind:
* This guide uses `glm-5.2` as the example model. Reasoning models such as `glm-5.2` may output reasoning content before the final response, which can feel slower. Switch to a non-reasoning model if speed matters more.
* The `openai/` prefix routes requests through Aider's OpenAI-compatible integration. There is no `SCITIX_`-prefixed variant.
* As a session-only alternative, you can set `OPENAI_API_BASE` and `OPENAI_API_KEY`, then run `aider --model openai/glm-5.2`. A new terminal session will lose these exports.
* Instead of `~/.aider.conf.yml`, `OPENAI_API_BASE` and `OPENAI_API_KEY` can also live in a `.env` file. Aider searches in the home directory, the git repo root, and the current directory. Later locations take precedence.
Launch Aider from your project directory:
```bash theme={null}
cd your-project
aider
```
> [!TIP]
>
> Commit messages and chat-history summaries are generated by a separate weak model. Add `--weak-model openai/DeepSeek-V4-Flash` if you want to use `DeepSeek-V4-Flash` for this role.
### 3. Clear the unknown model warning
On first launch, Aider may show a warning similar to:
```text theme={null}
Warning for openai/glm-5.2: Unknown context window size and costs, using sane defaults.
```
This is expected when Aider's model database does not yet include ScitiX model IDs. Aider falls back to defaults and may suggest a similar model name. Answer **N** to the documentation prompt and ignore the model-name suggestion.
To clear the warning, add a `.aider.model.metadata.json` file in your project root:
```json theme={null}
{
"openai/glm-5.2": {
"max_tokens": 8192,
"max_input_tokens": 131072,
"max_output_tokens": 8192,
"input_cost_per_token": 0,
"output_cost_per_token": 0,
"litellm_provider": "openai",
"mode": "chat"
}
}
```
* The `litellm_provider` field must match the prefix in the model name. Aider looks for this file in your home directory, the git repo root, and the current directory. Later locations take precedence. You can also pass `--model-metadata-file ` explicitly.
* Adjust `max_input_tokens` in `.aider.model.metadata.json` to match the model's actual context window.
## Verify
In interactive mode, ask Aider to make a small change, such as adding a line to the README, and confirm that it generates and applies a diff.
You can also verify the connection non-interactively:
```bash theme={null}
aider --model openai/glm-5.2 --message "say ok" --no-git --yes-always
```
## Other Modes
The same ScitiX configuration also works with Aider's other modes:
* **One-shot**: `--message ""` sends a single instruction, applies the result, and exits. This is useful for scripting.
* **Browser UI**: `aider --browser` runs Aider in your web browser. This mode is experimental.
* **Watch mode**: `aider --watch-files` watches your repo for AI comments. For example, write `// add a factorial() function ai!` in a file and Aider picks it up. `AI!` requests a change, while `AI?` asks a question.
# AnythingLLM
Source: https://docs.scitix.ai/model-inference/integrations/anythingllm
Learn how to configure AnythingLLM with the ScitiX Model Inference endpoint for workspace chat, document chat, and agent workflows.
[AnythingLLM](https://github.com/Mintplex-Labs/anything-llm) is an all-in-one desktop and self-hosted AI application with workspaces, document chat (RAG), and agents. Its **Generic OpenAI** provider can connect to the ScitiX Model Inference API, so ScitiX models can power chat and agent workflows.
Supported models include `glm-5.2` and `DeepSeek-V4-Flash`. For model pricing, see the [model catalog](https://console.scitix.ai/model-inference/models).
## Configure
You can configure AnythingLLM through the onboarding UI, the settings page, or `server/.env` for a self-hosted deployment.
### 1. Configure the Generic OpenAI provider
During onboarding, or later under **Settings → AI Providers → LLM**, choose **Generic OpenAI** as the LLM provider and fill in the required fields.
| Field | Value |
| - | - |
| Base URL | `https://api.scitix.ai/model-api/v1` |
| API Key | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
| Selected Model | `glm-5.2` |
| Model context window | `131072` |
When configuring workspace chat mode:
* When the workspace chat mode is left on its default and the model supports native tool calling, AnythingLLM routes to its agent flow.
* Set the workspace chat mode to **chat** for plain conversation, or keep the default for agent and tool use.
* Choose a model with native tool calling if you rely on agents or document-tool features. `glm-5.2` supports tool calling.

### 2. Configure `server/.env` for self-hosted deployments
For a self-hosted deployment, either bare-metal or Docker, set the same values in `server/.env`:
```bash theme={null}
LLM_PROVIDER="generic-openai"
GENERIC_OPEN_AI_BASE_PATH="https://api.scitix.ai/model-api/v1"
GENERIC_OPEN_AI_MODEL_PREF="glm-5.2"
GENERIC_OPEN_AI_MODEL_TOKEN_LIMIT=131072
GENERIC_OPEN_AI_API_KEY=""
```
> [!WARNING]
>
> Use `https://api.scitix.ai/model-api/v1` with `/v1`. AnythingLLM's Generic OpenAI provider passes this base path to the OpenAI SDK, which appends `/chat/completions`.
## Verify
Create a workspace, confirm that the model shown at the top is your ScitiX model, and send a message. A normal reply confirms that the connection works.

# AutoGen
Source: https://docs.scitix.ai/model-inference/integrations/autogen
Learn how to use AutoGen with ScitiX Model Inference to build multi-agent applications through an OpenAI-compatible endpoint.
[AutoGen](https://github.com/microsoft/autogen) is Microsoft's framework for building multi-agent AI applications. Its `OpenAIChatCompletionClient` accepts a custom `base_url`, so agents can run on the ScitiX Model Inference API.
Default model here is `glm-5.2`; see the [Models](https://console.scitix.ai/model-inference/models) page for the full list and pricing.
## Configure
Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page and export it:
```bash theme={null}
export SCITIX_API_KEY=""
```
Install `autogen-agentchat` and `autogen-ext[openai]`, then build a client pointed at ScitiX. Use `OpenAIChatCompletionClient` from `autogen-ext[openai]`; pass this client to an `AssistantAgent` to drive multi-agent teams on ScitiX.
```python theme={null}
import os
from autogen_ext.models.openai import OpenAIChatCompletionClient
from autogen_core.models import ModelInfo
client = OpenAIChatCompletionClient(
model="glm-5.2",
base_url="https://api.scitix.ai/model-api/v1",
api_key=os.environ["SCITIX_API_KEY"],
model_info=ModelInfo(
vision=False, function_calling=True, json_output=True,
family="unknown", structured_output=True,
),
)
```
| Field | Description |
| - | - |
| `model` | ScitiX model ID, e.g. `glm-5.2` |
| `base_url` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1` |
| `api_key` | Your ScitiX API key, read from the environment |
| `model_info` | Required for a custom model. Declare its capabilities, such as `function_calling`. |
For a custom model, `model_info` is required. Without it, the client raises `model_info is required`. For a tool-calling model such as `glm-5.2`, set `function_calling=True`.
## Verify
Send a message — a normal reply confirms the connection (verified on `autogen-agentchat 0.7.5`):
```python theme={null}
import asyncio
from autogen_core.models import UserMessage
async def main():
r = await client.create(
[UserMessage(content="In one short sentence, which model are you?", source="user")]
)
print(r.content)
asyncio.run(main())
# → I'm GLM, a large language model developed by Z.ai.
```
# CC-Switch
Source: https://docs.scitix.ai/model-inference/integrations/cc-switch
Learn how to configure CC-Switch with ScitiX Model Inference to switch provider settings for Claude Code and related coding tools.
[CC-Switch](https://github.com/farion1231/cc-switch) is a desktop app (with a system-tray quick switcher) for managing and switching model-provider configurations across AI coding tools — Claude Code, Codex, OpenCode, OpenClaw, and more. You register ScitiX once and switch to it with a click: CC-Switch writes the live config files (`~/.claude/settings.json`, `~/.codex/config.toml` / `auth.json`) atomically, with automatic backups.
Use **Qwen/Qwen3.5-397B-A17B** for both apps — it is served over the Anthropic Messages protocol that Claude Code speaks, and over the Chat Completions protocol that CC-Switch converts Codex traffic into. See the [Models](https://console.scitix.ai/model-inference/models) page for available models.
## How CC-Switch reaches ScitiX
CC-Switch points each tool at a local proxy and forwards requests upstream. **It converts the protocol for Codex but not for Claude Code**, which is why the two apps need different settings:
| App | Protocol the tool speaks | CC-Switch behaviour | Protocol ScitiX receives |
| - | - | - | - |
| Claude Code | Anthropic Messages | Maps the model name and injects the key; no protocol conversion | Anthropic Messages |
| Codex | Responses | Converts Responses to Chat Completions | Chat Completions |
The practical consequence: **the model must be served over the protocol that actually reaches ScitiX.** `Qwen/Qwen3.5-397B-A17B` is served over both, so it works for either app.
## Configure Claude Code
Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page first.
1. Open CC-Switch and select the **Claude Code** app tab.
2. Click **+** (top-right), keep the **App-specific Provider** tab, and choose **Custom** in the Preset dropdown.
3. Fill in:
| Field | Value |
| - | - |
| Name | `ScitiX` |
| Endpoint URL | `https://api.scitix.ai/model-api` |
| API Key | Your ScitiX API key |
| API Format (Advanced Options) | **Anthropic Messages** — Claude Code speaks this protocol and CC-Switch forwards it unchanged |
| Needs Local Routing | **Off** |
| Model | `Qwen/Qwen3.5-397B-A17B` — type it manually, or use **Fetch Models** |
4. Claude Code has three model slots (Opus, Sonnet, Haiku). **Map every slot you intend to use to a model served over Anthropic Messages** — selecting a slot mapped to an incompatible model fails with `400 unsupported_protocol`. Besides `Qwen/Qwen3.5-397B-A17B`, both `Qwen/Qwen3.6-27B` and `google/gemma-4-31B-it` work; `google/gemma-3-27b-it` suits the Haiku slot because it is not a reasoning model.
5. Click **Add**, then **Enable** on the ScitiX provider card — it shows "Currently Active". Claude Code picks the change up immediately, no restart needed.
6. In Claude Code, run `/model` and **select one of your custom entries**. Leaving it on **Default** keeps Claude Code's own built-in default model, which ScitiX does not serve.
On this path CC-Switch holds the key itself: it writes `ANTHROPIC_AUTH_TOKEN: "PROXY_MANAGED"` into `~/.claude/settings.json` and points `ANTHROPIC_BASE_URL` at its local proxy — no credential lands in the config file.
## Configure Codex
1. Switch to the **Codex** app tab and click **+** → **Custom**.

2. Fill in:
| Field | Value |
| - | - |
| Name | `ScitiX` |
| Endpoint URL | `https://api.scitix.ai/model-api/v1` |
| API Key | Your ScitiX API key |
| API Format | **OpenAI Chat Completions** — not Responses; let CC-Switch convert |
| Needs Local Routing | **On** — required for the conversion above |
| Model | `Qwen/Qwen3.5-397B-A17B` |
3. Click **Add** → **Enable**.
4. On this path CC-Switch does **not** hold the key — it writes an `env_key` reference into `~/.codex/config.toml`, and you export that variable yourself:
```bash theme={null}
grep env_key ~/.codex/config.toml
export SCITIX_API_KEY=""
```
The variable name is derived from the provider name. An `export` only lasts for the current shell session — add it to `~/.bashrc` / `~/.zshrc` to persist.
5. **Close and reopen your terminal** — Codex only reads its config at startup.
## Verify
Switch to ScitiX from the provider card (or the tray icon → app submenu → **ScitiX**), then:
```bash theme={null}
claude # takes effect immediately
codex # reopen the terminal first
```
Ask each a test question; a normal reply means the switch worked. Because `Qwen/Qwen3.5-397B-A17B` is served only by ScitiX, a reply naming that model is proof the request went through ScitiX.

## FAQ
* **Claude Code says the selected model may not exist or may not be accessible**: You are on the **Default** entry in `/model`, or on a slot mapped to an incompatible model. Run `/model` and pick a custom entry. Claude Code's built-in entries carry a `[1M]` suffix — that belongs to Claude Code's naming, not a model ID, and ScitiX registers no model under it.
* **I see `400 unsupported_protocol`**: The model is not served over the protocol that reached ScitiX. On the Claude Code side, pick a model available over Anthropic Messages; on the Codex side, confirm **Needs Local Routing** is on so Responses traffic gets converted.
* **Codex reports `Missing environment variable`**: Export the variable named in `~/.codex/config.toml`, then reopen the terminal.
* **I cannot delete the currently active provider**: Switch away first, then delete it.
* **Fetch Models fails with 404 or 405**: Type the model ID manually.
* **Can I use a Universal Provider?** Yes. A **Universal Provider** (second tab in the add dialog) registers ScitiX for several apps at once; the per-app protocol differences above still apply, so check each app's format and routing afterwards.
Verified on CC-Switch v3.19.2 (macOS); the UI may shift between versions.
# Chat2Graph
Source: https://docs.scitix.ai/model-inference/integrations/chat2graph
Learn how to configure Chat2Graph with LiteLLM environment variables and connect graph-native agent workflows to ScitiX Model Inference.
[Chat2Graph](https://github.com/TuGraph-family/chat2graph) is an open-source graph-native agent system from the TuGraph family. It calls large language models through LiteLLM, and `LLM_ENDPOINT` can point to any OpenAI-compatible service, so you can connect Chat2Graph to ScitiX Model Inference.
This guide uses `glm-5.2` as an example. For the full model list and pricing, see [Models](https://console.scitix.ai/model-inference/models).
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. Copy `.env.template` to `.env`, then fill in:
```bash theme={null}
MODEL_PLATFORM_TYPE=LITELLM
LLM_NAME=openai/glm-5.2
LLM_ENDPOINT=https://api.scitix.ai/model-api/v1
LLM_APIKEY=
EMBEDDING_MODEL_NAME=Qwen/Qwen3-Embedding-4B
EMBEDDING_MODEL_ENDPOINT=https://api.scitix.ai/model-api/v1/embeddings
EMBEDDING_MODEL_APIKEY=
```
| Field | Description |
| - | - |
| `MODEL_PLATFORM_TYPE` | Set to `LITELLM`. |
| `LLM_NAME` | Use `openai/` so LiteLLM treats the model as OpenAI-compatible and routes requests through `LLM_ENDPOINT`, such as `openai/glm-5.2`. |
| `LLM_ENDPOINT` | ScitiX OpenAI-compatible base URL with `/v1`: `https://api.scitix.ai/model-api/v1` |
| `LLM_APIKEY` | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page |
| `EMBEDDING_MODEL_ENDPOINT` | ScitiX embedding endpoint: `https://api.scitix.ai/model-api/v1/embeddings` |
## Verify
Build and start Chat2Graph with `./bin/build.sh` and `./bin/start.sh`, open the Web UI at the default `http://localhost:5010/`, and send a message. A normal reply confirms that the connection works.
You can also run a minimal LiteLLM check with the same configuration:
```python theme={null}
import litellm
r = litellm.completion(
model="openai/glm-5.2",
api_base="https://api.scitix.ai/model-api/v1",
api_key="",
messages=[{"role": "user", "content": "Reply with exactly: OK"}],
)
print(r.choices[0].message.content)
```
## FAQ
* `LLM_NAME` must include the `openai/` prefix:
This tells LiteLLM to treat the model as an OpenAI-compatible provider and use `LLM_ENDPOINT` instead of trying to infer another provider.
* `LLM_ENDPOINT` is a base URL with `/v1`:
Use `https://api.scitix.ai/model-api/v1`. The embedding endpoint uses the full `/v1/embeddings` path.
* **Model IDs**:
Use model IDs from the [Models](https://console.scitix.ai/model-inference/models) page.
# Chatbox
Source: https://docs.scitix.ai/model-inference/integrations/chatbox
Learn how to connect Chatbox to ScitiX Model Inference by configuring an OpenAI provider, API key, endpoint, and model.
[Chatbox](https://chatboxai.app) is a cross-platform desktop AI client for Windows, macOS, and Linux. It also provides a web version. Its built-in OpenAI provider lets you customize the API Host, so you can point Chatbox to the ScitiX Model Inference API and use ScitiX models.
Supported models include `glm-5.2` and `DeepSeek-V4-Flash`. For model pricing, see the [model catalog](https://console.scitix.ai/model-inference/models).
## Configure
The steps below use the Chatbox desktop app as an example. [Chatbox Web](https://web.chatboxai.app) uses a similar configuration flow.
1. Open **Settings** from the gear icon in the bottom-left corner, then go to **Model Provider**.
2. Select the built-in **OpenAI** provider and fill in the required fields.
| Field | Description |
| - | - |
| API Key | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
| API Host | `https://api.scitix.ai/model-api/v1`. Do not end it with `/` or `#`. |
3. In the model section, click **Fetch** to load the model list, then add the models you want to use, such as `glm-5.2`.
If Chatbox cannot fetch the model list, check that the API Host and API Key are correct. You can also click **+ New** to add a model ID manually. Clicking **Reset** clears the model list.
4. Click **Check** and select a model to test the connection.
Chatbox displays a **Model Test Results** dialog and checks capabilities such as Text, Vision, and Tool Use Request. If you see `Connection successful!`, the connection is working.
**Model Test Results** reports Vision and Tool Use support by model. A model may pass the Text check but not support Vision. If you rely on tool/function features, choose a model with native tool calling support.

## Verify
Start a new conversation, select a ScitiX model from the model selector at the bottom, and send a message. A normal reply confirms that the connection works. The message footer shows `OpenAI API ()`.

# Cherry Studio
Source: https://docs.scitix.ai/model-inference/integrations/cherry-studio
Learn how to configure Cherry Studio with ScitiX Model Inference so the desktop AI client can chat with ScitiX models.
[Cherry Studio](https://www.cherry-ai.com) is a desktop AI client for Windows, macOS, and Linux. It supports OpenAI-compatible custom providers, so you can connect Cherry Studio to the ScitiX Model Inference API and use ScitiX models from the desktop app.
Supported models include `glm-5.2` and `DeepSeek-V4-Flash`. For model pricing, see the [model catalog](https://console.scitix.ai/model-inference/models).
## Configure
The steps below use **Cherry Studio v1.9.x** as a reference. Newer versions may differ slightly.
1. Open **Settings → Model Provider**, then click **+ Add** at the bottom of the provider list.
2. In the add-provider dialog, set the provider **Name** to `ScitiX` and choose the **OpenAI** type.
3. On the ScitiX provider page, fill in the required fields.
| Field | Value |
| - | - |
| API Key | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
| API Host | `https://api.scitix.ai/model-api/v1` |
Cherry Studio shows a live **Preview** below the API Host field, such as `https://api.scitix.ai/model-api/v1/chat/completions`. This confirms that Cherry Studio appends the remaining path automatically. Do not end the API Host with `#`. A trailing `#` forces Cherry Studio to use the address verbatim without appending `/chat/completions`, which breaks the request.
4. Under **Models**, click **+** or **Fetch model list**, then add the model ID `glm-5.2`.
Custom providers do not auto-populate models. Add each model ID you want to use.
5. Click the **✓** button next to the API Key field to test connectivity. A **Connection successful** toast confirms that the API Key and API Host work.
6. Turn on the toggle in the top-right corner of the ScitiX provider page.
The provider's models will not appear in the model selector until this toggle is on.

## Verify
Go back to a conversation, open the model selector at the top, and switch to a ScitiX model shown as **` | ScitiX`**. Send a message. A normal reply confirms that the connection works.

## FAQ
* **Models missing from the selector**: confirm that the provider toggle in the top-right corner of the provider page is on.
* **404 on requests**: check that the API Host does not end with `#`. For normal use, enter `https://api.scitix.ai/model-api/v1`.
* **Cannot fetch the model list**: custom providers require adding model IDs manually. Use **+** under **Models** and enter the ID, such as `glm-5.2`.
* **Assistants / translation features**: set the corresponding default model to a ScitiX model in **Settings → Default Model** so those features also use ScitiX.
* Choose a model with native tool calling if you rely on tool/function features.
# Claude Code
Source: https://docs.scitix.ai/model-inference/integrations/claude-code
Learn how to configure the endpoint and API Key in Claude Code CLI and the VS Code extension, connect to the ScitiX endpoint, and use ScitiX models that support the Anthropic protocol for coding.
[Claude Code](https://claude.com/claude-code) is Anthropic's developer tool for working on a local codebase from the terminal or inside VS Code. It can chat, edit files, and run commands with your approval. Because Claude Code uses the Anthropic API, you can point it to the ScitiX endpoint and use supported ScitiX models in the same workflow.
Currently supported open-weight models include `Qwen/Qwen3.5-397B-A17B` and `kimi-k2.6`. For the complete model list and pricing, see [Models](https://console.scitix.ai/model-inference/models).
This guide covers both the command-line tool and the VS Code extension.
## Configure the CLI
### 1. Install Claude Code
Install the CLI by following [Anthropic's official instructions](https://claude.com/claude-code).
### 2. Configure environment variables
1. Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page, then set the following environment variables:
```bash theme={null}
export ANTHROPIC_BASE_URL="https://api.scitix.ai/model-api"
export ANTHROPIC_AUTH_TOKEN=""
```
* To keep these variables across sessions on macOS or Linux, add them to `~/.zshrc` or `~/.bashrc`, and then restart the terminal.
* Keep your API Key secure. Do not commit it to Git. Environment variables are recommended.
2. Specify the default model.
Claude Code supports setting a default model through environment variables. It also supports mapping different model tiers to specific models.
> [!TIP]
>
> Choose the model you want to use on the platform, and enter the corresponding model ID.
Specify the default model:
```bash theme={null}
export ANTHROPIC_MODEL="Qwen/Qwen3.5-397B-A17B"
```
If you want to explicitly map different model tiers, you can also set the following variables. These variable names correspond to Claude Code model tiers, and their values must be model IDs supported by ScitiX:
> [!TIP]
>
> If you use `auto` permission mode, or want background tasks and permission checks to use specific models, configure the corresponding `ANTHROPIC_DEFAULT_*_MODEL` variables as well.
```bash theme={null}
export ANTHROPIC_DEFAULT_FABLE_MODEL="Qwen/Qwen3.5-397B-A17B"
export ANTHROPIC_DEFAULT_OPUS_MODEL="Qwen/Qwen3.5-397B-A17B"
export ANTHROPIC_DEFAULT_SONNET_MODEL="Qwen/Qwen3.5-397B-A17B"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="kimi-k2.6"
```
### 3. Run Claude Code
Run Claude Code from your project directory:
```bash theme={null}
claude
```
After Claude Code starts, it uses the model specified by `ANTHROPIC_MODEL` by default. You can also use the `--model` parameter to temporarily specify the model for the current session.
```bash theme={null}
claude --model Qwen/Qwen3.5-397B-A17B
```
## Configure the VS Code Extension
### 1. Install the extension
Open **Extensions** in VS Code (`Ctrl+Shift+X` / `Cmd+Shift+X`), search for **claude**, and install **Claude Code for VS Code** by Anthropic.

### 2. Configure the connection
Create or edit `~/.claude/settings.json`, then add the configuration below. Replace `` with your ScitiX API Key.
```json theme={null}
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.scitix.ai/model-api",
"ANTHROPIC_AUTH_TOKEN": "",
"ANTHROPIC_MODEL": "Qwen/Qwen3.5-397B-A17B",
"ANTHROPIC_DEFAULT_FABLE_MODEL": "Qwen/Qwen3.5-397B-A17B",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "Qwen/Qwen3.5-397B-A17B",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "Qwen/Qwen3.5-397B-A17B",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "kimi-k2.6",
"CLAUDE_CODE_ENABLE_TELEMETRY": "0",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
"CLAUDE_CODE_ATTRIBUTION_HEADER": "0"
},
"prefersReducedMotion": true,
"model": "Qwen/Qwen3.5-397B-A17B"
}
```
> [!TIP]
>
> If you use `auto` permission mode, or want background tasks and permission checks to use specific models, configure the corresponding `ANTHROPIC_DEFAULT_*_MODEL` variables in `env` as well.
The fields related to the ScitiX connection are:
| Field | Description |
| - | - |
| `env.ANTHROPIC_BASE_URL` | ScitiX API base URL: `https://api.scitix.ai/model-api` |
| `env.ANTHROPIC_AUTH_TOKEN` | Your API Key from the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
| `env.ANTHROPIC_MODEL` | The default primary model, such as `Qwen/Qwen3.5-397B-A17B`. |
| `env.ANTHROPIC_DEFAULT_FABLE_MODEL`, `env.ANTHROPIC_DEFAULT_OPUS_MODEL`, `env.ANTHROPIC_DEFAULT_SONNET_MODEL`, and `env.ANTHROPIC_DEFAULT_HAIKU_MODEL` | Optional. Map Claude Code model tiers to models supported by ScitiX. Use model IDs listed on the Models page. |
| `model` | The default model to use, such as `Qwen/Qwen3.5-397B-A17B`. |
After saving, reload the VS Code window so the settings take effect.

### 3. Choose an edit mode
Click the Claude Code icon in the top-right of VS Code to open the panel. In the lower-left corner of the panel, choose how edits are applied.
| Mode | When to use |
| - | - |
| Ask before edits | Review each change before it is applied. |
| Edit automatically | Apply edits directly for quick iterations. |
| Plan mode | Claude outlines a plan before making changes. |
## FAQ
### Why do I still see usage from a Sonnet model after switching the primary model?
In some modes, Claude Code may send additional model requests for permission checks, tool-use approval, or background tasks. For example, in `auto` permission mode, Claude Code may use a classifier to determine whether certain tool calls can run.
If you have switched the primary model through `ANTHROPIC_MODEL` but still see usage from a Sonnet-related model, check whether `ANTHROPIC_DEFAULT_SONNET_MODEL` is also configured.
* For the CLI, set the environment variable in your terminal. To keep it across sessions, add it to `~/.zshrc` or `~/.bashrc`:
```bash theme={null}
export ANTHROPIC_DEFAULT_SONNET_MODEL="Qwen/Qwen3.5-397B-A17B"
```
* For the VS Code extension, add it to `env` in `~/.claude/settings.json`:
```json theme={null}
{
"env": {
"ANTHROPIC_DEFAULT_SONNET_MODEL": "Qwen/Qwen3.5-397B-A17B"
}
}
```
Choose models based on your requirements, and make sure you use model IDs supported by ScitiX. For the complete model list and pricing, see [Models](https://console.scitix.ai/model-inference/models).
# Cline
Source: https://docs.scitix.ai/model-inference/integrations/cline
Learn how to configure Cline with ScitiX Model Inference using an OpenAI-compatible provider, API key, Base URL, and model ID.
Cline is an AI assistant that works alongside your command line and code editor. It uses agent-style programming powered by large language models to break complex development tasks into steps and execute them in a controlled way.
Cline supports the following capabilities:
* Create and edit files, and browse large projects with model-driven actions.
* Use the browser and run terminal commands, with your confirmation before each action.
* Extend its capabilities through the Model Context Protocol (MCP), including custom tools.
* Unlike sandboxed scripts, Cline provides a visual interface and asks for confirmation before each file change or terminal command, helping keep AI-assisted development safe and controlled.
Common Cline use cases include:
* Completing multi-step refactoring or feature implementation tasks.
* Exploring and modifying codebases with natural-language instructions.
* Automating repetitive development workflows, such as generating tests or updating configuration files, while keeping human approval in the loop.
## Configure
The steps below use `Cline 3.20.1` in VS Code as a reference. Newer versions may differ slightly.
### 1. Install the extension
Open VS Code, or another supported editor, and install the **Cline** extension from the marketplace.

### 2. Configure the model
In Cline settings, fill in the following fields. Adjust other model parameters as needed.
| Field | Description |
| - | - |
| **Base URL** | `https://api.scitix.ai/model-api` |
| **API Key** | Your API Key from the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. Keep it secure and do not commit it to version control. |
| **Model ID** | The model name. Check the model details in the [model catalog](https://console.scitix.ai/model-inference/models), for example `Qwen/Qwen3.5-397B-A17B`, `glm-5.2`, or `MiniMaxAI/MiniMax-M2.7`. |

> [!WARNING]
>
> If you use a reasoning model such as `Qwen/Qwen3-32B`, enable **“Enable R1 messages format”** or the equivalent option in **Model configuration** so the client sends the correct message format.
For complex code-editing or long-running tasks, choose a model with sufficient context length. If applicable, also check whether the model supports reasoning.
## Verify
After saving the configuration, submit a task to Cline in natural language. Cline calls the ScitiX Model Inference API and executes file or terminal actions after your confirmation.

## FAQ
* **Cannot use checkpoints in Desktop directory**
Cline does not allow checkpoints when the workspace is under the Desktop folder. Open your project from another directory, such as `~/Code`, `~/Projects`, or another development folder, to avoid this error.
# Codex
Source: https://docs.scitix.ai/model-inference/integrations/codex
Learn how to configure Codex CLI and the VS Code extension to use ScitiX Model Inference through config.toml and a ScitiX API key.
Codex is OpenAI's AI coding assistant, available as a command-line tool and as a VS Code extension. You can connect Codex to the ScitiX Model Inference API and use ScitiX models for coding tasks. Both the CLI and the extension share the same `config.toml`.
Configuration is stored in `config.toml` in your Codex home directory, typically `~/.codex/config.toml`. For the full list of options, see the [Codex Configuration Reference](https://developers.openai.com/codex/config-reference).
Supported models include `glm-5.2` and `kimi-k2.6`. For model pricing, see the [model catalog](https://console.scitix.ai/model-inference/models).
## Configure
### 1. Install Codex
For the CLI, install Codex with npm or Homebrew:
```bash theme={null}
npm install -g @openai/codex
# or
brew install codex
```
For other installation options, see the [official installation guide](https://github.com/openai/codex#installation).
For the VS Code extension:
1. Open **Extensions** in VS Code (`Ctrl+Shift+X` / `Cmd+Shift+X`).
2. Search for **Codex** and install the official extension.
3. Click the Codex icon in the top-right of the editor to open the **CODEX** panel.

### 2. Configure the model
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page, then provide it in one of two ways.
> [!WARNING]
>
> Keep `SCITIX_API_KEY` and other secrets out of Git. Use environment variables or a local `.env` file ignored by version control.
#### Option 1: Use an environment variable
Edit `~/.codex/config.toml` with `env_key` pointing to an environment variable:
```toml theme={null}
model = "glm-5.2"
model_provider = "scitix"
approval_policy = "never"
sandbox_mode = "workspace-write"
[model_providers.scitix]
name = "ScitiX"
base_url = "https://api.scitix.ai/model-api"
env_key = "SCITIX_API_KEY"
wire_api = "responses"
```
Set the key before launching Codex:
```bash theme={null}
export SCITIX_API_KEY=""
code .
```
#### Option 2: Store the token in `config.toml`
If you do not want to use an environment variable, put the key directly in `config.toml` with `experimental_bearer_token` instead of `env_key`.
```toml theme={null}
model = "glm-5.2"
model_provider = "scitix"
approval_policy = "never"
sandbox_mode = "workspace-write"
model_reasoning_effort = "medium"
[model_providers.scitix]
name = "ScitiX"
base_url = "https://api.scitix.ai/model-api"
experimental_bearer_token = ""
wire_api = "responses"
```
Because the key is stored in the file, keep `config.toml` out of version control.
Either way, the configured model becomes available in Codex.

#### Field Reference
| Field | Description |
| - | - |
| `model` | Model ID from the [model catalog](https://console.scitix.ai/model-inference/models), such as `glm-5.2`. |
| `model_provider` | Must match the `[model_providers.]` section. Use `scitix`. |
| `approval_policy` | `never` for no approval prompts; `on-request` or `untrusted` for more control. |
| `sandbox_mode` | `workspace-write` to read and edit within the workspace; `read-only` for read-only access. |
| `base_url` | ScitiX Model Inference API endpoint: `https://api.scitix.ai/model-api`. |
| `wire_api` | Use `responses` for the latest Codex version. |
| `env_key` | Option 1. Environment variable that holds your API Key, such as `SCITIX_API_KEY`. |
| `experimental_bearer_token` | Option 2. Your ScitiX API Key embedded directly instead of via `env_key`. |
| `model_reasoning_effort` | Reasoning depth for the model, such as `low`, `medium`, or `high`. |
## MCP Servers
Some built-in tool types, such as `web_search`, may not be available on these models. You can add these capabilities through MCP (Model Context Protocol) servers.
Configure a search MCP server in `config.toml` under `[mcp_servers.]`, and Codex will call it when web search is needed. See the [Codex Configuration Reference](https://developers.openai.com/codex/config-reference) for MCP server setup details.
# Continue
Source: https://docs.scitix.ai/model-inference/integrations/continue
Learn how to configure Continue with ScitiX Model Inference for AI coding assistance in VS Code, JetBrains, and CLI workflows.
[Continue](https://continue.dev) is an open-source AI coding assistant, available as a VS Code / JetBrains plugin and as a command-line tool (`cn`). Both share the same `config.yaml`, so the configuration below applies to either.
## Configure the CLI
### 1. Install the CLI
```bash npm theme={null}
node -v # needs 20+ — upgrade via https://nodejs.org/en/download if older
npm install -g @continuedev/cli
```
```bash install script (macOS/Linux) theme={null}
curl -fsSL https://raw.githubusercontent.com/continuedev/continue/main/extensions/cli/scripts/install.sh | bash
```
### 2. Configure the model
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page, then edit `~/.continue/config.yaml`. On a fresh machine, create the directory first with `mkdir -p ~/.continue`.
```yaml theme={null}
name: scitix
version: 0.0.1
schema: v1
models:
- name: glm-5.2
provider: openai
model: glm-5.2
apiBase: https://api.scitix.ai/model-api/v1
apiKey:
roles:
- chat
- edit
- apply
```
### 3. Create the onboarding marker
As of CLI 1.5.47, interactive `cn` otherwise shows a first-run login prompt asking for an Anthropic API key and ignores your local config. Headless `cn -p` is unaffected. See [continuedev/continue#12258](https://github.com/continuedev/continue/issues/12258).
```bash theme={null}
touch ~/.continue/.onboarding_complete
```
### 4. Run the CLI
Plain `cn` opens the interactive chat TUI. Type `/` to see slash commands. `cn -p ""` answers once and exits.
```bash theme={null}
cn # interactive chat
cn -p "introduce yourself in one sentence" # one-shot
```
For tasks that touch files or run commands, add `--auto` to auto-approve tool calls, or stay in interactive mode to approve each one. Finer-grained flags also exist: `--readonly` for plan mode with read-only tools, and repeatable `--allow ` / `--exclude `.
## Configure the VS Code / JetBrains Extension
1. Install the extension from the VS Code or JetBrains marketplace by searching for **Continue**.
2. Open the chat sidebar. In VS Code, use `Cmd/Ctrl+L`; in JetBrains, use `Cmd/Ctrl+J`.
3. Click the config selector above the input, then the gear icon next to **Local Config**.
4. Add the same `models` entry shown above to `~/.continue/config.yaml`, or `%USERPROFILE%\.continue\config.yaml` on Windows.
5. Select `glm-5.2` from the model dropdown and send a message.

> [!NOTE]
>
> The CLI and extension share `~/.continue/config.yaml`. If you are logged into Continue Hub, make sure the active config is the local one.
## Field Reference
The CLI and the extension share `config.yaml`, so the same fields apply to both.
| Field | Description |
| - | - |
| `provider` | Keep as `openai` for any OpenAI-compatible service. |
| `model` | Model ID, such as `glm-5.2`. |
| `apiBase` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1`. |
| `apiKey` | Your API Key from the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
| `roles` | Continue features that use this model. Valid values: `chat`, `autocomplete`, `embed`, `rerank`, `edit`, `apply`. |
| `capabilities` | Optional. Set `[tool_use]` if agent tool calls do not work out of the box. This overrides Continue's autodetection, which can miss on OpenAI-compatible endpoints. |
| `defaultCompletionOptions` | Optional. Set `contextLength` / `maxTokens` to the model's actual limits. |
> [!TIP]
>
> For Tab autocomplete, add a second lightweight model entry with `roles: [autocomplete]`. A fast model such as `DeepSeek-V4-Flash` works well.
## FAQ
* The chat TUI shows a **Model Capability Warning** for `glm-5.2`. As of 1.5.47, the CLI checks model IDs against a built-in list and warns on ones it does not recognize, even with `capabilities` declared. It is safe to ignore: chat, edit, and tool calls all work against the ScitiX endpoint.
# CrewAI
Source: https://docs.scitix.ai/model-inference/integrations/crewai
Learn how to use CrewAI with ScitiX Model Inference to build and run role-based AI agent workflows through an OpenAI-compatible API.
[CrewAI](https://github.com/crewAIInc/crewAI) is a popular framework for orchestrating role-playing, autonomous AI agents. Its `LLM` class is LiteLLM-backed and accepts a custom `base_url`, so crews can run on the ScitiX Model Inference API.
Default model here is `glm-5.2`; see the [Models](https://console.scitix.ai/model-inference/models) page for the full list and pricing.
## Configure
Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page and export it:
```bash theme={null}
export SCITIX_API_KEY=""
```
Build a CrewAI `LLM` pointed at the ScitiX endpoint and hand it to your agents:
```python theme={null}
import os
from crewai import LLM, Agent, Task, Crew
llm = LLM(
model="openai/glm-5.2",
base_url="https://api.scitix.ai/model-api/v1",
api_key=os.environ["SCITIX_API_KEY"],
)
agent = Agent(role="Assistant", goal="Answer briefly",
backstory="You are concise.", llm=llm)
```
| Field | Description |
| - | - |
| `model` | `openai/` — the `openai/` prefix routes via the OpenAI-compatible provider, e.g. `openai/glm-5.2` |
| `base_url` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1` |
| `api_key` | Your ScitiX API key, read from the environment |
The `openai/` prefix is required for this custom OpenAI-compatible endpoint. CrewAI routes through LiteLLM, which uses the provider prefix to pick the OpenAI-compatible client for a custom `base_url` like ScitiX.
Choose a model with native tool calling for multi-agent tools/delegation. `glm-5.2` works.
## Verify
Run a one-agent crew — a normal completion confirms the connection (verified on `crewai 1.15.16`):
```python theme={null}
task = Task(description="In one short sentence, which model are you?",
expected_output="One sentence.", agent=agent)
print(Crew(agents=[agent], tasks=[task]).kickoff())
```
You can also make a direct call through the configured `LLM`:
```python theme={null}
print(llm.call("In one short sentence, which model are you?"))
# → I am GLM, a large language model developed by Z.ai.
```
# Crush
Source: https://docs.scitix.ai/model-inference/integrations/crush
Learn how to connect Crush to ScitiX Model Inference so the terminal AI coding agent can use ScitiX model endpoints.
[Crush](https://github.com/charmbracelet/crush) is a terminal AI coding agent from Charm. It connects to any OpenAI-compatible service through an `openai-compat` provider type, so you can point it at the ScitiX Model Inference API. See the [Models](https://console.scitix.ai/model-inference/models) page for available models (e.g. `glm-5.2`).
## Configure
Crush reads config in this order: project-level `.crush.json` / `crush.json`, then the global `~/.config/crush/crush.json`. Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page, then create `crush.json` in your project root:
```json theme={null}
{
"$schema": "https://charm.land/crush.json",
"models": {
"large": { "provider": "scitix", "model": "glm-5.2" },
"small": { "provider": "scitix", "model": "glm-5.2" }
},
"providers": {
"scitix": {
"name": "ScitiX",
"type": "openai-compat",
"base_url": "https://api.scitix.ai/model-api/v1",
"api_key": "$SCITIX_API_KEY",
"models": [
{
"id": "glm-5.2",
"name": "glm-5.2",
"context_window": 131072,
"default_max_tokens": 8192,
"cost_per_1m_in": 0,
"cost_per_1m_out": 0,
"cost_per_1m_in_cached": 0,
"cost_per_1m_out_cached": 0,
"can_reason": true,
"supports_attachments": false
}
]
}
}
}
```
The top-level `models.large`/`models.small` explicitly set ScitiX as the default. This matters if your shell has leftover variables like `OPENAI_API_KEY` or `ANTHROPIC_API_KEY` — without an explicit default, Crush may auto-discover and use those official providers instead.
Export the key referenced by `api_key`:
```bash theme={null}
export SCITIX_API_KEY=""
```
| Field | Description |
| - | - |
| type | Must be `openai-compat` (not `openai`) |
| base\_url | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1` |
| api\_key | Environment variable reference, or the key itself (avoid committing it). `$VAR`, `${VAR:-default}`, and `$(command)` expansion all work |
| context\_window / default\_max\_tokens | Set to match the chosen model's real limits |
| cost\_per\_1m\_\* / can\_reason / supports\_attachments | Required by the config schema for custom-provider models — `0` costs are fine |
| models.large / models.small | Explicit default model — prevents other providers' env vars from taking over. Choose a model with native tool calling; otherwise Crush can't run file or command actions. |
To ignore auto-discovered official providers entirely, set `"options": { "disable_default_providers": true }` — then only fully-specified providers from your config are used.
To keep the model list in sync automatically, add `"discover_models": true` under the provider — Crush merges the models fetched from `https://api.scitix.ai/model-api/v1/models` with your hand-written entries (yours win); leaving `models` empty also triggers auto-discovery for `openai-compat` providers.
An `export` only lasts for the current shell — add the line to `~/.bashrc` / `~/.zshrc` to persist it.
## Verify
```bash theme={null}
cd your-project
crush
```
Crush starts directly on `glm-5.2` — the `models.large`/`models.small` entries pin it as the default, no picking needed. Send a task (e.g. "list the current directory and summarize it") to confirm tool calls and responses work. (`Ctrl+L` opens the model picker to switch.)
You can also run a single task non-interactively:
```bash theme={null}
crush run "introduce this project in one sentence"
```
Useful flags for `crush run`: `-m provider/model` (pick the model for this run, e.g. `-m scitix/glm-5.2`), `-q` (quiet, no spinner), and stdin piping (`curl -s https://example.com | crush run "Summarize this"`). Note that `run` does **not** accept `--yolo` (verified on 0.86.0 and 0.88.0) — pre-allow the tools it needs via `permissions.allowed_tools`:
```json theme={null}
{
"permissions": {
"allowed_tools": ["view", "ls", "grep", "glob", "edit", "write", "bash"]
}
}
```
## FAQ
* **The model doesn't appear in the picker, or requests go to the official OpenAI API**: Confirm `crush.json` is in the launch directory (or the global path) and is valid JSON; `type` must be `openai-compat`; if other providers' API keys are set in your environment, add `models.large`/`models.small` to force the default.
* **I see 401 errors**: If `api_key` references an environment variable, confirm it's exported — or set the key directly, but never commit it.
Verified on Crush 0.88.0 (installed via `npm i -g @charmland/crush`; Crush is a Go static binary, so the npm `EBADENGINE` warnings on older Node are harmless).
# Cursor
Source: https://docs.scitix.ai/model-inference/integrations/cursor
Learn how to configure Cursor with a custom ScitiX model, API key, and Base URL for AI-assisted coding.
[Cursor](https://cursor.com) is an AI IDE. Through its bring-your-own-key (BYOK) settings, you can configure an OpenAI API key and a Base URL override so Cursor chat can run on ScitiX models.
Two product boundaries from Cursor's own docs are important:
* Custom API keys only work with chat models. Tab completion and other features built on Cursor's own models continue using Cursor's built-in models.
* BYOK requests are sent through Cursor's backend to the configured endpoint, and Cursor's Zero Data Retention policy does not apply to BYOK usage.
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page, then open **Cursor Settings → Models**.
1. In the model list, uncheck the pre-configured models.
Pre-configured models route through Cursor's own channels, not your key.
2. Click **Add Custom Model** and add `DeepSeek-V4-Flash`.
Do not add `glm-5.2` here. Cursor's built-in catalog already contains a *GLM 5.2* entry, so the duplicate name is rejected. The built-in entry uses Cursor's official channel, not your key. Pick ScitiX model IDs that do not collide with [Cursor's built-in list](https://cursor.com/docs/models), such as `DeepSeek-V4-Pro` or `DeepSeek-V4-Flash`.
3. Scroll to **API Keys → OpenAI API Key** and paste your ScitiX API Key.
4. Enable **Override OpenAI Base URL** and set it to:
```text theme={null}
https://api.scitix.ai/model-api/v1
```
5. Turn the **OpenAI API Key** toggle on.

> [!NOTE]
>
> The Base URL override is no longer described in Cursor's official documentation, and its UI location may change between versions. As of late July 2026, it lives under **Cursor Settings → Models → API Keys**.
## Verify
Open Chat (`Cmd/Ctrl+L`), select the model you added in the picker, and send a message. A normal reply confirms that the connection works.
Since these model IDs only exist on ScitiX, a reply is proof that the override is in effect. You can also see the calls on the ScitiX console's usage page.
## FAQ
* **Selecting a built-in model gets no reply** when only your BYOK key is configured. Built-in entries, such as the catalog's GLM 5.2, do not route through the Base URL override. Use the models you added through **Add Custom Model**.
* Tab completion not working on ScitiX models is expected. It is a product limitation of custom keys, not a configuration error.
# DB-GPT
Source: https://docs.scitix.ai/model-inference/integrations/db-gpt
Learn how to configure DB-GPT with ScitiX Model Inference for chat-to-data, agents, and RAG data applications.
[DB-GPT](https://github.com/eosphoros-ai/DB-GPT) is an open-source AI-native data app framework (chat-to-data, agents, RAG). Its `proxy/openai` model provider targets any OpenAI-compatible endpoint, so it runs on the ScitiX Model Inference API.
Default model here is `glm-5.2`; see the [Models](https://console.scitix.ai/model-inference/models) page for the full list and pricing.
Deploy DB-GPT per the [official guide](https://docs.dbgpt.site) — the lightweight `dbgpt-openai` image is the proxy-only build (no local GPU model) and is the right base for ScitiX.
## Configure
Models in DB-GPT are defined server-side in a TOML config, not in the UI. Use the `proxy/openai` provider and the shipped `configs/dbgpt-proxy-openai.toml` config. This is the path for OpenAI-compatible endpoints like ScitiX, and the proxy-only `dbgpt-openai` build needs no local GPU model.
The config already reads every value from the environment, so point it at ScitiX by setting these variables. Start the server with `--config configs/dbgpt-proxy-openai.toml`.
```toml theme={null}
# configs/dbgpt-proxy-openai.toml (excerpt — values come from env)
[[models.llms]]
name = "${env:LLM_MODEL_NAME:-gpt-4o}"
provider = "${env:LLM_MODEL_PROVIDER:-proxy/openai}"
api_base = "${env:OPENAI_API_BASE:-https://api.scitix.ai/model-api/v1}"
api_key = "${env:OPENAI_API_KEY}"
[[models.embeddings]]
name = "${env:EMBEDDING_MODEL_NAME:-Qwen/Qwen3-Embedding-8B}"
provider = "${env:EMBEDDING_MODEL_PROVIDER:-proxy/openai}"
api_url = "${env:EMBEDDING_MODEL_API_URL:-https://api.scitix.ai/model-api/v1/embeddings}"
api_key = "${env:OPENAI_API_KEY}"
```
Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page, then set:
```bash theme={null}
LLM_MODEL_NAME=glm-5.2
LLM_MODEL_PROVIDER=proxy/openai
OPENAI_API_BASE=https://api.scitix.ai/model-api/v1
OPENAI_API_KEY=
# Embeddings (RAG / Knowledge Base) — point at a ScitiX embedding model
EMBEDDING_MODEL_NAME=Qwen/Qwen3-Embedding-8B
EMBEDDING_MODEL_PROVIDER=proxy/openai
EMBEDDING_MODEL_API_URL=https://api.scitix.ai/model-api/v1/embeddings
```
| Field | Value |
| - | - |
| `LLM_MODEL_NAME` | ScitiX model ID, e.g. `glm-5.2`. Pick a model with native tool calling for DB-GPT agents and data tools. |
| `LLM_MODEL_PROVIDER` | `proxy/openai` |
| `OPENAI_API_BASE` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1` |
| `OPENAI_API_KEY` | Your ScitiX API key |
| `EMBEDDING_MODEL_API_URL` | ScitiX embeddings endpoint: `https://api.scitix.ai/model-api/v1/embeddings` |
## Verify
Start the web server and open the UI (default `http://localhost:5670`). In a chat, the model selector shows **glm-5.2** — send a message and a normal reply confirms the connection.

The reply comes back as the "DB-GPT assistant" persona. That is DB-GPT's own agent framing, not a routing issue; the `Model: glm-5.2` label under the message confirms the ScitiX model in use.
Verified on DB-GPT v0.8.1.
# Deep Research
Source: https://docs.scitix.ai/model-inference/integrations/deep-research
Learn how to configure Deep Research with ScitiX Model Inference using proxy mode and an OpenAI-compatible provider.
[Deep Research](https://github.com/u14app/deep-research) is a self-hosted web app that runs iterative, multi-stage research workflows. It supports **OpenAI Compatible** providers, so it can run on the ScitiX Model Inference API.
Default model here is `glm-5.2`; see the [Models](https://console.scitix.ai/model-inference/models) page for the full list and pricing.
Deploy it per the [official guide](https://github.com/u14app/deep-research) (e.g. the `xiangfa/deep-research` Docker image on port 3000).
## Configure
Deep Research has two **API Modes**: *Local* (the browser calls the model API directly) and *Proxy* (the app's server calls it). Use **Proxy** for ScitiX. In Local mode the browser calls `https://api.scitix.ai/...` directly (cross-origin); the ScitiX gateway does not return CORS headers for browser requests, so the call is blocked with `error [TypeError]: Failed to fetch`. This is a browser CORS limitation, not a key/URL mistake. Proxy mode makes the request from the app's server (same-origin to the browser), which avoids it.
Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page and set the server-side environment (Proxy mode reads the key and endpoint from here):
```bash theme={null}
OPENAI_COMPATIBLE_API_KEY=
OPENAI_COMPATIBLE_API_BASE_URL=https://api.scitix.ai/model-api
ACCESS_PASSWORD=
```
| Field | Value |
| - | - |
| `OPENAI_COMPATIBLE_API_KEY` | Your ScitiX API key |
| `OPENAI_COMPATIBLE_API_BASE_URL` | `https://api.scitix.ai/model-api` without `/v1`; the proxy route already appends `/v1/chat/completions` |
| `ACCESS_PASSWORD` | A password you choose for the Deep Research UI |
Then in the UI, open **Settings → Model**.

Set the following fields:
| Field | Value |
| - | - |
| API Mode | **Proxy** |
| AI Provider | **OpenAI Compatible** |
| Access Password | The `ACCESS_PASSWORD` you set |
| Thinking Model / Task Model | `glm-5.2`. Set both to a tool-capable model. |
## Verify
Enter a research topic and start — Deep Research runs its stages (topic → questions → plan → collection → report) using glm-5.2 through ScitiX:

Verified on Deep Research v0.11.0.
# DeepSeek Harness
Source: https://docs.scitix.ai/model-inference/integrations/deepseek-harness
Integrate the ScitiX Model Inference API with DeepSeek Harness and verify agent task execution.
[DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) is an open-source Agent Harness from DeepSeek, built around an "everything is a plugin" design. It provides a Web UI and can connect to OpenAI-compatible endpoints through custom providers, so you can use ScitiX models in DeepSeek Harness agent tasks.
This guide covers the npm run method. DeepSeek Harness also supports running from source; see the official documentation for details.
## Configure
### 1. Install Node.js
DeepSeek Harness requires Node.js. Open a terminal and run:
```bash theme={null}
node -v
```
If the command returns a version number, Node.js is installed. If not, download and install it from the [Node.js website](https://nodejs.org/en/download).
### 2. Start DeepSeek Harness
Run:
```bash theme={null}
npx @deepseek-ai/dsh web
```
The first run downloads the required dependencies and may take some time. After startup, DeepSeek Harness opens the local Web UI by default:
```text theme={null}
http://127.0.0.1:3080/
```
> [!WARNING]
>
> DeepSeek Harness is in developer preview, and version upgrades may introduce breaking changes. It can execute model-generated code and commands. Before running an agent, check the selected workspace, permissions, and requested actions.
### 3. Add ScitiX as a provider
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page first.
In the DeepSeek Harness Web UI, open **Settings > Models**, then choose **Add a custom provider**.
Fill in the following fields, then create the provider.

| Field | Value |
| - | - |
| Provider ID | A custom provider ID, such as `scitix`. Use lowercase letters. |
| Display name | A custom display name, such as `scitix`. |
| Base URL | `https://api.scitix.ai/model-api/v1` |
| API protocol | `openai-completions` |
| API Key | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. Keep it secure. Do not commit it to Git or include it in public issues, logs, or screenshots. |
| Models | Click **Fetch available models** to fetch the model list, or add model IDs manually. For available models and pricing, see [Models](https://console.scitix.ai/model-inference/models). For agent tasks that rely on tool calls, choose a model that supports Function Calling / tool calling. |
### 4. Select runtime settings
Return to the DeepSeek Harness main screen and check the following settings before starting a task:
* **Workspace**: select the workspace the agent can access. DeepSeek Harness reads files, runs commands, and executes tasks within the selected workspace.
* **Model**: select the ScitiX model you added from the model picker.
* **Mode**: choose a runtime mode based on the task. DeepSeek Harness provides **Standard mode**, **PTC mode**, **Minimal mode**, and **Creator mode**. For first-time verification, you can keep the default Standard mode.

## Verify
With a ScitiX model selected, send a simple task:
```text theme={null}
List three common uses of generative AI in software development.
```
A normal response means the configuration is successful.
# Dify
Source: https://docs.scitix.ai/model-inference/integrations/dify
Learn how to connect Dify to ScitiX Model Inference for chatbot, agent, and workflow applications through an OpenAI-compatible provider.
[Dify](https://dify.ai) is an open-source LLM application development platform for building chatbots, agents, and workflows visually. Dify can connect to the ScitiX Model Inference API through the **OpenAI-API-compatible** provider plugin, so Chat, Agent, and Workflow apps can use ScitiX models.
## Configure
Prepare a Dify workspace first. You can use [Dify Cloud](https://cloud.dify.ai) or a [self-hosted deployment](https://docs.dify.ai/en/getting-started/install-self-hosted/docker-compose). The plugin marketplace requires Dify 1.x.
> [!NOTE]
>
> Only workspace **owners** and **admins** can manage model providers. The API Key is shared across the workspace.
### 1. Install the provider plugin
1. Open **Integrations → Model Provider** from the left sidebar.
2. In the **Install model providers** list, find **OpenAI-API-compatible** published by *langgenius*, then click **Install**.
If **OpenAI-API-compatible** does not appear on the first page, use the search box or click **Discover more in Dify Marketplace**.
### 2. Add a ScitiX model
The example below adds `glm-5.2`.
1. On the **OpenAI-API-compatible** provider card, click **Add Model**, fill in the required fields, and save.
| Field | Example |
| - | - |
| Model Type | `LLM` |
| Model Name | `glm-5.2` |
| API Key | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
| API endpoint URL | `https://api.scitix.ai/model-api/v1` |
| Completion mode | `Chat` |
| Model context size | `131072` |
| Upper bound for max tokens | `8192` |
| Function calling | If the form provides a tool-call option, select it. Agent apps require this capability. |
Keep the following in mind:
* You can keep the Streaming and vision settings at their defaults.
* The same plugin supports `LLM`, `Text Embedding`, `Rerank`, `Speech2Text`, and `TTS` model types. If your app needs these capabilities, choose the corresponding models from the [model catalog](https://console.scitix.ai/model-inference/models).
* Agent apps require a model with native tool calling support. `glm-5.2` supports this capability. If you switch models, check the platform's tool-calling model list first.
* If saving fails, or if the model errors when first used in an app, check that the endpoint URL ends with `/v1` but not `/`, and make sure the API Key has no extra spaces.
2. Set `glm-5.2` as the workspace default model.
In the top-right corner of the Model Provider page, click **Default Models**. Before you configure the default model, Dify shows a “Configure a default system model” prompt. After the default model is set, apps can use it automatically.
## Verify
Create an app, such as a Chat app in Studio or an agent in the Agents builder. Confirm that the app uses `glm-5.2`, then send a message. A normal streaming reply confirms that the connection works.
# FastGPT
Source: https://docs.scitix.ai/model-inference/integrations/fastgpt
Learn how to configure FastGPT with ScitiX Model Inference for knowledge base chat and AI workflow applications.
[FastGPT](https://github.com/labring/FastGPT) is an open-source knowledge-base and AI-workflow platform. You can register OpenAI-compatible models, so FastGPT can work with the ScitiX Model Inference API for chat/workflow apps and dataset (RAG) indexing.
Deploy FastGPT with Docker Compose by following the [official guide](https://doc.fastgpt.io), then log in with the initial `root` account.
Supported chat models include `glm-5.2` and `DeepSeek-V4-Flash`. The embedding model in this guide is `Qwen/Qwen3-Embedding-8B`. See the [model catalog](https://console.scitix.ai/model-inference/models).
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page, then open **Account → Model Providers**.
### 1. Configure a chat model
Add or edit a model and open **Model parameter editing**.

Set the following fields:
| Field | Value |
| - | - |
| Custom url | `https://api.scitix.ai/model-api/v1/chat/completions` |
| Custom key | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
Add `glm-5.2` as an **LLM** model.
The **Custom url** is the full endpoint. Chat uses `https://api.scitix.ai/model-api/v1/chat/completions`, and embeddings use `.../v1/embeddings`. When a per-model Custom url is set, FastGPT calls it verbatim and does not append a path.
### 2. Configure an embedding model
If you use datasets, add `Qwen/Qwen3-Embedding-8B` as an **Embedding** model. Its **Custom url** ends with `/v1/embeddings`.
| Model type | Model |
| - | - |
| LLM | `glm-5.2` |
| Embedding | `Qwen/Qwen3-Embedding-8B` |
* Model type matters. Add `glm-5.2` as an **LLM** and `Qwen/Qwen3-Embedding-8B` as an embedding/index model. Datasets need an embedding model.
* Model IDs must match ScitiX exactly, including the `Qwen/` prefix on the embedding model.
* Choose a chat model with native tool calling if you use workflow tool nodes or agents.
## Verify
Create a simple app in Studio, select `glm-5.2`, and send a message in **Chat Preview**. A normal reply confirms that the connection works.

> [!NOTE]
>
> The assistant may describe itself generically, such as "a Work Agent", rather than by model ID. That is FastGPT's system prompt, not a routing issue.
# Flowise
Source: https://docs.scitix.ai/model-inference/integrations/flowise
Learn how to configure Flowise ChatOpenAI Custom nodes with ScitiX Model Inference for low-code LLM workflows.
[Flowise](https://github.com/FlowiseAI/Flowise) is a popular low-code builder for LLM apps and agents. Its **ChatOpenAI Custom** node takes a custom `BasePath`, so flows can run on the ScitiX Model Inference API.
Default model here is `glm-5.2`; see the [Models](https://console.scitix.ai/model-inference/models) page for the full list and pricing.
Deploy Flowise per the [official guide](https://docs.flowiseai.com) and open the UI (default `http://localhost:3000`).
## Configure
Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page. In Flowise, open **Credentials → Add Credential → OpenAI API**, name it (e.g. `ScitiX`), and paste the ScitiX key.
In a flow, add a **ChatOpenAI Custom** node. Open **Additional Parameters** to configure `BasePath`.

Set the following fields:
| Field | Value |
| - | - |
| Connect Credential | The `ScitiX` credential above |
| Model Name | `glm-5.2`. Pick a model with native tool calling for Agent nodes. |
| BasePath (under **Additional Parameters**) | `https://api.scitix.ai/model-api/v1` |
Use the **ChatOpenAI Custom** node, not plain **ChatOpenAI**. It exposes the `BasePath` field and does not validate the model name against OpenAI's own list, which is what lets ScitiX IDs like `glm-5.2` through.
## Verify
A Chatflow's **ending node must be a Chain / Agent / Engine**, not the model node itself. Add a **Conversation Chain**, wire the **ChatOpenAI Custom** node into its **Chat Model** input (add a **Buffer Memory** for the Memory input), then open the chat and send a message — a normal reply confirms the connection.

Feeding a bare ChatOpenAI node as the flow's endpoint raises *"Ending node must be either a Chain or Agent or Engine"* — connect it into a Conversation Chain or a Tool Agent for tool-calling flows instead.
Verified on Flowise 2.2.8.
# Goose
Source: https://docs.scitix.ai/model-inference/integrations/goose
Learn how to connect Goose to ScitiX Model Inference so the open-source AI agent can use ScitiX models in coding workflows.
[Goose](https://github.com/block/goose) is Block's open-source AI coding agent (CLI and desktop). Its OpenAI provider also targets OpenAI-compatible endpoints, so setting a custom host points it at the ScitiX Model Inference API.
Default model here is `glm-5.2`; see the [Models](https://console.scitix.ai/model-inference/models) page for the full list and pricing.
## Configure
Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page. Configure the OpenAI provider with a custom host — run `goose configure` (choose **OpenAI**, then set the host/base path), or set it directly in `~/.config/goose/config.yaml`:
```yaml theme={null}
GOOSE_PROVIDER: openai
GOOSE_MODEL: glm-5.2
OPENAI_HOST: https://api.scitix.ai
OPENAI_BASE_PATH: model-api/v1/chat/completions
```
Provide the API key (stored in the system keyring by `goose configure`, or via env):
```bash theme={null}
export OPENAI_API_KEY=""
```
| Field | Description |
| - | - |
| `GOOSE_PROVIDER` | `openai` — the provider that speaks OpenAI-compatible |
| `GOOSE_MODEL` | ScitiX model ID, e.g. `glm-5.2`. Goose relies on tool calling, so pick a model with native tool calling. |
| `OPENAI_HOST` | Host only: `https://api.scitix.ai` |
| `OPENAI_BASE_PATH` | Full chat-completions path: `model-api/v1/chat/completions`, not just `/v1` |
| `OPENAI_API_KEY` | Your ScitiX API key |
## Verify
Run a one-shot prompt — a normal reply confirms the connection (verified on `Goose 1.45.0`):
```bash theme={null}
goose run --no-session -t "In one short sentence, which model are you?"
```
The header shows `openai glm-5.2` and Goose returns a normal answer, confirming requests reach ScitiX.
Goose identifies itself as "goose" regardless of the underlying model. That is its own agent persona, not a routing issue; the session header shows the ScitiX model in use.
# Immersive Translate
Source: https://docs.scitix.ai/model-inference/integrations/immersive-translate
Learn how to configure Immersive Translate with ScitiX Model Inference for bilingual web, PDF, and EPUB translation workflows.
Immersive Translate is a bilingual, side-by-side translation extension that uses large language models for cross-language understanding. It supports real-time translation of web pages, PDFs, EPUB e-books, and video subtitles, and is available as a browser extension and in other forms. Common use cases include:
* Read foreign-language articles or documentation with the original text and translation side by side.
* Translate PDF reports or EPUB books while keeping layout and structure.
* Generate or translate video subtitles for learning or accessibility.
You can use the ScitiX Model Inference API as the translation backend by configuring Immersive Translate to use the **OpenAI** or compatible API option and pointing it to the platform's Chat Completions endpoint.
## Configure
### 1. Install the extension
Open the [Immersive Translate](https://immersivetranslate.com/en/) official site and choose **Install browser extension** or the equivalent option. Pick the version for your browser, such as Chrome, Edge, or Firefox, and install it.
### 2. Configure API and model
Click the Immersive Translate extension icon and open **Settings**. In the settings page, set:
| Setting | Value |
| - | - |
| **API Key** | Your API Key from the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
| **Model** | The model's invocation name as shown on ScitiX, such as `Qwen/Qwen3.5-397B-A17B` or `DeepSeek-V4-Flash`. |
| **Custom API endpoint** | `https://api.scitix.ai/model-api/chat/completions` |
Save the settings.
**Tip**
* Keep your API Key private. Do not share it or commit it to version control.
* General-purpose or multilingual models, such as Qwen or DeepSeek models, work well for translation. Choose a model with sufficient context length for long documents.
* Translation of long texts can consume many tokens. Be aware of the platform's pricing and rate limits.

### 3. Set translation service to OpenAI
Set the **translation service** to **OpenAI**, or to the option that allows a custom API endpoint.

## Verify
Click **Translate document** in the top-left to open the translation interface. Open a supported page, PDF, or EPUB, then use the extension to get bilingual translations.
The following example shows a page with the original text and translation side by side.

# Kilo Code
Source: https://docs.scitix.ai/model-inference/integrations/kilo-code
Learn how to configure Kilo Code with ScitiX Model Inference using an OpenAI-compatible provider, API key, Base URL, and model list.
[Kilo Code](https://github.com/Kilo-Org/kilocode) is an open-source AI coding agent for VS Code, JetBrains, and the CLI, combining features from Cline and Roo. Its **OpenAI Compatible** provider accepts a custom Base URL and auto-fetches the model list, so it can run on the ScitiX Model Inference API.
Supported models include `glm-5.2` and `MiniMaxAI/MiniMax-M2.7`. For the full model list and pricing, see the [model catalog](https://console.scitix.ai/model-inference/models).
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page first.
1. Click the Kilo Code icon in the sidebar, then open **Settings (⚙️) → Providers**.
2. Under **API Provider**, select **OpenAI Compatible**.
3. Fill in the required fields.
| Field | Value |
| - | - |
| Base URL | `https://api.scitix.ai/model-api/v1` |
| API Key | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
| Model | `glm-5.2` |
4. Kilo Code fetches the model list from `https://api.scitix.ai/model-api/v1/models` automatically. Select `glm-5.2`, or another model, from the searchable **Model** dropdown.
If the fetch fails, type the model ID manually.
5. Click **Save**.
Configurations are stored in a **Configuration Profile**, such as `default`, so you can save the ScitiX setup and switch providers quickly.

## Verify
Give Kilo Code a coding task, such as "create two sum code with python", with the ScitiX model selected. It plans the task and asks to create or edit files. Approve with **Save**. A normal reply confirms that the connection works.

## FAQ
* **Empty model dropdown**: the `GET /v1/models` fetch failed. Check the Base URL with the `/v1` suffix and the API Key, or type the model ID manually.
* **Model does not act / no tool calls**: choose a model with native tool calling. The provider page shows model capabilities such as **Supports images** after selection.
# LangBot
Source: https://docs.scitix.ai/model-inference/integrations/langbot
Learn how to add an OpenAI model provider in LangBot, set a custom request URL, and connect multi-platform messaging bots to ScitiX models.
[LangBot](https://github.com/langbot-app/LangBot) is an open-source multi-platform messaging bot platform that supports QQ, WeCom, Feishu, DingTalk, Discord, Slack, and more. Its OpenAI model provider supports a custom request URL, so you can connect LangBot to ScitiX Model Inference.
This guide uses `glm-5.2` as an example. For the full model list and pricing, see [Models](https://console.scitix.ai/model-inference/models).
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. Open the LangBot admin panel, go to **Settings > Models**, and choose **Add Provider**.

Set the following fields:
| Field | Value |
| - | - |
| Provider Name | A custom name, such as `scitix` |
| Provider Type | **OpenAI** |
| Request URL | `https://api.scitix.ai/model-api/v1` |
| API Key | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page |
After saving the provider, choose **Add Model** under that provider and enter the model name `glm-5.2`. Enable capabilities such as **Function Call** if your scenario requires them.
## Verify
When you add a model, LangBot sends a connectivity test to the ScitiX endpoint. A green check mark, such as `3.1s`, means the connection is successful.

Then set this model as the conversation model in **Pipelines**, bind a messaging platform under **Bots**, and start using it.
## FAQ
* **Provider Type**:
Select **OpenAI**. Its Request URL is configurable, so no dedicated ScitiX preset is required.
* **Tool or agent capabilities**:
Choose a model that supports tool calling and enable **Function Call** when needed. `glm-5.2` supports tool calling.
* **Personal WeChat or personal QQ adapters**:
Third-party protocol adapters may carry compliance and account-ban risks. For production use, prefer official channels such as Feishu, DingTalk, WeCom, public accounts, QQ official bots, Discord, or Slack.
# LangChain
Source: https://docs.scitix.ai/model-inference/integrations/langchain
Learn how to use LangChain with ScitiX Model Inference by configuring ChatOpenAI with a custom base URL and model ID.
[LangChain](https://github.com/langchain-ai/langchain) is the most widely used LLM application framework. Its `langchain-openai` integration accepts a custom `base_url`, so `ChatOpenAI` can run on the ScitiX Model Inference API.
Default model here is `glm-5.2`; see the [Models](https://console.scitix.ai/model-inference/models) page for the full list and pricing.
## Configure
Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page and export it:
```bash theme={null}
export SCITIX_API_KEY=""
```
Point `ChatOpenAI` from `langchain-openai` at the ScitiX endpoint:
```python theme={null}
import os
from langchain_openai import ChatOpenAI
llm = ChatOpenAI(
model="glm-5.2",
base_url="https://api.scitix.ai/model-api/v1",
api_key=os.environ["SCITIX_API_KEY"],
)
```
| Field | Description |
| - | - |
| `model` | ScitiX model ID, e.g. `glm-5.2` |
| `base_url` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1`. LangChain appends `/chat/completions`. |
| `api_key` | Your ScitiX API key, read from the environment |
Use `ChatOpenAI` from `langchain-openai`, not the legacy `OpenAI` completion class.
Choose a model with native tool calling for LangChain tool/agent features, such as `bind_tools`.
## Verify
Invoke the model — a normal reply confirms the connection (verified on `langchain-openai 1.4.3`):
```python theme={null}
print(llm.invoke("In one short sentence, which model are you?").content)
# → I am a GLM large language model developed by Z.ai.
```
# Langflow
Source: https://docs.scitix.ai/model-inference/integrations/langflow
Learn how to configure Langflow with ScitiX Model Inference to build visual LLM applications and agent flows.
[Langflow](https://github.com/langflow-ai/langflow) is a popular visual builder for LLM apps and agents. Its OpenAI Compatible model provider takes a custom base URL, so flows can run on the ScitiX Model Inference API.
Default model here is `glm-5.2`; see the [Models](https://console.scitix.ai/model-inference/models) page for the full list and pricing.
Deploy Langflow per the [official guide](https://docs.langflow.org) (`pip install langflow`, then `langflow run`), and open the UI (default `http://localhost:7860`).
## Configure
Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page. Open **Settings → Model providers**, pick **OpenAI Compatible**, and fill in:
| Field | Value |
| - | - |
| Base URL | `https://api.scitix.ai/model-api/v1` |
| API Key | Your ScitiX API key |
Use the **OpenAI Compatible** provider, not **OpenAI**. The former exposes the Base URL field needed for a custom endpoint like ScitiX.
Once connected, ScitiX models load into the provider — search for `glm-5.2` and toggle it on.

In a flow, the **Agent** or **Language Model** node's **Language Model** dropdown then lists `glm-5.2` — select it. Models are enabled per-provider in **Model providers**; if `glm-5.2` isn't in a node's dropdown, confirm it's toggled on there. For agent flows, pick a tool-calling model; `glm-5.2` shows a `tool` tag and supports the Agent node's tool calling.
## Verify
Open a flow, such as the **Simple Agent** template, set the model to `glm-5.2`, open the **Playground**, and send a message — a normal reply confirms the connection.

Verified on Langflow 1.11.3.
# LazyLLM
Source: https://docs.scitix.ai/model-inference/integrations/lazyllm
Learn how to use LazyLLM OnlineChatModule with a custom OpenAI-compatible endpoint and build low-code LLM applications on ScitiX models.
[LazyLLM](https://github.com/LazyAGI/LazyLLM) is an open-source low-code LLM application development framework from SenseTime. Its `OnlineChatModule` supports custom OpenAI-compatible endpoints, so you can connect LazyLLM to ScitiX Model Inference.
This guide uses `glm-5.2` as an example. For the full model list and pricing, see [Models](https://console.scitix.ai/model-inference/models).
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. After installing `lazyllm`, create an online model with `source="openai"` and point it to ScitiX:
```python theme={null}
import lazyllm
m = lazyllm.OnlineChatModule(
source="openai",
model="glm-5.2",
url="https://api.scitix.ai/model-api/v1",
api_key="",
)
```
| Field | Description |
| - | - |
| `source` | Use `openai` to call through the OpenAI-compatible protocol. |
| `model` | ScitiX model ID, such as `glm-5.2` |
| `url` | ScitiX OpenAI-compatible base URL with `/v1`: `https://api.scitix.ai/model-api/v1` |
| `api_key` | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page |
## Verify
Call the model. A normal response confirms that the connection works. This configuration has been verified with `lazyllm 1.3.0`.
```python theme={null}
print(m("Introduce yourself in one sentence."))
```
## FAQ
* `source` and `url`:
Use `source="openai"` and set `url` to the base URL with `/v1`: `https://api.scitix.ai/model-api/v1`.
* **Model IDs**:
The `model` value is passed through to the upstream service. If the model ID is incorrect, the upstream service returns `404 model_not_found`. Use IDs from the [Models](https://console.scitix.ai/model-inference/models) page.
* **Tool or agent capabilities**:
Choose a model that supports tool calling. `glm-5.2` supports tool calling.
# LibreChat
Source: https://docs.scitix.ai/model-inference/integrations/librechat
Learn how to connect LibreChat to ScitiX Model Inference so a self-hosted ChatGPT-style web UI can use ScitiX models.
[LibreChat](https://github.com/danny-avila/LibreChat) is an open-source, self-hosted ChatGPT-style UI supporting many providers. It reaches the ScitiX Model Inference API through its **custom endpoints** feature, configured in `librechat.yaml`.
Default model here is `glm-5.2`; see the [Models](https://console.scitix.ai/model-inference/models) page for the full list and pricing.
Deploy LibreChat per the [official guide](https://www.librechat.ai/docs).
## Configure
Providers in LibreChat are defined server-side in `librechat.yaml`, not in the UI. Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page, then add ScitiX as a custom endpoint:
```yaml theme={null}
version: 1.2.1
cache: true
endpoints:
custom:
- name: "ScitiX"
apiKey: "${SCITIX_API_KEY}"
baseURL: "https://api.scitix.ai/model-api/v1"
models:
default:
- "glm-5.2"
fetch: false
titleConvo: true
titleModel: "glm-5.2"
modelDisplayLabel: "ScitiX"
```
| Field | Value |
| - | - |
| `name` | Label shown in the endpoint selector, e.g. `ScitiX` |
| `apiKey` | `${SCITIX_API_KEY}` — resolved from the environment at request time |
| `baseURL` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1` |
| `models.default` | ScitiX model IDs to offer, e.g. `glm-5.2`. Pick a model with native tool calling for LibreChat's agent/tool features. |
| `models.fetch` | `false` — ScitiX does not expose OpenAI's `/models` list format, so list models here instead of fetching |
Pass the key in the environment LibreChat reads (its `.env`, or the container env). Make sure the config file is picked up (`CONFIG_PATH=/path/to/librechat.yaml`, or the default `./librechat.yaml`):
```bash theme={null}
SCITIX_API_KEY=
```
## Verify
Restart LibreChat, sign in, and open a new chat. In the top-left **endpoint selector** choose **ScitiX** (model `glm-5.2`), send a message — a normal reply confirms the connection.

LibreChat has no UI to add a custom provider, so the ScitiX endpoint must be defined in the config file, not the settings screen.
Verified on LibreChat v0.8.7.
# LiteLLM
Source: https://docs.scitix.ai/model-inference/integrations/litellm
Learn how to use LiteLLM with ScitiX Model Inference to route OpenAI-style requests through a unified LLM API interface.
[LiteLLM](https://github.com/BerriAI/litellm) is a Python SDK and proxy server that calls 100+ LLM APIs through one OpenAI-style interface. Its OpenAI-compatible provider (`openai/` with a custom `api_base`) points it at the ScitiX Model Inference API.
Default model here is `glm-5.2`; see the [Models](https://console.scitix.ai/model-inference/models) page for the full list and pricing.
## Configure
Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page and export it. Keep keys out of source code:
```bash theme={null}
export SCITIX_API_KEY=""
```
### SDK
Prefix the model with `openai/` and set `api_base`:
```python theme={null}
import os
from litellm import completion
response = completion(
model="openai/glm-5.2",
api_base="https://api.scitix.ai/model-api/v1",
api_key=os.environ["SCITIX_API_KEY"],
messages=[{"role": "user", "content": "In one short sentence, which model are you?"}],
)
print(response.choices[0].message.content)
```
### Proxy
Use the same routing in `config.yaml` for the LiteLLM proxy server:
```yaml theme={null}
model_list:
- model_name: glm-5.2
litellm_params:
model: openai/glm-5.2
api_base: https://api.scitix.ai/model-api/v1
api_key: os.environ/SCITIX_API_KEY
```
| Field | Description |
| - | - |
| `model` | `openai/` — the `openai/` prefix selects the OpenAI-compatible route; use the ScitiX model ID, e.g. `openai/glm-5.2` |
| `api_base` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1`. LiteLLM appends `/chat/completions`. |
| `api_key` | Your ScitiX API key. SDK: pass `api_key=`; proxy: use `os.environ/SCITIX_API_KEY` |
The `openai/` prefix is required for a custom OpenAI-compatible endpoint. Without it LiteLLM tries to infer the provider from the bare model ID and won't route to `api_base`.
Choose a model with native tool calling if you use LiteLLM's function-calling features.
## Verify
Run the SDK snippet above with `SCITIX_API_KEY` exported. A normal reply confirms the connection — verified on `litellm 1.96.0`:
```text theme={null}
$ python scitix_litellm.py
I am GLM, a large language model developed by Z.ai.
```
For the proxy, run:
```bash theme={null}
litellm --config config.yaml
```
Then call `http://localhost:4000/v1/chat/completions` with `model: glm-5.2`.
LiteLLM's bundled model database does not list ScitiX model IDs, so it may warn about unknown context size or price. Pass `max_tokens` explicitly, or register the model with `litellm.register_model({...})`. This does not affect chat responses.
# LlamaIndex
Source: https://docs.scitix.ai/model-inference/integrations/llamaindex
Learn how to use LlamaIndex with ScitiX Model Inference for RAG, agents, and OpenAI-compatible model access.
[LlamaIndex](https://github.com/run-llama/llama_index) is a leading data framework for RAG and agents. Its `OpenAILike` LLM class targets any OpenAI-compatible endpoint, so it runs on the ScitiX Model Inference API.
Default model here is `glm-5.2`; see the [Models](https://console.scitix.ai/model-inference/models) page for the full list and pricing.
## Configure
Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page and export it:
```bash theme={null}
export SCITIX_API_KEY=""
```
Install `llama-index-llms-openai-like` and build an `OpenAILike` LLM:
```python theme={null}
import os
from llama_index.llms.openai_like import OpenAILike
llm = OpenAILike(
model="glm-5.2",
api_base="https://api.scitix.ai/model-api/v1",
api_key=os.environ["SCITIX_API_KEY"],
is_chat_model=True,
)
```
| Field | Description |
| - | - |
| `model` | ScitiX model ID, e.g. `glm-5.2` |
| `api_base` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1` |
| `api_key` | Your ScitiX API key, read from the environment |
| `is_chat_model` | Set `True` so LlamaIndex uses the chat-completions API |
Use `OpenAILike`, not `OpenAI`. The plain `OpenAI` class validates model IDs against OpenAI's own list and rejects ScitiX model IDs.
For embeddings/RAG, add a ScitiX embedding model, e.g. `Qwen/Qwen3-Embedding-8B`, via the matching LlamaIndex embedding integration.
## Verify
Call the model — a normal reply confirms the connection (verified on `llama-index-core 0.14.23`, `llama-index-llms-openai-like` 0.7.2):
```python theme={null}
print(llm.complete("In one short sentence, which model are you?"))
# → I am GLM, a large language model developed by Z.ai.
```
# LobeChat
Source: https://docs.scitix.ai/model-inference/integrations/lobechat
Learn how to configure LobeChat with ScitiX Model Inference so the chat framework can use ScitiX models through an OpenAI provider.
[LobeChat](https://github.com/lobehub/lobe-chat) is an open-source AI chat framework with a web/desktop UI and multi-provider support. Its OpenAI provider accepts a custom proxy address, so you can point it to the ScitiX Model Inference API.
Deploy LobeChat first. The client/PGLite Docker image needs no database. Then open `http://localhost:3210`.
Supported models include `glm-5.2` and `DeepSeek-V4-Flash`. See the [model catalog](https://console.scitix.ai/model-inference/models).
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page, then open **Settings → Language Model → OpenAI** and fill in the required fields.
| Field | Value |
| - | - |
| API Key | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
| API Proxy Address | `https://api.scitix.ai/model-api/v1` |
| Model List | `glm-5.2`, `DeepSeek-V4-Flash` |
> [!WARNING]
>
> **API Proxy Address** must include `/v1`. LobeChat's OpenAI provider appends `/chat/completions`.
Choose a model with native tool calling if you use plugin or agent features.
Make sure the OpenAI provider is enabled with the toggle at the top right, then click **Check** (Connectivity Check) to confirm that the API Key and proxy address work.

## Verify
Open a conversation, select `glm-5.2` from the model selector at the top, and send a message. A normal reply confirms that the connection works.
> [!NOTE]
>
> The assistant may identify itself as "GLM" or "LobeHub assistant" rather than the exact model ID. That is the app's own system prompt, not a routing issue; the model selector still shows the ScitiX model in use.

## FAQ
* **Models missing from the selector**: confirm that the OpenAI provider toggle is on and that the **Model List** contains the ScitiX model IDs.
# n8n
Source: https://docs.scitix.ai/model-inference/integrations/n8n
Learn how to configure n8n credentials and AI Agent nodes with ScitiX Model Inference for automated LLM workflows.
[n8n](https://n8n.io) is a leading workflow automation platform with built-in [AI capabilities](https://docs.n8n.io/build/integrate-ai/) — AI Agent nodes, LLM chains, and RAG components. Its **OpenAI credential supports a custom Base URL**, so every OpenAI-flavored AI node can run on the ScitiX Model Inference API (same steps on n8n Cloud and self-hosted). See the [Models](https://console.scitix.ai/model-inference/models) page for available models (e.g. `glm-5.2`).
## 1. Create the credential
Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page. Then in n8n, open the **Credentials** tab, click **Create credential**, and pick **OpenAI** in the app selector. Fill in:
| Field | Value |
| - | - |
| API Key | Your ScitiX API key |
| Organization ID | Leave blank |
| Base URL | `https://api.scitix.ai/model-api/v1` |
When you save, n8n tests the credential with a `GET /models` call against the Base URL — **Connection tested successfully** means ScitiX is reachable and the key works.

## 2. Use it in a workflow
1. Create a workflow with a **Chat Trigger** ("On chat message") and an **AI Agent** node.
2. Open the AI Agent node, click **+ Chat Model**, and pick **OpenAI Chat Model**.
3. In the OpenAI Chat Model node, select the ScitiX credential (on n8n Cloud, choose **My own credential** first). The **Model** dropdown loads live from ScitiX's `/models` endpoint — select `glm-5.2`. The AI Agent node runs as a Tools Agent since n8n 1.82.0, so the model must support native tool calling; `glm-5.2` does. Check the platform's tool-calling list before switching models.
4. Leave **Use Responses API** off — that toggle targets OpenAI's own API.
5. Connect at least one tool sub-node to the AI Agent (a documented requirement — e.g. the Calculator tool).
The credential is shared by the **OpenAI Chat Model**, **Embeddings OpenAI**, and plain **OpenAI** nodes. For ScitiX, prefer the Chat Model sub-node: many plain-OpenAI-node operations (image, audio, files) call OpenAI-specific endpoints.
For embeddings-based workflows (RAG), add an **Embeddings OpenAI** node on the same credential and pick an embedding model from the [Models](https://console.scitix.ai/model-inference/models) page.
## Verify
Open the chat panel and send a message that exercises the tool, for example "what is 17 \* 23?". A streamed answer with a visible tool call and the result `391` confirms both the connection and tool calling. For a plain completion test without tools, use a Basic LLM Chain root node with the same OpenAI Chat Model sub-node.

## FAQ
* **The Model dropdown is empty**: The `GET /models` call failed. Re-check the Base URL (`/v1` suffix, no trailing slash) and the key.
* **Which tool should I use for a quick test?** Prefer the Calculator tool. If you use a **Code** tool instead, each parameter must be individually enabled for the AI to fill (click the ✨ on it, or you get `No parameters are set up to be filled by AI`), and the Code node runs on a separate task runner that times out at 60s if that runner isn't enabled. Calculator avoids both.
Verified on self-hosted n8n 2.32.7.
# NextChat
Source: https://docs.scitix.ai/model-inference/integrations/nextchat
Learn how to connect NextChat to ScitiX Model Inference for lightweight web and desktop chat with ScitiX models.
[NextChat](https://github.com/ChatGPTNextWeb/NextChat) is a lightweight, cross-platform ChatGPT-style web/desktop client. It overrides the OpenAI base URL through environment variables, so you can point it to the ScitiX Model Inference API and use ScitiX models.
Supported models include `glm-5.2` and `DeepSeek-V4-Flash`. For model pricing, see the [model catalog](https://console.scitix.ai/model-inference/models).
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. NextChat reads its OpenAI connection from environment variables. Set these before starting:
```bash theme={null}
export OPENAI_API_KEY=""
export BASE_URL="https://api.scitix.ai/model-api"
export CUSTOM_MODELS="-all,+glm-5.2,+DeepSeek-V4-Flash"
```
| Variable | Description |
| - | - |
| `OPENAI_API_KEY` | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
| `BASE_URL` | ScitiX endpoint without the `/v1` suffix: `https://api.scitix.ai/model-api`. NextChat appends `/v1/chat/completions` itself. |
| `CUSTOM_MODELS` | `-all` hides the default models; `+glm-5.2,+DeepSeek-V4-Flash` adds the ScitiX models to the picker. |
> [!WARNING]
>
> `BASE_URL` must not include `/v1`, or NextChat will duplicate the path when it appends `/v1/chat/completions`.
Choose a model with native tool calling if you use plugin or tool features.
The same three variables apply when deploying on Vercel. Set them in the project's environment variables. For Docker, pass them with `-e OPENAI_API_KEY=... -e BASE_URL=... -e CUSTOM_MODELS=...`.
## Verify
Open NextChat, pick a ScitiX model from the selector, and send a message. A normal reply confirms that the connection works.

## FAQ
* **Model picker empty or defaults showing**: check `CUSTOM_MODELS`. `-all` clears the built-in list, then `+` adds each ScitiX model.
# Obsidian Copilot
Source: https://docs.scitix.ai/model-inference/integrations/obsidian-copilot
Learn how to configure Obsidian Copilot with ScitiX Model Inference for AI chat and commands inside an Obsidian vault.
[Obsidian Copilot](https://github.com/logancyang/obsidian-copilot) is an AI plugin for [Obsidian](https://obsidian.md). It lets you chat with your notes, generate content, and run commands. Its custom-model support connects to the ScitiX Model Inference API through an OpenAI-compatible endpoint.
The steps below reflect the plugin's current settings UI. Newer versions may differ slightly. For available models, such as `glm-5.2` and `DeepSeek-V4-Flash`, and pricing, see the [model catalog](https://console.scitix.ai/model-inference/models).
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page first.
1. Open **Settings → Copilot → Model**, then click to add a model. The **Add Custom Chat Model** dialog opens.
2. Fill in the required fields.
| Field | Value |
| - | - |
| Model Name | `glm-5.2` |
| Provider | **OpenAI Format** |
| Base URL | `https://api.scitix.ai/model-api/v1` |
| API Key | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
Keep the following in mind:
* **Provider** must be **OpenAI Format**. This is the option for a custom OpenAI-compatible endpoint. The named providers, such as OpenAI or Anthropic, target their official services.
* The Base URL field is hinted as "leave it blank unless you are using a proxy", but for a custom endpoint like ScitiX you must fill it with `https://api.scitix.ai/model-api/v1`.
* Choose a model with native tool calling if you use Copilot features that rely on it.
3. Tick the **CORS** checkbox under **Model Capabilities**.
The desktop app requires CORS for a custom endpoint. Otherwise, the **Test** button reports "Connection successful, but requires CORS to be enabled".
4. Click **Test** to verify the connection. Expect "Model verification successful!", then click **Add Model**.

## Verify
Open the Copilot chat pane, select `glm-5.2` from the model selector at the bottom, and send a message. A normal reply confirms that the connection works.
> [!NOTE]
>
> The assistant may identify itself as "Obsidian Copilot" rather than the underlying model. That is the plugin's own system prompt, not a routing issue; the model selector still shows the ScitiX model in use.

# Open WebUI
Source: https://docs.scitix.ai/model-inference/integrations/open-webui
Learn how to connect Open WebUI to ScitiX Model Inference so a self-hosted chat interface can use ScitiX models.
[Open WebUI](https://github.com/open-webui/open-webui) is a self-hosted web interface for large language models. It talks to OpenAI-compatible backends, so you can point it to the ScitiX Model Inference API and chat with ScitiX models from a browser.
The steps below use Open WebUI v0.11.0. Newer versions may differ slightly. For available models, such as `glm-5.2` and `DeepSeek-V4-Flash`, and pricing, see the [model catalog](https://console.scitix.ai/model-inference/models).
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page, then set two environment variables before starting the server:
```bash theme={null}
export OPENAI_API_BASE_URL="https://api.scitix.ai/model-api/v1"
export OPENAI_API_KEY=""
open-webui serve --port 8080
```
| Variable | Description |
| - | - |
| `OPENAI_API_BASE_URL` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1`. |
| `OPENAI_API_KEY` | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
> [!NOTE]
>
> An `export` only lasts for the current shell session. Add the two lines to `~/.bashrc` or `~/.zshrc` to make them permanent.
Open the printed URL, such as `http://localhost:8080`, and create the first account. The first account becomes the administrator.
With the two variables set, Open WebUI reads the model list from the ScitiX endpoint automatically. No per-model setup is needed.
Additional connections and per-model options live in **Admin Settings → Connections**. Choose a model with native tool calling if you rely on Open WebUI's tool/function features.

## Verify
Pick a ScitiX model from the model selector at the top of the chat and send a message. A normal reply confirms that the connection works.
## FAQ
* If the model picker is empty, confirm that the two variables were exported in the shell that launched `open-webui serve`, and that `GET https://api.scitix.ai/model-api/v1/models` returns a list with your key.
# OpenClaw
Source: https://docs.scitix.ai/model-inference/integrations/openclaw
Learn how to configure OpenClaw with ScitiX Model Inference for personal AI assistant workflows across messaging platforms.
[OpenClaw](https://github.com/openclaw/openclaw) is an open-source personal AI assistant that connects to messaging channels such as WhatsApp, Telegram, and Feishu/Lark, and acts on your behalf through an agent loop. It supports custom OpenAI-compatible providers, so you can point it to the ScitiX Model Inference API.
OpenClaw requires Node.js 22.22.3+, 24.15+, or 25.9+. A newer LTS version is recommended. Installing with an unsupported Node version may silently pull an older placeholder release.
## Configure
### 1. Install OpenClaw
Check your Node version first:
```bash theme={null}
node -v
```
If it is below the requirement, upgrade Node. The [official download page](https://nodejs.org/en/download) covers every platform and method.
```bash macOS (Homebrew) theme={null}
brew install node@24
```
```bash Windows (winget) theme={null}
winget install OpenJS.NodeJS.LTS
```
```bash Linux/macOS (nvm) theme={null}
nvm install 24 && nvm use 24
nvm alias default 24
```
> [!WARNING]
>
> With nvm, set a default alias. Without it, new terminals may fall back to the old Node version and npm-installed commands can disappear from `PATH`.
Install OpenClaw:
```bash theme={null}
npm install -g openclaw@latest
openclaw onboard --install-daemon
```
### 2. Complete onboarding
`openclaw onboard` walks you through an interactive setup wizard. Answer the prompts as follows:
1. **"I understand this is personal-by-default..."**: select **Yes**.
2. **Setup mode**: select **QuickStart (recommended)**. The defaults it applies, including Gateway port `18789`, loopback bind, token auth, and Tailscale off, are fine for connecting to ScitiX.
3. **Model/auth provider**: select **Skip for now**.
The providers listed here, such as OpenAI, Anthropic, and Google, are sign-in flows for those companies' official services. Picking OpenAI would point OpenClaw at `api.openai.com`, not at ScitiX. ScitiX is added as a custom provider in the config file.

4. **Default model**: select **Keep current**. Do not enter the ScitiX model here because the provider has no credentials yet. The config file below sets `agents.defaults.model.primary` to the ScitiX model.
5. **Everything after that**, such as Web search and Chat channels: select **Skip for now**. These agent extras are independent of the model provider and can be configured later with `openclaw configure`.
When the wizard finishes, it opens the OpenClaw chat TUI. Messages will fail with a model error until the provider is configured. That is expected. Exit by typing `/exit`; `Ctrl+C` does not quit the TUI.
### 3. Configure the provider
First, create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page, then store it where the gateway can read it. The gateway runs as a daemon, so a shell `export` will not reach it. Use OpenClaw's env file instead:
```bash theme={null}
echo 'SCITIX_API_KEY=' >> ~/.openclaw/.env
```
Then edit `~/.openclaw/openclaw.json` to add ScitiX as a custom provider and set it as the default model. The wizard has already written gateway and agent settings to this file. Merge these keys in; do not replace the file.
```json theme={null}
{
"models": {
"providers": {
"scitix": {
"baseUrl": "https://api.scitix.ai/model-api/v1",
"apiKey": "${SCITIX_API_KEY}",
"api": "openai-completions",
"models": [
{
"id": "glm-5.2",
"name": "ScitiX glm-5.2",
"contextWindow": 128000,
"maxTokens": 8192
}
]
}
}
},
"agents": {
"defaults": {
"model": { "primary": "scitix/glm-5.2" }
}
}
}
```
| Field | Description |
| - | - |
| `baseUrl` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1`. |
| `apiKey` | `${VAR}` interpolation reads from `~/.openclaw/.env`, a `.env` in the working directory, or the environment. You can also paste the key directly. |
| `api` | Wire protocol. Use `openai-completions`. |
| `contextWindow` / `maxTokens` | Set to match the chosen model's actual limits. |
| `agents.defaults.model.primary` | Default model in `/` form. |
> [!WARNING]
>
> Set `contextWindow` and `maxTokens` to the actual limits of your chosen model. Values that are too large will be rejected by the platform.
OpenClaw's agent features rely on the model's native tool calling. Use a model that supports it.
Instead of editing `agents.defaults.model.primary` by hand, you can also run:
```bash theme={null}
openclaw models set scitix/glm-5.2
openclaw models list
```
If you would rather use the Anthropic-compatible endpoint, set `api` to `anthropic-messages` and `baseUrl` to `https://api.scitix.ai/model-api`.
The gateway watches `~/.openclaw/openclaw.json` and hot-applies model and agent changes automatically. If a change does not seem to take effect, force it with:
```bash theme={null}
openclaw gateway restart
```
> [!NOTE]
>
> In containers or other environments without systemd user services, `openclaw gateway restart` reports **"Gateway service disabled"**. The chat TUI (`openclaw`) and `openclaw agent --local` still run the agent embedded, reading the same config with no gateway involved. If you want the gateway for the dashboard or messaging channels, run it in the foreground with `openclaw gateway` in a separate terminal.
## Verify
```bash theme={null}
openclaw models list # expect scitix/glm-5.2 with the "default,configured" tags
# one-shot task, runs the agent embedded — no gateway required
openclaw agent --agent main -m "introduce yourself in one sentence" --local
```
The `agent` command expects the message in `-m` / `--message`, not as a positional argument. A session selector such as `--agent main` is required.
You can also start the chat TUI with `openclaw chat`, which is an alias of `tui --local`, send a message, and confirm that you get a normal response.
If you are running the daemonized gateway, also check:
```bash theme={null}
openclaw gateway status # expect: running on port 18789
```
You can then use a connected channel or the dashboard with `openclaw dashboard`, served at `http://127.0.0.1:18789/`.
## FAQ
* **Unknown model: scitix/glm-5.2 ... no matching models.providers\[...] entry**: the default model is registered but the provider block is missing, or the config edit did not reach the gateway. Check that `models.providers.scitix` exists in `~/.openclaw/openclaw.json` and restart the gateway.
* If authentication fails, check that `~/.openclaw/.env` contains the key without quotes or stray whitespace, and restart the gateway after any config change.
# OpenCode
Source: https://docs.scitix.ai/model-inference/integrations/opencode
Learn how to configure OpenCode with ScitiX Model Inference for terminal and IDE-based AI coding workflows.
[OpenCode](https://opencode.ai) is an open-source AI coding agent, available as a terminal-based interface, a desktop app, and an IDE extension. All of them are driven by the same `opencode.json`, so the provider configuration below applies everywhere. OpenCode supports custom OpenAI-compatible providers, so you can add the ScitiX Model Inference API as a provider.
## Configure
### 1. Install OpenCode
```bash macOS/Linux (install script) theme={null}
curl -fsSL https://opencode.ai/install | bash
```
```bash npm theme={null}
npm install -g opencode-ai
```
```bash macOS (Homebrew) theme={null}
brew install anomalyco/tap/opencode
```
Arch, Docker, and other install methods are listed in the [official docs](https://opencode.ai/docs/). The install script and Homebrew ship a standalone binary, so no Node.js is required. The npm route needs Node installed.
### 2. Configure the provider
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page, then edit `~/.config/opencode/opencode.json`, or a project-level `opencode.json`.
Project config overrides global config, and the two are merged. On a fresh machine, create the directory first:
```bash theme={null}
mkdir -p ~/.config/opencode
```
```json theme={null}
{
"$schema": "https://opencode.ai/config.json",
"model": "scitix/glm-5.2",
"provider": {
"scitix": {
"npm": "@ai-sdk/openai-compatible",
"name": "ScitiX",
"options": {
"baseURL": "https://api.scitix.ai/model-api/v1",
"apiKey": "{env:SCITIX_API_KEY}"
},
"models": {
"glm-5.2": {
"name": "ScitiX glm-5.2",
"limit": { "context": 131072, "output": 8192 }
}
}
}
}
}
```
Export the key and start OpenCode:
```bash theme={null}
export SCITIX_API_KEY=""
opencode
```
> [!WARNING]
>
> An `export` only lasts for the current shell session. In a new terminal, the variable is gone, and `{env:...}` silently resolves to an empty string, so requests fail with an authentication error. To make it permanent, add the export line to `~/.bashrc` or `~/.zshrc`. In CI or containers, inject it as a secret.
| Field | Description |
| - | - |
| `model` | Default model in `provider/model` form. This pins ScitiX so you do not have to pick it each session. |
| `provider.scitix.npm` | Use `@ai-sdk/openai-compatible` for chat-completions APIs like ScitiX. |
| `provider.scitix.options.baseURL` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1`. |
| `provider.scitix.options.apiKey` | Reads from the `SCITIX_API_KEY` environment variable. |
| `provider.scitix.models` | Model IDs to expose, such as `glm-5.2`. |
| `models.*.limit` | Context/output token budgets. Built-in providers get these from models.dev automatically, but custom providers must set them manually or OpenCode cannot track remaining context. |
> [!WARNING]
>
> Use a model with native tool calling support. OpenCode's core workflow relies on it for file and command actions.
## Verify
Run a quick config check:
```bash theme={null}
opencode models scitix
```
It should list `glm-5.2`.
Then run a non-interactive one-shot task:
```bash theme={null}
opencode run -m scitix/glm-5.2 "introduce this project in one sentence"
```
Or start `opencode` interactively, run `/models`, select **scitix / glm-5.2**, and give it a coding task to confirm tool calls and streaming output work.
## Other Interfaces
* **IDE extension**: in VS Code, Cursor, Windsurf, or VSCodium, the OpenCode extension auto-installs the first time you run `opencode` in the integrated terminal. You can also install **OpenCode** from the marketplace. Quick-launch with `Cmd+Esc` / `Ctrl+Esc`. It runs the same OpenCode with the same config.
* **Web UI**: `opencode web` starts a local server and opens the browser UI. It shares sessions and state with the TUI.
## FAQ
* If the provider does not show up, check the JSON syntax. `opencode.json` can also live in your project root, `.jsonc` is supported, and `OPENCODE_CONFIG` can point to a custom path.
* If authentication fails, confirm that `SCITIX_API_KEY` is exported in the shell that launches `opencode`. An unset environment variable silently becomes an empty string.
# OpenManus
Source: https://docs.scitix.ai/model-inference/integrations/openmanus
Learn how to connect OpenManus to ScitiX Model Inference for general-purpose agent workflows through an OpenAI-compatible model API.
[OpenManus](https://github.com/FoundationAgents/OpenManus) is an open-source general-purpose AI agent. It reads its model settings from a `config.toml` whose `[llm]` section takes a custom `base_url`, so the agent can run on the ScitiX Model Inference API.
Default model here is `glm-5.2`; see the [Models](https://console.scitix.ai/model-inference/models) page for the full list and pricing.
## Configure
Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page. Copy `config/config.example.toml` to `config/config.toml` and point the `[llm]` section at ScitiX:
```toml theme={null}
# config/config.toml
[llm]
model = "glm-5.2"
base_url = "https://api.scitix.ai/model-api/v1"
api_key = ""
max_tokens = 4096
temperature = 0.0
[llm.vision]
model = "glm-5.2"
base_url = "https://api.scitix.ai/model-api/v1"
api_key = ""
```
| Field | Value |
| - | - |
| `model` | ScitiX model ID, e.g. `glm-5.2`. Pick a model with native tool calling; OpenManus is an agent that relies on it. |
| `base_url` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1` |
| `api_key` | Your ScitiX API key |
| `[llm.vision]` | Set this to the same ScitiX model/endpoint so steps that use the vision LLM also route through ScitiX |
The default `[llm]` API type is OpenAI-compatible, so no extra `api_type` is needed for ScitiX.
## Verify
Run the agent and give it a simple request — it responds using the configured ScitiX model:
```bash theme={null}
python main.py
# Enter your prompt: In one short sentence, which model are you?
# → I am GLM, a large language model developed by Z.ai.
```
The loaded config resolves to `model: glm-5.2` / `base_url: https://api.scitix.ai/model-api/v1`, confirming requests reach ScitiX.
# Integrations Overview
Source: https://docs.scitix.ai/model-inference/integrations/overview
Browse ScitiX Model Inference integrations for coding agents, IDEs, chat clients, RAG tools, workflow platforms, and AI frameworks.
Use these guides to connect third-party tools to the ScitiX Model Inference API.
Most tools connect through an OpenAI-compatible endpoint. Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page, choose a tool, and follow its guide.
## Coding Agents
> [card] [Claude Code](/model-inference/integrations/claude-code)
>
> Terminal coding agent for chatting, editing files, and running commands
> [card] [Codex](/model-inference/integrations/codex)
>
> Coding assistant available as a CLI and VS Code extension
> [card] [DeepSeek Harness](/model-inference/integrations/deepseek-harness)
>
> Open-source coding agent that can inspect workspaces, run commands, and use custom model providers
> [card] [OpenCode](/model-inference/integrations/opencode)
>
> Open-source coding agent for terminal, desktop, and IDE workflows
> [card] [Qwen Code](/model-inference/integrations/qwen-code)
>
> Open-source CLI coding agent for interactive and automated coding tasks
> [card] [Aider](/model-inference/integrations/aider)
>
> Terminal pair-programming assistant built around git diffs
> [card] [Goose](/model-inference/integrations/goose)
>
> Open-source coding agent for CLI and desktop workflows
> [card] [Crush](/model-inference/integrations/crush)
>
> Terminal-based coding agent for interactive development
> [card] [CC-Switch](/model-inference/integrations/cc-switch)
>
> Desktop switcher for model and provider configurations across coding tools
## IDEs & Extensions
> [card] [Cline](/model-inference/integrations/cline)
>
> VS Code coding agent for planning, editing, and running tasks in your workspace
> [card] [Cursor](/model-inference/integrations/cursor)
>
> AI code editor for chatting with ScitiX models using your own API key
> [card] [Roo Code](/model-inference/integrations/roo-code)
>
> Multi-mode VS Code coding agent for coding, architecture, questions, and debugging
> [card] [Kilo Code](/model-inference/integrations/kilo-code)
>
> Open-source coding agent for VS Code, JetBrains IDEs, and CLI workflows
> [card] [TRAE](/model-inference/integrations/trae)
>
> AI IDE with chat and agent workflows for coding tasks
> [card] [Continue](/model-inference/integrations/continue)
>
> Open-source coding assistant for VS Code, JetBrains IDEs, and CLI workflows
> [card] [Zed](/model-inference/integrations/zed)
>
> High-performance collaborative editor with a built-in AI assistant
## Chat Clients
> [card] [Cherry Studio](/model-inference/integrations/cherry-studio)
>
> Desktop AI client for Windows, macOS, and Linux
> [card] [LobeChat](/model-inference/integrations/lobechat)
>
> Open-source chat framework with web and desktop interfaces
> [card] [Open WebUI](/model-inference/integrations/open-webui)
>
> Self-hosted web interface for chatting with large language models
> [card] [NextChat](/model-inference/integrations/nextchat)
>
> Lightweight cross-platform chat client
> [card] [Chatbox](/model-inference/integrations/chatbox)
>
> Cross-platform desktop AI client with a web version
> [card] [LibreChat](/model-inference/integrations/librechat)
>
> Self-hosted multi-provider chat web app
## Knowledge & RAG
> [card] [RAGFlow](/model-inference/integrations/ragflow)
>
> Open-source RAG engine for document understanding and knowledge retrieval
> [card] [AnythingLLM](/model-inference/integrations/anythingllm)
>
> All-in-one app for workspaces, document chat, RAG, and agents
> [card] [FastGPT](/model-inference/integrations/fastgpt)
>
> Knowledge-base and AI workflow platform for chat and automation
> [card] [DB-GPT](/model-inference/integrations/db-gpt)
>
> Data app framework for chat-to-data, agents, and RAG workflows
> [card] [wiseflow](/model-inference/integrations/wiseflow)
>
> Open-source tool for information mining and intelligence aggregation
## Notes & Writing
> [card] [Obsidian Copilot](/model-inference/integrations/obsidian-copilot)
>
> AI chat and commands for your Obsidian vault
> [card] [Zotero](/model-inference/integrations/zotero)
>
> AI Q\&A for Zotero libraries through the Zotero GPT plugin
> [card] [SiYuan](/model-inference/integrations/siyuan)
>
> Privacy-first knowledge management app with built-in AI features
## Workflow & App Platforms
> [card] [Dify](/model-inference/integrations/dify)
>
> Visual platform for building LLM apps, chatbots, agents, and workflows
> [card] [OpenClaw](/model-inference/integrations/openclaw)
>
> Personal AI assistant for messaging platforms such as WhatsApp, Telegram, and Feishu
> [card] [Langflow](/model-inference/integrations/langflow)
>
> Visual builder for LLM applications and agents
> [card] [Flowise](/model-inference/integrations/flowise)
>
> Low-code builder for LLM applications and agent flows
> [card] [n8n](/model-inference/integrations/n8n)
>
> Workflow automation platform with AI Agent and LLM nodes
> [card] [Deep Research](/model-inference/integrations/deep-research)
>
> Self-hosted workflow for iterative AI research
> [card] [LangBot](/model-inference/integrations/langbot)
>
> Open-source bot platform for messaging channels such as QQ, WeCom, Feishu, and DingTalk
> [card] [Refly](/model-inference/integrations/refly)
>
> Open-source AI workflow platform for research, writing, and agent orchestration
## Frameworks & SDKs
> [card] [LangChain](/model-inference/integrations/langchain)
>
> Python and JavaScript framework for building LLM applications
> [card] [LlamaIndex](/model-inference/integrations/llamaindex)
>
> Data framework for RAG and agent applications
> [card] [Vercel AI SDK](/model-inference/integrations/vercel-ai-sdk)
>
> TypeScript toolkit for building AI-powered web applications
> [card] [Pydantic AI](/model-inference/integrations/pydantic-ai)
>
> Typed Python agent framework with structured outputs and tool calling
> [card] [LiteLLM](/model-inference/integrations/litellm)
>
> SDK and proxy that provide one interface across many LLM APIs
> [card] [CrewAI](/model-inference/integrations/crewai)
>
> Framework for orchestrating role-based autonomous agents
> [card] [AutoGen](/model-inference/integrations/autogen)
>
> Framework for building multi-agent applications
> [card] [OpenManus](/model-inference/integrations/openmanus)
>
> Open-source general-purpose agent framework
> [card] [LazyLLM](/model-inference/integrations/lazyllm)
>
> Low-code framework for building LLM applications
> [card] [Chat2Graph](/model-inference/integrations/chat2graph)
>
> Graph-native agent system for graph-based AI applications
## Translation
> [card] [Immersive Translate](/model-inference/integrations/immersive-translate)
>
> Bilingual side-by-side translation for web, PDF, and EPUB
> [card] [PDFMathTranslate Next](/model-inference/integrations/pdfmathtranslate-next)
>
> Layout- and formula-preserving PDF translation
# PDFMathTranslate Next
Source: https://docs.scitix.ai/model-inference/integrations/pdfmathtranslate-next
Learn how to configure PDFMathTranslate Next with ScitiX Model Inference for layout-preserving PDF translation workflows.
[PDFMathTranslate Next](https://github.com/PDFMathTranslate/PDFMathTranslate-next) (`pdf2zh-next`) translates PDFs while preserving layout, formulas, tables, and figures. Its **OpenAI Compatible** engine targets any OpenAI-compatible endpoint, so it runs on the ScitiX Model Inference API.
Default model here is `glm-5.2`; see the [Models](https://console.scitix.ai/model-inference/models) page for the full list and pricing.
## Configure
Install the CLI (`pip install pdf2zh-next`), create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page, then select the **OpenAI Compatible** engine and point it at ScitiX:
```bash theme={null}
pdf2zh_next \
--openaicompatible \
--openai-compatible-model glm-5.2 \
--openai-compatible-base-url https://api.scitix.ai/model-api/v1 \
--openai-compatible-api-key "" \
--lang-in en --lang-out zh \
input.pdf
```
| Flag | Value |
| - | - |
| `--openaicompatible` | Select the OpenAI-compatible engine; use this instead of `--openai` for third-party endpoints like ScitiX |
| `--openai-compatible-model` | ScitiX model ID, e.g. `glm-5.2` |
| `--openai-compatible-base-url` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1` |
| `--openai-compatible-api-key` | Your ScitiX API key |
| `--lang-in` / `--lang-out` | Source / target language codes, e.g. `en` → `zh` |
Formulas, tables, and figures are preserved by design — only text runs are translated. Use `--qps` to bound request rate, and `--pages` (e.g. `1-5`) to translate a subset.
## Verify
Translate a page — it writes a monolingual and a bilingual PDF, and prints token usage confirming the requests reached ScitiX:
```bash theme={null}
pdf2zh_next --openaicompatible \
--openai-compatible-model glm-5.2 \
--openai-compatible-base-url https://api.scitix.ai/model-api/v1 \
--openai-compatible-api-key "" \
--lang-in en --lang-out zh --pages 1 --output out/ input.pdf
# → out/input.zh.mono.pdf , out/input.zh.dual.pdf
# → Total Token Usage: Total 4022, Prompt 1246, Completion 2776
```
The translated PDF carries the target-language text while math is left intact — e.g. `a^2 + b^2 = c^2` stays as-is in the output.
Verified on pdf2zh-next 2.9.0 (BabelDOC 0.6.2).
# Pydantic AI
Source: https://docs.scitix.ai/model-inference/integrations/pydantic-ai
Learn how to use Pydantic AI with ScitiX Model Inference to build typed Python agents with tool calling support.
[Pydantic AI](https://github.com/pydantic/pydantic-ai) is a Python agent framework from the Pydantic team, with typed structured outputs and tool calling. Its OpenAI model class takes a custom provider, so you can point it at the ScitiX Model Inference API.
Default model here is `glm-5.2`; see the [Models](https://console.scitix.ai/model-inference/models) page for the full list and pricing.
## Configure
Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page and export it:
```bash theme={null}
export SCITIX_API_KEY=""
```
Build an `OpenAIChatModel` with an `OpenAIProvider` whose `base_url` is the ScitiX endpoint:
```python theme={null}
import os
from pydantic_ai import Agent
from pydantic_ai.models.openai import OpenAIChatModel
from pydantic_ai.providers.openai import OpenAIProvider
model = OpenAIChatModel(
"glm-5.2",
provider=OpenAIProvider(
base_url="https://api.scitix.ai/model-api/v1",
api_key=os.environ["SCITIX_API_KEY"],
),
)
agent = Agent(model)
```
| Field | Description |
| - | - |
| `OpenAIChatModel("")` | ScitiX model ID, e.g. `glm-5.2`. Class name is `OpenAIChatModel` in Pydantic AI 2.x; older 1.x used `OpenAIModel`. |
| `OpenAIProvider(base_url=…)` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1`. The OpenAI provider appends `/chat/completions`. |
| `OpenAIProvider(api_key=…)` | Your ScitiX API key, read from the environment |
The class name is version-sensitive. Import the one that matches your installed version.
Choose a model with native tool calling for Pydantic AI's tool/structured-output features.
## Verify
Run a prompt — a normal reply confirms the connection (verified on **Pydantic AI 2.27.1**):
```python theme={null}
result = agent.run_sync("In one short sentence, which model are you?")
print(result.output)
# → a normal completion from ScitiX, e.g. "I am GLM, a large language model…"
```
A model's self-identification is unreliable; it may name a different family. Routing is set by the model ID you pass, and the ScitiX endpoint returns the requested model.
# Qwen Code
Source: https://docs.scitix.ai/model-inference/integrations/qwen-code
Learn how to configure Qwen Code with ScitiX Model Inference for command-line coding agent workflows using ScitiX models.
[Qwen Code](https://github.com/QwenLM/qwen-code) is an open-source coding agent from the Qwen team at Alibaba. It is an interactive CLI at its core, with headless mode, IDE integrations for VS Code, Zed, and JetBrains, and a desktop app built on top. It natively supports the OpenAI, Anthropic, and Gemini protocols, so it can connect directly to the ScitiX OpenAI-compatible endpoint.
The configuration below applies to all Qwen Code forms.
Qwen Code requires Node.js 22 or later for the npm install. If the install produces a broken version or Qwen Code will not start, check `node --version`; installing with Node below 22 can pull an incomplete build.
## Configure
### 1. Install Qwen Code
Check your Node version first:
```bash theme={null}
node -v
```
If it is below 22, upgrade Node. The [official download page](https://nodejs.org/en/download) covers every platform and method.
```bash macOS (Homebrew) theme={null}
brew install node@24
```
```bash Windows (winget) theme={null}
winget install OpenJS.NodeJS.LTS
```
```bash Linux/macOS (nvm) theme={null}
nvm install 24 && nvm use 24
nvm alias default 24
```
> [!WARNING]
>
> With nvm, set a default alias. Without it, new terminals may fall back to the old Node version and npm-installed commands can disappear from `PATH`.
Install Qwen Code:
```bash theme={null}
npm install -g @qwen-code/qwen-code@latest
# or
brew install qwen-code
qwen --version
```
### 2. Configure with environment variables
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page, then put the connection settings in Qwen Code's env file. It is loaded automatically on every launch and in every terminal.
```bash theme={null}
mkdir -p ~/.qwen
cat >> ~/.qwen/.env <<'EOF'
OPENAI_API_KEY=
OPENAI_BASE_URL=https://api.scitix.ai/model-api/v1
OPENAI_MODEL=glm-5.2
EOF
qwen
```
Plain `export` commands also work, but only last for the current shell session. Qwen Code searches `.qwen/.env`, then `.env` walking up from the current directory, then `~/.qwen/.env`, then `~/.env`. A project-level `.qwen/.env` lets different projects use different keys.
On first launch, pick your provider in the `/auth` dialog. The current UI offers **Alibaba ModelStudio**, **Third-party Providers**, and **Custom Provider**. Use **Custom Provider** for ScitiX.
### 3. Configure with `settings.json`
For a persistent setup, create the config directory if this is a fresh machine, then edit `~/.qwen/settings.json`:
```bash theme={null}
mkdir -p ~/.qwen
```
```json theme={null}
{
"modelProviders": {
"openai": {
"protocol": "openai",
"models": [
{
"id": "glm-5.2",
"baseUrl": "https://api.scitix.ai/model-api/v1",
"envKey": "SCITIX_API_KEY"
}
]
}
},
"security": { "auth": { "selectedType": "openai" } },
"model": { "name": "glm-5.2" }
}
```
Store the key in Qwen Code's env file:
```bash theme={null}
echo 'SCITIX_API_KEY=' >> ~/.qwen/.env
qwen
```
A plain `export SCITIX_API_KEY="..."` also works, but only lasts for the current shell session. A new terminal loses it and Qwen Code shows "Missing credentials ... Set that environment variable".
With `security.auth.selectedType` set, Qwen Code starts directly into the configured provider without the `/auth` dialog.
| Field | Description |
| - | - |
| `modelProviders.openai.models[].id` | Model ID, such as `glm-5.2`. Must match `model.name` exactly. |
| `modelProviders.openai.models[].baseUrl` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1`. |
| `modelProviders.openai.models[].envKey` | Environment variable holding your API Key. Optional; defaults to `OPENAI_API_KEY`. |
| `security.auth.selectedType` | Set to `openai` to use this provider by default. |
> [!WARNING]
>
> `model.name` must match an `id` under `modelProviders` exactly. Otherwise, the model will not show up in `/model`.
`glm-5.2` is the recommended default. For faster responses, `DeepSeek-V4-Flash` is also verified to support native tool calling.
If you do not want to export anything, `settings.json` also accepts a top-level `"env": { "SCITIX_API_KEY": "..." }` block. It has the lowest priority; shell exports and `.env` files win. A project-level `.qwen/settings.json` overrides the home-directory one.
## Verify
In interactive mode, send a task such as "list the current directory and summarize the project structure" and confirm that tool calls and responses work.
You can also verify headlessly:
```bash theme={null}
qwen -p "introduce yourself in one sentence, and name the model you're connected to"
# headless run that's allowed to edit files
# approval modes: plan / default / auto-edit / auto / yolo
qwen -p --approval-mode yolo "create a file named check.txt containing ok"
```
## VS Code Companion
Qwen Code has an official VS Code extension, **Qwen Code Companion** (`qwenlm.qwen-code-vscode-ide-companion`). Run `/ide install` inside Qwen Code to set it up, or install it from the marketplace and run `/ide enable`.
It feeds workspace context, such as recent files, cursor position, and selection, to the agent and shows native diff review. Zed and JetBrains integrations are also available. See the [official IDE integration docs](https://qwenlm.github.io/qwen-code-docs/en/users/ide-integration/ide-integration/).
# RAGFlow
Source: https://docs.scitix.ai/model-inference/integrations/ragflow
Learn how to configure RAGFlow with ScitiX Model Inference for document understanding, knowledge base chat, and RAG workflows.
[RAGFlow](https://github.com/infiniflow/ragflow) is an open-source RAG engine built on deep document understanding. You can build knowledge bases from your documents and chat over them. Its OpenAI-API-Compatible provider points both chat and embedding models to the ScitiX Model Inference API.
Deploy RAGFlow with Docker Compose by following the [official guide](https://ragflow.io/docs/dev/), then open the web UI. The default URL is `http://localhost`.
Supported chat models include `glm-5.2` and `DeepSeek-V4-Flash`. The embedding model in this guide is `Qwen/Qwen3-Embedding-8B`. See the [model catalog](https://console.scitix.ai/model-inference/models).
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page, then open **Model providers** from the top-right avatar menu. Find **OpenAI-API-Compatible** and add it.

| Field | Value |
| - | - |
| Instance name | `ScitiX` |
| Base url | `https://api.scitix.ai/model-api/v1` |
| API-Key | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
> [!WARNING]
>
> **Base url** must include `/v1`. RAGFlow's OpenAI-API-Compatible provider appends `/chat/completions` and `/embeddings`.
Click **List models** to fetch the available models and confirm connectivity, then click **Ok**.
Add the models you need and choose the correct **model type** for each.
| Model type | Model |
| - | - |
| chat | `glm-5.2` |
| embedding | `Qwen/Qwen3-Embedding-8B` |
RAGFlow keeps chat and embedding models in separate lists. Add `glm-5.2` as `chat` and `Qwen/Qwen3-Embedding-8B` as `embedding`. Choose a chat model with native tool calling if you use agent features.
Back on the **Model providers** page, under **Set default models**, set **LLM** to `glm-5.2` and **Embedding** to `Qwen/Qwen3-Embedding-8B`.
> [!WARNING]
>
> RAG needs an embedding model. Set a ScitiX embedding model, such as `Qwen/Qwen3-Embedding-8B`, as the default embedding model. Otherwise, dataset parsing or retrieval will not work.
## Verify
Create a chat assistant from **Chat → Create an Assistant**, or use the default one. Confirm that its model is `glm-5.2`, then send a message. A normal reply confirms that the connection works.
For document RAG, create a **Dataset** with `Qwen/Qwen3-Embedding-8B` as the embedding model, upload and parse a document, then bind the dataset to a chat assistant.

# Refly
Source: https://docs.scitix.ai/model-inference/integrations/refly
Learn how to add an OpenAI-compatible provider in Refly, configure the Base URL, and use ScitiX models in AI workflow orchestration.
[Refly](https://github.com/refly-ai/refly) is an open-source AI workflow orchestration platform for vibe workflows. It supports custom **OpenAI**-compatible providers, so you can connect Refly to ScitiX Model Inference.
This guide uses `glm-5.2` as an example. For the full model list and pricing, see [Models](https://console.scitix.ai/model-inference/models).
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. After signing in to Refly, open **Settings > Model Config** or **Provider Config**, choose **Add Provider**, and fill in:
| Field | Value |
| - | - |
| Type | **OpenAI** |
| Name | A custom name, such as `scitix` |
| Category | LLM |
| API Key | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page |
| Base URL | `https://api.scitix.ai/model-api/v1` |
Choose **Test Connection**. When Refly shows **Connection test successful**, choose **Add**.

After saving the provider, choose **Add Model** and enter the model ID `glm-5.2`.
## Verify
Use the model in a conversation and send a message. A normal reply confirms that the connection works.

## FAQ
* **Provider Type**:
Select **OpenAI**. Its Base URL is configurable, so no dedicated ScitiX preset is required. Refly uses LangChain `ChatOpenAI` in the backend.
* **Provider configuration location**:
Providers are configured in the Web UI and saved to the account, not through environment variables. Use **Test Connection** after adding the provider to confirm connectivity.
* **Tool or workflow capabilities**:
Choose a model that supports tool calling. `glm-5.2` supports tool calling.
# Roo Code
Source: https://docs.scitix.ai/model-inference/integrations/roo-code
Learn how to configure Roo Code with ScitiX Model Inference using an OpenAI-compatible provider, Base URL, API key, and model ID.
[Roo Code](https://github.com/RooCodeInc/Roo-Code) is an active fork of Cline. It is a multi-mode coding agent for VS Code, with modes such as Code, Architect, Ask, and Debug. Its **OpenAI Compatible** provider accepts a custom Base URL, so it can run on the ScitiX Model Inference API.
Roo Code uses native tool calling only, with no XML prompt fallback. Choose a model that supports OpenAI-compatible function calling. `glm-5.2` supports it. For the full list and pricing, see the [model catalog](https://console.scitix.ai/model-inference/models).
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page first.
1. Click the Roo Code icon in the sidebar, then open **Settings (⚙️) → Providers**.
2. Under **API Provider**, select **OpenAI Compatible**.
3. Fill in the required fields.
| Field | Value |
| - | - |
| Base URL | `https://api.scitix.ai/model-api/v1` |
| API Key | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
| Model | `glm-5.2` |
4. Keep **Enable streaming** on.
5. Leave **Enable R1 model parameters** off. It is only for R1-style models such as QWQ.
6. Optional: adjust **Context Window** and **Max Output Tokens** under the model settings to match your chosen model.
If the context window exceeds the actual value for the selected model, context overflow may occur.
7. Save the configuration.

## Verify
Switch to **Code** mode and give Roo Code a task, such as "create test.txt in current folder and write in hello". Roo Code plans the task and requests to write the file. Approve the action. A normal reply confirms that the connection works.

## FAQ
* **Stuck thinking, then errors / no tool calls**: the model does not support native tool calling. Roo Code has no XML fallback, so switch to a model that supports it. `glm-5.2` works.
* **404**: the Base URL ending in `/v1` is enough. No extra path is needed.
# SiYuan
Source: https://docs.scitix.ai/model-inference/integrations/siyuan
Learn how to configure SiYuan with ScitiX Model Inference for AI chat and knowledge management workflows.
[SiYuan](https://github.com/siyuan-note/siyuan) is a privacy-first personal knowledge management system with block-level Markdown editing and built-in AI writing and Q\&A. Its AI settings accept a custom OpenAI-compatible endpoint, so you can point them to the ScitiX Model Inference API.
The steps below reflect SiYuan's current AI settings. Newer versions may differ slightly. For available models, such as `glm-5.2` and `DeepSeek-V4-Flash`, and pricing, see the [model catalog](https://console.scitix.ai/model-inference/models).
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page first.
### 1. Add the provider
Open **Settings → Artificial Intelligence** and open the **Add provider** dialog.

Set the following fields:
| Field | Value |
| - | - |
| API Base URL | `https://api.scitix.ai/model-api/v1` |
| Custom display name | `scitix` (optional) |
| API Key | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
The dialog notes that the actual endpoint is `/chat/completions` under this address, so the API Base URL ends with `/v1`.
### 2. Add the model
Add a model under the ScitiX provider through the **Add model** dialog. Set **Model name** to `glm-5.2`, or click **Fetch available models**.
Click **Test connection**. Expect **Connection successful**, then confirm.

## Verify
Open the AI chat panel, select `glm-5.2` from the model selector at the bottom, and send a message. A normal reply confirms that the connection works.
> [!NOTE]
>
> The assistant may identify itself as "the SiYuan AI assistant" rather than the underlying model. That is SiYuan's own system prompt, not a routing issue; the model selector still shows the ScitiX model in use.
> [!WARNING]
>
> The AI panel is marked as an early-preview feature in current builds. Back up your data before heavy use.

## FAQ
* **Model not responding**: confirm the API Base URL, API Key, and model name. The model must be available over the OpenAI chat-completions protocol, such as `glm-5.2`.
# TRAE
Source: https://docs.scitix.ai/model-inference/integrations/trae
Learn how to configure TRAE with ScitiX Model Inference so its AI IDE and agent workflows can use ScitiX models.
[TRAE](https://www.trae.ai) is an AI IDE with a built-in coding agent. Its **Custom Config** model option accepts an OpenAI-compatible endpoint, so you can point it to the ScitiX Model Inference API for agent and chat use.
Supported models include `glm-5.2` and `DeepSeek-V4-Flash`. For the full list and pricing, see the [model catalog](https://console.scitix.ai/model-inference/models).
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page first.
1. Open **Settings → Models**, click **Add Model**, and switch to the **Custom Config** tab.

2. Fill in the required fields.
| Field | Value |
| - | - |
| API Format | **OpenAI Chat Completions** |
| Custom Request URL | `https://api.scitix.ai/model-api/v1` |
| Model ID | `glm-5.2` |
| API Key | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
Leave the **Full URL** toggle off. TRAE appends `/chat/completions` to the URL you provide, so enter the base endpoint without a trailing slash.
Under **Advanced Settings**, you can set a **Display Name** and **Context Window**. **Multimodal** is a separate toggle in the **Add Model** dialog; enable it only for a vision-capable model. Choose a model with native tool calling for the agent's file actions.
3. Click **Add Model**.
## Verify
Open the agent panel, select the ScitiX model from the model picker at the bottom, and give it a task. TRAE plans the task and edits files, asking you to keep or undo the changes. A normal reply confirms that the connection works.

## FAQ
* **Model not responding / no edits**: confirm that the selected model is the ScitiX model you added, and that it supports native tool calling.
# Vercel AI SDK
Source: https://docs.scitix.ai/model-inference/integrations/vercel-ai-sdk
Learn how to use Vercel AI SDK with ScitiX Model Inference to build TypeScript AI applications with an OpenAI-compatible provider.
[Vercel AI SDK](https://github.com/vercel/ai) is the TypeScript toolkit for building AI apps. Its `@ai-sdk/openai-compatible` provider connects to any OpenAI-compatible endpoint, so it runs on the ScitiX Model Inference API.
Default model here is `glm-5.2`; see the [Models](https://console.scitix.ai/model-inference/models) page for the full list and pricing.
## Configure
Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page and export it:
```bash theme={null}
export SCITIX_API_KEY=""
```
Install `ai` and `@ai-sdk/openai-compatible`, then create a ScitiX provider:
```ts theme={null}
import { createOpenAICompatible } from '@ai-sdk/openai-compatible';
import { generateText } from 'ai';
const scitix = createOpenAICompatible({
name: 'scitix',
baseURL: 'https://api.scitix.ai/model-api/v1',
apiKey: process.env.SCITIX_API_KEY,
});
```
| Field | Description |
| - | - |
| `baseURL` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1`. The provider appends `/chat/completions`. |
| `apiKey` | Your ScitiX API key, read from the environment |
| `scitix('')` | ScitiX model ID, e.g. `scitix('glm-5.2')` |
Use `@ai-sdk/openai-compatible`, not `@ai-sdk/openai`. The latter targets OpenAI's own API and defaults to the Responses API; the compatible provider is built for custom OpenAI-style endpoints like ScitiX.
Choose a model with native tool calling for the SDK's tool-calling / `streamText` tool features.
## Verify
Generate text — a normal reply confirms the connection (verified on `ai 7.0.62`, `@ai-sdk/openai-compatible` 3.0.30):
```ts theme={null}
const { text } = await generateText({
model: scitix('glm-5.2'),
prompt: 'In one short sentence, which model are you?',
});
console.log(text);
// → I'm GLM, a large language model developed by Z.ai.
```
# wiseflow
Source: https://docs.scitix.ai/model-inference/integrations/wiseflow
Learn how to configure LLM_API_BASE in wiseflow and use ScitiX models for information mining and intelligence aggregation tasks.
[wiseflow](https://github.com/TeamWiseFlow/wiseflow) is an open-source information mining and intelligence aggregation tool that extracts useful information from web pages and other sources based on your focus areas. It calls large language models through the native OpenAI SDK, so you can connect wiseflow to ScitiX Model Inference.
This guide uses `glm-5.2` as an example. For the full model list and pricing, see [Models](https://console.scitix.ai/model-inference/models).
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. In the project root, edit `.env`:
```bash theme={null}
LLM_API_BASE="https://api.scitix.ai/model-api/v1"
LLM_API_KEY=""
PRIMARY_MODEL="glm-5.2"
SECONDARY_MODEL="glm-5.2"
```
| Field | Description |
| - | - |
| `LLM_API_BASE` | ScitiX OpenAI-compatible base URL with `/v1`: `https://api.scitix.ai/model-api/v1` |
| `LLM_API_KEY` | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page |
| `PRIMARY_MODEL` | Primary model ID, such as `glm-5.2` |
| `SECONDARY_MODEL` | Secondary model for initial filtering. It can be the same as the primary model. |
## Verify
wiseflow reads the configuration above in `core/llms/openai_wrapper.py` and calls the model through the native OpenAI SDK. After you start a task, model requests are sent to the ScitiX endpoint.
You can also run a minimal check:
```python theme={null}
import asyncio
from core.llms.openai_wrapper import openai_llm
print(asyncio.run(openai_llm(
[{"role": "user", "content": "Reply with exactly: OK"}],
model="glm-5.2",
)))
```
For normal operation, run `python core/run_task.py`. Extracted information is written to PocketBase by default at `http://127.0.0.1:8090/_/`.
## FAQ
* **Version**:
Use a 0.3.x release, such as tag `v0.3.8`. The repository's `master` branch has moved to a different product, while the classic Python + PocketBase implementation is available in versioned tags.
* `LLM_API_BASE`:
Use the base URL with `/v1`: `https://api.scitix.ai/model-api/v1`. wiseflow uses the native OpenAI SDK and does not require a dedicated provider.
* **Model IDs**:
Use model IDs from the [Models](https://console.scitix.ai/model-inference/models) page.
# Zed
Source: https://docs.scitix.ai/model-inference/integrations/zed
Learn how to configure Zed with ScitiX Model Inference for AI-assisted coding through an OpenAI-compatible provider.
[Zed](https://zed.dev) is a high-performance multiplayer code editor with a built-in AI assistant. It supports OpenAI-compatible providers, so you can point its assistant at the ScitiX Model Inference API for chat and edits inside the editor.
Supported models include `glm-5.2` and `DeepSeek-V4-Flash` — see the [Models](https://console.scitix.ai/model-inference/models) page for the full list and pricing.
## Configure
Create an API key on the ScitiX [API Keys](https://console.scitix.ai/model-inference/api_keys) page first.
### 1. Add the provider
Open Zed's `settings.json` (command palette → **zed: open settings**) and add an OpenAI-compatible provider under `language_models`:
```json theme={null}
{
"language_models": {
"openai_compatible": {
"scitix": {
"api_url": "https://api.scitix.ai/model-api/v1",
"available_models": [
{
"name": "glm-5.2",
"display_name": "ScitiX glm-5.2",
"max_tokens": 131072
}
]
}
}
}
}
```
| Field | Description |
| - | - |
| `openai_compatible.` | Provider ID, e.g. `scitix`. The API-key environment variable name is derived from it |
| `api_url` | ScitiX OpenAI-compatible endpoint: `https://api.scitix.ai/model-api/v1` |
| `available_models[].name` | Model ID as served by ScitiX, e.g. `glm-5.2`. Choose a model with native tool calling if you rely on the assistant's tool/edit features. |
| `available_models[].max_tokens` | Context window for the model |
Models default to `tools: true`, so tool calls work without extra capability flags. Set `max_tokens` to the model's real context window.
### 2. Provide the API key
**Do not put the API key in `settings.json`.** Zed accepts it two ways:
* **Settings UI** — open **Settings → User → AI → General → LLM Providers**, find **scitix** in the list, and click **Configure** to enter the key. Zed stores it in the system keychain.
* **Environment variable** — Zed derives the name from the provider ID in upper snake case plus `_API_KEY`. For the `scitix` provider above, set `SCITIX_API_KEY`, then launch Zed from a shell where that variable is exported.
The same provider can also be added from the UI (**Settings → AI → LLM Providers → Add Provider → OpenAI**), which stores the key in the system keychain:

## Verify
Open the Agent Panel, select the ScitiX model (shown as **ScitiX glm-5.2**) from the model picker, and send a message — a normal reply confirms the connection.

If the model is not listed, confirm the `available_models` entry is present and `api_url` ends with `/v1`.
Verified on Zed 1.14.2 (macOS); the AI settings layout may shift between versions.
# Zotero
Source: https://docs.scitix.ai/model-inference/integrations/zotero
Learn how to configure Zotero GPT with ScitiX Model Inference for AI-powered literature reading and question answering.
[Zotero](https://www.zotero.org) is an open-source reference manager. Zotero itself has no built-in AI, but the community plugin [Zotero GPT (Awesome GPT)](https://github.com/MuiseDestiny/zotero-gpt) adds an in-app assistant that connects to the ScitiX Model Inference API through an OpenAI-compatible endpoint. Keep the plugin updated for compatibility with your Zotero version.
The steps below use Zotero GPT 3.1.x on Zotero 7+/9. Newer versions may differ slightly. For available models, such as `glm-5.2` and `DeepSeek-V4-Flash`, and pricing, see the [model catalog](https://console.scitix.ai/model-inference/models).
## Configure
Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page first.
### 1. Install the Zotero GPT plugin
Download the latest `zotero-gpt.xpi` from the [releases page](https://github.com/MuiseDestiny/zotero-gpt/releases).
In Zotero, open **Tools → Plugins**, click the gear icon, choose **Install Plugin From File…**, and select the `.xpi`. Enable it if prompted. A GPT icon appears in the toolbar.
### 2. Configure ScitiX
Open the GPT box by clicking the **GPT** toolbar icon. Then type these commands one at a time, pressing Enter after each:
```text theme={null}
/api https://api.scitix.ai/model-api
/secretKey
/model glm-5.2
```
| Command | Value |
| - | - |
| `/api` | ScitiX endpoint without `/v1`: `https://api.scitix.ai/model-api`. The plugin appends `/v1/chat/completions` itself. |
| `/secretKey` | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
| `/model` | `glm-5.2` |
> [!WARNING]
>
> `/api` must not include `/v1`. Zotero GPT appends `/v1/chat/completions` itself, so adding `/v1` would duplicate the path.
Choose a model with native tool calling if you use the plugin's agent or PDF-RAG features.
The active model is shown next to the **Ask** selector in the GPT box, such as `glm-5.2`.

## Verify
In the GPT box, type a question and press Enter. The reply streams from the ScitiX model.
> [!NOTE]
>
> The assistant may identify itself as "Awesome GPT" or a generic model rather than the exact model ID. That is the plugin's own system prompt, not a routing issue; the model shown next to **Ask** is the ScitiX model in use.
# Embedding
Source: https://docs.scitix.ai/model-inference/models/embedding
Learn about embedding models in ScitiX Model Inference for semantic search, retrieval, reranking, and RAG applications.
Embedding models convert text into dense vectors that represent semantic information, making semantically similar texts closer in vector space. They are commonly used for semantic search, retrieval, reranking, clustering, and RAG (Retrieval-Augmented Generation), and are served through an OpenAI-compatible Embeddings API.
Representative models include:
* `Qwen/Qwen3-Embedding-8B`
* `Qwen/Qwen3-Embedding-4B`
* `Qwen/Qwen3-Embedding-0.6B`
* `IEITYuan/Yuan-embedding-2.0-en`
For the full model list and pricing, refer to [Models](https://console.scitix.ai/model-inference/models).
## Core Capabilities
* **Semantic search**: Match queries and documents by meaning rather than exact keywords.
* **Retrieval for RAG**: Embed knowledge base content and store the vectors, then retrieve the most relevant chunks to provide context for LLM answers.
* **Clustering and deduplication**: Group similar items or detect near-duplicate content.
* **Recommendation and reranking**: Score candidates by similarity to a query or user profile.
## Usage
The Embeddings API accepts a single string or a list of strings and returns a vector for each input.
Common workflow:
1. Generate vectors for documents and store them.
2. When a user sends a query, embed the query text.
3. Compare the query vector with existing vectors, for example by using cosine similarity.
## Key Parameters
* `model`: The Embedding model name.
* `input`: A string or a list of strings.
* `encoding_format`: Accepted by some models, for example an `encoding_format` of `float`.
## Notes
* Use the same Embedding model for documents and queries so their vectors are in the same space and can be compared.
* If an input exceeds the model's maximum length, split the long text into smaller chunks before embedding. The maximum input length (context window), pricing, and supported languages vary by model and are shown in the model details in [Models](https://console.scitix.ai/model-inference/models).
* When embedding large amounts of text, batch multiple inputs into a single request to reduce round trips.
## Billing
* **Formula**: Cost = input tokens x input unit price.
Embedding model requests are billed only by input tokens and do not produce generated output.
If the request hits or writes Prompt Caching, cache read tokens and cache write tokens are billed at the corresponding cache unit prices. For the complete billing policy, see [Token Usage and Billing](/model-inference/usage/billing).
* **Pricing**: Check the model detail page in [Models](https://console.scitix.ai/model-inference/models) for each model's pricing.
* **Recommendations**:
* Documents usually only need to be embedded once, and the results should be cached to avoid repeated computation on every request.
* Prefer batch processing to improve request efficiency.
## Examples
The examples read the API key from an environment variable to avoid writing secrets into code.
```bash theme={null}
export API_KEY="YOUR_API_KEY"
```
### Embed Text (Python)
```python theme={null}
import os
import requests
api_key = os.environ["API_KEY"]
api_url = "https://api.scitix.ai/model-api/embeddings"
response = requests.post(
api_url,
headers={
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json",
},
json={
"model": "Qwen/Qwen3-Embedding-8B",
"input": [
"Machine learning is a subset of artificial intelligence",
"Deep learning uses neural networks with multiple layers",
"Natural language processing enables computers to understand text",
],
},
)
data = response.json()
for i, item in enumerate(data["data"]):
print(f"Embedding {i}: {len(item['embedding'])} dimensions")
```
### Embed Text (curl)
```bash theme={null}
curl -X POST https://api.scitix.ai/model-api/embeddings \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $API_KEY" \
-d '{
"model": "Qwen/Qwen3-Embedding-8B",
"input": [
"Machine learning is a subset of artificial intelligence",
"Deep learning uses neural networks with multiple layers"
]
}'
```
### Semantic Similarity
```python theme={null}
import os
import requests
import numpy as np
api_key = os.environ["API_KEY"]
api_url = "https://api.scitix.ai/model-api/embeddings"
def embed(texts):
resp = requests.post(
api_url,
headers={
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json",
},
json={"model": "Qwen/Qwen3-Embedding-8B", "input": texts},
)
return [np.array(item["embedding"]) for item in resp.json()["data"]]
def cosine(a, b):
return float(a @ b / (np.linalg.norm(a) * np.linalg.norm(b)))
query, *docs = embed([
"How do I reset my password?",
"Steps to recover a forgotten account password.",
"Our refund policy for annual plans.",
])
for i, doc in enumerate(docs):
print(f"doc {i}: {cosine(query, doc):.3f}")
```
# Function Calling
Source: https://docs.scitix.ai/model-inference/models/function-calling
Learn how Function Calling (also known as tool calling) works in ScitiX Model Inference, including tool definitions, tool call requests, and returning results.
Function Calling (also known as tool calling) lets a model request a call to a tool you define and return a structured request that specifies the tool and its arguments. Your application executes the tool and returns the result to the model, which then uses it to generate the final answer.
Function Calling is commonly used to build agents, retrieval systems, and integrations with external systems such as weather services, databases, and internal APIs.
This capability is provided through an OpenAI-compatible calling pattern. You can pass a `tools` array in the request, read `tool_calls` from the response, and send tool execution results back as `role: "tool"` messages.
## Use Cases
* **Real-time data**: Look up weather, prices, inventory, or other real-time information.
* **Actions**: Create tickets, send messages, or trigger workflows from natural language.
* **Retrieval / RAG**: Let the model decide when to query a knowledge base or search API.
* **Agents**: Chain multiple tool calls to complete multi-step tasks.
## Supported Models
Most chat models on the platform support this capability. For details, refer to [Models](https://console.scitix.ai/model-inference/models).
## How It Works
The complete Function Calling flow usually includes two model calls:
1. Send the user message together with the `tools` definitions to the model. Each tool definition includes the tool name, description, and parameter JSON Schema.
2. If the model decides to call a tool, the response returns `finish_reason: "tool_calls"` and provides call information in `message.tool_calls`.
3. Your application executes the corresponding function, then appends the assistant message and a `role: "tool"` message with the matching `tool_call_id` to the conversation.
4. Call the API again, and the model uses the tool execution result to generate the final answer.
> [!WARNING]
>
> The model only generates tool call requests. It does not execute functions on behalf of your application. Your application runs the function and sends the result back to the model.
## Key Parameters
* `tools`: An array of tool definitions that tells the model which tools are available.
* `tool_calls`: Tool call requests returned by the model, including tool names and arguments.
* `tool_call_id`: The tool call ID. When returning tool results, use this ID to match the result with the original call request.
* `role: "tool"`: The message role used to send tool execution results back to the model.
* `tool_choice`: Controls tool calling behavior. Use `"auto"` to let the model decide, `"none"` to disable tool calls, or force the model to call a specific tool.
## Best Practices
* **Describe tools clearly**: Use clear `name`, `description`, and `parameters` JSON Schema fields for each tool. Clearer definitions make model calls more stable.
* **Validate arguments**: The model generates the arguments, so validate them before executing any real action.
* **Handle multiple tool calls**: `tool_calls` in a single response may contain multiple calls. Execute each one, and add the corresponding `role: "tool"` message for each call before calling the API again.
* **Preserve call relationships**: When returning tool results, you must use the matching `tool_call_id`; otherwise, the model cannot reliably associate tool results with call requests.
* **Reserve token budget**: Set `max_completion_tokens` appropriately and leave enough room. For reasoning-capable models, the reasoning process itself also consumes budget.
## Examples
The examples read the API key from an environment variable to avoid writing secrets into code.
```bash theme={null}
export API_KEY="YOUR_API_KEY"
```
The example demonstrates the standard Function Calling interaction flow:
1. The model independently decides during the conversation whether to request an external tool call, such as querying the weather.
2. The client executes the tool locally and returns the result to the model.
3. The model combines the tool result with the conversation and generates a natural-language reply.
```python theme={null}
import os
import json
from openai import OpenAI
client = OpenAI(
api_key=os.environ["API_KEY"],
base_url="https://api.scitix.ai/model-api",
)
tools = [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get the current weather for a city",
"parameters": {
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "City name",
}
},
"required": ["city"],
},
},
}
]
def get_weather(city: str) -> dict:
# Replace with a real API call.
return {"city": city, "temp_c": 21, "condition": "Sunny"}
messages = [
{"role": "user", "content": "What's the weather like in Paris today?"}
]
# 1. First call: the model decides whether to use the tool.
resp = client.chat.completions.create(
model="Qwen/Qwen3-32B",
messages=messages,
tools=tools,
tool_choice="auto",
max_completion_tokens=1024,
)
msg = resp.choices[0].message
if msg.tool_calls:
messages.append(msg)
for call in msg.tool_calls:
args = json.loads(call.function.arguments)
result = get_weather(**args)
# 2. Return the tool result, linked by tool_call_id.
messages.append(
{
"role": "tool",
"tool_call_id": call.id,
"content": json.dumps(result),
}
)
# 3. Second call: the model writes the final answer.
final = client.chat.completions.create(
model="Qwen/Qwen3-32B",
messages=messages,
max_completion_tokens=1024,
)
print(final.choices[0].message.content)
else:
print(msg.content)
```
# Long Context
Source: https://docs.scitix.ai/model-inference/models/long-context
Learn about long-context models in ScitiX Model Inference for processing large documents, long conversations, and codebases.
Long Context lets a model receive more context in a single request, such as long documents, codebase snippets, conversation history, retrieval results, or multiple source materials. Compared with a short prompt, long context can reduce the amount of pre-trimming needed and lets the model read, analyze, and generate based on more complete information.
Long context is not long-term memory. The model can only refer to content within the current request's context window. History, files, or external knowledge outside the request still need to be passed in again by the application, injected after retrieval, or managed through other product capabilities.
## Use Cases
* **Long-document question answering**: Provide contracts, reports, papers, or product documents as context and ask questions about the material.
* **Document summarization and comparison**: Summarize long materials, extract outlines, compare differences, or identify risks.
* **Codebase understanding**: Provide multiple files, call chains, or error logs so the model can analyze logic, locate issues, or suggest changes.
* **Multi-turn conversation continuity**: Keep necessary history in the conversation so the model understands earlier constraints and user preferences.
* **RAG result synthesis**: Put multiple retrieved snippets into the context and ask the model to generate an answer based on evidence.
## Supported Models
Context window size varies by model. Before using long context, check the model details on the [Models](https://console.scitix.ai/model-inference/models) page to confirm the context length, maximum output length, pricing, and capability support.
> [!NOTE]
>
> Context window size, maximum output length, and pricing are changeable information. For production use, rely on the model details on the Models page rather than only on example models in the docs.
## How It Works
The context in a model request usually consists of:
* Role, rules, and output requirements in the `system` message.
* The current question, task instructions, and source materials in the `user` message.
* Historical `assistant` and `user` messages.
* Documents, retrieval results, code, logs, or structured data injected by the application.
* The output budget needed for the model's response.
You can think of the context window as the model's working space for the current request. Both input and output consume token budget. When processing long materials, reserve enough output space for the final answer.
Historical messages in multi-turn `messages` are also part of the current request context. Keeping more history can help the model understand previous context, but it also consumes the context window. If the history is too long, keep only the necessary turns or summarize the history before passing it in.
A typical workflow is:
1. Choose a model with enough context length.
2. Clean and organize the materials you want to pass in, removing irrelevant content.
3. Make the task, material boundaries, and output format clear in the prompt.
4. Set a reasonable `max_completion_tokens` value to reserve output space.
5. Send the request and decide whether to split materials, add retrieval, or adjust the prompt based on the result.
## Relationship with RAG and Prompt Cache
Long Context, RAG, and Prompt Cache solve different problems:
| Capability | Main purpose | Suitable for |
| - | - | - |
| Long Context | Put more context into a single request | Materials are manageable in size and need to be understood together |
| RAG | Retrieve relevant snippets first, then pass them into the request | Large knowledge bases, open-ended questions, or cases where irrelevant context should be reduced |
| Prompt Cache | Reuse repeated context to reduce repeated processing cost or latency | Multiple requests share the same long prefix or fixed system prompt |
> [!NOTE]
>
> This page only explains how to use Long Context. Whether Prompt Cache / Context Cache is available, how to enable it, and how it is billed should be checked in the corresponding capability doc or API guide.
## Key Parameters
* `messages`: Carries system prompts, user questions, conversation history, and long materials. Long materials should have clear boundaries so the model does not confuse source text with user instructions.
* `model`: Selects the model. Context window size and maximum output length vary by model. Use the Models page as the source of truth.
* `max_completion_tokens`: Controls the maximum output length for the response. For long inputs, do not spend the entire context budget on input; reserve space for output. If the response reaches this limit, it may end with `finish_reason: "length"` and the content may be truncated.
* `stream`: For long responses, you can set this to `True` so the client displays output as it arrives.
> [!NOTE]
>
> For models that generate reasoning content, the reasoning process may also consume output budget. If `max_completion_tokens` is too small, the final answer may be truncated, or `content` may even be empty.
Use the API guides as the source of truth for the complete request parameters and response fields. This capability page only explains the basic usage pattern and application-side responsibilities for Long Context.
## Usage Recommendations
* **Check whether long context is actually needed**: If the question only depends on a few snippets, pass in the most relevant content instead of the entire material.
* **Preserve material structure**: Add titles and separators for documents, sections, code files, or retrieval results to help the model identify boundaries.
* **Remove irrelevant content**: Longer context usually increases cost and latency. Too much irrelevant content can also interfere with the model's judgment.
* **Clarify the task and evidence scope**: Tell the model which materials to rely on, whether it may use general knowledge, and what output format to use.
* **Reserve output space**: Long-input scenarios still need a reasonable `max_completion_tokens` value so the answer is not truncated.
* **Reserve budget for reasoning and final answers**: If the model generates reasoning content, account for both the reasoning process and the final answer in the output budget.
* **Use Streaming for long responses**: If the expected output is long, enable `stream=True` so users can see the result earlier.
* **Set longer client timeouts**: Very long inputs can increase processing time, and latency may vary significantly by model. In production, set timeouts based on the model, input length, and network conditions.
* **Use retrieval for large knowledge bases**: If the material is much larger than a single request can handle, or if the question only needs local evidence, use Embedding / RAG to find relevant snippets before asking the model to generate the answer.
## Limitations
* Context window size, maximum output length, and billing behavior vary by model. Use the Models page as the source of truth.
* Long context increases input token count and usually increases cost and response latency.
* A longer context does not always produce a better result. Too much irrelevant, repeated, or conflicting information may reduce answer quality.
* If the input and expected output exceed model limits, reduce the input, split the task, or choose a model with a larger context window.
* The model does not automatically remember content from previous requests unless it is passed in again. To continue context, the application must explicitly include necessary history or summaries.
* Successfully processing a long input in one request does not represent the model's or platform's maximum context limit. Use the model details and actual API responses for maximum context length, maximum output length, and over-limit behavior.
* Long-context requests may return usage fields such as `usage.prompt_tokens` and `usage.completion_tokens`. Some models may also return details such as reasoning tokens or cached tokens. Use the API guides and usage page as the source of truth for fields and billing.
* When combining Long Context with Structured Output, Function Calling, Streaming, RAG, or caching capabilities, confirm the support scope and parameter requirements for each capability.
## Example
The example reads the API Key from an environment variable so the key is not written into code.
```bash theme={null}
export API_KEY="YOUR_API_KEY"
```
This code performs the following steps:
1. Puts the long material into the `user` message.
2. Uses clear delimiters to mark material boundaries.
3. Asks the model to answer only based on the provided material.
4. Sets `max_completion_tokens` to reserve output budget.
The model in the example is only used to demonstrate the calling pattern. For production use, choose a model on the Models page that supports your target context length, and confirm its pricing, maximum output length, and capability limits.
```python theme={null}
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["API_KEY"],
base_url="https://api.scitix.ai/model-api",
)
document = """
Put the long document, code snippets, meeting notes, or retrieval results here.
In production, your application can read and assemble this content from files,
databases, or retrieval systems.
"""
response = client.chat.completions.create(
model="deepseek-ai/DeepSeek-V4-Pro",
messages=[
{
"role": "system",
"content": "You are a precise document analysis assistant. Answer only based on the material provided by the user.",
},
{
"role": "user",
"content": f"""
Read the following material and provide:
1. three key conclusions;
2. questions that need further confirmation;
3. actionable next steps.
{document}
""",
},
],
max_completion_tokens=1024,
)
print(response.choices[0].message.content)
```
# Prompt Caching
Source: https://docs.scitix.ai/model-inference/models/prompt-caching
Learn how prompt caching can reduce latency and cost for repeated context in ScitiX Model Inference workloads.
Prompt Caching reuses repeated context across requests to reduce repeated processing of the same input. It is commonly used for long system prompts, fixed tool instructions, long-document question answering, multi-turn conversations, and codebase analysis.
Prompt Caching does not change the model's generation logic. It only affects how repeated context is processed, request latency, and usage reporting. The model still generates a new response based on the full context in the current request.
## Use Cases
* **Long system prompts**: Multiple requests reuse the same role definition, output rules, safety boundaries, or product instructions.
* **Fixed tool definitions**: In Function Calling scenarios, the tool list, parameter schemas, and tool descriptions remain stable across multiple turns.
* **Long-document follow-up questions**: Users ask multiple questions about the same document, contract, paper, or meeting notes.
* **Codebase analysis**: Multiple requests reuse the same code snippets, project structure, or constraints.
* **RAG follow-up questions**: The first request passes in long retrieval results, and later requests continue asking about the same material.
## Supported Models
Prompt Caching support may vary by model and API entry point. Before using it, check the model details on the [Models](https://console.scitix.ai/model-inference/models) page and confirm in the API guides whether caching is supported, whether it needs to be enabled explicitly, and how cache hits appear in usage reporting.
## How It Works
Prompt Caching usually works around repeated context. When an application keeps the same or highly consistent context prefix and message order across multiple requests, the model service may reuse previously processed context where a cache hit is possible.
A reusable request usually includes:
* A stable `system` prompt.
* Fixed tool definitions, output formats, or constraint descriptions.
* Reused long documents, code snippets, knowledge base content, or retrieval results.
* A user question, small amount of new context, or conversation update that changes on each request.
A typical workflow is:
1. Put long-lived reusable content in the first half of the request and keep its order stable.
2. Put the user question or temporary context that changes on each request after the stable content.
3. Reuse the same prefix and message order across requests, and avoid unnecessary rewriting, reordering, or insertion of dynamic metadata.
4. Use the response `usage` or usage page to check whether cache-related fields appear.
5. Based on latency, cost, and hit behavior, decide whether to continue using long context, switch to RAG, or adjust how context is organized.
> [!NOTE]
>
> Cache hits usually depend on whether the context can be reused. Even if a model supports Prompt Caching, frequently changing prompts, randomly inserted metadata, or constantly reordered messages may reduce cache effectiveness. Hit timing and hit scope may vary by model. Do not assume a specific request will always hit the cache.
## Relationship with Long Context and RAG
Prompt Caching, Long Context, and RAG solve different problems:
| Capability | Main purpose | Suitable for |
| - | - | - |
| Prompt Caching | Reuse repeated context to reduce repeated processing | Multiple requests share the same long prefix or fixed material |
| Long Context | Put more context into a single request | One-time reading, analysis, or summarization of long materials |
| RAG | Retrieve relevant snippets first, then pass them into the request | Large knowledge bases, open-ended questions, or cases where only local evidence is needed |
If every request follows up on the same long material, Prompt Caching may work well together with Long Context. If the knowledge base is large and each question only needs a few snippets, use RAG first to reduce irrelevant context.
## Key Fields
* `messages`: Carries system prompts, history, and reusable context. To improve the chance of reuse, keep the reusable part stable in content, order, and structure.
* `model`: Selects the model. Prompt Caching support, hit rules, and usage fields may vary by model.
* `usage.prompt_tokens`: The input token count for the request. Long-context requests usually increase this value.
* `usage.prompt_tokens_details.cached_tokens`: If returned, this field can help you observe how many input tokens may have hit the cache. Some models may not return this field. Use the API guides as the source of truth for field meaning and billing.
When `stream=True` is used, cache-related usage information may also appear in the final `usage` object at the end of the streamed response. Returned fields may vary by model, so the client should handle fields based on whether they are present.
The **Usage Detail** page shows cache read tokens and cache write tokens separately. They can have separate unit prices. For exact pricing, check the model detail page in [Models](https://console.scitix.ai/model-inference/models).
Use the API guides as the source of truth for complete request parameters, response fields, and billing rules. This capability page only explains the basic usage pattern and application-side organization principles for Prompt Caching.
## Usage Recommendations
* **Keep reusable content and message order stable**: Put system prompts, tool definitions, long documents, or fixed constraints in the first half of the request, and keep their content, order, and structure consistent across requests.
* **Put dynamic content later**: Put the current user question, timestamps, temporary variables, retrieval additions, or new conversation content after the stable prefix.
* **Avoid unnecessary rewrites**: Frequent changes to whitespace, headings, field order, or tool descriptions may reduce the chance of cache hits.
* **Control repeated context size**: Caching can reduce repeated processing cost or latency, but it should not be used as a reason to put unlimited content into the context.
* **Observe usage and latency together**: If the response returns `cached_tokens`, or if the usage page shows cache-related metrics, evaluate effectiveness together with request latency and cost.
* **Use with RAG when appropriate**: For large knowledge bases, retrieve the most relevant snippets first, while keeping reusable system prompts, tool definitions, or fixed materials stable.
* **Reserve output budget**: Prompt Caching mainly applies to input context. Generated output still consumes the `max_completion_tokens` budget.
## Limitations
* Prompt Caching does not guarantee a cache hit for every request. Hit behavior may be affected by the model, request content, message order, API entry point, and server-side scheduling.
* The first request, or the first few requests, may not return `cached_tokens`. Even when later requests hit the cache, hit timing and hit scope may vary by model.
* Prompt Caching does not make the model remember content outside the request. Materials the model needs must still be provided in the current request, or referenced through a confirmed caching mechanism.
* Prompt Caching does not change response quality and does not guarantee identical output for the same input.
* `cached_tokens` can be used as a signal for observing cache hits, but it is not a complete billing rule and should not be added to input tokens again. Cache lifetime, whether explicit enablement is required, and how cache read tokens and cache write tokens are billed must be checked in the API guides, model details, and Usage Detail page.
* If the input exceeds the model's context limit, Prompt Caching does not replace the context window. You still need to reduce the input, split the task, or choose a model with a larger context window.
* Do not put sensitive information, one-time credentials, or private user data that should not be reused in reusable context.
## Example
The example reads the API Key from an environment variable so the key is not written into code.
```bash theme={null}
export API_KEY="YOUR_API_KEY"
```
This example does not demonstrate a specific cache-enabling parameter. It only shows how to organize stable context that is easier to reuse:
1. Put fixed rules and long material first.
2. Put the question that changes on each request later.
3. Reuse the same `stable_context` across requests.
4. If the response returns `cached_tokens`, print it for observation.
The model in the example is only used to demonstrate the calling pattern. For production use, check the Models page to confirm whether the model supports Prompt Caching and whether the response returns cache-related usage fields.
```python theme={null}
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["API_KEY"],
base_url="https://api.scitix.ai/model-api",
)
stable_context = """
You are a precise document analysis assistant.
Answer questions only based on the material inside .
If the answer is not in the material, say that it cannot be confirmed from the material.
Put the long document, code snippets, product description, or retrieval results
that will be reused across requests here.
Try to keep this part unchanged in later requests.
"""
def ask(question: str):
response = client.chat.completions.create(
model="glm-5.2",
messages=[
{"role": "system", "content": stable_context},
{"role": "user", "content": question},
],
max_completion_tokens=512,
)
print(response.choices[0].message.content)
prompt_details = getattr(response.usage, "prompt_tokens_details", None)
if prompt_details:
cached_tokens = getattr(prompt_details, "cached_tokens", None)
print("cached_tokens:", cached_tokens)
ask("Summarize the three key conclusions in this material.")
ask("List the questions that still need confirmation from this material.")
```
If you do not see `cached_tokens` on the first request, send several requests with the same stable prefix and observe the result. Do not rely on any single request to always hit the cache.
# Reasoning
Source: https://docs.scitix.ai/model-inference/models/reasoning
Explore reasoning models in ScitiX Model Inference for math, coding, logic, planning, and multi-step problem solving.
Reasoning Models are designed for more complex task scenarios, such as math problem solving, code generation, logical analysis, and multi-step reasoning. They provide OpenAI-compatible interfaces and support streaming output, making them easy to integrate into existing applications.
Representative models include:
* `Qwen/Qwen3-32B`
* `Qwen/Qwen3.6-27B`
* `Qwen/Qwen3.5-397B-A17B`
* `kimi-k2.6`
For the full model list and pricing, refer to [Models](https://console.scitix.ai/model-inference/models).
## Core Capabilities
* **Structured thinking**: Break complex problems into smaller and clearer steps through chain-of-thought (CoT).
* **Knowledge fusion**: Combine general knowledge with domain-specific context to improve coverage and accuracy.
* **Self-correction**: Add validation and reflection during generation to improve result reliability.
* **Multimodal processing**: Some models support mixed inputs, such as text, code, and formulas. For details, refer to the corresponding model details.
## Usage Notes
* Before moving to production, check each model's context limits, whether it supports `thinking_budget`, pricing, and concurrency limits.
* Not every model emits a `reasoning` field. General-purpose chat models, such as `DeepSeek-V4-Flash`, answer directly without exposing a separate chain-of-thought.
## Key Parameters
### Parameter Description
* **Request parameters**
* `thinking_budget`: Token budget for internal reasoning. It can be used to balance reasoning depth and response latency.
* `max_completion_tokens`: Total generation budget, including reasoning tokens and visible output tokens. Use it to control the maximum amount generated by the request.
* **Context**
`context_length` is not a request parameter. The maximum context length supported by each model can be viewed in [Models](https://console.scitix.ai/model-inference/models).
* **Response fields**
* `reasoning`: Chain-of-thought content, at the same level as `content` in the response object.
* `content`: The final answer content shown to end users.
### Recommendations
* `thinking_budget` is a hint, not a hard limit. Some models use it to adjust the amount of reasoning, while others may only partially apply it or even ignore it. Do not treat it as an exact limit.
* The reasoning process and final answer share the `max_completion_tokens` budget. If `max_completion_tokens` is set too low, reasoning content may consume the budget, causing `content` to be empty with `finish_reason: length`. Increase `max_completion_tokens` appropriately or control reasoning length through `thinking_budget` to leave enough room for the final answer.
* If the output exceeds `max_completion_tokens`, or the total input exceeds `context_length`, the response will be truncated and `finish_reason` will be set to `length`.
For tailored parameter recommendations, for example for math reasoning, code workflows, or evaluation baselines, share your goals and constraints, and we can suggest best-practice configurations.
## Notes
* **Streaming vs. non-streaming**: Use streaming when you need long output or real-time feedback; use non-streaming when you need to receive the complete result at once.
* **Latency and stability**: Tune `thinking_budget`, `max_completion_tokens`, and client timeout settings to reduce the risk of 504 errors and request timeouts.
* **Quota and concurrency**: Configure rate limiting strategies with pricing in mind, based on [Models](https://console.scitix.ai/model-inference/models). Implement exponential backoff on the client side when necessary.
## Billing
* **Formula**: Cost = input tokens x input unit price + output tokens x output unit price
Output tokens include reasoning tokens and visible output tokens. Even if reasoning tokens are not returned as visible content, they are included in platform usage statistics and billed at the model's output unit price.
If the request hits or writes Prompt Caching, cache read tokens and cache write tokens are billed at the corresponding cache unit prices.
* **Pricing**: Input and output unit prices may vary by model. Check the model detail page in [Models](https://console.scitix.ai/model-inference/models) for details.
* **Note**: For the relationship between reasoning tokens, output tokens, and `max_completion_tokens`, see [Token Usage and Billing](/model-inference/usage/billing).
## Examples
The examples read the API key from an environment variable to avoid writing secrets into code.
```bash theme={null}
export API_KEY="YOUR_API_KEY"
```
### Streaming Request
```python theme={null}
import os
from openai import OpenAI
BASE_URL = "https://api.scitix.ai/model-api"
API_KEY = os.environ["API_KEY"]
client = OpenAI(base_url=BASE_URL, api_key=API_KEY)
messages = [{"role": "user", "content": "Which is the largest anime website in China?"}]
content = ""
reasoning = ""
resp = client.chat.completions.create(
model="Qwen/Qwen3-32B",
messages=messages,
stream=True,
max_completion_tokens=4096,
extra_body={"thinking_budget": 1024},
)
for chunk in resp:
if not chunk.choices:
continue
delta = chunk.choices[0].delta
if getattr(delta, "content", None):
content += delta.content
print(delta.content, end="", flush=True)
if getattr(delta, "reasoning", None):
reasoning += delta.reasoning
# Optionally persist the reasoning text for debugging/audit
# Round 2 (continue the conversation)
messages.append({"role": "assistant", "content": content})
messages.append({"role": "user", "content": "Continue"})
resp2 = client.chat.completions.create(
model="Qwen/Qwen3-32B",
messages=messages,
stream=True,
)
for chunk in resp2:
if not chunk.choices:
continue
delta = chunk.choices[0].delta
if getattr(delta, "content", None):
print(delta.content, end="", flush=True)
```
### Non-Streaming Request
```python theme={null}
import os
from openai import OpenAI
BASE_URL = "https://api.scitix.ai/model-api"
API_KEY = os.environ["API_KEY"]
client = OpenAI(base_url=BASE_URL, api_key=API_KEY)
messages = [{"role": "user", "content": "Which is the largest anime website in China?"}]
resp = client.chat.completions.create(
model="Qwen/Qwen3.5-397B-A17B",
messages=messages,
stream=False,
max_completion_tokens=4096,
extra_body={"thinking_budget": 1024},
)
content = resp.choices[0].message.content
reasoning = getattr(resp.choices[0].message, "reasoning", "")
finish_reason = resp.choices[0].finish_reason
# Round 2 (continue the conversation)
messages.append({"role": "assistant", "content": content})
messages.append({"role": "user", "content": "Continue"})
resp2 = client.chat.completions.create(
model="Qwen/Qwen3.5-397B-A17B",
messages=messages,
stream=False,
)
print(resp2.choices[0].message.content)
```
## FAQ
> [accordion] How should I handle very long text?
>
> Adjust `max_completion_tokens` and enable `stream=True` to reduce timeout risk. Context limits vary by model; refer to [Models](https://console.scitix.ai/model-inference/models) for details.
> [accordion] What if the chain-of-thought is too long and gets truncated?
>
> Lower `thinking_budget` or increase the client timeout, and make sure `max_completion_tokens` is set to a reasonable value.
> [accordion] Why is the visible answer short but token usage high?
>
> Reasoning models consume reasoning tokens before generating the final answer. Reasoning tokens may not be returned as visible content, but they are included in output tokens and billed at the output unit price. For details, see [Token Usage and Billing](/model-inference/usage/billing).
> [accordion] Why can't I see reasoning?
>
> Only some reasoning models return this field. Refer to each model's documentation.
# Speech
Source: https://docs.scitix.ai/model-inference/models/speech
Learn about speech model capabilities in ScitiX Model Inference for audio, voice, and speech-enabled AI applications.
Speech models connect audio and text input/output forms. They support both automatic speech recognition (ASR) and text-to-speech (TTS). Both are called through the standard Chat Completions interface, making them easy to integrate into transcription workflows, voice assistants, and accessibility tools.
Representative models include:
* `bosonai/asr`: Speech-to-text.
* `bosonai/tts`: Text-to-speech.
For the full model list and pricing, refer to [Models](https://console.scitix.ai/model-inference/models).
## Use Cases
* **Transcription**: Convert meetings, calls, lectures, or voice notes into searchable text.
* **Voice assistants**: Combine ASR, an LLM, and TTS to build conversational voice experiences.
* **Subtitles and captions**: Generate captions and subtitles for video and audio content.
* **Accessibility**: Read content aloud, or let users interact by voice instead of typing.
## Usage
Both types of models are called through the `/chat/completions` endpoint and the `messages` array, similar to chat models. The main difference is the input and output content.
* **Text-to-speech (TTS)**: Send the text to be spoken as a normal user message. The generated audio appears in `choices[0].message.audio.data` as base64-encoded WAV. Decode it and write it to a file to play it.
* **Speech-to-text (ASR)**: Send audio as a content part of type `input_audio`, including the base64 data and `format` information such as `wav`. The transcription result is returned as plain text in `choices[0].message.content`.
## Key Parameters
* **TTS**:
* `model`: `bosonai/tts`.
* `messages`: The `role` is `user`, and `content` is the text to be spoken.
* **ASR**:
* `model`: `bosonai/asr`.
* `messages`: The `role` is `user`, and `content` is an array containing `{"type": "input_audio", "input_audio": {"data": "", "format": "wav"}}`.
## Notes
* Supported audio formats and maximum file size or duration vary by model. For details, refer to the model details in [Models](https://console.scitix.ai/model-inference/models).
* For long audio, splitting it into shorter segments helps stay within limits and reduces timeout risk.
## Billing
* **Pricing unit**: Speech models are billed by audio duration. For ASR, usage is based on input audio duration. For TTS, usage is based on output audio duration. Check the model details in [Models](https://console.scitix.ai/model-inference/models) for the exact unit price.
* **Usage**: Usage Detail may show audio duration for audio model requests. Longer input audio for ASR, or longer output audio for TTS, produces higher usage and cost.
* **Billing reference**: For common billing dimensions and usage fields, see [Token Usage and Billing](/model-inference/usage/billing).
* **Recommendation**: For longer recordings, split the audio into multiple segments and process them separately to reduce timeout and retry costs.
## Examples
The examples read the API key from an environment variable to avoid writing secrets into code.
```bash theme={null}
export API_KEY="YOUR_API_KEY"
```
### Text-to-Speech (TTS)
```python theme={null}
import os
import base64
import requests
api_key = os.environ["API_KEY"]
api_url = "https://api.scitix.ai/model-api/chat/completions"
response = requests.post(
api_url,
headers={
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json",
},
json={
"model": "bosonai/tts",
"messages": [
{"role": "user", "content": "Welcome to the ScitiX Model Inference API."}
],
},
)
audio_b64 = response.json()["choices"][0]["message"]["audio"]["data"]
with open("welcome.wav", "wb") as f:
f.write(base64.b64decode(audio_b64))
print("Saved welcome.wav")
```
### Speech-to-Text (ASR)
```python theme={null}
import os
import base64
import requests
api_key = os.environ["API_KEY"]
api_url = "https://api.scitix.ai/model-api/chat/completions"
with open("welcome.wav", "rb") as f:
audio_b64 = base64.b64encode(f.read()).decode()
response = requests.post(
api_url,
headers={
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json",
},
json={
"model": "bosonai/asr",
"messages": [
{
"role": "user",
"content": [
{
"type": "input_audio",
"input_audio": {"data": audio_b64, "format": "wav"},
}
],
}
],
},
)
print(response.json()["choices"][0]["message"]["content"])
```
# Streaming
Source: https://docs.scitix.ai/model-inference/models/streaming
Learn how streaming responses work in ScitiX Model Inference for low-latency chat, coding, and interactive AI applications.
Streaming lets a model return incremental content while it is generating, instead of waiting until the full response is complete. Your application can display output as it arrives, which reduces the perceived wait time for long responses.
Streaming is commonly used in chat interfaces, long-form generation, code generation, and agent progress displays. It does not necessarily shorten the total time needed to generate the full answer, but it lets users see the model start responding earlier.
This capability is available through an OpenAI-compatible calling pattern. Set `stream=True` in the request, then read the returned content chunk by chunk on the client side.
## Use Cases
* **Chat UI**: Display the model response as it is generated to reduce perceived waiting.
* **Long-form generation**: Stream reports, summaries, plans, or code while they are being generated.
* **Code and reasoning tasks**: Let users see output progress earlier and decide whether to stop or adjust the request.
* **Agent interactions**: Show intermediate output or task progress in multi-step workflows.
## Supported Models
Streaming support may vary by model. Check the model details on the [Models](https://console.scitix.ai/model-inference/models) page for the latest support status.
## How It Works
After Streaming is enabled, a request usually follows this flow:
1. The client sends a request with `stream=True`.
2. After the model starts generating, the server continuously returns incremental content.
3. The client reads each chunk in order and extracts the incremental fields it needs to display or save.
4. When the client receives the finish reason, it stops reading and completes the response.
> [!NOTE]
>
> If the connection is interrupted or times out, the client needs to decide whether to retry, notify the user, or keep the partial output already received. Streaming only changes how the response is returned; it does not change the model's generation logic. Your application still needs to handle authentication, timeouts, disconnects, user cancellation, content assembly, and final result storage.
## Key Parameters
* `stream`: Enables streamed responses. When set to `True`, the client must consume the response as a stream.
* `max_completion_tokens`: Controls the maximum generation length. Long responses still need a reasonable output limit to keep cost and latency predictable.
## Response Content
A streamed response consists of multiple chunks. The fields in each chunk may vary by model and by capability combination, so the client should handle fields based on whether they are present.
The `object` value of a streamed chunk is usually `chat.completion.chunk`. The `delta` object may include the following fields:
* `role`: The message role. It usually appears near the beginning of the streamed response.
* `content`: The text increment generated by the model. This is usually what you concatenate into the final response shown to the user.
* `reasoning_content`: Reasoning content or intermediate thinking generated by the model. Whether it is returned, and how much is returned, depends on the specific model and request result.
> [!NOTE]
>
> Do not assume every chunk contains `content`. Some chunks may contain only `role`, `reasoning_content`, a finish reason, or usage information. The client should skip empty increments or non-display fields that it does not need.
`finish_reason` indicates why generation ended. It usually appears in the last chunk that contains `choices`.
`usage` may be returned at the end of the stream and can be used to inspect token usage for the request. The returned usage fields may differ by model. Use the actual response as the source of truth.
## Example
The example reads the API Key from an environment variable so the key is not written into code.
```bash theme={null}
export API_KEY="YOUR_API_KEY"
```
The following example enables Streaming and prints incremental content as soon as it is received.
This code performs the following steps:
1. Sets `stream=True` to enable streamed responses.
2. Iterates over each chunk in the response.
3. Reads `delta.content` first and appends it to the final display text.
4. Optionally collects `delta.reasoning_content` separately. Do not mix it into the final answer by default.
```python theme={null}
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["API_KEY"],
base_url="https://api.scitix.ai/model-api",
)
stream = client.chat.completions.create(
model="glm-5.2",
messages=[
{
"role": "user",
"content": "Explain what streaming output is in three short paragraphs.",
}
],
stream=True,
max_completion_tokens=1024,
)
final_answer = []
reasoning_trace = []
for chunk in stream:
if not chunk.choices:
continue
delta = chunk.choices[0].delta
content = getattr(delta, "content", None)
if content:
final_answer.append(content)
print(content, end="", flush=True)
reasoning_content = getattr(delta, "reasoning_content", None)
if reasoning_content:
reasoning_trace.append(reasoning_content)
print()
```
The example only displays `delta.content` by default. If your product needs to show or store reasoning output, handle `reasoning_trace` according to your business requirements. If you do not need it, ignore `reasoning_content`.
The exact chunk structure may change with the API version, model capability, and request parameters. Use the API guides and actual responses as the source of truth.
## Best Practices
* **Separate final answers from reasoning content**: Use `delta.content` to assemble the final answer shown to users. If `reasoning_content` is returned, handle it separately based on your product requirements.
* **Display incrementally but save the full result**: The frontend can render text progressively, while the backend should still save the complete response for auditing, retries, and downstream processing.
* **Handle non-content chunks**: Some chunks may not contain text content. The client should skip fields it does not need instead of treating them as errors.
* **Handle user cancellation**: In chat or agent scenarios, users may stop generation. The application should stop reading the stream and update the conversation state correctly.
* **Set timeout and retry policies**: Streaming connections may stay open for a long time. Configure reasonable client timeouts and define how disconnects are handled.
* **Do not parse incomplete structures too early**: If Streaming is used together with Structured Output or JSON output, wait until the full response has been received before parsing the JSON.
* **Control output length**: For long responses, set a reasonable `max_completion_tokens` value to avoid excessive cost or long-running connections.
## Limitations
* Streaming requires the client to continuously read the response stream. If the client, proxy, or gateway does not support long-lived connections, it may not receive the full output reliably.
* Streaming does not guarantee that the model finishes generation faster. It only returns partial content earlier.
* If the request is interrupted midway, the received content may be incomplete. The application needs to handle partial results, retries, and user-facing messages.
* When used together with Function Calling, Structured Output, reasoning content, or other capabilities, the exact response structure and handling approach may differ. Use the API guides, model details, and actual responses as the source of truth.
* Token usage, finish reasons, and chunk fields may vary by model. Avoid relying on unconfirmed internal fields in business logic.
# Structured Output
Source: https://docs.scitix.ai/model-inference/models/structured-output
Learn how to use structured output in ScitiX Model Inference to generate reliable JSON responses for application workflows.
Structured Output lets models return JSON content that can be parsed by programs, making it easier to validate, parse, and automate downstream processing.
## Use Cases
* Extract structured fields from news articles, such as title, time, and link.
* Perform sentiment analysis on product reviews, including polarity, intensity, and keywords.
* Generate recommendation lists from transaction or browsing history, such as products, reasons, prices, and promotional information.
## Supported Models
* Most online language models support JSON mode; VL models currently do not.
* Model capabilities are continuously updated. For the latest support information, refer to the model detail page in [Models](https://console.scitix.ai/model-inference/models).
## Output Format
The platform supports controlling model output format through `response_format`. This includes:
* JSON mode (`json_object`): Use `json_object` when you only need the model to return valid JSON.
* Strict schema (`json_schema`): Use `json_schema` when the output must follow a fixed structure.
### JSON Mode
JSON mode lets the model return a JSON string instead of free-form text.
```python theme={null}
response_format = {"type": "json_object"}
```
When using JSON mode, we still recommend specifying the required fields and format in your prompt.
### Strict Schema
If you need the model to output data in a specific structure, you can pass in a JSON Schema. The model is then constrained to the field names, types, and required fields you define, reducing post-processing costs.
```python theme={null}
response_format = {
"type": "json_schema",
"json_schema": {
"name": "city",
"schema": {
"type": "object",
"properties": {
"capital": {"type": "string"},
},
"required": ["capital"],
},
},
}
```
## Best Practices
* **Define output constraints clearly**: In your prompt, state that the model should output JSON only and should not include explanatory text.
* **Strengthen schema constraints**: When using `json_schema`, clearly define field names, types, required fields, optional fields, examples, and "no extra fields" when applicable.
* **Reduce randomness**: Use a lower `temperature`, such as 0.2-0.5, to reduce randomness and drift.
* **Prefer non-streaming responses**: Prefer `stream=False`. If you use streaming, wait until all chunks are received before calling `json.loads`.
* **Control output length**: Set a reasonable `max_completion_tokens` value to avoid truncating the JSON object.
* **Handle parsing failures**: If parsing fails, retry with stricter constraints and record the raw output for troubleshooting.
* **Validate external JSON**: We recommend handling edge cases where the model returns incomplete or invalid JSON on the application side. Validate the JSON returned by the model before using it, and avoid concatenating untrusted content directly into SQL queries or code paths.
## Examples
The examples read the API key from an environment variable to avoid writing secrets into code.
```bash theme={null}
export API_KEY="YOUR_API_KEY"
```
### JSON Mode
```python theme={null}
import os
import json
from openai import OpenAI
client = OpenAI(
api_key=os.environ["API_KEY"],
base_url="https://api.scitix.ai/model-api",
)
resp = client.chat.completions.create(
model="MiniMaxAI/MiniMax-M2.7",
messages=[
{
"role": "system",
"content": "You are a helpful assistant designed to output JSON.",
},
{
"role": "user",
"content": "What is the capital of France? Please respond as {\"capital\": ...}",
},
],
response_format={"type": "json_object"},
temperature=0.3,
max_completion_tokens=256,
stream=False,
)
raw = resp.choices[0].message.content
print("RAW:", raw)
try:
data = json.loads(raw)
print("PARSED:", data)
except json.JSONDecodeError:
print("JSON parsing failed; retry with lower temperature or higher max_completion_tokens")
```
Sample output:
```json theme={null}
{"capital": "Paris"}
```
### Strict Schema
```python theme={null}
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["API_KEY"],
base_url="https://api.scitix.ai/model-api",
)
response_format = {
"type": "json_schema",
"json_schema": {
"name": "city",
"schema": {
"type": "object",
"properties": {
"capital": {"type": "string"},
},
"required": ["capital"],
},
},
}
resp = client.chat.completions.create(
model="Qwen/Qwen3-32B",
messages=[{"role": "user", "content": "Capital of France?"}],
response_format=response_format,
)
print(resp.choices[0].message.content)
```
# Text Generation
Source: https://docs.scitix.ai/model-inference/models/text-generation
Explore text generation models available through ScitiX Model Inference for chat, content generation, coding, and general-purpose AI tasks.
Text Generation models receive text instructions, questions, or context and generate natural language responses. They are suitable for general language tasks such as open-ended conversation, knowledge Q\&A, content generation, summarization, rewriting, and task decomposition.
Representative models include:
* `DeepSeek-V4-Flash`
* `DeepSeek-V4-Pro`
* `Qwen/Qwen3-32B`
* `openai/gpt-oss-120b`
For the full model list and pricing, refer to [Models](https://console.scitix.ai/model-inference/models).
## Core Capabilities
Text Generation models are typically used for the following capability scenarios. Specific support and performance vary by model.
| Capability | Description | Recommendation |
| - | - | - |
| Text generation | Supports multi-genre and multi-style natural language generation, covering both structured and long-form content. | Suitable for conversation, writing, summarization, and content generation. |
| Semantic understanding | Supports multi-turn conversation and intent recognition, and can maintain conversational context. | For complex tasks, provide clear background and constraints. |
| Knowledge Q\&A | Covers many domains, including science, technology, culture, and history. | Can be used for enterprise knowledge bases, document retrieval, and factual or procedural answers. |
| Instruction following | Can accurately follow complex instructions, such as "compare plan A and plan B in a Markdown table." | State formatting requirements clearly. |
| Style control | Use system prompts to unify tone and style, such as academic, conversational, or poetic styles. | Suitable when responses need a consistent style. |
| Long-context processing | Some models support longer context, ranging from 4k to 131k tokens. | Context length varies by model. Refer to Models for details. |
> [!TIP]
>
> Code generation and mathematical reasoning, such as implementing functions from natural language, refactoring code, writing unit tests, and solving problems step by step, are usually also handled by these general-purpose models. We recommend using a lower `temperature`, such as 0.1-0.3, for more stable and predictable output.
## Use Cases
* **Open-ended conversation**: Customer support bots, FAQ assistants, and conversational agents.
* **Knowledge Q\&A**: Enterprise knowledge bases, document retrieval, and factual or procedural answers.
* **Content generation**: Marketing copy, summaries, long-form articles, and creative writing.
* **Instruction following**: Task decomposition, step-by-step guides, and structured outputs such as lists and tables.
## Message Structure
Text Generation models receive input through a list of messages. Common message roles are as follows:
| Role | Description | Example |
| - | - | - |
| `system` | Defines the model's role, boundaries, and output style | You are a programmer with ten years of experience. |
| `user` | End-user input or the current task | What configuration is missing if the service starts before the model finishes loading? |
| `assistant` | Historical replies or example replies used as context | The liveness/readiness probe may be missing... |
> [!TIP]
>
> Organizing prompts in layers such as `system > user > assistant history` usually makes output more stable. You can also try different prompt structures based on your scenario.
## Key Parameters
### Description
* **Parameters that control creativity**
* `temperature`: Controls output randomness. The value range is 0.0-2.0, and the recommended range is 0.2-0.8 to balance creativity and stability.
* `top_p`: Controls the sampling range. The value range is 0.0-1.0. It can be used together with `temperature` to adjust creativity and stability.
* **Parameters that control output**
* `max_completion_tokens`: Limits generation length and helps avoid truncated output.
* `stop`: Sets stop sequences. Used to control where the model stops generating.
* `frequency_penalty`: Repetition penalty. If output is repetitive or garbled, try adjusting this value.
* `stream=True`: Returns responses as a stream. Recommended for long responses to reduce timeout risk.
* **Context**
The maximum context length supported by each model can be viewed in [Models](https://console.scitix.ai/model-inference/models).
### Recommendations
* If output is garbled, try adjusting `temperature`, `top_p`, and `frequency_penalty`.
* We recommend keeping `max_completion_tokens` within the maximum context length and leaving room for the input.
* If output is truncated, set a reasonable `max_completion_tokens`, enable `stream=True`, and increase the client timeout.
## Billing
* **Formula**: Cost = input tokens x input unit price + output tokens x output unit price
If the request hits or writes Prompt Caching, cache read tokens and cache write tokens are billed at the corresponding cache unit prices. For the complete billing policy, see [Token Usage and Billing](/model-inference/usage/billing).
* **Pricing**: Check the model detail page in [Models](https://console.scitix.ai/model-inference/models) for each model's pricing.
* **Recommendations**:
* During development, prefer free or lower-cost models.
* For long responses, use streaming output and set `max_completion_tokens` appropriately.
* For high-QPS workloads, combine concurrency control and rate limiting strategies.
## Examples
The examples read the API key from an environment variable to avoid writing secrets into code.
```bash theme={null}
export API_KEY="YOUR_API_KEY"
```
### Multi-Turn Conversation
```python theme={null}
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["API_KEY"],
base_url="https://api.scitix.ai/model-api",
)
response = client.chat.completions.create(
model="Qwen/Qwen3-32B",
messages=[
{
"role": "system",
"content": "You are a helpful assistant. Keep answers concise.",
},
{
"role": "user",
"content": "What are the main benefits of microservices architecture?",
},
],
temperature=0.7,
max_completion_tokens=1024,
)
print(response.choices[0].message.content)
```
### Data Analysis Content Generation
```python theme={null}
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["API_KEY"],
base_url="https://api.scitix.ai/model-api",
)
response = client.chat.completions.create(
model="MiniMaxAI/MiniMax-M2.7",
messages=[
{
"role": "system",
"content": "You are a data analysis expert. Output results in Markdown with clear sections and bullet points.",
},
{
"role": "user",
"content": "Summarize typical patterns in SaaS trial-to-paid conversion by cohort (e.g. by signup week). What metrics and recommendations would you highlight? Keep it under 300 words.",
},
],
temperature=0.5,
max_completion_tokens=1024,
)
print(response.choices[0].message.content)
```
### Release Notes / Changelog
```python theme={null}
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["API_KEY"],
base_url="https://api.scitix.ai/model-api",
)
response = client.chat.completions.create(
model="glm-5.2",
messages=[
{
"role": "system",
"content": "You write concise release notes. Use a short intro and bullet points.",
},
{
"role": "user",
"content": "Draft release notes for v2.0 of a CLI tool. New in this version: added `config` and `run` subcommands, support for env-based config, and a `--dry-run` flag. Keep it under 150 words.",
},
],
temperature=0.5,
max_completion_tokens=512,
)
print(response.choices[0].message.content)
```
# Vision and Multimodal
Source: https://docs.scitix.ai/model-inference/models/vision-and-multimodal
Explore vision and multimodal models in ScitiX Model Inference for image understanding, visual question answering, and multimodal workflows.
Vision and Multimodal models can understand both text and images. They provide capabilities through a unified OpenAI-compatible Chat Completions API and are suitable for vision-language tasks such as image description, visual Q\&A, and text-image workflows.
Representative models include:
* `Qwen/Qwen2.5-VL-72B-Instruct`
* `google/gemma-4-31B-it`
For the full model list and pricing, refer to [Models](https://console.scitix.ai/model-inference/models).
## Core Capabilities
* **Image understanding**: Describe images, extract text (OCR), and answer questions about visual content.
* **Visual Q\&A**: Ask follow-up questions about diagrams, screenshots, or product images.
* **Multimodal conversation**: Mix text and images in a single conversation, such as "compare these two charts."
* **Content moderation**: Classify or flag image content using natural language instructions.
## Image Message Format
When sending images, set `content` in `messages` to an array. Array items can be of type `text` or `image_url`. The `image_url` can be either a publicly accessible image URL or a `data:` URL, which is a base64-encoded image.
Example structure:
```python theme={null}
messages = [
{
"role": "user",
"content": [
{"type": "text", "text": "What is shown in this image?"},
{
"type": "image_url",
"image_url": {
"url": "https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0",
},
},
],
}
]
```
## Key Parameters
* **Parameters**
* `temperature`: Controls output randomness.
* `max_completion_tokens`: Limits generation length and helps avoid truncated output.
* `stream=True`: Returns responses as a stream. Recommended for long responses to reduce timeout risk.
* **Context**
The maximum context length supported by each model can be viewed in [Models](https://console.scitix.ai/model-inference/models).
* **Image limits**
Supported image formats and size limits vary by model. For details, refer to [Models](https://console.scitix.ai/model-inference/models).
## Billing
* **Formula**: Cost = input tokens x input unit price + output tokens x output unit price
If the request hits or writes Prompt Caching, cache read tokens and cache write tokens are billed at the corresponding cache unit prices. For the complete billing policy, see [Token Usage and Billing](/model-inference/usage/billing).
* **Pricing**: The input unit price for vision models may differ from text-only models. Check the model detail page in [Models](https://console.scitix.ai/model-inference/models) for details.
* **Token calculation notes**
Input tokens = text tokens + image tokens.
* Images and other vision inputs are converted into input tokens and billed at the input unit price. The pixel-to-token mapping differs by model: higher resolution and more images usually produce more input tokens.
* Text in the same request is still counted in the standard way.
* If there are multiple images, each image is counted separately.
* **Token calculation examples**
The following representative models illustrate how visual content is converted into tokens:
| Model | Visual tokenization (brief) |
| - | - |
| `Qwen/Qwen2.5-VL-72B-Instruct` | The image is divided into patches/tiles, and each tile is encoded as tokens. The total number of image tokens depends on the resolution and the maximum size allowed by the model, such as 1280 x 1280 or a similar value. |
| `google/gemma-4-31B-it` | The vision encoder maps the image to a sequence of tokens based on patches. The sequence length depends on the input resolution and model configuration. |
## Examples
The examples read the API key from an environment variable to avoid writing secrets into code.
```bash theme={null}
export API_KEY="YOUR_API_KEY"
```
### Image Description
```python theme={null}
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["API_KEY"],
base_url="https://api.scitix.ai/model-api",
)
response = client.chat.completions.create(
model="Qwen/Qwen2.5-VL-72B-Instruct",
messages=[
{
"role": "user",
"content": [
{"type": "text", "text": "Describe this image in one or two sentences."},
{
"type": "image_url",
"image_url": {
"url": "https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0",
},
},
],
}
],
max_completion_tokens=256,
)
print(response.choices[0].message.content)
```
### Visual Q\&A with Base64 Images
```python theme={null}
import os
import base64
from openai import OpenAI
def image_to_data_url(path: str) -> str:
with open(path, "rb") as f:
b64 = base64.standard_b64encode(f.read()).decode()
return f"data:image/jpeg;base64,{b64}"
client = OpenAI(
api_key=os.environ["API_KEY"],
base_url="https://api.scitix.ai/model-api",
)
url = image_to_data_url("myphoto.jpeg")
response = client.chat.completions.create(
model="Qwen/Qwen2.5-VL-72B-Instruct",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "What is the main message or call-to-action on this screen?",
},
{"type": "image_url", "image_url": {"url": url}},
],
}
],
max_completion_tokens=512,
)
print(response.choices[0].message.content)
```
### Multiple Images in One Request
To send multiple images in a single request, add more `image_url` entries to the same `content` array. The model receives these images together and can use them for tasks such as comparison and summarization.
```python theme={null}
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["API_KEY"],
base_url="https://api.scitix.ai/model-api",
)
response = client.chat.completions.create(
model="Qwen/Qwen2.5-VL-72B-Instruct",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "Compare these two images in one or two sentences. What do they have in common or how do they differ?",
},
{
"type": "image_url",
"image_url": {
"url": "https://images.unsplash.com/photo-1551963831-b3b1ca40c98e",
},
},
{
"type": "image_url",
"image_url": {
"url": "https://images.unsplash.com/photo-1472214103451-9374bd1c798e",
},
},
],
}
],
max_completion_tokens=512,
)
print(response.choices[0].message.content)
```
# API Keys
Source: https://docs.scitix.ai/model-inference/usage/api-keys
Learn how to create, manage, and protect API keys for ScitiX Model Inference, including usage limits and access control basics.
API keys authenticate programmatic requests to the ScitiX Model Inference API. Use **one key per application or environment** so development, staging, and production traffic can be managed independently.

## Create a Key
Go to the [API Keys](https://console.scitix.ai/model-inference/api_keys) page and click **Create API Key**. Give it a recognizable name, then copy the key and store it in an environment variable instead of hard-coding it:
```bash theme={null}
export API_KEY="YOUR_API_KEY"
```
> [!WARNING]
>
> Treat API keys like passwords. Never commit them to Git or expose them in client-side code.
## Control Usage
Each key supports quotas and rate limits. In shared environments, experiments, or third-party integrations, these settings help you define clear boundaries for cost and throughput.
* **Quota limit settings**: Use a **Monthly Quota** for the current month or a **Total Quota** for lifetime spend.
* **Rate limit settings**: Use a **TPM Limit** (tokens per minute) and an **RPM Limit** (requests per minute) to control throughput.
Leave a field empty or set it to `0` for unlimited.
## Manage Keys
Each key provides management actions in the key list:
* **Edit**: Modify the quota limit or rate limit.
* **Pause**: Temporarily block a key without deleting it. This is the safest first step when investigating unexpected usage, because you can re-enable the key later.
* **Delete**: Permanently revoke a key. This cannot be undone. Update any application that still depends on the key before deleting it.
## Usage Recommendations
The key list shows each key's **status**, **last-used time**, and **monthly token usage**. If traffic looks unusual, review your usage trends first, then tighten quotas or rate limits. You can also pause the key while investigating.
# Token Usage and Billing
Source: https://docs.scitix.ai/model-inference/usage/billing
Understand token types, billing formulas, reasoning tokens, output tokens, and max_completion_tokens in ScitiX Model Inference.
ScitiX Model Inference uses pay-as-you-go billing based on actual usage and the price of the model you call. Prices vary by model. For the latest pricing, check the model detail page in [Models](https://console.scitix.ai/model-inference/models).
## Token Types
A request usually consists of input, cache read, cache write, output, and other billing dimensions. Common usage fields are defined as follows:
| Type | Description |
| - | - |
| Input tokens | Input tokens that are not served from cache and need to be processed for the request, including `system`, `user`, and `assistant` message history, context material, tool definitions, and similar content. |
| Image input tokens | Tokens converted from visual input according to the model's rules. They are part of input tokens and appear in vision and multimodal requests. |
| Cache read tokens | Input tokens that hit and reuse prompt cache for this request. |
| Cache write tokens | Input tokens written into prompt cache for reuse by later requests. They are generated only when the model supports Prompt Caching and the request actually creates cache entries. |
| Output tokens | All tokens generated by the model for this request, not only the final visible answer. For reasoning models, output tokens include reasoning tokens and visible output tokens. |
| Visible output tokens | Tokens in the final answer visible to the user, usually corresponding to `content` in the response. |
| Reasoning tokens | Tokens consumed by a reasoning model's internal reasoning process. They may be returned in the API response or hidden from the visible response. |
| Audio duration | Audio duration processed by speech models. For ASR, this usually refers to input audio duration. For TTS, this usually refers to output audio duration. |
| Total tokens | Total tokens counted for the request. It usually includes input tokens, cache read tokens, cache write tokens, and output tokens. |
> [!NOTE]
>
> Whether reasoning tokens are returned in the API response depends on the model, protocol, and request parameters. Some models return `reasoning` or `reasoning_content`; others do not.
>
> Even when reasoning tokens are not returned as visible content, they are still included in platform usage statistics.
## Billing Formula
For token-based model requests, the complete billing formula is:
Cost = input tokens x input unit price + cache read tokens x cache read unit price + cache write tokens x cache write unit price + output tokens x output unit price
* In this formula, input tokens refer to input tokens that are not served from cache. Input, cache read, cache write, and output can have separate unit prices. Check the model detail page in [Models](https://console.scitix.ai/model-inference/models) for the exact prices.
* Image input is converted into input tokens and billed at the input unit price.
* Speech models are billed by audio duration. For ASR, usage is based on input audio duration. For TTS, usage is based on output audio duration. Check the model detail page in [Models](https://console.scitix.ai/model-inference/models) for the exact unit price.
Different model types use the billing dimensions as follows:
| Model type | Description |
| - | - |
| Text generation | Usually includes input tokens and output tokens. If the request does not use Prompt Caching, the cache fields are 0. |
| Reasoning | Output tokens include reasoning tokens and visible output tokens. Under the current platform billing policy, reasoning tokens are billed at the model's output unit price. |
| Vision and multimodal | Input tokens include text tokens and image tokens. Image resolution, image count, and model implementation can affect image input tokens. |
| Embedding | Embedding requests do not produce output tokens. If the request does not use Prompt Caching, the cache fields are 0. |
| Speech | Billed by audio duration. ASR usage is based on input audio duration, while TTS usage is based on output audio duration. |
## max\_completion\_tokens
`max_completion_tokens` limits the total generation budget, which means the sum of reasoning tokens and visible output tokens. It does not only limit the final visible answer.
When you use a reasoning model, internal reasoning may consume part of the generation budget first. If `max_completion_tokens` is too small, you may see the following results:
* The visible answer is short, but output tokens are high.
* The reasoning process exhausts the generation budget, so `content` is empty.
* The answer is truncated and `finish_reason` is `length`.
You can mitigate these issues by increasing `max_completion_tokens` or adjusting `thinking_budget`. `thinking_budget` is a hint, not a strict limit. A model may use it to control reasoning length, partially apply it, or ignore it.
> [!NOTE]
>
> We recommend using `max_completion_tokens`. If you see `max_tokens` in a third-party tool or older example, it has the same general meaning.
## View Usage
You can view per-request token usage on the [Usage Detail](https://console.scitix.ai/model-inference/usage_detail) page.
Usage Detail shows fields such as Input, Image Input, Cache Read, Cache Write, Reasoning, Output, and Total Tokens. Reasoning is already included in Output, so do not add Reasoning and Output together when analyzing cost.
> [!NOTE]
>
> The final usage for a `499` request is available only after model generation finishes. The usage record may therefore appear after the client disconnects.
For details, see [View Usage](/model-inference/usage/view-usage).
## Which Requests Are Billed
Whether a request is billed depends on whether it reaches a model and begins inference.
### Billable Requests
A request incurs model invocation charges after it reaches a model and inference begins. This includes:
* Requests that complete normally, such as those with status code `200`.
* Requests where the client disconnects before the response completes, such as `499`. If server-side inference has begun, model output is still included in usage and billing.
### Requests That Do Not Incur Model Invocation Charges
Requests rejected before reaching a model are not billed, such as invalid parameters, authentication failures, insufficient balance, missing permission, model not found, or rate-limit errors. Platform-side failures are also not billed.
### Billing by Common Status Code
| Status code | Billed? | Error type and code | Meaning |
| - | - | - | - |
| 200 | **Yes** | — | Request completed normally |
| 400 | No | `invalid_request_error` `invalid_request` | Invalid request body or parameters |
| 400 | No | `unsupported_protocol` | The model does not support the requested API protocol |
| 401 | No | `authentication_error` `unauthorized` | Missing or invalid API key |
| 402 | No | `billing_error` `billing_denied` | Insufficient balance, or the API key or account has reached its spending limit |
| 403 | No | `permission_error` `channel_access_denied` | Your account cannot call the model |
| 404 | No | `invalid_request_error` `model_not_found` | Model not found |
| 409, 413, 415, 422 | No | `invalid_request_error` | Other request-level errors |
| 429 | No | `rate_limit_error` `rate_limit_exceeded` | TPM or RPM limit exceeded |
| 499 | **Yes** | `client_aborted` | Client disconnected before the response completed |
| 500, 502, 503 | No | `service_unavailable` | Platform-side failure |
For error response structures and handling guidance, see [Error Handling](/model-inference/api/error-handling).
### Client Disconnection (499) Billing
#### Why 499 Requests Are Billed
`499 / client_aborted` means that the client disconnects before the response completes, for example because the request is cancelled, the network disconnects, or a client or proxy timeout expires.
Once a request reaches a model, server-side inference begins immediately and continues until it finishes naturally, regardless of whether the client remains connected. All output generated by the model is included in usage and billing, including output generated after the client disconnects.
This policy applies to both streaming and non-streaming requests.
> [!WARNING]
>
> Do not use a client disconnect to stop inference. Closing the connection stops the client from receiving the response, but does not stop server-side inference.
#### Avoid Unexpected 499 Charges
* **Set `max_completion_tokens`**: Limit the total generation budget to avoid excessive output from a single request.
* **Use `stop` sequences**: Stop generation when the response reaches a known completion point.
* **Set appropriate client timeouts**: Complex tasks and long responses can take longer. A timeout that is too short can disconnect while the model is still generating.
* **Use streaming for long responses**: Set `stream: true` to receive generated content progressively and monitor request progress.
* **Design retries carefully**: If a request disconnects during generation and is retried immediately, both the original request and the retry can incur charges.
## Cost Control Tips
* **Control input length**: Remove irrelevant history, long documents, and repeated context to avoid continuous input token growth.
* **Control generation budget**: Set `max_completion_tokens` reasonably to avoid unnecessarily long output.
* **Control reasoning budget**: For reasoning models, set `thinking_budget` based on reasoning depth, latency, and cost requirements.
* **Choose the right model**: Use free or lower-cost models during development, then choose the production model based on quality and cost.
* **Reuse long context**: For repeated long prefixes, fixed system prompts, or long multi-turn materials, see [Prompt Caching](/model-inference/models/prompt-caching).
* **Keep prompt prefixes stable**: Keep system messages, tool definitions, and few-shot examples consistent in order and content across requests to improve Prompt Caching hit opportunities.
* **Reduce irrelevant context**: For large knowledge bases, use [Embedding](/model-inference/models/embedding) to build RAG and pass only relevant chunks to the generation model.
* **Separate API keys by application**: Create separate API keys for different applications, and configure monthly budget, total budget, TPM, and RPM. For details, see [API Keys](/model-inference/usage/api-keys).
## FAQ
> [accordion] Why is the visible answer short but billed token usage high?
>
> For reasoning models, internal reasoning consumes reasoning tokens. Reasoning tokens may not be returned as visible content, but they are included in output tokens and billed at the output unit price. A short visible answer does not necessarily mean output tokens are low.
> [accordion] Why is content empty after I set a small max\_completion\_tokens value?
>
> `max_completion_tokens` limits the sum of reasoning tokens and visible output tokens. If the reasoning process exhausts the generation budget, the model may have no remaining budget to generate the final visible answer, so `content` may be empty.
> [accordion] Why is the answer truncated with finish\_reason set to length?
>
> This usually means generation reached the `max_completion_tokens` limit, or the request exceeded the model's context limit. You can reduce input length, increase `max_completion_tokens`, or enable streaming to improve long-response handling.
> [accordion] Why can Usage Detail show reasoning tokens when the API response does not return them?
>
> Whether the API returns `reasoning` or `reasoning_content` depends on the model, protocol, and request parameters. Even if the reasoning content is not returned in the response, the platform still counts the model's internal reasoning usage and displays it in Usage Detail.
> [accordion] Why am I billed after I cancel a request?
>
> If the request has reached a model, server-side inference continues until it finishes naturally. Disconnecting the client stops the client from receiving the response, but does not stop server-side inference, so the model output is still included in usage and billing.
> [accordion] Why does a 499 request appear in Usage Detail later?
>
> The final usage for a `499` request cannot be determined until model generation finishes. The record may appear after the client disconnects. After generation completes, Usage Detail shows the actual token usage and cost.
> [accordion] Can thinking\_budget strictly limit reasoning tokens?
>
> No. `thinking_budget` is a hint, not a strict limit. It can help the model control reasoning length, but support and adoption vary by model.
> [accordion] In multi-turn conversations, is the conversation history billed every turn?
>
> Yes. Each request is independent, so the full conversation history you send is counted as input for that request. Prompt Caching can reduce the processing cost of repeated prefixes, but it does not make the model automatically inherit previous context.
# View Metrics
Source: https://docs.scitix.ai/model-inference/usage/view-metrics
Learn how to view aggregated metrics, usage trends, token distribution, and latency performance for ScitiX Model Inference.
After signing in to the console, open the [Metrics](https://console.scitix.ai/model-inference/metrics) page to view aggregated metrics and trend data for model calls.
> [!TIP]
>
> * **Metrics**: Use this page to observe overall usage, throughput changes, and latency performance over a selected time range.
> * **Home**: Use this page for a quick view of major traffic sources, including Top Models, Top API Keys, and member usage. Member usage is visible only to administrators.
> * **Usage Detail**: Use this page to inspect individual request records. Go to the [Usage Detail](https://console.scitix.ai/model-inference/usage_detail) page when you need request-level details.
## Filters
You can view metrics by the following dimensions:
* **Time range**: Select the last 24 hours, last 7 days, last 30 days, or define a custom range with a start date and end date.
* **Model**: View all models, or select a specific model to analyze its metrics.
## Summary Metrics

The top of the page shows summary metrics under the current filters:
| Metric | Description | What to Watch |
| - | - | - |
| Total Tokens | Total token usage within the selected time range. | Use this to observe overall usage and cost changes. If total tokens increase sharply, check Token Distribution to see whether the growth comes mainly from input, output, reasoning, or cache-related tokens. |
| API Requests | Total number of API requests within the selected time range. | Use this to understand traffic volume. If requests increase unexpectedly, compare the timing with product releases, batch jobs, or retry logic. |
| Avg RPM | Average requests per minute. | Use this to observe request throughput. If RPM approaches the limit of an API key or service, consider adjusting request pacing or rate limits. |
| Avg TPM | Average tokens per minute. | Use this to observe token throughput. A higher TPM usually means longer context, longer outputs, or more concurrent requests, and may also increase cost. |
## Charts

The Metrics page includes trend and distribution charts that help you analyze calls from different angles:
| Chart | Description | What to Watch |
| - | - | - |
| Token Usage | Shows how token usage changes over time. | Use this to locate usage peaks. If a peak looks abnormal, compare it with application logs and request records in Usage Detail. |
| API Requests | Shows how the number of API requests changes over time. | Use this to understand traffic changes. If requests increase but token usage stays mostly flat, short requests or probe-style requests may have increased. |
| RPM | Shows requests per minute over time. | If RPM rises sharply, request volume or concurrent usage has increased. Compare it with the RPM limits on your API keys. |
| TPM | Shows tokens per minute over time. | If TPM rises sharply, overall token throughput has increased. Check Token Distribution to see whether input, output, or reasoning tokens are driving the change. |
| Token Distribution | Shows the distribution of token types, such as input, cache read, cache write, reasoning, and output tokens. | Use this to analyze cost composition. If output or reasoning tokens take a large share, review generation length, reasoning model usage, and parameter settings. |
| Prompt Bucket Distribution | Groups requests by prompt length bucket and shows the corresponding TTFT and E2E latency percentiles. | If long prompts account for a large share of requests, consider compressing context, splitting tasks, or using Prompt Caching to reduce repeated context processing. |
| TTFT | Shows the time from request start to the first output token. | If TTFT increases, model API callers may notice that responses start more slowly. Analyze this together with model choice, prompt length, streaming behavior, and traffic peaks. |
| E2E Latency | Shows the total time from request start to response completion. | If E2E latency increases, it is often related to output length, model type, context length, or concurrent load. Compare it with output token counts and request records in Usage Detail. |
## Common Analysis Paths
* **Analyze cost changes**: Start with Total Tokens, TPM, and Token Distribution to determine whether the increase comes mainly from input, output, reasoning, or cache-related tokens.
* **Troubleshoot slower responses**: Start with Time to First Token (TTFT) and End-to-End Latency (E2E). When TTFT is high, focus on how quickly the first token returns. When E2E latency is high, focus on output length and full generation time.
* **Monitor traffic fluctuations**: Use API Requests, RPM, and TPM together to identify traffic peaks. If needed, check whether your application has batch jobs, scheduled tasks, or retry amplification.
* **Optimize prompt length**: Check Prompt Length Distribution. If long prompts make up a large share of requests, consider compressing context, splitting tasks, or reusing cached context.
* **Compare model performance**: Filter by model and compare latency, throughput, and token distribution to evaluate whether each model fits your workload.
# View Usage
Source: https://docs.scitix.ai/model-inference/usage/view-usage
Learn how to view ScitiX Model Inference request details, token usage, cost, and latency metrics.
After signing in to the console, open the [Usage Detail](https://console.scitix.ai/model-inference/usage_detail) page to view model usage details.

> [!TIP]
>
> The Usage Detail page is best for inspecting individual requests, including token usage, cost, latency, and whether the request used streaming. To view aggregated metrics, usage trends, and latency performance over a selected time range, go to the [Metrics](https://console.scitix.ai/model-inference/metrics) page.
## Filters
You can filter usage details by the following dimensions:
* **Model**: View records for all models, or select a specific model.
* **API Key**: View records generated by all keys, or select a specific API key.
* **Streaming**: View all requests, or only streaming / non-streaming requests.
* **Time range**: Select the last 24 hours, last 7 days, last 30 days, or define a custom range with a start date and end date.
After you adjust the filters, the page shows usage records for the selected time range and conditions. You can also choose **Refresh** to load the latest data.
## Fields
The Usage Detail list shows model call details by request. Common fields include:
| Field | Description |
| - | - |
| Model | The model called by the request. |
| API Key | The API key used to send the request. |
| Request Time | The time when the request occurred. |
| Tier | The model service tier used by the request. |
| Input | Input tokens that are not served from cache and need to be processed for the request, including message history, context material, tool definitions, and similar content. For vision and multimodal models, input tokens include text tokens and image tokens. |
| Image Input | Tokens converted from visual input. Image Input is part of input tokens. |
| Cache Read / Cache Write | Prompt Caching read and write token counts. Cache Read means reused cached input tokens; Cache Write means input tokens written into cache for later reuse. |
| Reasoning | Reasoning tokens, which are output tokens used by a reasoning model's internal reasoning process. |
| Output | Output tokens, including reasoning tokens and tokens generated for the final visible answer. |
| Total Tokens | Total token usage for the request. It usually includes Input, Cache Read, Cache Write, and Output token counts. |
| Amount | Cost generated by the request. |
| E2E (ms) | Total time from request start to response completion. |
| Audio duration (s) | Audio duration for audio model requests. |
| Streaming | Whether the request used streaming output. |
| TTFT (ms) | Time from request start to the first output token. |
| Output Speed | Model output speed. |
| ms / token | Average time per output token. |
> [!NOTE]
>
> Input, Cache Read, Cache Write, and Output can have separate unit prices. Check the model detail page in [Models](https://console.scitix.ai/model-inference/models) for exact pricing. In the current UI, reasoning tokens are already included in Output, so do not add Reasoning and Output together when analyzing cost. Reasoning tokens may or may not be returned in the API response, but they are included in platform usage statistics and billing. Image input is converted into input tokens and billed at the input unit price. For details, see [Token Usage and Billing](/model-inference/usage/billing).
If there are no records under the current filters, the page shows that no records are available for the selected time range. You can expand the time range, or check whether the selected model, API key, or streaming filter is too narrow.
# Alerts Overview
Source: https://docs.scitix.ai/siverse/alerts/alerts-overview
Learn how Siverse notification management, alarm subscriptions, and alarm overview support event and metric alert delivery.
Alerts are used to monitor business events and operational metrics on the platform and send alert messages to specified recipients. The alert module consists of **Notification Management**, **Alarm Subscription**, and **Alarm Overview**.
## Alert Delivery Chain
| Capability | Description | Related Documentation |
| - | - | - |
| Notification management | Prepare alert recipients, including notification targets, contact groups, and third-party applications. | [Manage Alert Notification Targets](./manage-alert-notification-targets) |
| Alarm subscription | Define alert types, subscription scopes, notification targets, and noise control rules. | [Create an Alarm Subscription](./create-alert-subscriptions) |
| Alarm overview | View historical alerts, delivery methods, and delivery results. | [View Alert History](./view-alert-history) |
For initial configuration, typically create notification targets first, then create alert subscriptions. After an alert is triggered, you can view delivery records in the alarm overview.
## Alert Types
Alert subscriptions support two types of alert sources:
* **Event**: Triggered by platform business events, suitable for monitoring status changes in training jobs, development environments, inference services, images, orders, quotas, storage, and other objects.
* **Metric**: Triggered by Prometheus metric thresholds, suitable for monitoring GPU, CPU, memory, network, or custom business metrics.
## Related Documentation
* [Manage Alert Notification Targets](./manage-alert-notification-targets)
* [Create an Alarm Subscription](./create-alert-subscriptions)
* [View Alert History](./view-alert-history)
# Create an Alarm Subscription
Source: https://docs.scitix.ai/siverse/alerts/create-alert-subscriptions
Create event or metric alarm subscriptions in Siverse, and configure the subscription scope, notification targets, and noise control rules.
Alarm subscriptions define which alerts are sent, who receives them, and how to reduce duplicate notifications.
When an enabled subscription matches an alert, the platform sends a message through the associated notification targets, contact groups, or third-party applications.
## Subscription and Activation Logic
An alarm subscription typically includes the alert type, subscription scope, notification targets, and noise control rules.
| Configuration | Description |
| - | - |
| **Subscription Name** | Used to identify the subscription. We recommend including the business object, alert type, and recipient scope. |
| **Alarm Source Type** | **Event**: Triggers alerts based on business events. **Metric**: Triggers alerts based on Prometheus metric thresholds. |
| **Alarm Category** or **Metric Condition** | Defines which events to subscribe to or which metric thresholds trigger alerts. |
| **Narrow Scope** | Use conditions such as **Instance Owner** and **Resource Pool** to limit the subscription target. If left blank, all events under the selected alert type are subscribed to. |
| **Notify Targets** | Select notification targets or contact groups. Select at least one. Before creating a subscription, prepare available targets in [Manage Alert Notification Targets](./manage-alert-notification-targets). |
| **Noise Control** | Configure group aggregation and mute periods to control duplicate alerts and Do Not Disturb periods. |
Test sending only verifies connectivity to the notification target; it does not guarantee that actual alerts will be sent successfully. Actual delivery also depends on the subscription scope, whether an alert is triggered, and noise control.
## Create an Event Alarm Subscription
Event alerts are triggered by business events and are suitable for monitoring status changes such as training job failures, image build results, service exceptions, orders, quota, and storage.
### 1. Open the Event Subscription Form
1. Go to **Alarm > Alarm Subscription**.
2. On the **My Subscriptions** tab, click **Create**.

### 2. Configure the Event Subscription
#### Select Alert Type
1. Enter the **Subscription Name**.
2. Set **Alarm Source Type** to **Event**.
3. In the alert type list, expand the business category and select the alert types to subscribe to.
4. Confirm your selections in **Selected Alarm Types**.
Common business categories include LLM inference, VSCS, JupyterLab, general service, orders, quota management, storage, and CPU. Available categories and alert types depend on the current console.
To subscribe to multiple alerts, select multiple alert items at once to reduce repetitive configuration.
#### Configure Subscription Scope
Click **Next**. In the **Narrow Scope** step, specify the objects matched by the subscription as needed.
| Configuration | Description |
| - | - |
| **Only Self** | Subscribe only to alerts for objects associated with the current account. Suitable for individual use. |
| **All Users** | Subscribe to alerts for objects associated with all users within the currently visible scope. Suitable for administrators or team on-call scenarios. |
| **Specified Users** | Subscribe only to alerts for objects associated with specified users. After selecting this option, you must specify the owner. |
| **Resource Pool** | Monitor only alerts related to the specified resource pool. Suitable for shared clusters or multi-resource-pool isolation scenarios. Order-related alerts and storage volume alerts do not have stable resource pool semantics, so the platform ignores the resource pool filter criterion. For these two types of alerts, it is recommended to control the scope by owner or a more granular subscription level. |
This step is optional. If left blank, all events under the selected alert type will be subscribed to.
#### Configure Notify Targets and Noise Control
1. Click **Next**.
2. In the **Notify Targets** step, select at least one notification target or contact group.
3. If no suitable target is available, click **Create** to create a notification target or contact group.
4. Click **Next**.
5. In the **Noise Control** step, configure group aggregation and mute periods as needed.
| Configuration | Description |
| - | - |
| **Group Aggregation** | When enabled, the platform merges alerts by aggregation field within the aggregation interval. Suitable for similar alerts triggered repeatedly within a short period. |
| **Aggregation Interval (Seconds)** | The time window for merging alerts, for example, `300` seconds. It can be extended appropriately in scenarios with frequent fluctuations, but it is not recommended to set it too long initially, as this may delay awareness of important changes. |
| **Aggregation Fields** | Used to determine which alerts belong to the same group, such as **Owner**, **Cluster**, **Aggregate ID**, **Event Type**, and **SubStatus**. |
| **Silence Period** | When enabled, matching alerts are not sent during the specified period. Suitable for maintenance windows, release windows, or nighttime do-not-disturb periods. |
Event-type `Trigger` alerts ignore threshold and interval settings.
### 3. Create the Event Subscription
Click **Create**. Once created, the subscription takes effect immediately when enabled.
To avoid exact duplicates, the platform consolidates subscriptions with the same user, alert item, and filter criteria. Creating another subscription with these criteria updates the existing one instead of adding a new one.
To create a separate subscription, adjust the filter criteria or subscription target.
## Create a Metric Alarm Subscription
Metric alerts are triggered based on Prometheus metric thresholds and are suitable for monitoring resource utilization, service metrics, or custom business metrics.
### 1. Open the Metric Subscription Form
1. Go to **Alarm > Alarm Subscription**.
2. On the **My Subscriptions** tab, click **Create**.

### 2. Configure the Metric Subscription
#### Configure Metric Conditions
1. Enter the **Subscription Name**.
2. Set **Alarm Source Type** to **Metric**.
3. Select the **Metric Source**.
| Metric Source | Description |
| - | - |
| **Basic Metrics** | Common monitoring metrics provided by the platform, suitable for quickly configuring alerts for CPU, GPU, memory, network, and other resources. |
| **Custom Metrics** | Metrics exposed by businesses or services, suitable for monitoring business metrics not covered by the platform's built-in list. Metric names may contain only letters, numbers, underscores, and colons. |
Continue configuring the metric conditions:
| Configuration Item | Description |
| - | - |
| **Metric Category** | Used to filter metrics. |
| **Metric Name** | The specific metric to monitor. Before configuration, it is recommended to use the metric preview to confirm that the target metric has data. |
| **Metric Preview** | View recent metric trends to help determine whether data is available and whether the threshold is reasonable. |
| **Aggregation Method** | Aggregates or calculates metrics, such as time-window averages, maximum values, and rates. |
| **Operator** | The threshold comparison method, such as `>`, `>=`, `<`, or `<=`. |
| **Threshold** | The value used to determine whether to trigger an alert. It is recommended to configure it based on the metric preview and business impact. |
| **Duration** | The length of time that the metric condition must remain satisfied, such as `5m`, to reduce false alerts caused by transient fluctuations. |
| **Severity** | The severity of the alert, such as **Critical**, **Warning**, or **Info**. |
#### Using Advanced Mode
If basic mode cannot express the conditions, click **Switch to Advanced Mode** and use a PromQL expression to configure an alert.
Advanced mode is suitable for combining multiple conditions, filtering custom labels, or calculating complex metrics.
Before using it, ensure that the PromQL expression includes the required `namespace` or `orgname` isolation label so the query meets the platform's isolation requirements.
#### Configure Subscription Scope, Notify Targets, and Noise Control
Click **Next** to continue configuring **Narrow Scope**, **Notify Targets**, and **Noise Control**. Metric alerts can be further limited to applicable objects based on the selected workload scope, such as all workloads, specified workload types, or specified resource pools.
Notify targets and noise control are the same as those for event alerts.
### 3. Create the Metric Subscription
After confirming the configuration, click **Create**. Once created, the subscription takes effect immediately when enabled.
## Manage Subscriptions and Noise Control Rules
After locating the target subscription in **Alarm > Alarm Subscription**, you can adjust its configuration or enabled status as needed.
| Action | Description |
| - | - |
| **Search Subscriptions** | Filter subscriptions by alert source or alert name. |
| **Enable / Disable** | Control whether a subscription participates in alert matching and delivery. |
| **Edit** | Adjust the alert type, filter scope, notification targets, or noise control. |
| **Delete** | Delete subscriptions that are no longer needed. After deletion, alerts matching the subscription will no longer be sent through it. |
To manage noise control across multiple subscriptions, use the **Global Noise Control Rules** tab. Global rules apply only to the current user and do not affect other users.
Subscription-level rules take precedence over global rules. Muting and group aggregation are independent rule types; the system checks each type separately to decide whether to use a subscription-level rule or fall back to a global rule.
If a subscription has a rule of a given type, the global rule of that type generally will not take over, even when the subscription-level rule is disabled.
To continue inheriting the global rule, do not create a disabled rule of the same type in the subscription.
## View Results
After the subscription is created, you can verify it in the following ways:
* In the **My Subscriptions** list, confirm that the subscription is enabled.
* Perform a test send to the bound notification target to confirm that the receiving endpoint is reachable.
* After an actual alert occurs, view the alert record, delivery method, and delivery result in **Alarm Overview**.
If no actual alert is received, first confirm whether the alert occurred, then check the subscription scope, notification target enabled status, and noise control.
## Related Documentation
* [View Alert History](./view-alert-history)
* [Manage Alert Notification Targets](./manage-alert-notification-targets)
# Manage Alert Notification Targets
Source: https://docs.scitix.ai/siverse/alerts/manage-alert-notification-targets
Create and manage alert notification targets, contact groups, and third-party applications in Siverse to receive messages sent by alert subscriptions.
Notification management is used to manage alert recipients. Before creating an alert subscription, you must first prepare available notification targets.
## Notification Recipient Relationships
| Object | Description | Usage |
| - | - | - |
| Notification targets | The smallest alert delivery unit. It defines a notification method and a recipient address or recipient. | Can be directly associated with an alert subscription. |
| Contact groups | A collection of multiple notification targets. | Can be associated with an alert subscription as a whole. |
| Third-party applications | Enterprise application configuration, such as for Feishu applications. | Referenced by Feishu application message notification targets. |
Both notification targets and contact groups can be enabled or disabled. If disabled, alert delivery that depends on the object may be affected.
## Create a Notification Target
### 1. Go to the Creation Page
1. Go to **Alarm > Notification Management**.
2. On the **Notify Targets** tab, click **Create**.

### 2. Configure Notification Methods
Select a **Method** and complete the configuration on the corresponding tab.
> [tab] Feishu Notice
>
> **Feishu Notifications** are suitable for sending alerts to specified Feishu users.
>
> | Configuration Item | Description |
> | - | - |
> | **Third-Party Application** | Select an available Feishu application. If no Feishu applications are available in the tenant, regular users cannot create Feishu notifications. |
> | **Phone Number Bound to Feishu** | Enter the recipient's phone number bound to Feishu. |
> | **Remark** | Describe the purpose of the notification target to facilitate subsequent maintenance. |
> | **Language** | Select the display language for alert messages. |
> | **Visible Scope** | **Only Self** means that only the creator can use it; **Public** means that it can be reused within the same tenant. |
> | **Enabled** | Controls whether this notification target participates in alert delivery. |
> [tab] Webhook
>
> **Webhook** is suitable for sending alerts to group bots, third-party systems, or a unified notification platform.
>
> | Configuration Item | Description |
> | - | - |
> | **Webhook URL** | Enter the Webhook URL for receiving alerts. |
> | **Remark** | Describe the purpose of the notification target for easier future maintenance. |
> | **Language** | Select the display language for alert messages. |
> | **Visible Scope** | **Only Self** means the target is available only to its creator; **Public** means it can be reused within the same tenant. |
> | **Enabled** | Controls whether this notification target is used for sending alerts. |
> | **Template** | Configure the Webhook request body template. For template syntax, see [Configure a Webhook Template](#configure-a-webhook-template). |
>
> Webhook notification targets support only event alerts and metric alerts. If bound to other types of alerts, creation or delivery may be rejected, with the message: `webhook notification method is only supported for trigger and metric_rule type alarms`.
> [tab] SMS
>
> **SMS Notifications** are suitable for receiving alerts directly via text message on a mobile phone.
>
> | Configuration Item | Description |
> | - | - |
> | **Mobile Number for Receiving SMS Alerts** | Enter an 11-digit mainland China mobile number. Do not add the `+86` prefix. International numbers are not supported at this time. |
> | **Remark** | Describe the purpose of the notification target for easier future maintenance. |
> | **Language** | Select the display language for alert messages. |
> | **Visible Scope** | **Only Self** means that only the creator can use it; **Public** means that it can be reused within the same tenant. |
> | **Enabled** | Controls whether this notification target is used to send alerts. |
### 3. Create the Notification Target
Click **Dry-run** to verify that the current notification target is reachable. After the dry run succeeds, click **Create**.
The dry run only verifies connectivity to the notification target; it does not guarantee that actual alerts will be delivered successfully. Actual delivery also depends on the subscription filter criteria, whether the alert is triggered, and whether the Noise Control suppresses or aggregates it.
The same mobile number may be subject to an hourly sending rate limit. SMS messages exceeding the limit will be skipped, but Feishu notifications and webhook delivery will not be affected.
## Create a Contact Group
Contact groups are suitable for combining multiple notification targets into a single recipient.
1. Go to **Alarm > Notification Management**.
2. Select the **Contact Groups** tab.
3. Click **Create**.
4. Configure the contact group.
| Configuration Item | Description |
| - | - |
| **Group Name** | The name of the contact group. It is recommended to reflect its purpose, such as the training job on-call group or the resource alert group. |
| **Remark** | Describe the usage scenario or maintainer of the contact group. |
| **Notify Targets** | Select the notification targets included in the group. If no notification targets are available in the group, the contact group cannot be used for effective delivery. |
| **Enabled** | Controls whether the contact group can be used to send alerts. |
5. Click **Create**.
After it is created, you can select this contact group when creating an alert subscription.
## Create a Third-Party Application
Third-party applications are used to manage configurations for enterprise applications such as Feishu applications. Before creating a Feishu application message notification target, you may need to prepare an available third-party application.
1. Go to **Alarm > Notification Management**.
2. Select the **Third-Party Application** tab.
3. Click **Create**.
4. Configure the third-party application.
| Configuration Item | Description |
| - | - |
| **Name** | The name of the third-party application. |
| **Feishu Application** | The Feishu application identifier. |
| **Feishu Application App Secret** | The Feishu application secret. Keep it secure and do not expose it in documentation, tickets, or public channels. |
| **Enabled** | Controls whether the third-party application can be referenced by notification targets. |
5. Click **Create**.
Third-party applications are typically maintained by tenant administrators. Before creating a Feishu application message notification target, regular users must ensure that an enabled third-party application is available for reference within the tenant.
## Manage Notification Objects
After locating the target object under **Alarm > Notification Management**, you can maintain the configuration as needed:
| Action | Description |
| - | - |
| **Edit** | Modify the configuration and enablement status. After changing the recipient address, recipient, or application configuration, we recommend testing again. |
| **Delete** | Delete notification targets that are no longer in use. Before deletion, ensure that the relevant subscriptions have been changed to use other delivery targets. |
## Configure a Webhook Template
A Webhook notification target can send alerts to group bots, third-party systems, or a unified notification platform.
When creating a Webhook notification target, you can customize a JSON request body template. The platform replaces template variables with alert data and sends a POST request to the Webhook URL.
The following top-level variables are supported:
* `{{ .Content }}`: The complete content of the alert, which may be a JSON object or a string.
* `{{ .AlarmTime }}`: The time when the alert occurred, for example, `2025-12-05T06:52:04Z`.
In addition to the complete object, you can also directly reference second-level fields in `{{ .Content }}`. Available fields may vary by alert type. For the full set of variables, refer to the template configuration prompts in the console.
| Variable | Description |
| - | - |
| `{{ .Content.alarmName }}` | Alert name. |
| `{{ .Content.summary }}` | Alert summary. |
| `{{ .Content.description }}` | Alert description. The original text may contain links. |
| `{{ .Content.descriptionText }}` | Plain-text alert description. |
| `{{ .Content.level }}` | Alert severity. |
| `{{ .Content.severity }}` | Alert severity level, such as `critical`, `warning`, or `info`. |
| `{{ .Content.status }}` | Alert status, such as `firing` or `resolved`. |
| `{{ .Content.bizId }}` | Business ID. |
| `{{ .Content.cluster }}` | Cluster name. |
| `{{ .Content.region }}` | Region name. |
| `{{ .Content.location }}` | Location information, such as region / cluster. |
| `{{ .Content.orgName }}` | Tenant name. |
| `{{ .Content.user }}` | User name. |
| `{{ .Content.workloadType }}` | Workload type. |
| `{{ .Content.workloadId }}` | Workload ID. |
| `{{ .Content.resourcePool }}` | Resource pool identifier. |
| `{{ .Content.generator }}` | Details page URL. |
| `{{ .Content.alarmTime }}` | Alert time, equivalent to `{{ .AlarmTime }}`. |
Send to a custom service and include complete alert data:
```json theme={null}
{
"msg_type": "alarm",
"data": "{{ .Content }}",
"timestamp": "{{ .AlarmTime }}"
}
```
Send to a DingTalk, WeCom, or Feishu custom bot, and concatenate into a text message:
```json theme={null}
{
"msg_type": "text",
"content": {
"text": "Alert triggered!\nDetails: {{ .Content }}\nTime: {{ .AlarmTime }}"
}
}
```
The receiver should parse the request body as standard JSON. After creating or modifying a template, test delivery before binding the notification target to an alert subscription.
## Next Steps
* [Create Alarm Subscriptions](./create-alert-subscriptions)
# View Alert History
Source: https://docs.scitix.ai/siverse/alerts/view-alert-history
View the alarm overview in Siverse, filter historical alerts, and review alert delivery methods, delivery results, and raw details.
The alarm overview lets you review historical alert delivery records. Filter by alert name, severity, and time range to check whether an alert was triggered and delivered, and whether the delivery result meets expectations.
## Historical Data Scope
The alarm overview is a read-only query entry point and cannot be used to create or modify alert subscriptions. Whether an alert appears in the overview usually depends on the following process:
1. A platform event or metric meets the trigger conditions.
2. An alert matches a subscription.
3. The alert is delivered to the configured targets.
4. Historical alert and delivery records are generated.
If the notification target test is sent successfully but no corresponding actual alert appears in the alarm overview, first confirm whether the alert conditions were actually triggered and whether the subscription scope matches the target object.
## View Historical Alerts
1. Go to **Alarm > Alarm Overview**.
2. Filter records by alert name, alert severity, or time range.
3. Click **Search**.
4. In the list, verify the alert source, severity, trigger time, delivery method, and delivery result.
When reviewing the results, focus on the following information:
| Troubleshooting Goal | Key Information | Recommended Action |
| - | - | - |
| Confirm whether an alert occurred | Alert name, severity, and trigger time. | If no record is found, first check whether the alert subscription is enabled, whether the alert type is correct, and whether the narrowed scope covers the target object. |
| Confirm whether delivery was successful | Delivery method, delivery result, and failed notification targets. | If delivery fails, check whether the notification target is enabled, whether the **Endpoint** is correct, and test sending again. |
| Confirm whether the alert matches the expected object | Region, cluster, owning user, resource object, and details-page link. | If the object does not match expectations, return to the alert subscription and check the filter criteria. |
| Confirm whether the receiving end can view the message | Delivery result and receiving-end status. | If the platform shows successful delivery but the receiving end does not see the message, check the phone number, group bot, external system permissions, or message filtering rules. |
## View Original Details
In the **Actions** column of an alert record, view the details to verify the original alert information.
Resource-related alerts may include a resource name, order number, instance specification, utilization rate, or remaining days. The displayed information varies by alert type; refer to the actual details.
## Troubleshooting Missing Alerts
If the receiving end does not receive the alert, check the following in order:
1. In **Alarm Overview**, search by time range and alert name to confirm whether historical records were generated.
2. If no records are found, check whether the alert subscription is enabled, whether the correct alert type is selected, and whether the narrowed scope covers the target object.
3. If records exist but delivery fails, check whether the notification target is enabled, whether the **Endpoint** is correct, and test sending again.
4. If records exist and delivery succeeds but the recipient does not receive the message, check recipient permissions, phone numbers, group bots, external systems, or message filtering rules.
5. If alerts are merged or not sent immediately, check the group aggregation and quiet periods in the subscription or global noise control rules.
## Related Documentation
* [Create alarm subscriptions](./create-alert-subscriptions)
* [Manage alert notification targets](./manage-alert-notification-targets)
# Best practices for ephemeral storage
Source: https://docs.scitix.ai/siverse/best-practices/use-ephemeral-storage
Learn what consumes Pod ephemeral storage, how to check usage and configure alerts, and how to clean up or redirect writes to avoid workload eviction.
Development environments, training jobs, and services in Siverse run as Pods. This guide explains how to monitor, alert on, clean up, and relocate Pod ephemeral storage data to reduce the risk of eviction when storage fills up.
> [!WARNING]
>
> If ephemeral storage fills up, the system may evict the Pod. Training may fail, a development environment may be interrupted, or a service instance may become unhealthy. Write data that must be retained, reused, or allowed to grow to a mounted Volume.
## What is ephemeral storage
In Kubernetes, Pod ephemeral storage is node-local space for data generated while a Pod runs, including files written under paths such as `/tmp`, `/root`, and `/usr`. Its lifecycle follows the Pod: when the Pod is deleted, recreated, moved, or evicted, its associated ephemeral storage is released.
Data written to ephemeral storage is not persistent. Do not keep datasets, experiment results, checkpoints, model files, business logs, or long-lived caches solely on local container paths if you need them after the workload ends.
Common sources of ephemeral storage usage include:
| Source | Description |
| - | - |
| Container file system | Files created, downloaded, or generated in the container, including data written to `/tmp`, `/root`, `/usr`, or `$HOME`. |
| Container logs | Program output written to standard output or standard error, such as `stdout` and `stderr` logs. |
| Temporary directory volumes | Empty directories mounted for the current run, such as `emptyDir`. |
Ephemeral storage limits can vary by cluster, instance specification, and workload type. Check the usage, quota, utilization, and status displayed on the workload details page to assess the available space for your workload.
## Check current usage
Development environments, training jobs, LLM inference services, and general services all show Pod ephemeral storage on their details pages. Open the **Storage** tab for the relevant object and check the amount used, quota, utilization, and status.
For example, the training job details page shows storage information:

If ephemeral storage usage keeps rising, check whether your program writes logs, caches, checkpoints, intermediate files, or outputs to a local container path.
## Configure disk alerts
For long-running training jobs, development environments, or services, configure disk alerts so that you receive notifications when Pod ephemeral storage or node disk usage rises.
1. Under **Alarm > Notification Management**, prepare a notification target or contact group and make sure it is enabled. See [Manage Alert Notification Targets](../alerts/manage-alert-notification-targets).
Without an enabled notification recipient, the platform cannot deliver a triggered alert.
2. Under **Alarm > Alarm Subscription**, create a subscription. See [Create an Alarm Subscription](../alerts/create-alert-subscriptions).
When creating the subscription, expand the **Volume** category. To receive both critical and warning alerts for Pod ephemeral storage and node disk utilization, select these alert items:
* `pod_disk_watermark-critical`
* `pod_disk_watermark-warning`
* `node_disk_watermark-critical`
* `node_disk_watermark-warning`
After creating the subscription, review alert records and delivery results in the alarm overview. Alert notifications generally include a direct link to the affected workload for troubleshooting.
## Clean up high-usage paths
If the console shows high ephemeral storage usage, first stop writing more data to local paths. Decide which data to keep and move it to a mounted Volume. Delete only data that you have confirmed can be discarded.
Common paths to inspect include:
| Path | Typical contents | Recommended action |
| - | - | - |
| `$HOME/.cache` | Downloads cached by `pip`, Hugging Face, `torch`, `uv`, and similar tools. | These caches can consume substantial space. After confirming that no current process needs them, remove caches you no longer need. |
| `$HOME/.local` | Packages installed with `pip install --user`. | Remove packages only after confirming they are no longer required. |
| Other directories under `$HOME` | Files downloaded or uploaded by users, or intermediate and output files generated by scripts. | Move files you need to retain, then remove files that can be regenerated. |
| Conda `pkgs` directory | Cached Conda packages. | Use Conda's cache-cleaning mechanism to free space. |
| `/tmp`, `/var/tmp` | Runtime temporary files. | Check the contents and modification times before deleting files you have confirmed can be discarded. |
| Custom log paths | Logs written by application scripts, such as `~/xxx.log`. | Limit log size or write logs to a Volume or logging system. |
If the Pod has already been evicted, data in ephemeral storage may no longer be recoverable. Before rerunning the workload, change its write paths to avoid the same problem.
## Write caches and outputs to a Volume
To avoid filling ephemeral storage, direct growing data and data you need to retain or reuse to a mounted Volume instead of a local container directory. Examples include dependency and model caches, training checkpoints, job outputs, business logs, and large downloads.
Mount paths typically look like `/volume/`. Set cache directories explicitly in a startup command, job script, or `~/.bashrc`. Replace the example path components with your actual mounted path and workspace directory before running these commands:
| Environment variable | Suggested use |
| - | - |
| `PIP_CACHE_DIR` | `pip` download cache. |
| `HF_HOME` | Hugging Face cache. |
| `TORCH_HOME` | `torch hub` weights and caches. |
| `CONDA_PKGS_DIRS` | Conda package cache. |
| `TMPDIR` | Program temporary files. |
For example:
```bash theme={null}
# Replace both path components with values for your mounted Volume.
VOLUME_ROOT=/volume/REPLACE_WITH_RESOURCE_POOL/REPLACE_WITH_WORKSPACE
export PIP_CACHE_DIR="$VOLUME_ROOT/cache/pip"
export HF_HOME="$VOLUME_ROOT/cache/huggingface"
export TORCH_HOME="$VOLUME_ROOT/cache/torch"
export CONDA_PKGS_DIRS="$VOLUME_ROOT/cache/conda-pkgs"
export TMPDIR="$VOLUME_ROOT/tmp"
```
Use the same approach for other tools. If a development or agent tool writes configuration and caches to `$HOME` by default, first check whether it supports an environment variable for changing the directory.
For example, Claude Code normally writes configuration and caches under `$HOME`. To direct future writes to a mounted Volume, set `CLAUDE_CONFIG_DIR`:
```bash theme={null}
# Replace both path components with values for your mounted Volume.
export CLAUDE_CONFIG_DIR=/volume/REPLACE_WITH_RESOURCE_POOL/REPLACE_WITH_WORKSPACE/claude
```
When configuring these paths:
1. Use absolute paths, not relative paths.
2. Set environment variables before starting the tool, for example in `~/.bashrc` or the startup command. Putting a path only in the tool's configuration file usually does not redirect its writes.
3. Restart the tool or process after changing the variables.
4. Claude Code does not support `--config-dir` for changing its configuration directory; use `CLAUDE_CONFIG_DIR`.
5. Environment variables generally affect only future writes. They do not automatically move existing files, the program itself, project files, or other tools' caches.
## Check whether full ephemeral storage caused eviction
If a training job fails, a development environment stops, or a service instance becomes unhealthy, check **Event** on its details page. Eviction, disk pressure, or insufficient ephemeral storage events may indicate a Pod storage or node disk issue.
Check the following information together:
| Information | What to check |
| - | - |
| **Storage** | Pod ephemeral storage usage, quota, utilization, and status. |
| **Event** | Eviction, scheduling failures, and disk pressure events. |
| **Log** | Whether the program keeps writing large files, caches, logs, or outputs. |
| **Job or service configuration** | Whether output and cache paths and Volume mount paths are set as intended. |
After confirming that ephemeral storage is involved, change the write path or remove disposable data before restarting the development environment, resubmitting the training job, or redeploying the service.
## FAQ
> [accordion] Why does disk space reported in the container differ from the console?
>
> Running `df -h /` in a container usually reports disk space from the node's or container's perspective, not the current Pod's ephemeral storage quota. To determine whether a Pod is near its limit, check usage, quota, and status for **Pod Ephemeral Storage** on the console's **Storage** tab.
> [accordion] Which files should I clean up first?
>
> Use paths, timestamps, and console usage trends to prioritize cleanup. New files under `/tmp`, `/root`, `/usr`, or `$HOME` may raise ephemeral storage usage; image-bundled files are usually lower priority. Before deleting a file, check whether a process still uses it or it needs moving to a Volume.
> [accordion] Can I recover data after ephemeral storage fills up?
>
> Not always. Eviction, recreation, or migration may release a Pod's ephemeral storage. Write code, datasets, checkpoints, models, experiment results, caches, and long-lived logs to a Volume while it runs if you need to retain, reuse, or grow them. Do not wait for a Pod failure to try to recover them.
# Manage tags
Source: https://docs.scitix.ai/siverse/configuration/manage-labels
Create, update, and delete tags in Siverse, and enable label validation as needed for resource tagging, filtering, and classification management.
Tags add `key=value` identifiers to platform resources, facilitating classification, filtering, and governance in training, inference, image, and other tag-supported modules.
## Usage recommendations
* Label keys should represent classification dimensions, such as `model`, `trainingType`, and `type`.
* Label values should represent specific values, such as `test`, `llm`, and `production`.
* For the same category of labels, keep key names consistent whenever possible. Avoid using multiple naming conventions such as `trainingType`, `train_type`, and `taskType`.
## Label validation
The label management page provides the **Enable label validation** switch. When enabled, modules that support label validation require the use of maintained labels to help standardize label usage. When disabled, label usage rules depend on the actual behavior of each business module.
Before enabling label validation, we recommend maintaining commonly used labels and confirming naming conventions with your team to avoid affecting subsequent resource creation or updates.
## Create tags
1. Go to **Config Management > Label Management**.
2. Click **Create**.
3. Enter the label key and value.
Tags are typically displayed in the `key=value` format.
4. Click **Create**.
After creation, modules that support label validation can use the label in accordance with the label management rules.
## Manage tags
After finding the target tag in **Config Management > Label Management**, you can update or delete it in the **Actions** column.
* **Update**: Modify the tag key or tag value. If the tag is already referenced by resources, confirm before updating whether it will affect resource filtering, statistics, or governance rules.
* **Delete**: Delete tags that are no longer needed. Before deletion, confirm that the tag no longer needs to be selected or referenced in business modules. For historical tags already applied to resources, post-deletion handling is subject to the rules of the corresponding module.
## Related documentation
* [Advanced training task configuration](../training/advanced-training-task-configuration)
# Manage monitoring dashboards
Source: https://docs.scitix.ai/siverse/configuration/manage-monitoring-dashboards
Create, update, and delete PromQL monitoring dashboards in Siverse, and use dashboards to view metrics for modules such as training and inference.
Monitoring dashboards let you configure PromQL queries as reusable charts and attach them to business modules that support dashboards, such as training and inference. After creation, you can view custom metrics on the details page of the corresponding business module.
## Usage recommendations
* First, determine which business module, submodule, and category the chart will be associated with, then configure the metric query.
* PromQL should match the monitoring metrics and variables of the target module. Refer to the console prompts for variable names, label definitions, and availability scope.
* For the legend, use stable variables or metric dimensions to facilitate comparison across multiple curves or instances.
## Create a dashboard
A dashboard chart requires configuration of its placement, display mode, and metric query. The placement is determined jointly by the module, submodule, and category; the metric query consists of the legend and PromQL.
1. Go to **Config Management > Dashboard Management**.
2. Select a region.
3. Click **Create**.
4. Select a creation method and complete the dashboard configuration.
> [tab] Form
>
> Use the Form tab to enter each setting in the console.
>
> | Configuration Item | Description |
> | - | - |
> | Module | Select the business module where the dashboard is mounted. |
> | SubModule | Select the specific location under the module. |
> | Class | Select the category to which the chart belongs. |
> | Format | Select how metrics are displayed, such as **Timeseries** or **HeatMap**. |
> | Title | The chart title. |
> | Description | The chart description. |
> | Legend | The display name of a metric curve or series. Variable combinations can be used. |
> | PromQL | The metric query expression. The expression must match the monitoring metrics and variables of the target module to avoid no data being displayed or query failures. |
>
> To display multiple metrics, click **Add Metric** and continue configuring.
> [tab] JSON
>
> Use the JSON tab to reuse existing configurations, manage dashboards in bulk, or edit their definitions precisely. For example:
>
> ```json theme={null}
> {
> "module": "llm-inference",
> "subModule": "Vllm",
> "class": "By Instance",
> "format": "TimeSeries",
> "title": "Number of successful vLLM requests",
> "description": "Number of successful requests in the last minute, grouped by service.",
> "metrics": [
> {
> "legend": "{{service}}",
> "query": "sum by (service) (increase(vllm:request_success_total{service=\"$service_name\",cluster=\"$cluster\"}[1m]))"
> }
> ]
> }
> ```
5. Click **Create**.
After creation is complete, go to the details page of the relevant business module to verify that the chart display and returned data meet expectations.
## Update and delete dashboards
In **Config Management > Dashboard Management**, select a region and locate the target dashboard. You can then update or delete the dashboard in the **Actions** column.
* **Update**: Modify the chart mounting location, display configuration, or PromQL. After updating, verify on the relevant business module details page that the chart display and returned data meet expectations.
* **Delete**: Delete dashboards that are no longer needed. Before deleting, confirm that the team no longer relies on the chart for monitoring or troubleshooting.
## Related documentation
* [View Training Task Monitoring](../training/view-training-task-monitoring)
* [Integrate Custom Metrics into Training](../training/collect-training-task-custom-metrics)
* [Advanced training task configuration](../training/advanced-training-task-configuration)
* [Advanced inference service operations](../inference/advanced-inference-service-operations)
# Manage node scheduling policies
Source: https://docs.scitix.ai/siverse/configuration/manage-node-scheduling-policies
Create, find, edit, and delete node scheduling policies in Siverse and configure their scope, workload types, nodes, and validity periods.
Node scheduling policies limit where workloads can run. You can block specified nodes or require matching workloads to run only on specified nodes. Policies can apply to training tasks, LLM inference, service deployments, VSCS, JupyterLab, or general services.
## Create a scheduling policy
1. Go to **Config Management > Schedule Policy**.
2. Select a **Region** and **Cluster**, then click **Add Schedule Strategy**.
3. Configure the policy.
| Configuration | Description |
| - | - |
| **Scope** | **Only Self**: The policy applies to matching workloads submitted by the current user. **Entire Tenant**: The policy applies to matching workloads submitted within the tenant. |
| **Schedule Type** | **Block**: Matching workloads cannot be scheduled to the specified nodes. **Schedule Only**: Matching workloads can be scheduled only to the specified nodes. |
| **Effect Mode** | **Enabled by Default**: The policy unconditionally applies to all matching workloads. **Select as Needed**: The policy takes effect only when it is explicitly selected during workload creation. |
| **Workload Type** | Select the workload types affected by the policy. Options include **Training**, **LLM Inference**, **Service Deployment**, **VSCS**, **JupyterLab**, and **General Service**. |
| **Node Name** | Enter the names of the nodes to which the policy applies. Separate multiple nodes with commas. |
| **Expire At** | Set the policy validity period. To keep the policy in effect indefinitely, select **Permanent**. |
| **Reason** | Record the reason for creating the policy. |
4. Click **OK**.
5. Return to the policy list and confirm that the **Schedule Type**, **User Scope**, **Effect Mode**, **Expire At**, and **Effective Scope** are as expected.
## Manage scheduling policies
Go to **Config Management > Schedule Policy**, and select a **Region** and **Cluster**.
You can filter by **Scope**, **Node Name**, **Created By**, and **Reason**. To view only currently effective policies, enable **Show Effective Only**.
You can edit or delete scheduling policies:
* **Edit**: Adjust the policy configuration. After making changes, return to the list to verify the policy information.
* **Delete**: Delete policies that are no longer needed.
# Manage project groups
Source: https://docs.scitix.ai/siverse/configuration/manage-project-groups
Create, query, update, and delete project groups in Siverse to maintain project organization configurations within a tenant.
Project group management is used to maintain project organization configurations within a tenant. After creating a project group, you can select or reference it in business modules that support project groups.
Your account needs permission to manage project groups to perform the following operations.
## Create a project group
1. Go to **Permission Management > Project Group Management**.
2. Click **Create**.
3. Enter the project group information.
| Parameter | Description |
| - | - |
| Project Group Name | The project group name must be unique within the tenant. Use a name that reflects the team, project, or business line. |
| Description | Used to describe the project group’s purpose, owner, or migration source. |
4. Click **Create**.
After creation, you can search by project group name to confirm that the project group has been created.
## Manage project groups
In **Permission Management > Project Group Management**, you can search for a target project group by name and update or delete it in the **Actions** column.
* **Update**: Modify the project group name or description. The update operation is unavailable for the default project group. If the project group is referenced by other resources, tasks, or configurations, confirm before updating that the changes will not affect team identification or subsequent maintenance.
* **Delete**: Delete non-default project groups that are no longer in use. Before deletion, confirm that the project group is no longer referenced by resources, tasks, or other configurations.
If the list contains project groups created through migration from historical resource pools, their descriptions may retain the migration source. Before processing such project groups, we recommend confirming whether the related resource pools or historical configurations are still in use.
# Manage task environment variables
Source: https://docs.scitix.ai/siverse/configuration/manage-task-environment-variables
Create, hide, enable, and disable tenant-level task environment variables in Siverse to inject predefined configurations into training task containers.
Task environment variables are used to manage tenant-level predefined environment variables. Once enabled, these environment variables can be injected into training task containers to standardize runtime parameters, access URLs, feature flags, and other non-sensitive configuration.
## Variable scope boundaries
Task environment variables are a tenant-level configuration. Whether they are injected into task containers and how naming conflicts with task-level variables are handled are governed by the training task creation and execution rules.
Environment variables should not store highly sensitive secrets. When secrets or access credentials must be used, follow the platform security requirements and avoid exposing actual values in documentation, logs, commands, or public channels.
## Create environment variables
1. Go to **Config Management > TaskEnv Management**.
2. Click **Create**.
3. Configure the environment variables.
| Parameter | Description |
| - | - |
| EnvKey | The environment variable name can contain only English letters, digits, and underscores and cannot start with a digit. It must be unique and cannot contain `=`, spaces, line breaks, Chinese characters, full-width symbols, zero-width characters, or similar characters. |
| EnvValue | The value injected into the task container must be a string. It can be `0`, but cannot be empty or contain a NUL character. |
| Hide this environment variable | When enabled, the variable value is hidden in the console. |
| Enable Or Not | Enabled by default. When enabled, this environment variable is injected into training tasks by default. |
4. Click **Create**.
After creation, ensure that the environment variable is enabled. When you create subsequent training tasks, the platform injects variables according to the rules for task environment variables.
## Manage environment variables
After locating the target environment variable in **Config Management > TaskEnv Management**, you can update, disable, enable, or delete it in the **Actions** column.
* **Update**: Modify the variable value, visibility setting, or enabled status. Changes to environment variables may affect training tasks created or resubmitted later. Whether the changes affect running tasks depends on the training task runtime behavior.
* **Disable / Enable**: Control whether an environment variable continues to be injected into subsequent training tasks. If you no longer want tasks to use a variable, disable it first and check whether this affects task submission or execution.
* **Delete**: Delete environment variables that are no longer in use. Before deletion, ensure that no future training tasks depend on the variable; otherwise, scripts that require it may fail to start because of missing runtime configuration.
## Next steps
* [Create training tasks](../training/create-training-tasks)
# Dataset overview
Source: https://docs.scitix.ai/siverse/datasets/datasets-overview
Learn about datasets provided by Siverse, their mount paths, and their relationship to caching, and use them in development environments or training jobs.
Datasets provide input data for development environments and training jobs. You can select the data you need from the datasets provided by Siverse and mount it for reading when you create a workload.
## Basic concepts
| Concept | Description |
| - | - |
| Data source | The location where files are stored, such as a Volume directory or an object storage path. |
| Dataset | Data that a workload can select, mount, and read. |
| Container mount path | The path that code uses to read data inside the container after a dataset is mounted to a development environment or training job, for example, `/mnt/datasets/corpus`. |
| Dataset cache | An optional capability that accelerates data reads and improves access efficiency when the same dataset is read repeatedly. A cache is not a data backup or a prerequisite for using a dataset. |
## Select a dataset
| Dataset | Suitable scenarios | How to use |
| - | - | - |
| Preset dataset | Use a public dataset maintained by Siverse to quickly verify a development environment, Notebook, or training job workflow. | Select and mount the dataset when creating a development environment or training job. |
Before selecting a dataset, confirm that it is available to the workload in the current region and cluster.
## Usage flow
1. Confirm that the target dataset is available to the workload in the current region and cluster.
2. When creating a development environment or training job, select a dataset, specify a subdirectory as needed, and configure the container mount path.
3. Read data in your code through the mount path. Write training outputs, checkpoints, Notebooks, or temporary files to a writable Volume.
4. If the same dataset will be read repeatedly and the project already uses dataset caching, you can configure a cache for it.
## Read and write boundaries
Datasets are typically used as input data. Mounting a dataset does not automatically modify scripts or convert data formats. The data path in your code must match the container mount path.
If your program needs to write output files, cache files, training artifacts, or model files, use a writable Volume. Do not write outputs to the dataset mount path or mount a dataset over a critical directory provided by the image.
## Related documentation
* [Use preset datasets](./use-preset-datasets)
* [Mount datasets in development environments and training jobs](./mount-datasets-in-workloads)
* [Configure and manage dataset cache](./manage-dataset-cache)
# Configure and manage dataset cache
Source: https://docs.scitix.ai/siverse/datasets/manage-dataset-cache
Configure cache for datasets, view cache capacity and status, and troubleshoot cache creation or read failures.
Dataset cache is an optional capability for accelerating data reads. It is useful when development environments or training jobs repeatedly read the same dataset.
> [!NOTE]
>
> If dataset caching is enabled for your project and the same dataset needs to be read repeatedly, you can create a cache.
## How cache relates to datasets
* **Cache accelerates reads**: Cache can improve access efficiency when the same dataset is read repeatedly.
* **Cache depends on source data**: The source files in a Volume or object storage remain authoritative; cache does not replace source data management.
* **Cache consumes resources**: The cache service continuously consumes CPU, memory, and other resources while it runs. Immediate preloading may temporarily consume additional instance resources.
* **Cache is not a backup**: Clearing a cache does not delete the source data, but the cache itself must not be the only persistent copy.
## Create a dataset cache
Before creating a cache, review the resources required to run the cache service and preload data. Plan the amount of data to cache based on the available capacity displayed on the page.
| Check | Description |
| - | - |
| Cache service runtime | The cache service continuously consumes CPU, memory, and other resources while it runs. |
| Available cache capacity | The capacity displayed on the page already excludes memory reserved for the service. Use this value when planning the amount of data to cache. |
| Immediate preloading | When enabled, a selected CPU instance is temporarily used for preloading. The instance resources are released when preloading is complete. |
1. Open the dataset cache creation page.
2. Select the dataset to accelerate, then configure the resource pool, instance type, and quantity for the cache.
3. Check the available cache capacity and decide whether to preload data immediately.
4. After submitting, track the cache status and data volume, then verify the result through actual reads.
## View cache status and capacity
| Cache field | Description |
| - | - |
| **Total Size** | Statistics on the size of the data source; the value may be affected by scanning and refresh progress. |
| **Cache Size** | The amount of data that has been cached. |
| **Cache Capacity** | The available capacity of the cache layer. |
| **Cache Percentage** | Current cache coverage. This is not the real-time cache hit rate or training progress. |
| **Instance Usage** | Resource usage related to the cache. |
| **Status** and **Reason** | The cache execution stage and clues about errors. |
If the cache percentage is below 100%, first check whether preloading is enabled, then compare the source data size with the cache capacity. With on-demand reads, data that has not been accessed may not yet be cached.
## Manage dataset cache
Clearing a cache and managing source data are separate operations. Clearing a cache affects subsequent read performance, but does not delete source files in Volumes or object storage.
The page not listing any users does not prove that no workloads depend on the dataset or cache. Before clearing or deleting a cache, review dependencies across training jobs, development environments, and other workloads.
## Frequently asked questions
> [accordion] What should I do if a cache cannot be created?
>
> Check the CPU quota, resource pool availability, and the temporary instance resources that may be required for immediate preloading. If the page shows a failure reason, troubleshoot that reason first.
> [accordion] What should I do if the cache percentage stays below 100%?
>
> First check whether preloading is enabled, then compare the source data size with the cache capacity. With on-demand reads, data that has not been accessed may not yet be cached, so a cache percentage below 100% does not necessarily mean that the task failed.
> [accordion] What should I do if the cache status shows an error?
>
> Based on the status reason, check source data permissions, network access, and cache resources. Do not determine whether a failure occurred based only on the cache percentage.
## Related documentation
* [Mount datasets in development environments and training jobs](./mount-datasets-in-workloads)
# Mount datasets in development environments and training jobs
Source: https://docs.scitix.ai/siverse/datasets/mount-datasets-in-workloads
Mount datasets provided by Siverse to JupyterLab, VS Code Server, or training jobs, then read the data in your code.
Code can read data through a path inside the container only after the dataset is mounted to a development environment or training job. When mounting, select a dataset that is available to the workload, specify a subdirectory as needed, and configure the container mount path.
## Mount paths and read/write boundaries
| Path | Example | Purpose |
| - | - | - |
| Data source directory | Team data directory in a Volume | Stores the actual input files. |
| Container mount path | `/mnt/datasets/corpus` | The path that code uses to read data in a development environment or training job. |
| Output directory | A separate writable Volume path | Stores training outputs, checkpoints, Notebooks, temporary files, and intermediate results. |
Mounting a dataset does not automatically modify scripts or convert data formats. The data paths in training scripts, Notebooks, or service code must match the container mount path.
* **Separate inputs and outputs**: Datasets are suitable as input data. We recommend writing training outputs, checkpoints, Notebooks, temporary files, and intermediate results to a writable Volume.
* **Mount a subdirectory as needed**: If a dataset contains multiple versions or subsets, you can mount only the portion you need. This reduces the number of path levels and helps code locate the target data.
* **Avoid overwriting critical directories**: Avoid mounting to image-provided directories such as `/opt`, `/workspace`, or `/usr`. Also avoid conflicts with other Volume, dataset, or model mount paths.
## Mount to a development environment
1. Create a [JupyterLab](../development/use-jupyterlab-development-environment) or [VS Code Server](../development/use-vscode-server-development-environment) development environment.
2. In the dataset mount configuration, select the target dataset and check its data version and source directory.

3. Select a subdirectory as needed and configure the container mount path.
4. Submit the creation request.
After the development environment starts, go to the mount path, list the directory contents, and read a small number of samples to confirm that the data is accessible. We recommend writing code, Notebooks, dependency caches, and intermediate results generated during development to a Volume.
## Mount to a training job
1. [Create a training job](../training/create-training-tasks).
2. In the dataset mount configuration, select the target dataset and check its data version and source directory.

3. Select a subdirectory as needed and configure the container mount path.
4. Submit the creation request.
After the job starts, the training script should read data from the mount path. Before running the full job, check the directory listing, read a few samples, and verify data loading. Store training outputs, checkpoints, and model files in a Volume to retain and reuse them after the job ends.
## Troubleshoot mount issues
If the dataset cannot be read inside the container, check the following in order:
1. Check that the target dataset is available to the workload in the current region and cluster.
2. Check that the region and cluster are consistent with, or accessible to, the development environment or training job.
3. Check that the subdirectory is specified correctly.
4. Check that the code's read path matches the container mount path.
5. Check that the mount path does not cover an image-provided directory or conflict with another mount path.
## Related documentation
* [Use preset datasets](./use-preset-datasets)
# Use preset datasets
Source: https://docs.scitix.ai/siverse/datasets/use-preset-datasets
Select public datasets maintained by Siverse and mount them in a development environment or training job for access.
Preset datasets are public datasets maintained by Siverse. You can select and mount one directly when creating a development environment or training job.
Before use, confirm that the preset dataset's **region**, **cluster**, and visibility scope meet the requirements of your task.
## Use preset datasets
1. Create a development environment or training job.
2. Select the target preset dataset in the dataset mount configuration.
3. If you need only part of the dataset, configure a subdirectory.
4. Specify the dataset mount path inside the container. Use a separate directory to avoid overwriting image-provided directories such as `/opt`, `/workspace`, or `/usr`.
5. Submit the create or update request.
## Verify read results
After the development environment or training job starts, go to the mount path in the container and confirm that your code can read the dataset contents.
Datasets are typically mounted as read-only inputs. If your code needs to write output files, cache files, or training artifacts, write them to a writable Volume.
If you cannot find the dataset contents, first check that the mount path is correct. If you mounted only a subdirectory, check that your code reads from the corresponding path inside the container.
## Next steps
* [Mount datasets in development environments and training jobs](./mount-datasets-in-workloads)
# MCP Access
Source: https://docs.scitix.ai/siverse/developer-access/mcp-access
Learn how to obtain the MCP URL, AK/SK, and client configuration entry in the Siverse console to integrate platform capabilities with MCP-compatible tools.
MCP Access connects Siverse capabilities to MCP-compatible clients or AI coding tools. Based on the current environment, the console displays the MCP URL, AK/SK authentication information, client configuration examples, and a list of commonly used tools.
This document describes only the MCP Access entry point and the information to note before use. For specific client commands and parameters, go to the [MCP Access](https://console.scitix.ai/siverse/mcp-access) page and copy the configuration generated for the current environment.
## Configure MCP Access
1. In the Siverse console, go to [**Developer Center > MCP Access**](https://console.scitix.ai/siverse/mcp-access).
2. View and copy the **MCP URL**.
3. In the **AK/SK Authentication** section, obtain the Access Key and Secret Key.
4. In the **Client Setup** section, select the appropriate client, such as Claude Code, Codex, or cURL.
5. Copy the client configuration or command generated by the console, and run it in your local client.
## Security Recommendations
* AK/SK are sensitive credentials. Do not include them in public repositories, documents, logs, or screenshots.
* After using an MCP client on a shared device or in a multi-user environment, ensure that other users cannot access the credentials.
* If you no longer use a client configuration, we recommend removing the associated credentials from that configuration.
* If you suspect that credentials have been compromised, rotate or disable them in the console as soon as possible.
# Development Environment Overview
Source: https://docs.scitix.ai/siverse/development/development-environments-overview
Learn about the JupyterLab and VSCS development environments in Siverse, and how they relate to compute resources, images, Volumes, datasets, and models.
A development environment is a managed, interactive workspace provided by Siverse for writing code, debugging programs, exploring data, and validating dependencies before submitting a training task. The platform supports two types of development environments: **JupyterLab** and **VSCS**.
Development environments run in a cluster and consume instance resources. Closing the browser only disconnects your access; it does not stop the environment. To release compute resources, stop the development environment in the console. For long-running or multi-node training tasks, we recommend debugging the code in the development environment before submitting the task.
## Select a Development Environment Type
| Type | Access method | Applicable scenarios |
| - | - | - |
| JupyterLab | Open the JupyterLab page in a browser. | Interactive notebook analysis, data exploration, visualization, single-GPU debugging, and lightweight experiments. |
| VSCS | Open VS Code in a browser, or connect using a local terminal, local VS Code, Cursor, or other tools after enabling SSH. | Multi-file project development, remote development with a local IDE, multi-GPU debugging, long-running debugging, and scenarios that require SSH. |
You can enable browser and SSH access to VSCS separately or at the same time. Both access methods connect to the same development environment and share the same files, Volumes, and mounted data.
## How Development Environments Relate to Resources
| Object | Relationship to the development environment | Considerations |
| - | - | - |
| Development environment | The JupyterLab or VSCS workspace you create. | When creating one, select a region, cluster, image, resource specifications, and mount configuration. |
| Instance resources and specifications | The CPU/GPU compute quota consumed while the development environment is running. | When you start or create an environment, the platform checks the resource pool quota. Resources requested by a single development environment must be schedulable on the same node. |
| Image | Determines the system environment, framework versions, dependency libraries, and development tools in the development environment. | Use validated images with fixed versions to prevent environment drift. |
| Volume | Stores code, Notebooks, dependency caches, output, and debugging artifacts persistently. | The workspace or default directory is only an access path. To retain files, write them to a mounted Volume. |
| Datasets and models | Usually mounted in the development environment as input for reading training data or model files. | Datasets and models are generally not used as output directories. Write output, caches, and intermediate results to a Volume. |
## Basic Usage Workflow
1. Prepare instance resources, storage resources, images, datasets, or models.
2. Choose **JupyterLab** or **VSCS** based on your development workflow.
3. Create a development environment. Configure its resource specifications, image, Volume, and dataset or model mounts.
4. When the environment is running, open JupyterLab or browser-based VS Code, or connect through SSH.
5. Develop and debug your code in the environment, and write any files you want to keep to the Volume.
6. When you finish debugging, stop, restart, update, clone, save an image, or delete the development environment as needed.
7. For stable operation, queue scheduling, fault tolerance, or multi-node training, submit the work as a training task.
## Usage Boundaries
* Stopping a development environment releases compute resources but retains its configuration and data saved to the Volume.
* Deleting a development environment removes its record and releases the resources it uses. Before deleting it, make sure important files have been saved to the Volume.
* Notebook files save only code and output; they do not save Python processes, GPU state, or training progress. Save checkpoints for long-running experiments.
* Saving an image lets you reuse installed system dependencies and tools, but does not back up mounted Volumes, process memory, or runtime state.
* Do not use overlapping mount paths or overwrite system directories in the image, such as `/opt`, `/workspace`, or `/usr`.
* Available resource pools, images, Volumes, datasets, and models may vary by region and cluster. Before creating a development environment, confirm that you can access the required resources.
## Related Documentation
* [Use the JupyterLab development environment](./use-jupyterlab-development-environment)
* [Use the VSCS development environment](./use-vscode-server-development-environment)
* [Create a training task](../training/create-training-tasks)
# Use the JupyterLab Development Environment
Source: https://docs.scitix.ai/siverse/development/use-jupyterlab-development-environment
Create, open, and manage JupyterLab development environments in Siverse for interactive Notebook development, data exploration, debugging, and validation.
JupyterLab development environments enable interactive Notebook development in a browser. You can select computing resources, images, Volumes, datasets, and models as needed to create an independent cloud-based development environment for data exploration, Notebook experiments, code debugging, and small-scale validation.
JupyterLab supports browser access only and does not support SSH login. To connect to a cloud environment through local VS Code, Cursor, or SSH, use a [VSCS development environment](./use-vscode-server-development-environment).
## Create a JupyterLab Development Environment
### 1. Go to the Creation Page
1. Go to **Develop > JupyterLab**.
2. Click **Create**.
### 2. Configure the Settings
#### Basic Information
| Configuration item | Description |
| - | - |
| Region and cluster | Determines where the development environment runs. After selection, the available resource specifications, images, Volumes, datasets, models, and other options change accordingly. We recommend selecting the same or a nearby cluster as your data, models, and computing resources to reduce latency caused by cross-region access. |
| Name | Used to identify the development environment in lists and details. The name must comply with platform validation rules. If a name conflict occurs during submission, use a different name and try again. |
| Project Group | Specify the Project Group to which the development environment belongs. |
| Public within Project Group | Controls whether other users in the Project Group can view this development environment in the list. After it is made public, computing resources, storage directories, and management actions remain subject to their respective permissions. |
#### Resource Information
| Configuration item | Description |
| - | - |
| Resource type | Select **Reserved**, **Ondemand**, or **Spot**. Different resource types affect the where resources come from, billing method, and interruption risk. |
| Instance | If you use **Reserved**, select an available resource pool. |
| Instance type | Select **GPU** or **CPU**. CPU is generally suitable for data exploration and lightweight script debugging. Select GPU when you need to run model training, validate inference, or perform GPU acceleration tasks. |
| Resource specification | Select a specification from the instance list. Resources requested by a development environment must fit on the same node. If you select multiple candidate specifications, they serve as alternative scheduling options for the same development environment and do not create multiple development environments. |
| Number of specifications per node | Configure the number of specifications requested by a single development environment. For example, if each specification includes two GPUs, selecting two specifications requests four GPUs, along with the corresponding CPU and memory resources. |
| Resource priority | When selecting multiple candidate specifications, sort them from highest to lowest priority. During scheduling, the system attempts the higher-priority specifications first. |
When you submit the request, the platform verifies the resource quota and resource pool availability. If the quota is insufficient, reduce the number of specifications, select another specification, or contact an administrator to expand capacity.
#### Environment Information
| Configuration item | Description |
| - | - |
| Image | Select **Preset**, **Custom**, or **Input** to determine the system environment, dependency libraries, and toolchain in the development environment. We recommend using validated images with fixed versions. When using a custom image or image input, ensure that the image includes `bash` and JupyterLab-related components. |
| Volume | Select the Volumes to mount and specify the mount path in the Pod. To retain code, Notebooks, output results, model files, or installed dependencies, mount a Volume and write important files to the Volume path. We recommend using directories that begin with `/volume` or `/mnt` as mount paths to avoid overwriting the root directory or default image directories such as `/opt`, `/workspace`, and `/usr`. |
| Dataset | Select the datasets to mount. You can mount a subdirectory as needed. Datasets are generally used as input and are not recommended as output directories. |
| Model | Select the models to mount. You can mount a subdirectory as needed. Models are generally used as input and are not recommended as output directories. |
| Command | Enter shell commands to run before JupyterLab starts. These commands can be used to set environment variables or prepare directories. Commands must complete successfully and support repeated execution. Long-running training loops, continuously running services, or commands that require manual input block JupyterLab from starting. For stable dependencies, we recommend baking them into the image. |
#### Advanced Configuration
| Configuration item | Description |
| - | - |
| Environment variables | Add environment variables as key-value pairs for use by startup commands, Notebooks, or programs in the development environment. They are commonly used for configuration settings, paths, or credentials. Use sensitive information with caution. |
| Time zone | Configure the local time zone used by programs and logs in the development environment. The default is `Asia/Shanghai`. This setting does not change the UTC cron requirement of the **Scheduled Start/Stop** panel. |
| Default directory | Configure the root directory that the file browser opens after you enter JupyterLab. This directory must exist and be accessible. Setting it too narrowly may prevent other mounted directories from appearing in the file tree. The default directory is only an access path and does not automatically create persistent storage. To retain files, mount a Volume to this directory or its parent directory. |
### 3. Submit the Creation Request
Click **Create** to submit the request. The development environment is created asynchronously, and you can view status changes in the list.
If the request is submitted successfully but the list is not refreshed immediately, refresh the list or search for the development environment name before creating another one. After the development environment enters the running state, we recommend confirming the actual instance, resource pool, image pull result, storage mounts, and service startup result in the details.
## Open JupyterLab
1. Go to **Develop > JupyterLab**.
2. Find the target development environment in the list.
3. Confirm that the development environment is running.
4. Click **Open**.
5. After entering JupyterLab, confirm that the default directory and the mount paths for Volumes, datasets, or models are as expected.
After entering JupyterLab, you can create Notebooks, scripts, terminals, or consoles. Closing the browser only disconnects access; it does not stop the development environment or release computing resources.

## Save Files, Dependencies, and Runtime Progress
Files, software environments, and program runtime states must be saved separately. Before rebuilding, stopping, rescheduling, or deleting a development environment, confirm how each type of output is saved.
| Content to save | Recommended method | Recovery method |
| - | - | - |
| Code and files | Save them to a mounted Volume and, when necessary, synchronize them to a code repository. | Remount the Volume or pull from the code repository. |
| Software dependencies | Save them as a custom image, or retain the Dockerfile, dependency list, and installation scripts. | Create a new environment using the custom image, or reinstall and verify dependencies according to the dependency list. |
| Execution progress | Have the program proactively save checkpoints or intermediate results. | Load the checkpoint after the program starts to resume execution. |
### Save Files and Outputs
Save Notebooks, code, dependency lists, outputs, and model files that need to be retained long term to a mounted Volume. Container local disks have limited capacity, and writing large amounts of data may cause the workload to be evicted by the system. Data written to the local disk may not be recoverable after the development environment is restarted, migrated, or deleted.
For example, after mounting a project Volume to `/mnt/workspace`, you can organize directories by purpose:
| Example path in the container | Content to save | Recommendations |
| - | - | - |
| `/mnt/workspace/project` | Source code, configurations, and dependency lists | Synchronize to a code repository or back up according to your team policy. |
| `/mnt/workspace/notebooks` | Notebook files and saved outputs | Save `.ipynb` files promptly to avoid retaining only unsaved browser state. |
| `/mnt/workspace/outputs` | Experiment results and checkpoints | Create separate subdirectories for different experiments to avoid overwriting historical results. |
A path name does not determine persistence; the key is whether it is within an active mount. Keep input data and output directories separate to avoid modifying shared data sources.
### Save Dependencies as an Image
If you install system dependencies, toolchains, or Python packages in a development environment and want to reuse them in a new environment, you can save the running development environment as a custom image.
1. Keep the source development environment in the running state.
2. Check that the container writable layer does not contain credentials, keys, temporary data, or sensitive files that should not be shared.
3. In the development environment actions, click **Save Image**, provide the image information, and submit it.
4. Keep the source development environment running during the save process. Avoid stopping, deleting, rescheduling, or making extensive dependency changes.
5. Confirm that the save succeeded in the custom image build records, then create a development environment using the new image and verify that key dependencies are available.
Existing build tasks, container size, and other conditions may limit image saving. If saving fails, check the custom image build logs to identify the cause. For long-term maintenance, it is still recommended that you retain the Dockerfile, dependency list, or installation scripts. Saving an image does not include mounted Volumes, process memory, or runtime state. Dependencies that exist only on mounted volumes require remounting the volume or installation according to the dependency list. For complete information about build records, logs, and image reuse, see [Build and manage custom images](../images/build-custom-images).
### Save Runtime Progress
Notebook files save only code, Markdown, and saved outputs; they do not save the complete Python process, GPU state, or training progress. Long-running experiments must save checkpoints in the program and resume from checkpoints after a restart.
Closing the browser only disconnects access and does not automatically stop the development environment. However, in-place restarts, rescheduling, stopping, automatic scale-in, or deletion interrupt Notebook, script, and terminal processes. Before performing these actions, save your files and runtime progress.
## View and Manage Development Environments
### View Status and Resources
On the **Develop > JupyterLab** list or details page, view the development environment status, resource specifications, actual instance, resource pool, runtime duration, and events to determine whether the development environment is ready, resources are sufficient, or it has been idle for an extended period.
If the development environment does not enter the running state, first check the status details and events. Then, follow the prompts to check resource quotas, image components, volume mount paths, startup commands, or environment variables.
> [!NOTE]
>
> In the storage information on the details page, you can view Pod ephemeral storage usage. Ephemeral storage is suitable for small amounts of disposable runtime files. Data that needs to be retained, such as notebooks, dependency caches, checkpoints, output results, or model files, should be written to a mounted Volume. For more information, see [Best practices for using ephemeral storage](../best-practices/use-ephemeral-storage).
### Manage the Lifecycle
After creation, you can perform lifecycle management actions for JupyterLab development environments from the list or details page.
#### Choose How to Start or Restart
When you need to reuse or restart a development environment, select an action based on its current status and your objective.
| Scenario | Recommended action | Checks after the action |
| - | - | - |
| The development environment has stopped and needs to be used again. | **Start** | Wait for the development environment to enter the running state, then reopen JupyterLab. |
| The development environment remains on the current Pod or node, and you only need to reset Notebook, script, or terminal processes. | **Restart In Place** | Reopen JupyterLab and check whether processes, files, and dependencies are as expected. |
| You need to revalidate resources, rebuild the environment, or recover an abnormal environment through rescheduling. | **Reschedule and Restart** | After the development environment is ready again, check the image, mount paths, runtime dependencies, and access entry point. |
#### Other Actions
* **Stop**: Stops the running development environment and releases compute resources. Development environment configurations and data written to Volumes are retained.
* **Update**: Modifies configurations such as the image, resource specifications, Volume mounts, dataset or model mounts, startup commands, and environment variables. Changes to resources, images, or mounts may affect operation, and some changes take effect only after a restart.
* **Clone**: Creates a new development environment based on the current configuration. Cloning does not copy the complete disk, process memory, or non-persistent data.
* **Save Image**: Saves the running development environment as a custom image for later reuse of installed dependencies and tools. The development environment may be temporarily unavailable during saving, so it is recommended to perform this action when no interactive operations are in progress.
* **Adjust Visibility**: Sets the development environment to private or public within the project group. Adjusting visibility does not affect the running state.
* **Delete**: Removes the development environment record and releases occupied resources. Deletion is irreversible. Before deleting, confirm that any data you need to retain has been saved to a Volume.
Some actions may be unavailable while queued or during status transitions. If an action fails or does not complete for an extended period, first check the status details and events. Do not repeatedly submit the same action.
## Configure Scheduled Start/Stop and Automatic Scale-In
A JupyterLab development environment continuously consumes compute resources while it is running. You can configure scheduled start/stop or automatic scale-in based on your usage habits to reduce idle resource consumption. If you need to run long-running experiments, first confirm whether relevant policies are enabled and save files and progress in advance.
### Configure Scheduled Start/Stop
Go to **Develop > JupyterLab**, and select **Scheduled Start/Stop** from the **More** actions for the target development environment.
Scheduled start/stop automatically starts or stops development environments according to recurring time rules and is suitable for development scenarios with fixed working hours. The panel uses a six-field cron expression: second, minute, hour, day, month, and day of week. The time zone is UTC.
| Target Beijing time | Converted UTC time | Cron example |
| - | - | - |
| Start at 09:00, Monday through Friday | 01:00 on the same day | `0 0 1 * * 1-5` |
| Stop at 18:00, Monday through Friday | 10:00 on the same day | `0 0 10 * * 1-5` |
When the schedule crosses midnight, you must also adjust the date or day of the week. The timezone setting in the development environment does not change the UTC requirement of the **Scheduled Start/Stop** panel. After submission, you can verify through events whether the schedule runs as expected. Scheduled startup still requires waiting for resource scheduling to complete.
### Configure Automatic Scale-In
Go to **Develop > JupyterLab**, and select **Automatic Scale-In** from the **More** actions for the target development environment.
Automatic scale-in determines whether to stop a development environment based on GPU utilization and an observation window. CPU development environments are currently not supported. Automatic scale-in does not automatically restart the development environment after it is triggered. To continue using it, start it manually or use a scheduled start/stop plan.
| Evaluation method | Observed value | Configuration considerations |
| - | - | - |
| `MaxOverTime` | The maximum GPU utilization within the window. | Brief utilization spikes also affect the evaluation. This method is suitable when you want to retain occasional GPU activity. |
| `AvgOverTime` | The average GPU utilization within the window. | Extended periods of low utilization reduce the average. This method is suitable for reclaiming resources based on overall idle time. |
When setting the window and threshold, consider data loading, CPU preprocessing, and normal debugging wait times. During these stages, the GPU may be idle while the program is still running. The current control flow may also scale the environment down to 0 when no monitoring samples are available. Before enabling this feature, save your files and progress, and determine how you will resume work afterward.
## Debug Distributed Tasks with JupyterLab
If you need to temporarily validate a distributed training script in a Notebook environment, you can create multiple JupyterLab development environments and run `torchrun` in the terminal of each environment using the same primary-node address and port. You can obtain the primary-node address in the primary-node environment by running `echo $POD_IP`.
```bash theme={null}
# Primary node
torchrun --master_addr --master_port 23457 \
--nnodes 2 --nproc_per_node 1 --node_rank 0 trainer.py
# Other nodes
torchrun --master_addr --master_port 23457 \
--nnodes 2 --nproc_per_node 1 --node_rank 1 trainer.py
```
Ensure that `--master_addr`, `--master_port`, `--nnodes`, and `--nproc_per_node` are consistent across all nodes. Set `--node_rank` according to the node order. For formal large-scale training, workloads that require queue scheduling, or scenarios requiring more reliable fault tolerance, we recommend using Training.
## FAQs
> [accordion] What should I do if a development environment remains queued for a long time or fails to be created?
>
> View the status details and events to confirm that the selected resource specification, remaining quota, and pool availability meet the requirements. If the quota is insufficient, reduce the number of specifications, switch to a different specification, or contact an administrator to expand capacity.
> [accordion] What should I do if JupyterLab cannot be opened or repeatedly restarts?
>
> Confirm that the development environment is running, and check whether the image includes `bash` and JupyterLab-related components. Then check the startup command, environment variables, and mount path. Ensure that the initialization command has exited normally and that no continuously running service or command waiting for manual input is blocking startup.
> [accordion] What should I do if Volume, dataset, or model paths are unavailable?
>
> Confirm that mount objects and mount paths in the Pod are configured in matching pairs. Ensure that mount paths do not overwrite system directories or conflict with other mount paths. If a mount directory cannot be written to, check directory permissions, read/write access, capacity, and limits.
> [accordion] What should I do if importing packages in a Notebook fails?
>
> Confirm that the Kernel used by the Notebook is the same interpreter used to install the dependencies. If dependencies are installed in a container-local path, they may need to be reinstalled after restarting, migrating, or creating a new environment. We recommend incorporating stable dependencies into the image or retaining a dependency list.
> [accordion] What should I do if files, extensions, or dependencies are missing after a restart?
>
> First, confirm whether files and configurations have been written to Volume. Notebook files, code, extension configurations, dependency caches, and output results must be persisted separately. Saving an image does not back up mounted Volume data or process state.
> [accordion] What information should I provide when requesting support?
>
> Provide the development environment type and ID, region and cluster, time of occurrence, status details, image information, and sanitized error messages. Do not send private keys, access keys, or complete links containing authentication information.
## Related Documentation
* [Use a VSCS Development Environment](./use-vscode-server-development-environment)
* [Create and use storage volumes](../resources/create-and-use-storage-volumes)
* [Mount Datasets in Development Environments and Training Tasks](../datasets/mount-datasets-in-workloads)
* [Create Training Tasks](../training/create-training-tasks)
# Use the VSCS Development Environment
Source: https://docs.scitix.ai/siverse/development/use-vscode-server-development-environment
Create, access, and manage VSCS development environments in Siverse, and configure browser-based VS Code access, SSH connections, and remote development directories.
VSCS stands for VS Code Server and is used to run a VS Code development environment in the cloud. You can open VS Code in a browser, or enable SSH access to connect to the development environment from a local terminal, local VS Code, Cursor, or similar tools.
VSCS is suitable for multi-file project development, remote connections from local IDEs, long-running debugging, and reusing editor extension configurations. If you only need interactive Notebook analysis, you can use a [JupyterLab development environment](./use-jupyterlab-development-environment).
## Choose an Access Method
* **Browser-based VS Code**: After the development environment is running, open the VS Code page in a browser. This method is suitable for installation-free, lightweight development and temporary debugging.
* **SSH connection**: Connect to the development environment remotely through a local SSH client or local IDE. This method is suitable for local toolchains, remote development, and multi-file project development.
You can enable either method separately or enable both at the same time. Both methods access the same development environment and share the same files, Volume, and mounted data. If you require SSH access, prepare an SSH public key and securely store the corresponding private key.
## Prepare an SSH Public Key
If you only use browser-based VS Code, you can skip this section. If you need to connect to VSCS through SSH or a local IDE, prepare an SSH public key first.
If you do not yet have an SSH key pair, generate one locally:
```bash theme={null}
ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa -N ""
cat ~/.ssh/id_rsa.pub
```
When creating a VSCS development environment or managing SSH keys, enter only the SSH public key. Do not upload or paste the private key.
To save commonly used SSH public keys in advance, go to **Develop > VSCS** and open **SSH Key Management**. Click **Create**, then enter the SSH public key and an identifiable title, such as the device name or intended use.
## Create a VSCS Development Environment
### 1. Go to the Creation Page
1. Go to **Develop > VSCS**.
2. Click **Create**.
### 2. Configure the Settings
#### Basic Information
| Configuration item | Description |
| - | - |
| Region and cluster | Determines where the development environment runs. Available resource specifications, images, Volumes, datasets, models, and other options vary according to the selected region and cluster. We recommend selecting a cluster in the same region as your data, models, and compute resources or one nearby. |
| Name | Used to identify the development environment in the list and details pages. The name must comply with platform validation rules. If a name conflict is reported during submission, change the name and try again. |
| Project Group | Specify the Project Group to which the development environment belongs. |
| Public within Project Group | Controls whether other users in the Project Group can view the development environment in the list. After it is made public, compute resources, storage directories, and management actions remain controlled by their respective permissions. |
#### Resource Information
| Configuration item | Description |
| - | - |
| Resource type | Select **Reserved**, **Ondemand**, or **Spot**. Different resource types affect the resource source, billing method, and interruption risk. |
| Instance | If you use **Reserved**, select an available resource pool. |
| Instance type | Select **GPU** or **CPU**. For code editing, dependency installation, and lightweight debugging, you can usually select CPU. Select GPU when you need to run model training, validate inference, or perform GPU-accelerated tasks. |
| Resource specification | Select a specification from the instance list. The resources requested by a development environment must fit on a single node. If you select multiple candidate specifications, they are alternative scheduling options for the same development environment and do not create multiple development environments. |
| Number of specifications per node | Configure the number of specifications requested by a single development environment. For example, if each specification includes two GPUs, selecting two specifications requests four GPUs, along with the corresponding CPU and memory resources. |
| Resource priority | When selecting multiple candidate specifications, arrange them from highest to lowest priority. During scheduling, the platform attempts the higher-priority specifications first. |
When you submit the request, the platform validates the resource quota and resource pool availability. If the quota is insufficient, reduce the number of specifications, select a different specification, or contact an administrator to expand the quota.
#### Environment Information
| Configuration item | Description |
| - | - |
| Access method | Select **VSCS**, **SSH**, or enable both methods. When enabling SSH, select or enter an SSH public key. Store the private key only on a locally controlled device. |
| Workspace directory | Configure the default working directory opened after entering VSCS. The workspace directory is only a path setting and does not automatically create persistent storage. We recommend pointing it to a mounted Volume path; otherwise, files may be lost after a restart, migration, or creation of a new environment. |
| Image | Select **Preset**, **Custom**, or **Input** to determine the system environment, dependency libraries, and development tools in the development environment. We recommend using validated images with fixed versions and confirming the required image components based on the access method. |
| Volume | Select the Volume to mount and enter its mount path in the Pod. To retain code, extension configurations, dependency caches, output results, or model files, mount a Volume and save important files to its path. We recommend using directories beginning with `/volume` or `/mnt` as mount paths to avoid overwriting the root directory or default image directories such as `/opt`, `/workspace`, and `/usr`. |
| Dataset | Select the dataset to mount. You can mount a subdirectory as needed. Datasets are typically used as input and are not recommended as output directories. |
| Model | Select the model to mount. You can mount a subdirectory as needed. Models are typically used as input and are not recommended as output directories. |
| Command | Enter shell commands to run before VSCS starts. These commands can be used to set environment variables or prepare directories. Commands must complete successfully and support repeated execution. Long-running training loops, continuously running services, or commands that require manual input will block VSCS startup. For stable dependencies, we recommend including them in the image. |
We recommend that VSCS images include the following components:
* `bash`: The platform startup script depends on `bash`. If it is missing, the development environment may fail to start.
* `code-server`: Required when browser-based VS Code access is enabled. We recommend preinstalling it in the image to reduce startup time and improve stability.
* `openssh-server` or `sshd`: Required when SSH access is enabled.
* `wget` or `curl`: When local VS Code, Cursor, or similar tools connect through Remote-SSH for the first time, the remote IDE may need to download server components.
If the image does not include `code-server` or SSH-related components, the platform may attempt to inject them at startup. To reduce startup time and improve stability, we recommend preinstalling the required components in the image.
#### Advanced Configuration
| Configuration item | Description |
| - | - |
| Environment variables | Add environment variables as key-value pairs for use by startup commands, terminals, or programs in the development environment. They are commonly used for configuration settings, paths, or credentials. Use sensitive information with caution. |
| Time zone | Configure the local time zone used by programs and logs in the development environment. The default is `Asia/Shanghai`. This configuration does not change the UTC cron requirement of the **Scheduled Start/Stop** panel. |
### 3. Submit the Creation Request
Click **Create** to submit the request. The development environment is created asynchronously, and you can view status changes in the list.
If the request is submitted successfully but the list does not refresh immediately, first refresh the page or search for the development environment by name to avoid creating duplicates. After the development environment enters the running state, we recommend confirming the actual instance, resource pool, image pull result, storage mounts, and service startup result on the details page.
## Access a VSCS Development Environment
### Open VS Code in a Browser
1. Go to **Develop > VSCS**.
2. Find the target development environment in the list.
3. Confirm that the development environment is running and that the **VSCS** access method is enabled.
4. Click **Open**.
After it opens, you will enter browser-based VS Code. Closing the browser only disconnects access; it does not stop the development environment or release compute resources.

### Connect through SSH or a Local IDE
1. Go to **Develop > VSCS**.
2. Open the details page of the target development environment and copy the current SSH connection information.
3. Use the corresponding private key to connect from a local terminal, local VS Code, Cursor, or a similar tool.
If the connection fails after a restart or rescheduling, use the current connection information on the details page as the authoritative source, and check whether your local SSH configuration still points to the old address or port.
After connecting, confirm that the workspace directory, Volume, dataset, and model mount paths meet your expectations. If you need to reuse the server components, extensions, and user configuration of your local IDE, it is recommended that you store them in a mounted Volume.
## Save Files, Dependencies, and Execution Progress
Files, editor settings, software environments, and program execution states must be saved separately. Before rebuilding, stopping, rescheduling, or deleting a development environment, confirm how each type of output will be preserved.
| Content to save | Recommended storage method | Recovery method |
| - | - | - |
| Code and files | Save them to a mounted Volume and, when necessary, synchronize them to a code repository. | Remount the Volume or pull the files from the code repository. |
| Editor settings and extensions | Point the user configuration directory, extension directory, or remote IDE component directory to a persistent directory that you can write to. | Mount the same directory in the new environment, and verify that the extensions and remote components are compatible with the image, architecture, and IDE version. |
| Software dependencies | Save them as a custom image, or retain the Dockerfile, dependency manifest, and installation scripts. | Create a new environment using the custom image, or reinstall and validate the dependencies based on the dependency manifest. |
| Execution progress | Have the program actively save checkpoints or intermediate results. | Load the checkpoint after the program starts to resume execution. |
### Save Files and Output
Code, dependency manifests, output results, and model files that need to be retained long term should be saved to a mounted Volume. Container local disks have limited capacity, and writing large amounts of data may cause the workload to be evicted by the system. Data written to the local disk may not be recoverable after the development environment is restarted, migrated, or deleted.
For example, after mounting a project Volume to `/mnt/workspace`, you can organize directories by purpose:
| Example container path | Stored content | Usage recommendation |
| - | - | - |
| `/mnt/workspace/project` | Source code, configuration, and dependency manifests | Synchronize to a code repository or back up according to your team's policy. |
| `/mnt/workspace/outputs` | Experiment results and checkpoints | Use separate subdirectories for different experiments to avoid overwriting historical results. |
| `/mnt/workspace/notebooks` | Notebook files and saved outputs | If you also edit Notebooks in VSCS, save the `.ipynb` files promptly. |
A path name does not determine whether data is persistent; what matters is whether the path is within a valid mount. It is recommended that you separate input data from output directories to avoid modifying shared data sources.
### Save Editor Settings and Extensions
If you want to continue reusing editor settings, remote IDE components, or extensions after rebuilding an environment, point the relevant configuration directories to a persistent directory that you can write to when creating or updating a VSCS development environment.
| Usage method | Configuration recommended for persistence |
| - | - |
| Browser-based VS Code | User configuration directory and extension directory. |
| SSH + local VS Code or Cursor | Remote server components, remote user configuration directory, and extension directory for the relevant tool. |
Use different directories for different tools. Multiple users should not share the same writable configuration directory. After changing the image, system architecture, or IDE version, check the compatibility of saved extensions and remote components again.
### Save Dependencies as an Image
If you install system dependencies, toolchains, or Python packages in a development environment and want to reuse them in a new environment, you can save the running development environment as a custom image.
1. Keep the source development environment in the running state.
2. Check that the container writable layer does not contain credentials, keys, temporary data, or sensitive files that should not be shared.
3. In the development environment actions, click **Save Image**, enter the image information, and submit it.
4. Keep the source development environment running during the save process. Avoid stopping, deleting, rescheduling, or making substantial additional dependency changes.
5. Go to the custom image build records to confirm that the save was successful. Then create a development environment using the new image and verify that the key dependencies are available.
Existing build tasks, container size, and other conditions may restrict image saving. If saving fails, view the custom image build logs to identify the cause. For environments maintained over the long term, retain the Dockerfile, dependency manifest, or installation scripts. A saved image does not include mounted Volumes, process memory, or execution state. Dependencies that exist only in mounted Volumes require remounting the Volumes or installation based on the dependency manifest. For complete information about build records, logs, and image reuse, see [Build and Manage Custom Images](../images/build-custom-images).
### Save Execution Progress
Terminal processes, debugging sessions, and GPU execution states are not automatically saved when the browser or SSH connection is disconnected. For long-running experiments, save checkpoints in the program and resume from them after a restart.
Closing the browser or disconnecting SSH only disconnects access and does not automatically stop the development environment. However, an in-place restart, rescheduling, stopping, automatic scale-in, or deletion interrupts processes. Save files and execution progress before performing any of these operations.
## View and Manage Development Environments
### View Status and Resources
On the **Develop > VSCS** list or details page, view the development environment status, resource specifications, actual instance, resource pool, running duration, and events to determine whether the environment is ready, whether resources are sufficient, or whether it has been idle for an extended period.
If the development environment does not enter the running state, first check the status details and events. Then, based on the displayed guidance, check the resource quota, image components, Volume mount path, startup command, environment variables, or access method configuration.
> [!NOTE]
>
> In the storage information section on the details page, you can view Pod ephemeral storage usage. Ephemeral storage is suitable for small amounts of disposable runtime files. Data that must be retained, such as code, plug-in configurations, dependency caches, debugging output, or model files, should be written to a mounted Volume. For more information, see [Best practices for using ephemeral storage](../best-practices/use-ephemeral-storage).
### Manage the Lifecycle
After creation, you can perform lifecycle management operations on a VSCS development environment from the list or details page.
#### Choose a Start or Restart Method
When you need to reuse or restart a development environment, select an operation based on its current status and your objective.
| Scenario | Recommended operation | Check after the operation |
| - | - | - |
| The development environment has stopped and needs to be used again. | **Start** | Wait for the development environment to enter the running state, then retrieve the current connection information. |
| The development environment is still on the current Pod or node, and you only need to reset terminal processes or the remote IDE session. | **Restart In Place** | Reconnect to VSCS and verify that processes, files, and dependencies meet your expectations. |
| You need to revalidate resources, rebuild the environment, or recover an abnormal environment through rescheduling. | **Reschedule and Restart** | Wait for the development environment to become ready again, then check the image, mount paths, runtime dependencies, and current connection information. |
#### Other Operations
* **Stop**: Shuts down the running development environment and releases compute resources. The development environment configuration and data written to Volumes are retained.
* **Update**: Modifies the image, resource specifications, Volume mounts, dataset or model mounts, startup command, environment variables, access method, or workspace directory configuration. Changes to resources, images, or mounts may affect execution, and some changes take effect only after a restart.
* **Clone**: Creates a new development environment based on the current configuration. Cloning does not copy the complete disk, process memory, or non-persistent data.
* **Save Image**: Saves the running development environment as a custom image for later reuse of installed dependencies and tools. The development environment may be temporarily unavailable during the save process. Perform this operation when no interactive work is in progress.
* **Adjust Visibility**: Sets the development environment to private or visible within the Project Group. Adjusting visibility does not affect the running state.
* **Delete**: Removes the development environment record and releases occupied resources. Before deletion, confirm that any data you need to retain has been saved to a Volume.
Some operations may be unavailable while the environment is queued or transitioning between states. If an operation fails or does not complete for an extended period, first check the status details and events. Do not repeatedly submit the same operation.
## Configure Scheduled Start/Stop and Automatic Scale-In
Keeping a VSCS development environment running for an extended period continuously consumes compute resources. You can configure scheduled start/stop or automatic scale-in based on your usage patterns to reduce idle resource consumption. If you need to run long-running experiments, first confirm whether the relevant policies are enabled, and save your files and progress in advance.
### Configure Scheduled Start/Stop
Go to **Develop > VSCS**, and select **Scheduled Start/Stop** from the **More** actions for the target development environment.
Scheduled start/stop automatically starts or stops development environments according to recurring time rules and is suitable for development scenarios with fixed working hours. The panel uses a six-field cron expression: second, minute, hour, day, month, and day of week. The time zone is UTC.
| Target Beijing time | Converted UTC time | Example cron expression |
| - | - | - |
| Start at 09:00, Monday through Friday | 01:00 on the same day | `0 0 1 * * 1-5` |
| Stop at 18:00, Monday through Friday | 10:00 on the same day | `0 0 10 * * 1-5` |
When the schedule crosses midnight, you must also adjust the date or day of week. The time zone setting in the development environment does not change the UTC requirement of the **Scheduled Start/Stop** panel. After submission, you can verify through events whether the schedule runs as expected. Scheduled starts still require time for resource scheduling to complete.
### Configure Automatic Scale-In
Go to **Develop > VSCS**, and select **Automatic Scale-In** from the **More** actions for the target development environment.
Automatic scale-in determines whether to stop a development environment based on GPU utilization and an observation window. CPU-only development environments are currently not supported. Automatic scale-in does not automatically restart the development environment after it is triggered. To continue using it, start it manually or use a scheduled start/stop plan.
| Evaluation method | Observed value | Configuration considerations |
| - | - | - |
| `MaxOverTime` | The maximum GPU utilization within the window. | Brief utilization spikes also affect the evaluation. This method is suitable when you want to retain occasional GPU activity. |
| `AvgOverTime` | The average GPU utilization within the window. | Extended periods of low utilization reduce the average. This method is suitable for reclaiming resources based on overall idle time. |
When setting the window and threshold, consider data loading, CPU preprocessing, and normal debugging wait times. During these stages, the GPU may be idle while the program is still running. The current control flow may also scale the environment down to 0 when no monitoring samples are available. Before enabling this feature, save your files and progress, and determine how you will resume work afterward.
## Resolve Remote IDE Component Download Failures
Some GPU nodes cannot access the internet. When local VS Code, Cursor, or similar tools first connect through Remote-SSH, they may need to download server components or extensions on the remote end. If the target GPU node cannot access the internet, the connection may stall during the download phase.
You can use an internet-enabled CPU development environment to pre-download the required components, then switch to the target GPU resource specification:
1. Create an SSH-enabled CPU development environment and mount a persistent Volume.
2. Set the user configuration directory and extension installation directory to paths in that Volume.
3. Use local VS Code or Cursor to connect to the CPU development environment through Remote-SSH, allowing the remote IDE to download server components to the Volume.
4. Update the resource specification to the target GPU resource specification while retaining the same Volume, user configuration directory, and extension installation directory.
5. Connect to the development environment again from the local IDE. The components already downloaded to the Volume can then be reused.
Both the CPU and GPU stages must mount the same Volume and use identical user configuration directory and extension installation directory paths.
## FAQs
> [accordion] What should I do if a development environment remains queued for a long time or fails to be created?
>
> Check the status details and events to confirm that the selected resource specification, remaining quota, and pool availability meet the requirements. If the quota is insufficient, reduce the number of specifications, switch to a different specification, or contact an administrator to expand capacity.
> [accordion] What should I do if browser-based VS Code cannot be opened?
>
> Confirm that the development environment is running and that the **VSCS** access method is enabled. If it repeatedly restarts, check whether the image includes `code-server`, and review the startup command, environment variables, and mount path.
> [accordion] What should I do if an SSH connection times out?
>
> Confirm that the **SSH** access method is enabled and use the current connection information shown on the development environment details page. Then check whether your local network, target port, and local SSH configuration are reachable.
> [accordion] What should I do if SSH displays Permission denied (publickey)?
>
> Confirm that the platform is configured with a public key and that the matching private key is used locally. Also check the username, private key path, and connection information used by your local IDE or SSH client.
> [accordion] What should I do if SSH displays remote host identification has changed?
>
> After confirming that the connection address comes from the console details page, clear the old local record and reconnect.
>
> ```bash theme={null}
> ssh-keygen -R "[]:"
> ```
> [accordion] What should I do if my local IDE stalls while downloading server components on the first connection?
>
> Confirm whether the node hosting the development environment can access the internet. If it cannot, first use an internet-enabled CPU development environment to pre-download for offline use, then switch to the target GPU resource specification while retaining the same Volume, user configuration directory, and extension installation directory.
> [accordion] What should I do if files, extensions, or dependencies are missing after a restart?
>
> First confirm that files and configurations were written to the Volume. Code, extension configurations, dependency caches, and output results must be persisted separately. Saving an image does not back up the mounted Volume or process state.
> [accordion] What information should I provide when requesting support?
>
> Provide the development environment type and ID, region and cluster, time of occurrence, status details, image information, access method, and sanitized error information. Do not send private keys, access keys, or complete links containing authentication information.
## Related Documentation
* [Use a JupyterLab Development Environment](./use-jupyterlab-development-environment)
* [Create and use storage volumes](../resources/create-and-use-storage-volumes)
* [Mount Datasets in Development Environments and Training Tasks](../datasets/mount-datasets-in-workloads)
# Cannot Find an Entry, Resource, or Object
Source: https://docs.scitix.ai/siverse/faq/cannot-find-entry-resource-or-object
Troubleshoot issues where the entry for creating an item is not visible, an object cannot be found in the list, or a resource pool or Volume cannot be selected during creation.
This page is used to troubleshoot visibility scope, filter criteria, resource status, and authorization settings. An object being visible on a page does not necessarily mean that the current account can use it in the creation form.
## Cannot Find the Create Entry Point, or the Object Is Not Visible in the List
These issues are usually related to the current viewing scope, filter criteria, or account permissions. Check them in the following order:
1. Confirm the currently logged-in tenant and the list filter criteria selected on the page, such as region, cluster, and project group.
2. Check whether you have opened the correct tab, such as Personal Objects, Shared Objects, or the tab for the corresponding resource type.
3. Clear the filter criteria for name, status, owner, and so on, then search again and refresh the list.
4. If other users can see the object, ask an administrator to confirm the current account's role permissions, project group visibility scope, and object authorization.
Object links or IDs can only help locate objects; they do not grant permission to view or operate on them. If the project group scope does not meet expectations, see [Manage project groups](../configuration/manage-project-groups).
## The Resource Pool Is Visible, but Cannot Be Selected When Creating a Form
A resource pool appearing in the resource list only indicates that the current account can view it; it does not mean that the account already has permission to use it.
Before creating a workload, the resource pool status, workload type, user authorization, and quota requirements must also be met.
1. Open the details page of the target resource pool and confirm that the resource pool is ready.
2. Confirm that the resource pool supports the current workload type, such as a development environment, training task, or inference service.
3. On the **User Information** tab, confirm that the current user has been authorized and check the personal quota.
4. Return to the creation form and confirm that the filter criteria, including region, cluster, resource type, and instance specification, are consistent with the resource pool.
When the total quota of a resource pool is insufficient, workloads may be unable to use that resource pool even if individual quota remains available.
If necessary, apply for access through **Instance**, or contact the resource pool administrator.
For complete configuration and inspection procedures, see [Managing compute resource pools and quotas](../resources/manage-resource-pools-and-quotas).
## The volume appears in the list, but cannot be selected when creating a task
A Volume being visible does not necessarily mean that the current workload can mount it. Focus on checking the execution location, Volume status, and directory permissions:
1. Ensure that the workload and the Volume are located in the same region and cluster.
2. Ensure that the Volume has been created and is in an available state.
3. Ensure that the current account has permission to use the Volume or the target directory.
4. If directory-level permissions are enabled for the Volume, ensure that there is a public directory, custom subdirectory, or user directory that the current user can mount.
If you have just adjusted authorization or directory rules, refresh the creation form and make your selections again.
For information on creating and mounting Volumes, see [Create and use storage volumes](../resources/create-and-use-storage-volumes). For directory authorization rules, see [Configure Volume Directory-Level Permissions](../resources/configure-volume-directory-permissions).
# File, Image, and Development Environment Issues
Source: https://docs.scitix.ai/siverse/faq/files-images-and-development-environment-issues
Troubleshoot image build or pull failures, file mounting issues, lost development environment content, and VSCS SSH connection failures.
This page is used to troubleshoot workload runtime environment and file access issues. First, determine whether the issue occurs during image preparation, storage mount, persistence configuration, or SSH connection.
## Image Pull or Build Failed
First confirm whether the issue occurs when the workload pulls an image or during a custom image build.
**Image Pull Failed**
1. Check the specific error message in the workload **Event**.
2. Check the image address and version, the image URLs available to the target cluster, and repository access permissions.
**Custom Image Build Failed**
1. If a build task remains queued for a long time, check the build resources, resource pool availability, personal quota, and scheduling information.
2. If the build fails, first review the **build logs** to determine whether the issue originates from the base image, Dockerfile, dependency installation, file paths, or command execution.
3. If installation with `apt` or `pip` fails, verify the package name, pinned version, package source, network, and base environment compatibility.
After correcting the confirmed configuration issues, rebuild instead of merely increasing the number of retries. For the complete procedure, see [Build Custom Images](../images/build-custom-images).
## Files Cannot Be Found After Mounting, or Are Read-Only
Mounting issues usually arise from inconsistencies in the source directory, the path inside the container, directory permissions, or capacity limits.
1. Confirm that the source directory actually contains the target file.
2. Verify the mapping between the source directory and the container mount path; the code should use the in-container path to access the file.
3. Check whether the Volume or directory permissions are read-only or read-write, and confirm that the directory-level permissions cover the target directory.
4. If files can be read but not written, also check the remaining Volume capacity and the user directory quota.
Datasets are typically used as read-only input. Training outputs, checkpoints, Notebooks, and temporary files should be written to a separate writable Volume.
For Volume mounting, see [Create and use storage volumes](../resources/create-and-use-storage-volumes); for dataset mounting, see [Mount Datasets in Development Environments and Training Jobs](../datasets/mount-datasets-in-workloads).
## Files, Plugins, or Dependencies Missing After Restart
Container-local files and process memory are not automatically preserved after a restart. Therefore, files and dependencies in the development environment that have not been written to persistent storage may be lost after a restart, rescheduling, or recreation. Choose a storage method based on the content type:
| Content | Recommended storage method |
| - | - |
| Code, notebooks, results, and checkpoints | Write them to a mounted Volume, and synchronize them to the code repository when necessary. |
| Editor settings and extensions | Configure the relevant directories to use writable persistent paths, and verify before restarting that the settings have indeed been written to those paths. |
| System dependencies, toolchains, and Python packages | Save them in a custom image, or retain the Dockerfile, dependency manifest, and installation scripts. |
## VSCS SSH Cannot Connect or Still Fails After Updating the Public Key
First confirm the development environment and connection details, then check the local key:
1. Confirm that the VSCS development environment is ready and that **SSH** access was enabled when it was created.
2. Return to the current development environment details page and use the latest displayed address, port, and username. Do not reuse connection information from an old environment or previous session.
3. Confirm that the private key used by the local SSH client matches the public key stored on the platform.
4. If a `publickey` error occurs, check the local private key path, file permissions, and SSH configuration. Do not upload the private key or disable host and key verification.
5. After modifying the public key, wait approximately `1` minute, then retrieve the connection information from the details page again. If the connection still fails, continue troubleshooting based on the development environment status and SSH client error.
For key preparation, configuration creation, and connection methods, see [Using the VSCS Development Environment](../development/use-vscode-server-development-environment).
# Queued, Failed to Start, or Making No Progress
Source: https://docs.scitix.ai/siverse/faq/queued-startup-failure-or-no-progress
Troubleshoot issues where workloads remain queued for a long time, instances do not become ready, or training jobs make no progress after starting.
This page helps distinguish issues occurring during resource scheduling, environment preparation, and program execution. First, use status details and events to identify the stage at which the issue occurred, then review the relevant configuration or logs.
## Why Is the Task Still Queued When There Is Remaining Quota?
Quota only specifies how many resources may be used. Actual scheduling also requires that the resource pool be ready, the workload type be compatible, the capacity of a single node meet the requirements of a single replica, and that both node and network topology conditions be satisfied. Therefore, having remaining quota does not mean that schedulable resources matching the task configuration are currently available.
1. Open the task details and check **Status** and **Event** to determine whether there are any messages indicating quota, resource pool, instance specification, or node scheduling issues.
2. Verify your personal quota, the total quota of the resource pool, and the resource pool status.
3. Confirm that the resource pool supports the current workload type and that the instance specification and number of replicas selected for the task comply with the resource pool configuration.
4. If the task is configured with candidate specifications, resource guarantees, or node scheduling policies, confirm that these constraints have not further reduced the available resource scope.
5. Check the current resource utilization in the Resource Dashboard and Task Dashboard to determine whether you need to wait for resources to be released, adjust the task configuration, or scale out the resource pool.
> [!TIP]
>
> When viewing **schedulable capacity**, do not confuse `0` with a query failure: `0` means that no replicas can be scheduled under the current criteria; if “—” is displayed, loading is still in progress, or the request returns an error, the result is unreliable. Refresh the page before making a judgment.
For the complete troubleshooting procedure, see [Troubleshoot insufficient task resources or long queue times](../resources/troubleshoot-insufficient-resources-or-queued-tasks).
## Submission Succeeded, but the Instance Remains Not Ready
A successful submission only indicates that the platform has received the creation request. The instance must still complete resource scheduling, image pulling, storage mount, and application startup.
1. View **Event** to determine whether the instance is stuck in scheduling, image pulling, Volume mounting, or startup.
2. If the events indicate insufficient resources or queuing, follow [Troubleshoot Insufficient Task Resources or Long Queue Times](../resources/troubleshoot-insufficient-resources-or-queued-tasks) to check the resource pool and quota.
3. If the events indicate an image or mounting issue, verify the image address, version, repository access, Volume status, source directory, and container mount path.
4. If the instance has started but is still not ready, review the system logs and application logs, and check the startup command, environment variables, ports, or health checks.
If the list does not refresh immediately, first search by name or refresh the page. Confirm that the object was not created successfully before resubmitting to avoid creating duplicate objects.
## Training Is Running, but Training Steps Are Not Progressing
A task entering the running state only indicates that resources have been allocated and the training process has started; it does not mean that training computation is progressing normally.
1. In **Status**, verify whether each Pod is ready and whether any replica has an abnormal status.
2. Check the logs of each replica to determine whether the task is stuck during distributed initialization, data reading, communication waiting, or execution of the training program itself.
3. Combine **Monitoring** with user logs to confirm whether training steps, loss, or business metrics continue to change, and whether checkpoints and output files are still being written to the persistent Volume.
For detailed symptoms and handling methods, see [Troubleshoot Training Task Issues](../training/troubleshoot-training-tasks).
# Quickly Locate Issues
Source: https://docs.scitix.ai/siverse/faq/quickly-locate-problems
Find common issues in Siverse by symptom, and learn what information to prepare when submitting a support request.
When an issue occurs, first navigate to the relevant page based on the observed symptoms. The FAQ provides quick assessments and priority checks; for parameter descriptions, complete procedures, and in-depth troubleshooting methods, refer to the linked dedicated documentation.
## Select Issues by Symptom
| Issue | Documentation |
| - | - |
| The creation entry is not visible, the object cannot be found in the list, or a resource pool or Volume cannot be selected during creation | [Cannot Find an Entry, Resource, or Object](./cannot-find-entry-resource-or-object) |
| A workload remains queued for a long time, an instance does not become ready, or training makes no progress | [Queued, Startup Failure, or No Progress](./queued-startup-failure-or-no-progress) |
| Image build or pull fails, file mounting is abnormal, development environment content is lost, or SSH cannot connect | [Files, Images, and Development Environment Issues](./files-images-and-development-environment-issues) |
| Service requests fail, traffic still cannot be handled after scaling, releases are risky, or monitoring has no data | [Service Access, Scaling, and Release Issues](./service-access-scaling-and-release-issues) |
| Statistics are inconsistent, training needs to be resumed, or resources are about to be stopped or deleted | [Results, Recovery, and Cleanup](./results-recovery-and-cleanup) |
## If the Issue Still Cannot Be Resolved
Before submitting a support request, please prepare the following information:
1. The object type, name or ID, and the region, cluster, and project group where the object is located.
2. The time and time zone when the issue occurred, as well as the expected and actual results.
3. The current status, event records, and redacted key logs or screenshots.
4. The image, resource specifications, mounts, commands, models, or deployment configurations modified before the issue occurred.
This information can help support personnel determine whether the issue occurred during permissions and configuration, resource scheduling, image and mounting, application startup, service traffic, or monitoring collection.
> [!WARNING]
>
> Do not provide passwords, private keys, tokens, Access Keys, or Secret Keys in support requests, logs, or screenshots.
# Run Results, Recovery, and Cleanup
Source: https://docs.scitix.ai/siverse/faq/results-recovery-and-cleanup
Handle inconsistent statistics, underutilized jobs, training recovery, and checks before deleting images, datasets, Volumes, and services.
This page is used to handle post-execution assessment and cleanup issues. Before analyzing statistical discrepancies, ensure that the query criteria are consistent. Before stopping, resuming, or deleting, confirm task progress and object dependencies.
## Inconsistent Numbers in the Dashboard, Resource Details, and Task Details
Different pages may use different filter scopes, time granularities, statistical units, and refresh times. First standardize the query criteria, then determine whether any anomalies exist.
1. Align the query scope across regions, clusters, project groups, resource pools, instance specifications, workload types, and other dimensions.
2. Use the same time window, confirm whether you are comparing point-in-time values, interval aggregates, or trend data, and verify the statistical units for GPU, CPU, instance counts, duration, and other metrics.
3. Refresh the relevant pages and account for time lags caused by data collection, aggregation, and cache. If the discrepancy persists, record the filter criteria, time range, values, and screenshots from each page, then submit a support request.
> [!TIP]
>
> The Resource Dashboard and Task Dashboard are suitable for viewing trends and summaries. For recently completed operations, real-time utilization, and actual runtime status, prioritize task or service details, and use events and monitoring for assessment.
For queries by resource dimension, see [View Resource Usage](../resources/view-resource-usage); for queries by task dimension, see [View Task Resource Usage](../resources/view-task-resource-usage).
## Low Utilization: Can the Task Be Stopped or Deleted Directly?
Do not judge based solely on GPU or CPU utilization at a single point in time. Low utilization may occur during data loading, communication waits, debugging, or warm-up stages.
**Determine Whether the Task Is Truly Idle**
1. Confirm the task’s purpose, owner, and current progress.
2. Compare utilization, training steps, logs, and output files over a period of time; do not rely on a single sampling point.
**Decide Whether to Stop or Delete**
1. Confirm that checkpoints, models, and other artifacts have been written to persistent storage.
2. Confirm that the task or its artifacts will not affect dependent tasks or the scaling or rollback of related services.
3. After confirming the business impact with the task owner, proceed with stopping or deleting the task.
The Task Dashboard is used only to identify tasks that may require attention. To confirm actual runtime status, go to the corresponding task details. For information on analyzing resource usage, see [View Task Resource Usage](../resources/view-task-resource-usage).
## How to Resume Training After a Task Interruption
Whether training can be resumed also depends on the platform recovery configuration and the checkpointing capability of the training program.
1. Confirm that the job is configured with a recovery policy and that the training program can save and load checkpoints.
2. Review the original job’s **Fault Tolerance Detail** and associated jobs to identify the current latest attempt and determine whether the platform performed an in-place restart or resubmitted the job.
3. Review the logs and training metrics to confirm that the latest attempt has loaded the checkpoint, training steps continue to progress, and outputs can be written to persistent storage.
4. When the job is manually stopped, the retry budget is exhausted, or a fast-fail policy is triggered, the job may no longer recover automatically. Address the corresponding termination cause before deciding whether to manually resubmit it.
5. Before manually resubmitting, confirm that no other jobs for the same training are still running to avoid duplicate training.
For the applicable scope, configuration, and validation methods of automatic fault tolerance, see [Recover Training Tasks with Automatic Fault Tolerance](../training/recover-training-tasks-with-auto-fault-tolerance).
## Can I delete images, datasets, Volumes, or services?
Objects that are no longer needed can be deleted, but their dependencies are independent of one another. Before deletion, assess the dependencies separately and prepare and verify replacement versions or backups.
| Object | Pre-deletion checks | Related documentation |
| - | - | - |
| Image | Check whether it is still used by development environments, training jobs, job retries, service scaling, or historical rollbacks; check whether an alternative version is available for pulling. | [Manage Custom Images](../images/manage-custom-images) |
| Dataset | Check whether it is still mounted by development environments or training jobs; check whether the underlying data needs to be retained or backed up. | [Mount Datasets in Development Environments and Training Jobs](../datasets/mount-datasets-in-workloads) |
| Volume | Check whether it is still mounted by workloads; check whether important data has been backed up or migrated; confirm the impact of deletion with users. | [Create and use storage volumes](../resources/create-and-use-storage-volumes) |
| Service | Check whether it is still required by callers, released versions, or historical rollbacks. | [Manage General Services](../inference/manage-general-inference-services), [Manage LLM Inference Services](../inference/manage-llm-inference-services) |
> [!NOTE]
>
> A running instance being healthy does not prove that the image or storage it depends on can be safely deleted.
# Service Access, Scaling, and Release Issues
Source: https://docs.scitix.ai/siverse/faq/service-access-scaling-and-release-issues
Troubleshoot inference service request failures, capacity not taking effect after scaling out, release risks, and missing monitoring metrics.
This page helps troubleshoot common issues after general services and LLM inference services go live. First confirm the service type, then refer to the access, release, and testing documentation for the corresponding service.
## The Service Instance Is Running, but Requests Fail
A service instance being in the running state only indicates that the workload has started; it does not mean that the gateway, authentication, and service APIs are all accessible.
1. On the service details page, confirm the current access address and the corresponding protocol, port, and ingress path.
2. Verify the authentication method, request headers, model identifier, and business API path.
3. The general service should listen on an address accessible from outside the container; if it listens only on `127.0.0.1`, it usually cannot be accessed through the gateway.
4. Check whether the target instance is ready, and review events, health checks, and instance logs.
5. Use a minimal request to validate the business response, then gradually add the complete request parameters and production traffic.
For general services, see [Create a General Service](../inference/create-general-inference-services#4-verify-access); for LLM inference services, use [Functionality Testing](../inference/test-llm-inference-service-functionality) to validate large model inference requests.
## Still Unable to Handle Traffic After Capacity Expansion
First determine whether a single replica can host the model or application, then assess whether the total capacity of the ready replicas is sufficient.
**A single replica cannot host the model or application**
1. Check whether the resource specifications of a single replica are sufficient to load the model or run the application.
2. If the capacity of a single replica is insufficient, adjust the resource specifications, parallelization strategy, or model.
**Replicas are ready, but total throughput is insufficient**
1. Before scaling out, allow time for model loading and warm-up.
2. After increasing capacity, confirm that the new replicas are ready.
3. Monitor latency, error rates, and request queueing to determine whether the total capacity after scaling out meets demand.
For the configuration limits of manual and automatic scaling, see [Advanced Operations for Inference Services](../inference/advanced-inference-service-operations#scaling).
## Concerned About Interrupting Requests During Deployment or Graceful Shutdown
* **Boundaries of graceful shutdown:** The graceful shutdown delay only extends the Pod termination window. The application must still handle termination signals correctly: stop accepting new requests, process or hand off in-flight requests, and persist its state before exiting.
* **Post-deployment validation:** After deployment, first validate under low traffic; do not use extended wait times as a substitute for probe, retries, and data consistency design.
For LLM inference service, see [Release and Roll Back LLM Inference Services](../inference/release-and-rollback-llm-inference-services). For general service, see [Release and Roll Back General Inference Services](../inference/release-and-rollback-general-inference-services).
## Does an inference service having no metric data indicate an anomaly?
Not necessarily. There may have been no requests within the query time range, monitoring may not have collected any samples, or the current engine may not support this metric.
1. Confirm that the service is running, and adjust the query time range to when the actual request occurred.
2. Check the metric collection status. If only some metrics are missing, confirm whether the current engine supports those metrics.
3. Assess whether the service is functioning properly based on service details, events, and logs; do not draw conclusions solely from whether metrics display data.
For monitoring scope and usage, see [Advanced Operations for Inference Services](../inference/advanced-inference-service-operations#monitoring-and-alerts).
# Siverse
Source: https://docs.scitix.ai/siverse/get-started/ai-platform-overview
Learn about the product positioning, functional architecture, core capabilities, and platform responsibility boundaries of Siverse.
Siverse is a one-stop AI training and inference platform based on a GPU cluster, designed for algorithm R\&D and model engineering teams that require large-scale computing power.
The platform supports the complete AI development lifecycle: obtaining computing resources on demand, preparing data and runtime environments, interactive development, submitting distributed training jobs, managing models, and publishing models as online inference services. You can also directly deploy existing models or custom container applications without starting from the training stage.
## Functional Architecture
Siverse is built on a containerized GPU cluster and organizes workloads, assets, resources, and operations and maintenance capabilities around user workflows.

| Area | Main Modules | Purpose |
| - | - | - |
| Workloads | Development environments, training jobs, large model inference, general service. | Determines whether code runs through interactive development, batch execution, or continuous services. |
| Asset Preparation | Images, datasets, models. | Provides runtime environments, input data, and model files for development, training, or inference. |
| Resource Provisioning | Instance resources, resource pools, storage resources, Volumes. | Provides CPU/GPU, memory, and persistent file storage. Appropriate permissions and quotas are required before use. |
| Operations Management | Permission collaboration, scheduling and fault tolerance, logs, monitoring, and alerts. | Controls the scope of collaboration, tracks runtime status, identifies exceptions, and manages changes. |
| Access Methods | Console, Python SDK, MCP. | Supports visual operations, scripted integration, and AI tool access. Refer to the documentation for the relevant access method for specific capabilities. |
The platform is responsible for resource scheduling, environment provisioning, status recording, and runtime monitoring; code, data, model adaptation, and business result validation must still be handled by the user. For example, the platform can restart a training job, but the training program must save and load checkpoints itself in order to resume completed training progress.
## Core Features
### Resource and Asset Preparation
* Resources: Manage instance resources, storage resources, resource pools, quotas, orders, and resource usage statistics.
* Images: Maintain container images used for development, training, and inference, standardizing framework versions, system dependencies, Python packages, and service startup environments.
* Dataset: Provides data that can be selected and mounted for reading in development environments or training jobs.
### Development and Training
* Develop: Provides JupyterLab and VSCS for code development, data exploration, dependency validation, and small-scale debugging.
* Training: Submit and manage training jobs such as PyTorchJob and RayJob; view status, events, logs, and monitoring; and configure scheduling and fault tolerance.
### Models and Inference
* Models: Register built-in and custom models, and manage model versions, sources, and reference information.
* Inference Service: Publish models or custom container applications as online services, supporting LLM inference service and general service.
### Operations and Governance
* Alerts: Subscribe to platform events and metric changes, and send them through notification channels.
* Config Management: Manage tenant-level configuration, including project groups, tags, task environment variables, and monitoring dashboards.
### Developer Integration
* Developer Integration: Access platform capabilities through the Python SDK or MCP for scripting, automation, or AI tool scenarios.
## Related documentation
* [Core Concepts and Object Relationships](./platform-objects-and-runtime-relationships): Understand how Siverse objects relate to one another.
* [Getting Started with Siverse](./quickstart-ai-platform): Prepare for first-time use and choose a workload.
# Use ScitiX docs with AI
Source: https://docs.scitix.ai/siverse/get-started/connect-docs-to-ai
Learn how to use MCP, llms.txt, skill.md, and Markdown pages to let AI tools query ScitiX product documentation.
You can connect ScitiX Docs to AI tools such as Claude Code, Codex, and Cursor. The AI tool can then answer questions about Model Inference, Siverse, and GPU Cloud based on the documentation, such as how to choose a model, call the API, configure API keys, view usage, prepare resources, create development environments, submit training tasks, publish inference services, manage instances and Kubernetes clusters, use storage, or configure monitoring and alerts.
## Choose a method
We recommend using MCP first. MCP is best for querying ScitiX documentation continuously from an IDE, coding agent, or desktop AI client. The AI tool can retrieve relevant documentation on demand, without requiring you to copy page links or page content each time.
If your AI tool does not support MCP, choose another method based on your use case.
| Use case | Recommended method |
| - | - |
| Your AI tool supports MCP and needs long-term access to the docs | Use MCP |
| Your AI agent supports skills or custom context | Use `skill.md` |
| You want AI to discover available documentation pages | Use `llms.txt` |
| You want AI to read the full documentation content | Use `llms-full.txt` |
| You only need AI to read one page | Use single-page Markdown |
## MCP access
If your AI tool supports Model Context Protocol (MCP), you can connect it to ScitiX documentation. After connection, the AI tool can search relevant documentation and answer questions based on the docs.
### Access URL
Use the following MCP server URL when adding ScitiX Docs to your AI tool.
```text theme={null}
https://docs.scitix.ai/mcp
```
### Tool capabilities
After connection, the AI tool can use the following documentation tools:
| Tool | Description |
| - | - |
| `search` | Search ScitiX documentation for relevant pages, guides, and API references. |
| `query_docs_filesystem` | Read pages from the virtual documentation filesystem. Use it to inspect full pages, browse the docs structure, or match exact keywords. |
| `submit_feedback` | Submit feedback to the documentation team for incorrect, outdated, confusing, or incomplete documentation. |
### Example questions
Ask questions about the product and task you are working on, for example:
| Product | Example questions |
| - | - |
| Model Inference | Which model should I use? How do I create an API key and call a model? How do I troubleshoot API errors? How do I view token usage and costs? |
| Siverse | What resources do I need to prepare before first use? Should I use a development environment, a training task, or an inference service? How do I troubleshoot a training task that is queued or has failed? |
| GPU Cloud | Should I choose a CES instance or a Kubernetes cluster? Should I use GPFS or OSS for shared data? How do I view monitoring data? How do I subscribe to alerts? |
### Configure in Claude Code
Claude Code is primarily a command-line workflow. In the project directory where you want to use ScitiX Docs, run:
```bash theme={null}
claude mcp add --transport http scitix-docs https://docs.scitix.ai/mcp
```
After configuration, run the following command to check the connection:
```bash theme={null}
claude mcp list
```
### Configure in Codex
If you use a Codex client that supports graphical MCP configuration, you can add an MCP server in the app and set the server URL to `https://docs.scitix.ai/mcp`.
If you want to reuse the configuration across projects or IDEs, use the CLI or configuration file.
Run the following command to add the ScitiX Docs MCP server:
```bash theme={null}
codex mcp add scitixDocs --url https://docs.scitix.ai/mcp
```
After configuration, run the following command to check the connection:
```bash theme={null}
codex mcp list
```
You can also edit the Codex configuration file, such as `~/.codex/config.toml`, and add:
```toml theme={null}
[mcp_servers.scitixDocs]
url = "https://docs.scitix.ai/mcp"
```
## Other reading methods
### Use skill.md
`skill.md` describes the documentation site and product capabilities to AI agents. It is useful for tools that support skills or agent context.
```text theme={null}
https://docs.scitix.ai/skill.md
```
### Use llms.txt
`llms.txt` provides an index of the documentation pages. It is useful when you want AI to understand what pages are available.
```text theme={null}
https://docs.scitix.ai/llms.txt
```
### Use llms-full.txt
`llms-full.txt` provides more complete documentation content. It is useful when an AI tool needs a larger documentation context at once.
```text theme={null}
https://docs.scitix.ai/llms-full.txt
```
> [!WARNING]
>
> `llms-full.txt` may contain a large amount of content. Some AI tools have context length limits. If the content is too long, use MCP, `llms.txt`, or single-page Markdown instead.
### Use single-page Markdown
Every documentation page can be read in Markdown format. Add `.md` to the page URL to get a plain-text version that is easier for AI tools to read.
For example:
```text theme={null}
https://docs.scitix.ai/model-inference/get-started/first-api-call.md
https://docs.scitix.ai/siverse/training/create-training-tasks.md
https://docs.scitix.ai/gpu-cloud/get-started/quickstart-instance.md
```
## Usage recommendations
* For product concepts, setup steps, and configuration details, prefer MCP or a specific Markdown page.
* For real-time information such as model availability, pricing, quotas, resource availability or inventory, task and service status, instance and cluster status, orders, and console configuration, also check the console.
* If an AI answer conflicts with the documentation page, rely on the documentation page.
# Core Concepts and Object Relationships
Source: https://docs.scitix.ai/siverse/get-started/platform-objects-and-runtime-relationships
Understand the relationships among collaboration scopes, deployment locations, resources, assets, tasks, services, and running instances in Siverse.
This topic helps you understand the primary objects in Siverse and how they work together across development environments, training jobs, and inference service runtimes.
## Collaboration Scope and Deployment Location
Before creating a development environment, training job, or inference service, first determine “who can use it” and “where it runs.” These two dimensions must be selected separately.
| Concept | Description | Confirm Before Use |
| - | - | - |
| **Tenant** | The management scope of an enterprise or organization. | The currently logged-in account belongs to the tenant associated with the current work. |
| **Project group** | The management scope for team collaboration and object visibility; it is not equivalent to a group of physical servers. | Which project group an object belongs to, and which members can view or operate it. |
| **Region and cluster** | The deployment location of workloads and the availability scope for resources, images, data, and models. | Required resources and assets are available in the same region and cluster. After switching regions or clusters, recheck the available options. |
| **Resource pool** | Computing resources organized by resource type, isolation method, and usage policy. | You have permission to use the resource pool; the resource pool supports the current workload type and provides suitable instance specifications and quotas. |
Selecting a project group does not automatically grant permissions for resource pools, images, models, or Volumes. When creating a task or service, object visibility, resource usage permissions, and data read/write permissions must all be satisfied.
## Workload-Referenced Resources and Assets
The following diagram illustrates the relationship between the configuration used to create a task or service and the instances that actually run it.

In the figure, Data and Models refers to input files. When needed, select a dataset, model source, or storage mount according to the options supported by the relevant module; not every workload must use both data and models.
| Object | Role in Creation and Runtime |
| - | - |
| **Project Group** | Determines the collaboration scope and visibility of tasks or services. |
| **Region and Cluster** | Determine where tasks or services are deployed, as well as the available resources and assets. |
| **Resource Pool and Specifications** | Provide computing resources such as GPUs, CPUs, and memory for tasks or services. |
| **Image** | Provides the software environment required for container runtime and the code included in the image. |
| Data and Models | Are read by workloads as input files and may come from datasets, model sources, or storage mounts. |
| **Tasks or Services** | Store the creation configuration and are the objects managed, viewed, modified, and troubleshot by the platform. |
| **Running Instances** | The actual execution units started by the platform based on the creation configuration and resource scheduling results. |
| **Persistent Outputs, Logs, and Metrics** | Used to save runtime results, explain program behavior, and observe runtime trends, respectively. |
Submitting the creation request only indicates that the platform has accepted the configuration. Resource scheduling, image pulling, storage mounting, and application startup must still take place afterward.
## Images, Datasets, Models, and Volumes
These types of objects serve different responsibilities. Managing them separately facilitates dependency updates, data reuse, and result preservation.
| Object | What It Mainly Stores or Describes | Example Use | Notes |
| - | - | - | - |
| **Image** | The software environment required by a container, as well as code built into the image. | Pin versions of Python, training frameworks, CUDA, and system dependencies. | Save images to preserve the software environment; they cannot replace storage backups. |
| **Dataset** | Data that workloads can select and read. | Mount as input to development environments or training jobs. | Ensure that the target workload can access the dataset and write outputs to a writable Volume. |
| **Model** | The model name, version, source, and related information. | Specify weights, a tokenizer, and configuration files for inference. | Model records must correspond to files that are actually accessible; before training artifacts can be used for inference, they may need to be organized or converted. |
| **Volume** | Persistent file storage that can be mounted by workloads. | Store project code, Notebooks, training results, and checkpoints. | Paths inside the container are determined by the mount configuration. For example, if a program reads `/mnt/data`, the target data must be mounted at that path. |
Execution progress must be saved by the program itself; for example, a training program should save checkpoints. The platform can restart the training task, but it cannot replace the program in saving and loading progress.
## Tasks, Services, and Running Instances
When you create a training job or inference service, you configure a platform-managed object. Based on this configuration, the platform starts one or more running instances.
| Relationship | Description | What to Check During Use |
| - | - | - |
| **Creation configuration** | Includes information such as the image, commands, resources, mounts, ports, and environment variables. | Whether the configuration matches the code, data, model, and resource requirements. |
| **Running instance** | The actual execution unit started by the platform based on the creation configuration and resource scheduling results. | Whether the target instance has been created and whether the expected number of ready instances has been reached. |
| **Status, events, and logs** | Record the object lifecycle, scheduling process, and program runtime output. | Whether the issue is caused by a configuration not taking effect, resources not being scheduled, or an exception in the program itself. |
| **Persistent output** | Written by the program to a Volume or other persistent storage to save results and resume progress. | Whether outputs, checkpoints, or model files have been written to a persistent location. |
Tasks or services are not directly equivalent to running instances in terms of quantity. A service may have multiple replicas, and a training task may also include multiple roles or execution units.
## Specification Count, Replicas, and Resource Usage
Instance specification describes a set of resources, such as GPU, CPU, and memory. Number of specifications determines how many sets of specifications an execution unit requests, while number of replicas determines how many such execution units are needed.
For example, each allocation includes 2 GPUs, each replica uses 2 allocations, and 2 replicas are running in total:
| Calculation Item | Calculation Result |
| - | - |
| GPU requirement per replica | 2 GPUs × 2 copies = 4 GPUs. |
| GPU requirement for all replicas | 4 GPUs × 2 replicas = 8 GPUs. |
CPU and memory are calculated using the same quantities and replica counts. For multi-role jobs, sum the resources for each role; for multi-node inference, also account for the number of nodes in each group. Refer to the resource configuration on the relevant creation page for details.
Quota indicates the amount of resources allowed for use, while schedulable capacity indicates the amount of resources that can actually be scheduled under current conditions. Even when the quota is sufficient, tasks or services may still wait because of nodes, instance type combinations, resource pool status, or scheduling policies.
## Permission and Visibility Boundaries
Project team visibility, resource usage rights, and data read/write permissions are distinct permission boundaries.
| Requirement | Required Conditions |
| - | - |
| View task configurations, status, and logs | Object visibility and the corresponding view permissions. |
| Stop, delete, or modify objects | Permissions for the corresponding operations and authorization for the object scope. |
| Submit tasks or services using a resource pool | Resource pool usage permission, available quota, and an appropriate instance specification. |
| Read data or write results | Read and write permissions for the Volume, directory, or data source. |
| Reuse another user's configuration | Meet the applicable requirements for using compute resources, images, models, and storage, and reset the output path. |
Task links are used to locate objects and do not grant access permissions themselves. Before sharing configurations, commands, environment variables, or logs, ensure that they do not contain passwords, access tokens, storage keys, or other sensitive information.
## Next Steps
* [Quick Start with Siverse](./quickstart-ai-platform)
# Getting Started with Siverse
Source: https://docs.scitix.ai/siverse/get-started/quickstart-ai-platform
Learn about the preparations for first-time use of Siverse, typical usage paths, and post-submission checks.
This guide follows the common path for first-time use of Siverse, helping you first confirm the operating scope, resources, and assets, and then proceed to development and training, model deployment, or general service publishing based on your objectives.
## First-Time Setup
| Preparation Item | Condition for Proceeding |
| - | - |
| Confirm the tenant and project group | You can access the project group and feature entry points required for this work. |
| Select the region and cluster | Compute resources, image, data, and models can be used together in the same deployment location. |
| Check compute resources | You have permission to use the target resource pool, an applicable instance specification, and the required quota. |
| Prepare storage | The input directory is readable, the output directory is writable, and important files have a persistent storage location. |
| Prepare runtime content | The image can be pulled; the versions of code, data, or models are clearly defined; and startup parameters have been checked. |
| Define minimum validation | You know which sample, command, or request to use to determine whether this run has succeeded. |
For first-time use, it is recommended to complete a small-scale validation first: read a small number of samples, execute a few training steps, or send a test request. After confirming that the resources, paths, and dependencies are correct, scale up the operation.
When a resource or object cannot be found, first check the tenant, region, cluster, project group, and filter criteria. After confirming that the scope is correct, ask the administrator to verify the permissions. `All` in the list only changes the filter scope; it does not grant additional access permissions.
## Select a Workload
Select the entry point based on the work objective, then prepare the corresponding resources and assets.
| Task to Complete | Selection | Runtime Characteristics and Completion Criteria |
| - | - | - |
| Analyze data and experiment with algorithms by cell. | **JupyterLab** | Interact through a browser; notebooks can be executed and saved. |
| Develop projects using an editor, terminal, or local IDE. | **VSCS** | Connect through a browser or SSH; code and dependencies are validated successfully. |
| Run long-running training, fine-tuning, or platform-supported batch jobs. | **Training** | Executes according to the startup command; training progress and persistent outputs meet expectations. |
| Load a model and continuously respond to inference requests. | **LLM Inference** | Configure the model, engine, and role resources; actual requests are validated successfully. |
| Deploy custom HTTP/gRPC applications or container services. | **General Service** | Configure the image, command, ports, and publishing method; the service endpoint is available. |
## Typical Usage Path
Starting from development and debugging, the complete development and service workflow typically includes resource and asset preparation, development and debugging, training and fine-tuning, model artifact verification, inference service creation, and service request validation. If existing training configurations, existing models, or existing custom application images are available, you can enter at the corresponding stage without executing the entire workflow from the beginning.

The complete path represents a common workflow handoff and does not mean that the platform automatically executes the entire pipeline. Development, training, and serving use separate configurations; at handoff, the image, file locations, model version, and resource requirements must be specified explicitly.
### Debug the Code and Complete Training
Suitable for scenarios that move from data exploration and code debugging into training or fine-tuning.
| Stage | Main Activities | Deliverables for the Next Stage |
| - | - | - |
| Prepare Inputs | Obtain resource and storage permissions; prepare data and image. | Readable data, available image, and an isolated output directory. |
| Development and Debugging | Validate samples, dependencies, and the startup command in **JupyterLab** or **VSCS**. | Fixed code version, dependency versions, and runtime parameters. |
| Submit Training | Configure the task type, resources, mounts, and commands. | Traceable task ID, training logs, and run records. |
| Confirm Results | Check training progress, results, and checkpoints; verify recovery when training needs to be resumed. | Persistently stored results, model files, and configurations required for reproduction. |
The same dataset can be used by different tasks, and output directories should be separated by experiment. Before starting a full long-running training job, first verify checkpoint saving and loading; enabling only platform-level retry cannot verify whether training progress can be resumed.
Reference document:
* [Prepare instance resources](../resources/prepare-compute-resources)
* [Create and use storage volumes](../resources/create-and-use-storage-volumes)
* [Use the JupyterLab development environment](../development/use-jupyterlab-development-environment)
* [Use the VSCS development environment](../development/use-vscode-server-development-environment)
* [Create training tasks](../training/create-training-tasks)
### Model deployment as an inference service
Suitable for existing models or scenarios where online reasoning capability needs to be provided externally after training is complete.
| Phase | Main Actions | Completion Check |
| - | - | - |
| Prepare the model | Confirm the version, weights, tokenizer, configuration, and storage location. | The complete files are accessible in the target environment. |
| Select an execution plan | Select a compatible engine, and configure the currently supported deployment methods and role resources. | The role resources match the model and parallelism parameters. |
| Create the service | Configure the model source, port, probe, access method, and required capacity. | The target instance is ready and the model has finished loading. |
| Validate and integrate | Obtain the actual endpoint, and test the protocol, authentication, and model identifier. | Response content, error rate, latency, and throughput meet the requirements. |
The trained checkpoint may need to be organized or converted according to the engine requirements before being used for deployment. Before increasing service capacity, distinguish whether the model cannot fit in a single replica or whether the existing replicas lack sufficient request-processing capacity.
Reference document:
* [Register and Manage Custom Models](../models/register-and-manage-custom-models)
* [Inference Service Overview](../inference/inference-services-overview)
* [Create LLM Inference Services](../inference/create-llm-inference-services)
* [Test LLM Inference Service Functionality](../inference/test-llm-inference-service-functionality)
### Deploy Custom Container Applications
Suitable for containerized business APIs, self-developed inference services, retrieval services, OCR services, or other HTTP/gRPC applications.
| Stage | Main Actions | Completion Check |
| - | - | - |
| Prepare the application | Build a fixed-version image and define the command, listening port, and external dependencies. | The image can be pulled in the target cluster, and the application can start. |
| Create the service | Configure replicas, resources, storage, probes, and the gateway. | The target replicas are ready, and the required dependencies are accessible. |
| Validate requests | Send test requests using the actual endpoint. | The path, authentication, and business responses are correct. |
| Release changes | Update directly or perform a gradual rollout according to the team process, and retain a rollback version. | After the new version is stable, clean up old instances according to the release process. |
Before release, verify the additional capacity required for parallel operation of the new and old versions. Stateful applications must also confirm data compatibility; rolling back the application version does not restore data that has already been modified.
Reference document:
* [Build a Custom image](../images/build-custom-images)
* [Synchronize an image to Other Clusters](../images/sync-images-across-clusters)
* [Create a general service](../inference/create-general-inference-services)
* [Manage a general service](../inference/manage-general-inference-services)
## How to Confirm the Results After Submission
A successful submission message only indicates that the platform has accepted the creation or modification request. Continue to verify the following results to determine whether the task or service has actually achieved the expected outcome.
* The configuration and request records are consistent with expectations.
* Resources have been scheduled, and the target instance or replica has entered the available state.
* The logs contain no exceptions related to image pulling, storage mount, startup command, or model loading.
* Output files, checkpoints, service requests, or performance results meet the objectives of this run.
If a task or service does not run as expected, refer to the troubleshooting documentation for the relevant module based on the stage at which the issue occurred. When contacting platform support, provide the object link and ID, region, cluster, project group, time of occurrence, expected result, and sanitized error information.
# Build Custom Images
Source: https://docs.scitix.ai/siverse/images/build-custom-images
Build custom images in Siverse and configure image names, versions, build resources, dependencies, Dockerfiles, and build methods.
Custom images let you maintain your own runtime environments. When preset images do not meet your requirements for framework versions, system dependencies, Python packages, or toolchains, you can create custom images based on existing images, Dockerfiles, third-party image registries, or previously built images. After a custom image is built, you can select it for development environments, training jobs, and inference services.
## Image Naming and URLs
Custom images are typically distinguished by name, version, and commit ID. An image URL consists of the image registry address, project name, image name, version, and commit ID:
```text theme={null}
//:-
```
| Field | Description |
| - | - |
| `harbor_url` | The image registry address, generated by the platform based on the region and cluster. |
| `project_name` | The image registry project, typically generated by the platform based on the tenant or project ownership. |
| `name` | The image name. Use lowercase letters, numbers, hyphens, or underscores, and choose a name that indicates the framework, purpose, or project. |
| `version` | The image version, used to manage different versions of the same image. |
| `commit_id` | The image tag or commit identifier, used to distinguish iterations that share the same name and version. |
You can have multiple tagged versions under the same name and version. When creating a development environment, training job, or inference service, you typically select an image by name and version. If multiple tags exist for the same version, use the image URL selected and displayed on the current page.
> [!TIP]
>
> For images used in production training or inference, or shared across a team, use a dedicated version number or commit ID to identify the source. Avoid relying only on `latest` for reproduction or rollback. When possible, record the image digest, code commit, and key dependency versions within the team to make issues easier to trace.
## Create Custom Images
Building an image consumes instance resources. Before creating an image, confirm that build resources are available in the current region and cluster, and check image registry storage usage. If you plan to use the image across multiple clusters, configure image synchronization after creating or building it.
> [!TIP]
>
> * Before building, identify the image's purpose, framework version, dependency versions, and target runtime cluster. For GPU workloads, also confirm that the instance hardware, CUDA version, framework version, and base image are compatible.
> * Use trusted sources when working with third-party or private image registries.
> * If registry credentials are required, grant only the minimum permissions needed to pull or import the image.
### 1. Go to the Create Page
1. Go to **Images > Custom**.
2. On the **Available Images** tab, click **Create**.
### 2. Configure the Settings
#### Basic Information
| Configuration Item | Description |
| - | - |
| Region | Select the region where the image will be built. |
| Cluster | Select the cluster where the image will be built. |
| Shared Project Groups | Configure the image's visibility scope. To share it with other Project Groups, click **Add Project Group**. If you do not add a Project Group, access is generally granted according to the default scope of the Project Group to which the user who starts the build belongs. |
| Name | The image name. Use lowercase letters, numbers, hyphens, or underscores, and choose a name that indicates the framework, purpose, or project. |
| Version | The image version, used to manage multiple versions of the same image. Use a stable, sortable version number and avoid spaces, slashes, or special characters. |
| Commit ID | The image tag or code commit identifier, used to distinguish iterations that share the same name and version. Use the first few characters of the code repository's commit ID to make the source easier to trace. |
| Image Type | The image category, such as `pytorch`, `base`, `python`, or `LLM`, used to classify and manage images. |
| Labels | Used to search for and categorize images. |
| Description | Describe the image source, purpose, framework version, dependencies, or usage restrictions. |
#### Runtime Information
| Configuration Item | Description |
| - | - |
| Resource Type | Select the billing type for resources used by the build task, such as **Reserved**, **On-demand**, or **Spot**. |
| Instance | When using **Reserved**, select a resource pool. |
| Instance Type and Quantity | **GPU** and **CPU** are supported. Select the instance specifications for the build task from the instance list, and configure **Count Per Node**. When selecting instances, pay particular attention to **Remaining Quota** and **Pool Available**. |
| Resource Priority | Configure the scheduling priority after selecting instances. Instances are sorted from highest to lowest priority, and those listed first are used preferentially during scheduling. |
#### Build Configuration
First, select a build method, then enter the corresponding build configuration.
Do not put long-lived keys in Dockerfiles, regular build arguments, or installation commands. Even if you later delete a file or command, sensitive content may remain in image layers, build history, or logs.
> [tab] Based on an Existing Image
>
> Use this method to add dependencies to a preset image or an existing custom image.
>
> | Configuration Item | Description |
> | - | - |
> | Base Image | Select a **Preset** or **Custom** image to use as the base image. |
> | Dependencies | Add system and Python dependencies in one of the following ways: Add system packages in `apt`, such as `vim`. Add Python 3 dependencies and versions in `pip3`. Upload `apt.txt` and `pip.txt` files to import dependencies in batches. |
>
> `apt.txt` and `pip.txt` are text files with one dependency per line.
>
> The dependency installation method must match the base image. **apt** is generally used for Ubuntu system dependencies, and **yum** is generally used for CentOS system dependencies. **pip2** and **pip3** are used for Python 2 and Python 3 dependencies, respectively.
>
> * Example `apt.txt`:
>
> ```text theme={null}
> python3=3.8.2-0ubuntu2
> python3-pip=20.0.2-5ubuntu1.11
> curl=7.68.0-1ubuntu2.25
> wget=1.20.3-1ubuntu2.1
> ```
>
> * Example `pip.txt`:
>
> ```text theme={null}
> requests==2.31.0
> flask==2.3.3
> ```
> [tab] Based on a Dockerfile
>
> Use this method to define the complete build logic in a Dockerfile. After selecting it, enter the Dockerfile contents and build arguments. Build arguments pass variables to the build process for use in the Dockerfile.
>
> To install **apt** or **pip** dependencies, you can:
>
> * Write the installation commands directly in the Dockerfile.
> * Add dependencies under Dependencies or upload `apt.txt` and `pip.txt`. After the platform returns the corresponding installation commands, copy them to the appropriate locations in the Dockerfile.
>
> Example:
>
> ```dockerfile theme={null}
> FROM ubuntu:18.04
>
> RUN apt-get update && apt-get install -y --no-install-recommends \
> python3-pip \
> vim && \
> apt-get clean && \
> rm -rf /var/lib/apt/lists/*
>
> RUN pip3 install \
> numpy==1.19.5 \
> scipy==1.5.4
>
> RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
> ```
>
> Copying content to a shared directory during the build is not currently supported. If the build depends on large files, private code, or model files, first decide whether to include them in the image or mount them from a Volume when the workload runs.
> [tab] From a Third-Party Image Registry
>
> When you select **Download from Third-Party Image Registry**, enter the external image address and confirm that the platform can access it. Use this method to copy images from public or cloud-provider image registries to the platform image registry for centralized use.
>
> If the external image requires authentication, confirm that the registry address, version, and authentication information are correct. Prefer an account or credential with the minimum required permissions. If the import fails, first check source registry authentication, network access, and errors writing to the target registry.
> [tab] Import an Existing Image
>
> When you select **Import Existing Image**, enter the address of a previously built image and confirm that it includes the dependencies and startup tools required by the workload. Use this method to import an image that was not built on the platform but is already available in an image registry. The platform writes the image contents to the target registry and adds a selectable image version to the custom image list.
>
> Wait for the image transfer and write to complete. Before the import finishes, the target cluster might not be able to select the image for development environments, training jobs, or inference services.
### 3. Submit the Build
After configuring the settings, click **Create** to submit the build task.
After submission, you can check the build status and logs in **Image Build Task List**. When the build succeeds, the image appears in **Available Images**.
## Save an Image from a Development Environment
You can also save a development environment as a custom image. This is useful when you have installed software and debugged dependencies in a development environment and want to preserve the current container file system as a reusable image.
### 1. Confirm What to Save
Before saving an image, confirm that the dependencies, tools, and configuration you want to reuse have been written to the container file system. Saving an image does not back up mounted Volumes or process memory. Code, models, data, and training results that exist only on mounted Volumes remain in their original storage; mount that storage again when you use the image later.
Before saving, remove credentials, temporary tokens, and other sensitive content that should not be included in the image. For environments that require long-term maintenance, keep a Dockerfile or dependency list as well instead of relying only on a one-time save.
### 2. Submit the Image Save
Keep the development environment running. Use the **Save Image** entry on the development environment page, enter the image name, version, and build information, and submit the request.
The development environment might be temporarily unavailable while the image is being saved. We recommend saving when no interactive work is in progress. Do not stop, delete, or reschedule the source environment, or make extensive dependency changes at the same time.
For the specific entry and steps, see [Use a JupyterLab Development Environment](/siverse/development/use-jupyterlab-development-environment) or [Use a VSCS Development Environment](/siverse/development/use-vscode-server-development-environment).
### 3. Verify the Save Result
After submitting, confirm that the build succeeded in **Image Build Task List**. If saving fails, review the build logs and first check the container size, build resources, dependency files, and source environment status.
After a successful save, verify key dependencies in a new development environment or a small workload rather than checking them only in the original environment.
## View Build Results
After submitting a build task, check its status in **Image Build Task List**. If a build fails, first review the errors in the build logs, then use the scheduling information to determine whether the cause is dependency installation, the Dockerfile, image pulling, resource scheduling, or synchronization settings.
| Action | Description |
| - | - |
| Build Logs | View the image build logs. If the build fails, use the logs to locate issues with dependency installation, the Dockerfile, image pulling, or command execution. |
| Build Configuration | View the build task configuration, including the base image, Dockerfile, dependencies, build arguments, and resource settings. |
| Update Configuration | Modify the build task configuration. Before updating, confirm that the image is not being built; wait until the build succeeds, fails, or stops. Updates generally have the following effects: **Name**, **Version**, **Build Region**, and **Build Cluster** usually cannot be changed. Changing build-related fields such as the build method, base image, Dockerfile, build arguments, dependencies, synchronization settings, commit ID, instance settings, or resource pool may trigger a rebuild. Changing only metadata such as the description, image type, framework version, Python / CUDA / NCCL versions, chip type, labels, or Project Groups usually does not require a rebuild. Images created by saving a development environment or synchronizing an image registry may allow metadata updates only. |
| View Image | Open the image generated by the completed build. The image might not be available to view if the build has not succeeded. |
| Clone | Create a new build task based on the current task configuration. This is useful for reusing the base image, dependencies, and build arguments. |
| Stop | Stop an ongoing build task. The image will no longer be built after the task stops. Whether an image is already available depends on the current build result. Stopping the build does not necessarily undo images already created or external changes. |
| Delete | Delete a build task record that is no longer needed. Before deleting it, confirm that you no longer need to view its build logs or configuration. |
## Frequently Asked Questions
> [accordion] What should I do if a build task stays queued for a long time?
>
> Check the build resources, resource pool availability, remaining user quota, and scheduling information. If the build is waiting for resources, do not repeatedly submit tasks with the same name and version.
> [accordion] What should I check first when a build fails?
>
> First review the errors in **Build Logs**, then use the scheduling information to identify the failure stage. Common causes include dependency installation failures, an incorrect Dockerfile path, a failure to pull the base image, command execution errors, or insufficient build resources.
> [accordion] What should I do if apt or pip installation fails?
>
> Check the package name, version, installation source, and compatibility with the base environment. To pin dependency versions, declare them in the Dockerfile or a dependency file to avoid pulling incompatible versions during the build.
> [accordion] What should I do if the Dockerfile cannot find a file?
>
> Check the build inputs, working directory, and file reference paths. Files referenced by the Dockerfile must be in the current build context.
> [accordion] What should I do if importing an external image fails?
>
> Check the source registry address, authentication information, network access, and target registry errors. Grant private registry credentials only the minimum permissions needed to pull or import images.
> [accordion] What should I do if I cannot find the image in the target workload after a successful build?
>
> Return to **Available Images** and confirm that the image's region, target cluster URL, shared Project Groups, and filters are as expected. For cross-cluster use, also confirm that image synchronization has completed.
If you need to submit the issue to the technical support team, provide the image name and version, region and cluster, build task ID, failure stage, and redacted error logs. Do not send repository account credentials, passwords, or tokens.
## Next Steps
* [Manage Custom Images](./manage-custom-images)
# Images Overview
Source: https://docs.scitix.ai/siverse/images/images-overview
Learn about preset images, custom images, replicas across clusters, and image usage statistics on Siverse.
Image management covers the container images used by development environments, training jobs, and inference services. An image packages the operating system, framework, Python and CUDA versions, libraries, and startup tools a program needs, defining the runtime environment available to a workload.
Platform images fall into two categories: preset images and custom images. The platform maintains preset images, which you can select and use directly. You can build and register custom images from existing images, Dockerfiles, third-party images, or images in existing registries to meet your requirements for dependencies, framework versions, or business code.
## Use Cases
* Choose a suitable runtime environment for a development environment, training job, or inference service.
* Install your own dependencies on a platform image to build a custom image that your team can reuse.
* Import or synchronize external images to the platform image registry.
* Review image usage in training jobs, development environments, and inference services.
## Image Types
| Type | Description | Suitable for |
| - | - | - |
| Preset | An image maintained by the platform and preconfigured with commonly used training or inference environments, such as Ray, PyTorch, Megatron, and Llama Factory. | Quickly create a development environment, training job, or inference service without installing additional dependencies. |
| Custom | An image that you build, import, or register with your own dependencies, code, tools, and runtime configuration. | Meet requirements for framework versions, libraries, or business environments that preset images do not support. |
## Images and Clusters
Images are organized by region and cluster. The same image may have a separate replica and a different image URL in each cluster. Before creating a development environment, training job, or inference service, confirm that an available image exists in the target region and cluster.
The platform provides each tenant with an image registry project for storing replicas of preset images, custom images, and imported images. Registry storage is limited, so check current usage before building or importing an image.
You can distribute custom images to multiple clusters by configuring image registry sync policies. After synchronization completes, workloads in the target clusters can select and pull the images.
Whether a custom image is visible usually depends on its owner, shared project groups, region, and target cluster. If you cannot find an image when creating a workload, check that the selected region, cluster, project group visibility scope, and filters match the image details.
## Custom Images Page
Go to **Images > Custom**, then select the tab that matches your task:
| Tab | Purpose |
| - | - |
| **Available Images** | View custom images that are ready to use. Check each image's name, version, URL, owner, shared project group, and target cluster. |
| **Image Build Task List** | Track image builds, imports, and images created from saved development environments. Review scheduling information, build settings, and logs. |
| **Image Registry Sync Policies** | Configure the source registry, target registry, matching scope, and trigger method to sync images to other clusters or registries. |
| **Image Registry Events** | Review registry changes, such as image pushes, syncs, and deletions, to troubleshoot whether an image change has taken effect. |
## Usage Process
1. Select a preset image or create a custom image.
2. To use the image across clusters, configure or verify its sync policy.
3. Wait for the image build or synchronization to complete.
4. Select the image when creating a development environment, training job, or inference service.
5. Use usage statistics and registry events to identify images to remove or troubleshoot image pull issues.
## Related Documents
* [Use Preset Images](./use-built-in-images)
* [Build Custom Images](./build-custom-images)
* [Manage Custom Images](./manage-custom-images)
# Manage Custom Images
Source: https://docs.scitix.ai/siverse/images/manage-custom-images
View custom image details in Siverse, determine whether an image is suitable for reuse, and manage image sharing, cloning, build tasks, and deletion.
After a custom image is built or imported, it appears in the **available images list**. Here, you can verify whether an image is suitable for reuse in subsequent workloads, view its build source, share it with other project groups or users, or remove images that are no longer in use.
## Confirm Image Availability
Go to **Images > Custom**, open the **Available Images** tab, and find the image you want to use.\\

Before using an image for a development environment, training task, inference service, or team sharing, we recommend confirming the following information:
| Check item | Description |
| - | - |
| Version and source | The image name, version, and commit ID meet expectations and can be mapped to a code commit or release version. |
| Target cluster | An available image URL has been generated for the target cluster. For cross-cluster use, first [synchronize the image to other clusters](./sync-images-across-clusters), and use the URL displayed on the target cluster page. |
| Visible Scope | The image class, owner, shared project groups, region, and project group visibility scope meet the requirements for subsequent use. |
| Runtime validation | Use a new development environment or a small-scale workload to verify that the image can be pulled and started, and confirm that key dependencies, GPU libraries, framework versions, and startup commands work properly. |
| Rollback preparation | Before replacing an image used in production or shared by a team, retain the previous validated version and confirm application and data compatibility. |
An image being pulled and started only indicates that the runtime environment has passed basic checks. Training tasks and inference services must still be validated separately through training steps, output results, or actual requests.
## Manage Custom Images
After locating the target image in the **Available Images** list, you can perform the following actions as needed:
| Action | Description |
| - | - |
| share | Share an image with project groups or other visible scopes. After sharing, authorized users can select the image when creating development environments, training tasks, or inference services. The available sharing scope depends on the image owner, sharing scope, and current permissions. |
| clone | Create a new image build configuration based on an existing available image. This is suitable for reusing the image source, dependencies, and build parameters. |
| view tasks | View build tasks associated with the image. To view build logs or configuration, configure or update the build task settings, stop a build task, or delete one, go to the **Build Task List**. |
| delete | Delete images that are no longer needed. Before deleting an image, confirm the following:Use [View Image Usage Statistics](./view-image-usage-statistics) to confirm that no development environments, training tasks, general services, or LLM inference workloads still depend on the image. Workloads that require retrying, rebuilding, scaling out, or historical rollback have alternative images available for pulling. Your current account has permission to delete the image. The range of images that administrators and standard users can delete may differ. You have confirmed the image sharing scope and the deletion confirmation prompt in the console. Deletion may affect platform visibility or the original data in the registry. Refer to the console prompts for the actual impact. |
Before deleting a shared image, we recommend confirming with the relevant users to avoid affecting development environments, training tasks, or inference services that are still using the image. Existing containers can continue running, but this does not mean that the image can still be pulled when creating, restarting, scaling out, or rolling back containers later.
## Frequently Asked Questions
> [accordion] What should I do if I cannot find a built image when creating a workload?
>
> First, confirm that the current region, target cluster, project-group visibility scope, and filter criteria match the image information. When using the image across clusters, also confirm that the image has been synchronized to the target cluster and use the image URL displayed on the target cluster page.
> [accordion] What should I do if training retries, service scaling, or historical rollbacks fail after an image is deleted?
>
> These actions may require pulling the original image version again. Restore a pullable image version, or use a verified alternative image, and confirm application and data compatibility.
## Related Documentation
* [Synchronize Images to Other Clusters](./sync-images-across-clusters)
* [View Image Usage Statistics](./view-image-usage-statistics)
# Synchronize Images to Other Clusters
Source: https://docs.scitix.ai/siverse/images/sync-images-across-clusters
Configure image registry synchronization policies in Siverse to distribute custom images to other clusters and view synchronization details and registry events.
Compute, storage, and image registry resources are isolated across clusters. To use the same custom image in multiple clusters, configure an image registry synchronization policy. After synchronization is complete, development environments, training tasks, or inference services in the target cluster can select the image.
## Create a Synchronization Policy
If the page indicates that no synchronization rule has been configured when you create an image, you can choose whether to synchronize it to other clusters. Once a synchronization rule is created, subsequently built images are synchronized to the target clusters according to the rule. The available regions and clusters depend on the current platform configuration.
1. Go to **Images > Custom**.
2. Open the **Registry Synchronization Policy** tab and click **Create Policy**.
3. Configure the policy.
| Configuration item | Description |
| - | - |
| Synchronization type | Select **Push Mode** or **Pull Mode**. **Push Mode** synchronizes images to other regions or external registries; **Pull Mode** pulls images from an external Registry. |
| Policy name and description | Enter a policy name and add a description as needed to make the synchronization purpose easy to identify later. |
| Source registry | Configure the source image registry information, including **Region**, **Namespace**, **Repository**, and **Tag (Regex)**. **Tag (Regex)** matches the image tags to synchronize. For example, `1.0*` matches tags that start with `1.0`. |
| Destination registry | Configure the destination image registry information. Options for the destination type are **Local** and **Remote**. For **Local**, specify **Regions** and **Namespace**. |
| Overwrite mode | Specify whether to overwrite resources with the same name at the destination. |
| Enable policy | When enabled, the platform automatically synchronizes images according to the trigger rules. |
| Trigger type | Select how the synchronization policy is triggered:**Event-driven**: Synchronization starts automatically when an image is pushed to the source registry. **Scheduled**: Configure a Cron expression to trigger synchronization on a schedule. **Manual**: After creating the policy, click the corresponding button in the policy list to trigger synchronization. |
| Synchronize remote resource deletions | Enable this option as needed. Synchronization may delete associated images in the remote registry. Confirm the impact before proceeding. |
4. After you configure the policy, click **Create Policy**.
## View Synchronization Results
After creating the policy, you can view its details and execution information under **Registry Synchronization Policy**. Once synchronization is complete, check the **Available Images** list or the image details page to confirm that the target cluster has an available image URL.
Use the image URL displayed for the target cluster. After synchronization, copy or select that URL; do not manually replace the source cluster's registry domain.
To verify that synchronization is working, check the following in order:
| Check stage | Completion criteria |
| - | - |
| Policy configuration | Configure the source and destination registries, tag-matching rules, and trigger type to match expectations; only the images to be distributed should match. |
| Execution record | The synchronization task for the image has been triggered and completed successfully. |
| Target verification | The target cluster has a usable image URL that newly created development environments, training tasks, or inference services can pull. |
## Frequently Asked Questions
> [accordion] What should I do if an image builds successfully in the source cluster but cannot be pulled from the target cluster?
>
> First, check that the source and destination registries, tag-matching rules, and trigger type in the synchronization policy are correct. Then verify that the synchronization task was triggered and completed successfully. After synchronization, use the image URL displayed on the target cluster page.
> [accordion] Does normal operation of existing containers mean that synchronization to the target cluster succeeded?
>
> No. It only indicates that existing instances have not been interrupted; it does not prove that new nodes can pull images from the target repository. Create a new environment or deploy a small-scale workload in the target cluster to confirm that the image can be pulled and started successfully.
> [accordion] How can I tell whether a synchronization task was triggered?
>
> Check the synchronization policy's execution details. Where supported, you can also check **Registry Events** to see whether push, synchronization, or deletion events were generated or delivered.
## Disable or Delete a Synchronization Policy
When a synchronization policy no longer needs to run automatically, you can disable or delete it from the policy list:
* **Disable**: Stops automatic triggers for the policy while retaining its configuration, so you can re-enable it without having to configure it again. This is suitable for temporarily pausing cross-cluster synchronization.
* **Delete**: Removes a synchronization policy that is no longer needed. Before deleting it, confirm that you will no longer need to synchronize images under this rule. Deleting the policy does not automatically delete images already synchronized to the target cluster.
## Related Documentation
* [Manage Custom Images](./manage-custom-images)
# Using Preset Images
Source: https://docs.scitix.ai/siverse/images/use-built-in-images
Find platform-maintained preset images in Siverse and use them in development environments, training tasks, or inference services.
Preset images are runtime environments maintained by the platform. You can select them when creating a development environment, training task, or inference service.
## Find and verify an image
1. Go to **Images > Preset**.
2. Enter a name, image class, or label as needed.
3. Click **Search**.
When selecting an image, pay particular attention to its version, framework and Python version, intended use, chip type, and image URL for the target cluster.
If you select a preset image using the image selector, you usually do not need to copy the image URL manually. Copy the URL for the target cluster only when entering the image URL manually.
# View Image Usage Statistics
Source: https://docs.scitix.ai/siverse/images/view-image-usage-statistics
View how images are used by workloads such as training tasks, development environments, general services, and LLM inference in image governance.
Image usage statistics help you analyze image use across workloads and clusters, determine whether an image is still in use, identify its users, and decide whether to keep it.
## View Usage Statistics
1. Go to **Images > Image Governance**.
2. On the **Usage Statistics** tab, select a cluster or workload type, or enter an image name.
3. Click **Search**.

After searching, review the results based on your governance objective and decide whether to keep, replace, or delete the image:
| Objective | Information to review | Recommended action |
| - | - | - |
| Determine current usage | The **Active Workloads** column. | View the number of workloads currently using the image by workload type. If any workloads are still using it, replace the workload image or stop the relevant workloads before deleting it. |
| Evaluate whether to retain an image | Total usage count, last used time, and image size. | For images that have not been used for a long time and consume substantial space, consider the current usage and confirm with the team before cleaning them up. |
| Understand usage distribution | Workload usage count and cluster usage count. | Understand the cumulative usage of the image across workload types, such as development environments, training tasks, general services, and LLM inference, as well as across clusters. |
| Contact users | User details. | Before deleting a shared image, confirm that the relevant users no longer depend on it. |
Platform images typically have the `preset/` or `custom/` prefix to distinguish preset images from custom images. Public images typically show the image URL or image name directly.
# Advanced Operations and Maintenance for Inference Services
Source: https://docs.scitix.ai/siverse/inference/advanced-inference-service-operations
Learn about post-launch scaling, monitoring and alerts, priority and preemption, release changes, and testing for inference services, and find the relevant operation guides.
This page summarizes advanced operations for inference services after launch, including scaling, monitoring and alerts, priority and preemption, release changes, and testing. Both LLM inference services and general services support direct and canary releases, but their configuration options and canary workflows differ. Refer to the documentation for the relevant service type.
## Scaling
Inference services support manual and elastic scaling. Before scaling out, confirm that the resource pool has sufficient quota. Before scaling in, ensure that the remaining capacity can handle current traffic, persistent connections, and streaming requests.
| Type | Suitable scenarios | Recommendations |
| - | - | - |
| Manual scaling | Business traffic changes are predictable, or capacity needs to be increased temporarily. | Use the **Resize** option in the service list to adjust the replica count, instance configuration, and resource pool by role. For LLM inference services, if the page shows an **Smart Router** configuration, also verify the routing-side replica count, instance configuration, and **Router Policy**. |
| Scheduled scaling | Traffic peaks and troughs follow a clear pattern. | In the advanced settings for creating or updating a service, configure the schedule and target replica count, and allow time for resource provisioning and model warm-up. |
| Metrics-based scaling | Traffic fluctuates significantly and needs to be handled automatically. | Configure rules based on the target role, metrics, threshold, collection window, cooldown period, and minimum and maximum replica counts. Start with conservative thresholds, observe the results, and adjust gradually. |
Before scaling based on metrics, verify that the service's Prometheus metrics endpoint returns data: the metrics port must be a positive number, and the metrics path must begin with `/`. When configuring rules, carefully check the **collection interval**, **window**, **calculation method**, **role**, **Metrics**, **labels**, **threshold**, **duration**, **Pod aggregation**, **minimum replicas**, **maximum replicas**, **scaling step**, **cooldown period**, and **metric unavailability policy**. Missing metrics do not mean the load is `0`; follow the page's policy to skip the action, reuse the last value, or perform fallback handling.
When scaling based on time, verify the scheduled time, target role, target replica count, time zone, cross-day rules, and minimum service capacity. Allow time for resource provisioning and model warm-up. The maximum replica count is only an adjustment limit; the platform does not reserve resources in advance based on it.
If any role in a service uses the `variants` multi-instance group configuration, metrics-window autoscaling cannot be enabled for the service. After a manual adjustment, an automatic policy may change the target replica count again. Before troubleshooting at a fixed capacity or load testing, decide whether to suspend automatic policies.
## Monitoring and alerts
Inference services can collect resource and engine metrics. Resource monitoring shows CPU, GPU, GPU memory, memory, and network usage. Engine monitoring shows request-, latency-, and throughput-related metrics for engines such as vLLM and SGLang.

| Objective | What to check | Suggested action |
| - | - | - |
| Identify resource bottlenecks | CPU, GPU, GPU memory, memory, and network. | If resource usage remains near its limit and latency rises, consider scaling out or adjusting engine parameters. |
| Identify engine bottlenecks | Engine metrics such as request volume, errors, latency, and throughput. | Review these with resource metrics to distinguish server-side bottlenecks from fluctuations in requests. |
| Configure alerts | Service exceptions, error rates, delayed deletion, or custom metrics. | Subscribe to alerts related to inference services in the alert center, and configure notification policies according to service availability requirements. |
Available service-exception alerts depend on the subscriptions offered in the console. To monitor custom metrics, first verify that the service exposes a metrics path and port.
## Priority and preemption
When creating an LLM inference service, use **Advanced Config** to set **Priority** and **Preemptible**. **Priority** sets the service's scheduling priority; **Preemptible** determines whether the service can be preempted.
For the configuration entry point and other advanced parameters, see [Create an LLM Inference Service](./create-llm-inference-services#advanced-config).
## Release and testing
| Objective | Reference documentation |
| - | - |
| Release an LLM inference service directly or as a canary, and roll back if the target version has an issue. | [Release and Roll Back LLM Inference Services](./release-and-rollback-llm-inference-services) |
| Release changes to a general service directly, or validate the target version with a portion of the traffic before a full release or rollback. | [Release and Roll Back General Services](./release-and-rollback-general-inference-services) |
| Verify that the service API and model capabilities meet expectations. | [Test LLM Inference Service Functionality](./test-llm-inference-service-functionality) |
| Evaluate service throughput, latency, and capacity limits. | [Load Test LLM Inference Services](./load-test-llm-inference-services) |
Capabilities such as intelligent routing, distributed KV cache, and custom metrics dashboards depend on the engine, cluster, and service configuration. Enable them according to the business goal only when the page provides the relevant settings. Until the available options and fields are confirmed, do not describe these capabilities as fixed procedures.
# Create General Service
Source: https://docs.scitix.ai/siverse/inference/create-general-inference-services
Create continuously running HTTP applications, tool APIs, or custom container services in Siverse, and verify service access.
General Service is used to deploy continuously running HTTP applications, tool APIs, and custom container services. It provides resource, port, gateway, Health Check, and version management. To deploy model engines and multi-role inference workloads, see [Create an LLM Inference Service](./create-llm-inference-services).
## Prerequisites
* You have obtained the required permissions and quota for the target Region, Cluster, Project Group, and resource pool.
* You have prepared a fixed-version image, startup command, application port, and minimal validation request.
* Persistent data has been planned for an authorized Volume, and external dependencies and authentication methods have been confirmed.
* For stateful applications, you have assessed multiple replicas, parallel operation of new and old versions, and data schema compatibility.
## 1. Go to the Create page
1. Go to **Inference > General Service**.
2. Select **Region**, **Cluster**, and **Project Group**.
3. Click **Create**.
## 2. Enter configuration information
### Basic information
| Configuration Item | Description |
| - | - |
| **Region**, **Cluster**, **Project Group** | Determine the service ownership and collaboration scope. |
| **Service Name** | The unique name of the service. |
| **Version Name** | The workload version name, used to distinguish between different versions of the service. |
| **Public within Project Group** | Controls whether the service is visible within the project group. |
### Resource Information
The total resources required by the service are calculated based on the specifications of each replica and the number of replicas.
| Configuration Item | Description |
| - | - |
| **Replicas** | Number of service instance replicas. |
| **Resource Type** | Select a resource type, such as reserved, on-demand, or Spot. |
| **Instance** | Select the instance specification used by the service. When using a reserved instance, first select a resource pool. |
| **Count Per Node** | Configure the number of instance specifications used by a single replica. |
| **Resource Priority** | Controls the service scheduling priority. |
### Environment Information
The startup command and mount configuration use paths inside the container.
| Configuration Item | Description |
| - | - |
| **Port Configuration** | Configure the ports on which the service listens. You can add multiple ports. The ports must match the ports actually listened on by the application. |
| **Image** | Select a preset image, a custom image, or enter an image address. Using an image with a fixed version is recommended to ensure reproducibility during subsequent rollbacks. |
| **cmd** | The command to run after the container starts. |
| **Storage** | Mount the volumes required for service operation. Store persistent data in volumes to prevent data loss when instances are rebuilt. |
| **Environment Variables** | The platform injects variables into the container runtime environment when the workload starts. Applications can read the configuration at runtime, avoiding hardcoding configuration in the code. |
The application must listen on an address accessible from outside the container. If it listens only on `127.0.0.1`, it typically cannot be accessed through the gateway.
### Enhanced Features
| Configuration Item | Description |
| - | - |
| **Require Authentication** | When enabled, the platform generates an access token for the service. Go to the **Overview** tab on the service details page, click **View Details** under **Endpoint**, and then view it in **Endpoint Details**. When calling the service, include `Authorization` in the request header. Anonymous access will be denied. Authentication is recommended for production services. |
| **Enable Base URL** | Enabled: The access entry retains the prefix path generated by the platform, and the service must be able to handle this prefix path. Disabled: The entry path is rewritten, and the service processes requests according to its original API path. To support prefix paths, configure `root_path` or `basePath` in the application framework, or use a custom Nginx rewrite to forward requests to the application's original path. |
| **Graceful Exit Delay** | Configures the wait time before the service stops, allowing the instance time to process pending requests, release connections, or save its state. |
| **Health Check** | Allow sufficient time for initialization to prevent repeated restarts during startup. A failed liveness probe triggers an instance restart. A failed readiness probe removes the instance from traffic but does not restart it. Supports **Exec**, **HTTPGet**, and **TCPSocket**. To check multiple ports simultaneously, use **Exec** to run a custom check command, and ensure that the image includes `nc` or an alternative tool. |
### Gateway Configuration
General services are accessible through the platform's shared gateway by default. To use a custom domain name or configure different ingress paths by port, click **Add Gateway** and select **Independent Gateway**.
Before configuring an independent gateway, complete the following preparations:
* Resolve the custom domain name to the gateway ingress of the current cluster.
* Prepare the domain certificate and HTTPS access policy.
* In **Port Configuration**, add the service ports that the standalone gateway needs to forward.
| Configuration Item | Description |
| - | - |
| **Domain Name** | Enter a custom domain name for which DNS resolution and HTTPS have been configured. |
| **Dir** | Configure the path used by callers, such as `/api` or `/metrics`. Within the same cluster, the combination of domain name and entry path must be unique. |
The same domain name can be forwarded to different ports through different entry paths, or separate domain names can be configured for different ports. The gateway configuration should be consistent with the service's actual protocol, port, path, authentication method, and **Base URL** settings.
### Monitor Information
Used to compare error rates, latency, and resource usage before and after release.
| Configuration Item | Description |
| - | - |
| **Metrics Monitor** | When enabled, the platform collects service metrics for monitoring, capacity analysis, or alerting. |
| **Metrics Port** | The port on which the service exposes Metrics, for example, `9090`. |
| **Metrics Dir** | The path on which the service exposes Metrics, for example, `/metrics`. |
## 3. Submit Creation
Click **Create**. After submission, view the Status in the general service list.
When the service has not entered **Running**, view the workload details, events, image pull status, storage mounts, and startup logs to confirm that the instance is ready.
## 4. Verify Access
After the service enters **Running**, follow these steps to verify that the access path and service responses meet expectations:
1. Go to the **Overview** tab on the service details page. Under **Endpoint**, click **View Details**. In **Endpoint Information Details**, view link addresses such as **Shared Gateway** and **In-Cluster Access (VPC)** by port. If authentication is enabled for the service, also obtain the platform-generated token.
> [!TIP]
>
> If console-domain access is disabled, use the cluster's shared gateway address to verify access. For configuration details, see [Enable or disable console-domain access](./manage-general-inference-services#enable-or-disable-console-domain-access).
2. Send a minimal request based on the actual protocol, port, entry path, and authentication method. If multiple ports are configured for the service, verify each port that needs to be exposed externally. When authentication is enabled, include `Authorization` in the request header. When **Base URL** is enabled, confirm that the service can process request paths with a prefix.
3. Confirm that the required volume read/write operations, external dependencies, and authentication flow are functioning properly.
4. Record the error rate, latency, and resource usage as a baseline for comparison during subsequent updates or canary releases.
> [!NOTE]
>
> Passing the Health Check only indicates that the platform probe has succeeded; it does not guarantee that service requests will succeed. Route production traffic only after the expected ready capacity has been reached and minimum request validation has passed.
## Next Actions
After the service passes the initial verification, you can continue with the following actions based on subsequent objectives:
* **Release or roll back a service version**: Low-risk, validated changes can be released directly. When the target version needs to be validated first, use canary release and, based on the validation results, continue the rollout, roll back, or clean up the old version. For more information, see [Release and Roll Back General Services](./release-and-rollback-general-inference-services).
* **Manage running services**: View service Endpoints and workloads, or as needed, update the dedicated gateway, bring services online or offline, restart services, configure scheduled policies, share, or Delete services. For more information, see [Manage General Services](./manage-general-inference-services).
# Create an LLM inference service
Source: https://docs.scitix.ai/siverse/inference/create-llm-inference-services
Create an LLM inference service on Siverse and configure the model source, inference engine, resource pool, service port, service gateway, and advanced parameters.
After you create an LLM inference service, the platform starts service instances based on the model, inference engine, resource pool, and service configuration, and provides an endpoint for online invocation. You can create the service using a form or reuse an existing configuration through JSON.
## Create a Service Using a Form
### 1. Go to the creation page
1. Go to **Inference > LLM Inference**.
2. Click **Create** and select **Create with Form**.
### 2. Enter configuration information
#### Basic Setting
Basic settings determine the service scope, service name, and Project Group visibility.
| Configuration | Description |
| - | - |
| **Region**, **Cluster** | Determine the resource scope in which the service is created. The available resource pools, models, storage, and images are affected by the selected region and cluster. |
| **Service Name** | The unique name of the service. We recommend including the model name, purpose, or environment to facilitate subsequent search and O\&M. |
| **Service Description** | Records the service purpose, model version, callers, or deployment notes. |
| **Project Group** | Determines the service ownership and collaboration scope. |
| **Public within Project Group** | When enabled, other users in the project group can view or reuse the service. Specific permissions are subject to the project group configuration. |
#### Recommendation Templates and Resource Pools
| Configuration | Description |
| - | - |
| **Use Recommended Template** | To reuse an existing template, enable this option and select the target template. The template automatically populates the Model, Engine, probe, monitoring, and some Advanced Config settings. Before submitting, verify that they meet the requirements of the current service. |
| **Resource Pool** | Select the resource source for the service. The page may display a combination of Resource Type and resource pool type, for example, **Reserved / Shared** for a reserved instance in a shared resource pool. The resource pool affects available quota, scheduling location, and the resource guarantee method. After creation, you can confirm the actual resources in use under **Resource Pool** and **Occupied Resources** in the service list. |
To create or maintain templates in advance, see [Manage LLM Inference Templates](./manage-llm-inference-templates).
#### Inference Engine
| Configure | Description |
| - | - |
| **Engine** | Select the inference engine and version, for example, **SGLang / v0.5.1.post1-cu126**. Available options are based on the current Cluster. To add an engine version, use another runtime image, or adjust the role rules for an Execute Type, see [Manage LLM Engine Config](./manage-llm-inference-engine-configurations). |
| **Engine Params** | Click **Add more fields** to add engine parameters. The system-distributed parameters required by **vLLM** and **SGLang** in distributed and PD-disaggregated scenarios are generated by the platform and do not need to be specified again. |
| **Execute Type** | Select `distributed`, `pd-disaggregated`, or `single-node`. The Execute Type affects the roles and resources that must be configured later. |
| **Served Model Name** | Set the model identifier used in client requests. When using the OpenAI-compatible API, the model name in the request must match this configuration. |
After you select **Engine** and **Execute Type**, the page displays the corresponding role resource configuration. The actual roles depend on the engine, engine version, and execute type, and should not be inferred solely from the execute type name.
The Execute Type is used as follows:
| Execute Type | Applicable Scenario | Configuration Focus |
| - | - | - |
| `single-node` | The Model and runtime state can fit on a single node. A single node can also use multiple GPUs. | Configure the single-node specifications, number of GPUs, and parallelism parameters. |
| `distributed` | The Model or execution plan needs to run across multiple nodes. | Configure the group size, node resources, communication network, and parallelism parameters. |
| `pd-disaggregated` | The capacity for the input processing and generation stages needs to be planned separately. | Configure Prefill, Decode, routing, and other roles displayed on the page separately. For Prefill, focus on input length and request concurrency; for Decode, focus on output length and request concurrency. |
When selecting an execute type, evaluate the model size, status, representative requests, and target concurrency. The execute types and role combinations actually supported are subject to the current engine version and cluster display.
After changing the **Engine** or **Execute Type**, the existing role configuration may no longer apply. Before submission, recheck the roles displayed on the page, the number of replicas for each role, group size, instance specification, and total GPU count.
For multi-node or multi-role services, calculate the resource requirements for each role separately. The number of GPUs for a role can be estimated as `number of role replicas × number of nodes per group × number of GPUs per node`; the number of GPUs per node must also account for the Count Per Node of the instance specification. For example, if a role is configured with 2 replicas, 2 nodes per group, and 4 GPUs per node, the role uses a total of 16 GPUs. If both the old and new capacity are retained during an update, the additional resources must be calculated separately.
When vLLM and SGLang use the platform's preset startup method, Engine Params are appended to the platform-generated startup command, for example, `vllm serve --port --host {{Engine Params}}` or `python3 -m sglang.launch_server --port --host {{Engine Params}}`. In Custom mode, you must enter the complete startup command and ensure that the command, port, and service protocol are consistent with the subsequent port, probe, and gateway configurations. To read the model path or Engine Params passed by the platform, you can reference environment variables such as `MODEL_PATH` and `ENGINE_PARAMS` in the command.
#### Model Configuration
| Configure | Description |
| - | - |
| **Model** | Select the model source.**Hugging Face**: Enter the model name and Hugging Face Token. **Volume**: Select an authorized Volume, then enter the container mount path and the model path under the mount directory. **Model Repository**: Select a model and version from the model repository. **OSS**: Enter information such as the object storage bucket, path, and Access Keys. Do not include keys in screenshots, logs, or shared materials. |
| **Lora Model** | To load a LoRA Adapter, enable this option and select the corresponding model. |
When Volume is selected as the model source, distinguish between the in-container mount path and the model path under the mount directory. The model path ultimately passed to the inference engine is `MountPath/ModelPath`. If `SubPath` is specified, it is used only to restrict the PVC to a specific subdirectory and perform directory-level authorization. Do not use the model path as the Kubernetes `SubPath`. The same rules apply when Lora Model uses Volume as its source.
#### Cache Configuration
| Configuration | Description |
| - | - |
| **Enable Distributed Cache** | Enables distributed caching capability for supported engines. Availability and any required roles, ports, or parameters depend on the current engine and the options displayed on the page. |
#### Service Configuration
Service configuration is used to control Health Checks for service instances.
| Configure | Description |
| - | - |
| **Liveness Probe Check** | Determines whether the service process is alive. If checks continue to fail, the platform may restart the service instance. If the model takes a long time to load, do not configure the checks too aggressively to avoid incorrectly identifying the startup phase as abnormal. |
| **Readiness Probe Check** | Determines whether the service is ready to receive traffic. If the check fails, the platform will not route new requests to the instance. We recommend configuring a readiness probe first and routing traffic only after the model has finished loading. |
Probes support HTTP, TCP, and Exec. HTTP is suitable for services that already provide health check endpoints such as `/health` or `/ready`; TCP is suitable for services that only need to verify port connectivity; Exec is suitable for running custom commands within a container to check files, processes, or the status of multiple ports.
A common Health Check path for vLLM and SGLang is `/health`. The actual path and port should be based on the selected Engine configuration and the capabilities actually exposed by the service.
#### Monitor Config
| Configuration | Description |
| - | - |
| **Metrics** | Enter the metrics path and metrics port for service monitoring, elastic scaling, or alarms. Common default paths for SGLang, vLLM, and Custom are `/metrics`; common default ports are `8000` for vLLM, `30000` for SGLang, and `8080` for Custom. For deployment methods such as PD disaggregation, the monitoring port may differ from the service port. Refer to the configuration generated or displayed on the current page. |
#### Advanced Config
| Configuration | Description |
| - | - |
| **Environment Variables** | Click **Add more fields** to inject runtime configuration into the service. |
| **Volume**, **Mount Dir** | Mount additional Volumes to read models, configuration files, or dependency data. Directory-mode volumes support mounting a specified subdirectory through `SubPath`; mount paths within the same container must be unique. |
| **Service Port** | Configure the port on which the service listens or that it exposes. This port must match the port actually listened on by the engine or custom command. |
| **Auto Scaling Configuration** | Adjust the number of replicas based on time or metrics. Before the initial release, it is recommended to manually verify service capacity before enabling automatic policies. For more complete scaling policies, see [Advanced Inference Service Operations](./advanced-inference-service-operations). |
| **Gateway Configuration** | Click **Add Gateway** to configure the service access endpoint, routing, and authentication. Select **Gateway Type**, **Enable Route Hash**, and **Auth Token** as displayed on the page. For **Gateway Type**, you can select supported types such as **Shared Gateway**. After **Auth Token** is enabled, authentication information must be included when calling the service. Use the corresponding OpenAI-compatible path only when the engine or route explicitly provides a compatible interface. |
| **Send Alarms** | When enabled, service exceptions can enter the alarm workflow. Configure the notification method in the alarm center. |
| **Priority** | Set the scheduling priority of the service. |
| **Preemptible** | Specify whether the service can be preempted. |
| **Enable Gang Scheduling** | When enabled, multiple roles within the same replica are scheduled only after their resource requirements can be met as a whole. This is suitable for services with strong dependencies among multiple roles. |
| **Fast Fail** | Enables faster exposure of failure causes for creation-stage exceptions, such as image pull failures, facilitating troubleshooting. |
Container local disks (such as local directories `/root` and `/tmp`) have limited capacity. Writing large amounts of data may cause the workload to be evicted, and local data will be cleared after a restart or migration. Store important files, such as datasets, models, and output results, in mounted Volume shared storage. We recommend using mount paths that begin with `/volume` or `/mnt` to avoid overwriting default directories in the image, such as the root directory, `/opt`, `/workspace`, and `/usr`.
### 3. Submit and Verify
1. Before submission, verify the Model source, Engine Version, Execute Type, total resources for each role, ports, gateway, and public scope. If necessary, record the Model Version and key configurations.
2. Click **Submit**.
3. After submission, check the target instances and ready instances for each role, and use events and logs to confirm the Model loading progress.
4. After the service enters the **Running** state, go to the **Service Gateway** tab on the details page to view the actual access address and authentication information.
5. Send a minimal request according to the protocol, path, port, and authentication method, and verify that the Model identifier, response content, and streaming or non-streaming invocation method meet expectations. Use the corresponding OpenAI-compatible path only when the Engine or route explicitly provides a compatible API. In **Custom** mode, invoke the service according to its actual protocol.
Access Tokens must not appear in screenshots, Logs, or shared materials.
## Create a Service Using JSON
If you need to reuse existing configurations, migrate services in batches, or generate service parameters through automated workflows, you can use JSON to create them.
1. Go to **Inference > LLM Inference**.
2. Click **Create** and select **Create with JSON**.
3. Select a **Region** and **Cluster**.
4. Enter the service configuration JSON in the editor.
5. Click **Create**.
### Configuration Example
The following example uses a model from the model repository to create an LLM inference service with **vLLM** in **single-node** mode. Before submitting, replace the placeholder values based on the actual Region, Cluster, ResourcePool, Instance Spec, model path, and access policy.
```json theme={null}
{
"name": "qwen-vllm-service",
"description": "Qwen vLLM inference service",
"modelConfig": {
"modelSource": {
"storageType": "model-repo",
"storage": {
"modelRepo": {
"name": "Qwen/Qwen2.5-0.5B-Instruct",
"version": "v1.0"
}
}
}
},
"servingEngineConfig": {
"engineType": "vllm",
"engineVersion": "v0.8.5",
"executeType": "single-node",
"engineParams": {}
},
"resourcePool": "",
"resourcePoolType": "dedicated",
"resourcePoolQosType": "reserved",
"roleConfig": {
"server": {
"replicas": 1,
"ports": [
{
"name": "router",
"containerPort": 8000
}
],
"resourceConfig": {
"instanceName": "sci.g20-3",
"instanceQuantity": 1
},
"routerConfig": {
"routerPolicy": "round_robin",
"resourcePool": "",
"resourcePoolType": "shared",
"resourcePoolQosType": "ondemand"
}
},
"worker": {
"replicas": 1,
"resourceConfig": {
"instanceName": "sci.g20-3",
"instanceQuantity": 1
}
}
},
"serviceConfig": {
"replicas": 0,
"servicePort": {
"name": "server",
"port": 8000
},
"registerConfig": {
"servedModelName": "qwen2.5"
},
"readinessProbe": {
"probeType": "",
"initialDelaySeconds": 0,
"periodSeconds": 0,
"timeoutSeconds": 0,
"probeConfig": {}
},
"livenessProbe": {
"probeType": "",
"initialDelaySeconds": 0,
"periodSeconds": 0,
"timeoutSeconds": 0,
"probeConfig": {}
},
"autoScaleConfig": {
"autoScaleType": "timeseries",
"timeseriesConfig": {
"timePoints": []
}
}
},
"gatewayConfigs": [
{
"type": "Shared",
"authToken": "",
"enableHashRoute": false
}
],
"metricsConfig": {
"metricsType": "prometheus",
"metricsPath": "/metrics",
"metricsPort": 8000
},
"monitoringConfig": {
"enableAlarmPush": true
},
"env": {
"MODEL_PATH": "/mnt/model/Qwen/Qwen2.5-0.5B-Instruct",
"NCCL_IB_ADDR_FAMILY": "AF_INET6",
"NCCL_IB_ADDR_RANGE": "",
"TZ": "Asia/Shanghai"
},
"storageConfig": {
"fileSystemVolumes": []
}
}
```
### Configuration Description
| Configuration Block | Description |
| - | - |
| `name` | Service name. |
| `modelConfig` | Model source, model name, version, and storage configuration. |
| `servingEngineConfig` | Inference engine type, version, execute type, and engine parameters. `executeType` affects the roles that need to be configured in `roleConfig`. |
| `resourcePool` / `resourcePoolType` / `resourcePoolQosType` | The resource pool, resource pool type, and resource type used by default for the service. |
| `roleConfig` | The number of replicas, ports, and resource configuration for the roles used in the current example. The `server` and `worker` roles in the example apply only to this configuration and do not imply that different engines, versions, and execute types use the same roles. Refer to the creation page for the roles that actually need to be configured. |
| `serviceConfig` | Configuration for auto scaling, probes, registration information, service ports, and more. `registerConfig.servedModelName` is the model identifier used in client requests and must match the model name in the request. |
| `gatewayConfigs` | Gateway, routing, authentication, and access endpoint configuration. If `authToken` is empty, verify whether it is generated by the platform or needs to be configured separately based on the actual authentication policy. |
| `metricsConfig` | Metrics collection path and port configuration. |
| `monitoringConfig` | Monitoring-related configuration, such as alarm notifications. |
| `env` | Environment variables for the service runtime. |
| `storageConfig` | Additional storage configuration, such as Volume. If no additional storage is mounted, `fileSystemVolumes` can be an empty array. |
When creating with JSON, ensure that the resource pool, model, image, ports, environment variables, and gateway information are consistent with the target region and cluster. Before submitting, you can copy the configuration from an existing service or template, then modify the required fields for the current service.
## Next Steps
* [Release and Roll Back LLM Inference Services](./release-and-rollback-llm-inference-services)
* [Manage LLM Inference Services](./manage-llm-inference-services)
# Inference Overview
Source: https://docs.scitix.ai/siverse/inference/inference-services-overview
Learn about inference service types in Siverse, key concepts before creation, and how to use LLM inference services and general services.
Inference services enable you to publish LLMs or containerized applications as online services and expose them through endpoints. Before proceeding, determine whether you want to publish an LLM inference workload or a standard HTTP, gRPC, or other containerized service, and then follow the corresponding creation path.
## Service Type
| Service Type | Suitable Scenarios | Key Considerations Before Creation |
| - | - | - |
| **LLM inference service** | Deploy large language models and provide online inference using **vLLM**, **SGLang**, **Dynamo**, or a custom engine. | Confirm the model source, inference engine, execute type, role resources, and whether an inference template is required. |
| **General Service** | Deploy containerized online applications such as OCR, embedding, retrieval, business APIs, post-processing services, or self-developed inference APIs. | Confirm the fixed-version image, startup command, service port, resource specifications, access method, and health check. |
To deploy a large language model, we recommend using **LLM Inference Service**. If the service is essentially a custom HTTP, gRPC, or other containerized application, **General Service** is more suitable.
## Basic Objects
| Concept | Description |
| - | - |
| **LLM Engine Config** | Defines the engine name, version, runtime image, and role rules for different execute types used for LLM inference. If an existing configuration meets deployment requirements, it can be reused directly; you do not need to create one separately for each service. |
| **LLM Inference Template** | Stores reusable models, engines, execute types, probes, monitoring settings, and some advanced configurations. Use it when you need to standardize team configurations or repeatedly create similar services. |
| **Service** | An online service that is available for external invocation and is the managed object of the inference module. |
| **Runtime Resources** | The resource pool, resource type, and instance specification consumed while the service is running. Resource selection affects whether the service can be scheduled or scaled out, as well as its operating cost. |
| **Instance / Replicas** | The runtime units that actually handle requests. Increasing replicas is typically used to improve concurrent request capacity; for multi-role services, pay attention to the replicas of each role separately. |
| **Endpoint** | The address clients use to invoke the service. Depending on the service type and configuration, it can be used for access from outside the cluster, within the cluster, or through an independent gateway. |
| **Gateway** | Manages service access entries, paths, routing, and authentication. After authentication is enabled, callers must include an access token. |
## Usage workflow
### LLM Inference Service
1. Prepare the model, resource pool, and volume. The model can come from the model repository, Volume, object storage, or other available sources.
2. To add or maintain an engine version, first [manage LLM engine configurations](./manage-llm-inference-engine-configurations). To reuse team service configurations, create a template in [Manage LLM Inference Templates](./manage-llm-inference-templates).
3. When creating a service, select the model source, inference engine, and execute type, then configure resources by role. Different role configurations are displayed for single-node, multi-node, and PD-disaggregated deployments.
4. After submission, wait for the service to enter **Running**, then view the endpoint provided by the service and send a minimal request.
5. After the service goes live, adjust the size as needed, perform functional testing, conduct performance stress testing, or configure alerts. When you need to change the model or service configuration, choose direct release or canary release, and roll back the service if the target version encounters an exception.
### General Service
1. Prepare a fixed-version image, startup command, application port, resource pool, minimum validation request, and required storage resources.
2. When creating a service, configure Basic information, Resource Information, Environment Information, enhanced features, gateway, and monitoring.
3. If authentication or **Base URL** is enabled, ensure that callers can include a Token and that the service can handle the corresponding access path.
4. After the service enters the **Running** state, view the endpoint and send a minimum business request. Also verify that the Volume, external dependencies, and authentication method are functioning properly.
5. After the service passes initial validation, choose direct release or canary release based on change risk. Perform deployment, takedown, restart, scheduled tasks, or rollback as needed during routine operations.
## Related Documentation
* [Create an LLM inference service](./create-llm-inference-services)
* [Create a general service](./create-general-inference-services)
# Performance Testing for LLM Inference Services
Source: https://docs.scitix.ai/siverse/inference/load-test-llm-inference-services
Run performance stress tests on active LLM inference services to evaluate throughput, latency, capacity limits, and stress test report metrics.
Performance testing is used to evaluate the throughput, latency, and capacity limits of an LLM inference service. The platform launches a load-testing client, sends real requests to the service based on the configuration, and reports metrics such as QPS, time to first token, token generation speed, end-to-end latency, token throughput, and HTTP status distribution. The performance test report provides metrics only and does not determine pass or fail.
## Initiate Performance Stress Testing
### 1. Go to the load testing page
Go to the details page of the target LLM inference service, open the **Test** tab, and click **Add Stress Test Task**.
Load testing requires the service to be **Running**. A service can have only one active test task at a time; this limit is shared by performance load testing and functional testing. Load testing adds actual load to the target service. We recommend performing it during a time window when the service can handle additional traffic, or running load tests on canary instances or dedicated instances.
### 2. Configure Stress Testing
#### Select the Load Testing Configuration
The stress test type determines the performance scope to be monitored for this task.
| Benchmark Type | Suitable Scenarios | Result Interpretation |
| - | - | - |
| **Single-Point Test** | Validate throughput and latency under a single load configuration. | The report shows the performance metrics for the current configuration. |
| **Cache Hit Rate Matrix** | Compare performance variations across different input, output, and cache hit conditions. | Compare combinations using a heatmap to identify the impact of cache hit rate changes on throughput and latency. |
| **Rate Scan Matrix** | Scan different request rates to identify the service capacity boundary. | Observe throughput and latency changes through rate curves to identify capacity inflection points. |
Matrix jobs run multiple test configurations and typically take longer than single-point tests. Refer to the page for the available load-testing configurations.
#### Select a Load Generation Method
The load generation method determines how the stress testing client sends requests to the service.
| Load Generation Method | Description |
| - | - |
| **Fixed Concurrency** | Maintains a specified number of in-flight requests at all times. Suitable for validating stable performance at a given concurrency level. |
| **Fixed Request Rate** | Continuously sends requests at a specified arrival rate. Suitable for simulating relatively stable business traffic. |
| **Maximum Throughput** | Increases request pressure as much as possible within the configured range. Suitable for exploring the maximum throughput the service can achieve. |
After selecting a method, enter the corresponding parameters on the page, such as concurrency or request rate, runtime duration, warm-up duration, and maximum number of requests. Start with a workload close to real-world business traffic and gradually increase it to avoid placing excessive pressure on the service all at once.
#### Select API Type
| API Type | Corresponding Endpoint |
| - | - |
| `completions` | `/v1/completions` |
| `chat_completions` | `/v1/chat/completions` |
The API type must match the interface actually provided by the service.
#### Select Data Source
| Data Source | Description |
| - | - |
| **Synthetic Data** | Generates request data based on token specifications, suitable for standard load testing and matrix load testing. Synthetic data depends on an available tokenizer; this option may be unavailable if the platform cannot infer the tokenizer from the service. |
| **Single Data Item** | Reuses a single request payload, suitable for quick testing with fixed input. |
| **Remote URL** | Reads a dataset from a URL accessible to the load-testing client. |
| **OSS** | Reads a dataset from object storage. Enter the storage address, dataset path, and access credentials as prompted on the page. |
| **Volume** | Reads a dataset from a platform volume. Select a Volume and enter the dataset path as prompted on the page. |
#### Configure Load Testing Clients and Request Options
| Configuration | Description |
| - | - |
| **Resource Pool** | Select the resource pool to be used by the load-testing client. The load-testing client itself consumes resources; insufficient resources may cause tasks to queue or fail. |
| **Instance Specification** | Select the instance specification for the load-testing client. Increasing client resources improves load generation capacity only when the load-testing client is the bottleneck. |
| **Custom Header** | Add headers to load-testing requests. Custom headers cannot override the authentication headers used by the platform to access the service. |
| **Skip SSL Verification** | Enable this option when the target endpoint uses a self-signed certificate, a test certificate, or an incomplete certificate chain. For production load testing, it is recommended to correct the certificate configuration first. |
### 3. Submit the stress test
Click **Submit**. The load testing task runs asynchronously. You can view its status in the task list on the **Test** tab.
The total duration displayed for a task includes queuing, resource creation, Pod startup, and actual execution time. It is not equivalent to the actual runtime of the load testing request.
## View Stress Test Results
After the stress test task reaches a terminal state, click **View Report** in the task list on the **Dry-run** tab.
Performance testing outputs metrics only. Whether the requirements are met must be determined in conjunction with business SLAs, cost, and capacity targets.
| Metrics | Description | Recommendations |
| - | - | - |
| **QPS** | Measured request throughput. | Use this metric to assess the service's request-processing capacity under the current configuration. |
| **Success Rate** | Percentage of successfully completed requests. | Evaluate whether requests are completed reliably together with the HTTP status distribution. |
| **TTFT** | Time to first token. | Focus on this metric for streaming output; tail latency is usually more important than the average. |
| **TPOT / ITL** | Token generation speed or the interval between adjacent tokens. | Use this metric to determine whether the generation stage has become a bottleneck. |
| **E2E** | End-to-end latency. | Review P50, P90, P95, and P99 to assess the overall and tail-end experience. |
| **Token Throughput** | Number of tokens processed per unit of time. | Use this metric to compare changes in models, engine parameters, and resource configurations. |
| **HTTP Status Distribution** | Counts of various status codes and `incomplete` requests. | `incomplete` indicates in-flight requests that were still unfinished when the task ended. It is a backpressure signal and should not be treated directly as a failure. |
### Interpreting Matrix Results
* **Cache Hit Rate Matrix**: Compare different combinations of input, output, and cache hit rates using a heatmap. Select a specific cell to view throughput and latency details for that combination.
* **Rate Sweep Matrix**: Use rate curves to observe throughput and latency changes as the request rate increases, helping identify capacity inflection points. Maximum throughput represents the upper throughput limit the service can achieve and does not reflect typical latency performance at that rate.
When comparing results from multiple load tests, ensure that the model, engine version, service specifications, request data, load test pattern, load generation method, and target endpoint are consistent. If any of these differ, throughput and latency differences may not be comparable.
## Stop or Delete Stress Test Tasks
| Action | Impact |
| - | - |
| **Stop** | Terminates any load testing clients that are still running. Results that have already been returned are retained. |
| **Delete** | Deletes the load testing task and its report, and releases the active test task quota for the service. The report cannot be viewed after deletion. |
## Identifying Bottlenecks
| Symptom | Possible Cause | Recommended Action |
| - | - | - |
| Server GPU, GPU memory, or CPU utilization is near its limit, and latency rises rapidly with load. | Server capacity has reached a bottleneck. | Consider adding replicas, adjusting resources per replica, or optimizing engine parameters. |
| The load-testing client CPU is near its limit, while server resources still have headroom. | The load-testing client has become the bottleneck. | Increase load-testing client resources or reduce the load per task. |
| A large number of `5xx` or gateway errors occur. | The service is not fully ready, the ingress configuration is abnormal, or the server is overloaded. | First send a minimal request to verify the service, then check logs, events, and monitoring. |
| **Synthetic Data** cannot be selected. | The platform cannot infer the tokenizer from the service model source. | Use **Single Data**, **Remote URL**, **OSS**, or **Volume** instead, or configure an available tokenizer as prompted on the page. |
## Frequently Asked Questions
> [accordion] Will load testing affect real production requests?
>
> Yes. Load testing sends real requests to the target service and increases the actual load. Before load testing a production service, select an off-peak business window, canary instances, or dedicated instances.
> [accordion] Why does the report not provide a pass or fail conclusion?
>
> Performance stress testing outputs only metrics. Whether the requirements are met must be determined based on business SLAs, cost, and capacity targets. If you need an API correctness conclusion, use functional testing.
> [accordion] What should I do if there is already an active task?
>
> This service already has an unfinished performance stress test or functional test task. Wait for the task to finish, or stop the existing task before starting a new test.
> [accordion] Why is synthetic data unavailable?
>
> Using synthetic data requires a tokenizer. If the platform cannot infer a tokenizer from the source of the current service model, you can instead use **Single Data**, **Remote URL**, **OSS**, or **Volume**, or configure an available tokenizer as prompted on the page.
## Related Documentation
* [Test LLM Inference Service Functionality](./test-llm-inference-service-functionality)
# Manage General Service
Source: https://docs.scitix.ai/siverse/inference/manage-general-inference-services
Find and access general services in Siverse, view running workloads, and perform routine actions such as bringing services online or offline, restarting, sharing, or deleting.
After a general service is created, you can find it in the service list and view its endpoints, workload details, logs, and monitoring information on the details page. You can also bring it online, take it offline, restart it, configure scheduled tasks, share it, or delete it as needed.
## Find Services
1. Go to **Inference > General Service**.
2. Select a **Region**, **Cluster**, and **Project Group**.
3. Find services by service name, project group, or other filter criteria.
4. View services under the **Personal Services** or **Shared Services** tab.
When locating a service, focus on its service status, endpoint, resource configuration, desired replicas, ready replicas, and public access scope. If the service has not entered the **Running** state, first check the workload details, events, and logs.
## Access Services
### Get access addresses and call the service
Go to the **Overview** tab on the service details page. Under **Endpoint**, click **View Details**. In **Endpoint Information Details**, view the link addresses and authentication information by port.
| Access Method | Description |
| - | - |
| Shared Gateway | Obtain the link address for access from outside the cluster in **Endpoint Information Details**. The page provides two types of links: **Hash Security Mode** and **Plaintext Mode**. If the service is configured with multiple ports, view and use the corresponding link based on the actual port. |
| In-cluster Access (VPC) | Access the service through the address displayed on the page from within the same Kubernetes cluster or VPC internal network. This is suitable for invocation by other workloads or debugging within a Pod. |
| Dedicated Gateway | Access the service using a custom domain name and ingress path. If a service includes multiple ports, requests can be forwarded to the corresponding ports through different ingress paths under the same domain name or through different domain names. |
When calling the service, use the protocol, port, path, and authentication method consistent with the service configuration. For the complete validation procedure after initial creation or an update, see [Create General Service](./create-general-inference-services#4-verify-access).
When a service runs with multiple replicas, requests are not distributed to each replica strictly in round-robin order. Instead, overall traffic is balanced through probabilistic random distribution or connection-level load balancing. When troubleshooting an issue with a single replica, use instance logs and the request time range to identify the problem.
### Enable or disable console-domain access
> [!WARNING]
>
> If any clients use the console domain, switch them to the cluster's shared gateway address and verify their requests before disabling console-domain access.
On the **Overview** tab, under **Environment Information**, use the console-domain access toggle to enable or disable access through the console domain. If you disable this option, use the cluster's shared gateway address to access the service.
## Update Standalone Gateway
When modifying only the standalone gateway domain name or access path, you do not need to update the service's runtime configuration, such as its image or resources:
1. In **Inference > General Service**, locate the target service and click **More > Update Domain** in the Actions column.
2. Add, modify, or delete an independent gateway, and confirm the mapping between domain names, entry paths, and service ports.
3. Click **Save**. After the configuration takes effect, go to the **Overview** tab on the service details page. Under **Endpoint**, click **View Details**, then use the link for the corresponding port to send a request for verification.
Updating the gateway configuration through **Update Domain Name** does not restart the Pod. If you also need to modify the image, environment variables, resources, or ports, use the service update entry; after submission, the workload may be redeployed.
## View Load Details
On the service details page, view workload details to confirm whether service instances are running as expected.
| Item to Check | Suitable for Troubleshooting | Recommended Actions |
| - | - | - |
| Workload version and replicas | The service is not ready, or the desired and ready replica counts are inconsistent. | First confirm changes to the version and replicas, then determine whether to continue waiting, scale out, or roll back. |
| Events | Instance scheduling, image pulling, storage mount, or health check failures. | First identify the failure stage based on the events, then view the logs of the relevant instance. |
| Instance logs | Application startup failures, ports not listening, missing dependencies, or request errors. | First check the real-time logs of the affected instance. After the instance restarts, view the logs from the previous run. |
| Monitoring metrics | Abnormal CPU, GPU, memory, network, or business metrics. | Compare the request time range with resource usage curves to determine whether the bottleneck is in service resources or application logic. |
| Storage information | Local logs, cache, or temporary files are growing too quickly, or disk usage on the node hosting the instance is abnormal. | On the **Storage** tab, check the usage of **Pod Ephemeral Storage** and **Node Disk**. Data that needs to be retained or continues to grow should be written to a mounted Volume to avoid affecting service instance stability. For details, see [Best practices for ephemeral storage](../best-practices/use-ephemeral-storage). |
## Manage Services
After locating the target service in **Inference > General Service**, you can perform the following actions as needed.
| Action | Purpose | Considerations Before the Action |
| - | - | - |
| **Bring Online** | Starts an offline service so that it can begin accepting requests. | After bringing the service online, wait for it to enter the **Running** state before verifying the endpoint. |
| **Take Offline** | Stops the service and releases its runtime resources. | Migrate or stop business traffic before taking the service offline. |
| **Restart** | Restarts service instances using a rolling upgrade approach. Suitable for handling temporary issues or applying configuration changes. | If new instances cannot be scheduled due to insufficient resources, instances of the earlier version can continue serving requests. The platform will complete the restart when resources become available. |
| **Scheduled Task** | Configures scheduled bring-online, take-offline, or restart operations using Cron expressions. | Confirm the execution time, resource availability, and business impact. Scheduled tasks may be delayed or fail when resources are insufficient or scheduling errors occur. |
| **Share** | Shares the service with other users. | Confirm that the service configuration, endpoint, and data dependencies are suitable for sharing. |
| **Delete** | Deletes the service record and associated resources. | Before deletion, confirm that no callers depend on the service, and save any required configurations or logs. |
## Frequently Asked Questions
> [accordion] Why is the standalone gateway still inaccessible after it has been saved successfully?
>
> Check whether the domain name has been resolved to the gateway endpoint of the current cluster, whether the domain certificate and HTTPS policy have taken effect, whether the service is **Running**, whether the ingress path matches the access URL, and whether the corresponding service port is correct. If the configuration has just been saved, wait for it to take effect and then verify again.
> [accordion] Can a domain name be bound to multiple services?
>
> You can use different entry paths under the same domain name to bind multiple services. However, within the same cluster, the same combination of domain name and entry path cannot be reused by multiple services.
## Related Documentation
* [Release and Roll Back General Services](./release-and-rollback-general-inference-services)
* [Advanced Inference Operations](./advanced-inference-service-operations)
# Manage LLM Engine Config
Source: https://docs.scitix.ai/siverse/inference/manage-llm-inference-engine-configurations
Create and manage LLM Engine Config in Siverse, defining Engine Versions, runtime Images, and role rules for different Execute Types.
LLM Engine Config is used to register inference engine versions that can be selected by services and templates, and to define the runtime Image, Execute Type, and role display rules. If an existing engine configuration meets deployment requirements, you can select it directly when [creating a service](./create-llm-inference-services) or template. Create or edit an engine configuration only when you need to add an engine version, adjust the runtime Image, or maintain role rules.
Engine configurations maintain reusable engine definitions. When creating a service, you must still select an engine Version for the service and configure Engine Params, Execute Type, and role resources.
## Create Engine Configuration
### 1. Go to the creation page
1. Go to **Inference > LLM Engine Config**.
2. Select a **Region** and **Cluster**.
3. Click **Create**.
### 2. Configure the Engine
Enter the engine configuration JSON in the editor. The fields in the configuration collectively determine the engine versions available when creating a service, as well as the roles and configuration items displayed for different execute types.
| Field | Description |
| - | - |
| `engine` | Engine name. |
| `version` | Engine version. |
| `image` | Image used to run the engine. |
| `routerImage` | Image used by the router role. |
| `executeTypeRoles` | Defines the roles corresponding to different execution types. When creating a service, the page displays the relevant role configurations based on the selected execution type. |
| `showRoleRules` | Controls the configurations to display for each role, including parameters, commands, images, specifications, and replica counts. |
The execute type and role rules in the engine configuration must be consistent with the startup method of the corresponding image. When creating a service, use the roles actually displayed on the page for the current engine version. Do not infer roles solely based on the execute type name.
### 3. Submit Creation
Click **Submit**. After creation, this engine version can be selected for LLM inference services and inference templates.
## Manage Engine Configurations
Go to **Inference > LLM Engine Config**, locate the target configuration, and perform the appropriate action.
| Actions | Description |
| - | - |
| **Edit** | Modify the image, Execute Type, or role rules of an engine version. |
| **Clone** | Copy an existing configuration to create a new engine version or configuration variant while retaining the original configuration. |
| **Delete** | Delete engine configurations that are no longer in use. |
## Next steps
* [Create an LLM inference service](./create-llm-inference-services): Continue once the configurations required for your deployment are ready.
* [Manage LLM Inference Templates](./manage-llm-inference-templates): Create or maintain a template when multiple services need to reuse a configuration.
# Manage LLM Inference Services
Source: https://docs.scitix.ai/siverse/inference/manage-llm-inference-services
Find and manage LLM inference services, view access endpoints, instance status, events, logs, monitoring, dry-run tasks, and version information, and adjust service capacity and visibility.
After an LLM inference service is created, you can find it in the service list. On the details page, you can obtain the access endpoint, troubleshoot instance status, view events, logs, and monitoring data, and perform scale-out/scale-in, publish updates, take the service offline, copy, share, make it available to a Project Group, or delete it based on business requirements.
## Find Services
1. Go to **Inference > LLM Inference**.
2. Select **Region**, **Cluster**, and **Project Group**.
3. Enter a service name in the search box, or use filters such as **Engine Type**, **Service Status**, and **ResourcePool**.
4. View services on the **Personal Services** or **Shared Services** tab.
Focus on the following information in the list:
| Objective | Information to Monitor | How to Determine |
| - | - | - |
| Determine whether the service can be invoked | **Service Status**, endpoint. | After the service enters the **Running** state, view the access address and send a minimal request. If the service is in a state such as **Queued** or **Scaling**, first go to the details page to view events and instances. |
| Determine whether resources are properly allocated | **Resource Pool**, **Allocated Resources**. | Monitor the instance specifications and quantities used by each role. If the desired replicas and ready replicas remain inconsistent for an extended period, check events and instance logs. |
| Perform routine O\&M | **Details**, **Scale**, **Update**, **Take Offline**, **More**. | First use **Details** to confirm the current status. To adjust capacity, click **Scale**; to change the configuration, select **Update > Direct Release** or **Update > Canary Release**. To obtain an access entry, go to **Service Gateway** on the details page. In the **More** menu, select **Copy**, **Share**, **Create as Template**, **Delete**, or **Make Public to Project Group** as needed. |
| Confirm the scope of collaboration | **Personal Services**, **Shared Services**, creator, project group, and visibility. | Services that you created or have permission to manage are available under **Personal Services**; services shared by others are available under **Shared Services**. |
## View Service Details
In the service list, click **Details** for the target service. The top of the Details page displays the service status, engine, engine version, creator, region, cluster, and visibility. The tabs below provide access, troubleshooting, monitoring, and testing.
| Objective | Tab to Open | Key Information and Actions |
| - | - | - |
| Verify the current configuration | **Basic Info** | Check whether the model, engine, resources, ports, gateway, and advanced configuration meet expectations, then decide whether to update, scale, or recreate the service. |
| Troubleshoot instances that are not ready or have restarted | **Instance List** | Search by Pod name and check the role, container status, host IP, container IP, restart count, and status. For an individual Pod, click **Restart**, **Live Logs**, **View Monitor**, or **Terminal**. |
| View storage information | **Storage** | View the usage of the service instance's **Pod Ephemeral Storage** and **Node Disk**. Pod ephemeral storage helps determine whether container-local logs, cache, or temporary files continue to grow; node disk usage helps determine whether disk utilization on the node hosting the instance may affect service stability. Data that needs to be retained or continues to grow should be written to a mounted Volume. For details, see [Best practices for ephemeral storage](../best-practices/use-ephemeral-storage). |
| Identify bottlenecks in creation, scheduling, or scaling | **Event** | Use the event timeline to view changes as the service progresses from creation and initialization to queuing and running. Use the event type, subtype, occurrence time, and event details to identify bottlenecks. For ongoing monitoring, use the alarm subscription action in the event row. |
| View resource and engine metrics | **Monitoring** | View data in **Config**, **Resource**, the monitoring tab for the selected engine (such as **Sglang Monitor**), or **Custom**. You can filter by Pod, monitoring data, time range, and sampling interval. |
| Obtain the endpoint address | **Service Gateway** | View the gateway domain name, path, **Auth Token**, and **Enable Route Hash** status for **Shared Gateway** or **In-Cluster Service**. To verify an endpoint, click **Dry-run** for the corresponding gateway. |
| View version information | **Publish Versions** | View the version number, version status, creation time, and update time. For full rollout, rollback, and old-version cleanup during a canary release, follow the current canary release process. |
| Troubleshoot startup or request exceptions | **Log** | View user logs or system logs, select the time range, Pod, and number of lines, then use filters or keyword search to locate issues. If necessary, click **Download** to save the logs. |
| Verify APIs or evaluate performance | **Test** | Click **Start Functional Test** or **Add Load Test Task**. After the task is complete, you can **View Report**, **Copy**, or **Delete** historical test tasks. |

The default time range for Logs is 1 hour. Platform logs are currently retained for only the most recent 30 days. If the selected start time is outside the log retention period, no logs may be displayed.
## Obtain and Verify Access Entry Points
After the service enters the **Running** state, click **Details** in the service list and go to the **Service Gateway** tab to view the gateway configuration, access address, and authentication information, and test the access endpoint as needed.
| Access Method | Suitable Scenarios | Usage |
| - | - | - |
| **Shared Gateway** | Invoke services from outside the cluster or through a unified gateway entry point. | Obtain the gateway domain name and path. If **Auth Token** is enabled, the caller must provide authentication information. If **Routing Hash** is enabled, confirm the routing behavior as required by your business. |
| **In-Cluster Service** | Invoke services from other workloads within the same cluster. | Use the in-cluster domain name and path displayed on the page. Whether it is suitable as a production entry point depends on the network environment and the caller's deployment location. |
If the page provides both a dry-run entry point and a production entry point, the dry-run entry point is for validation only and is not recommended as the formal endpoint. Auth Token must not appear in screenshots, Logs, or shared materials.
## Adjust Service Capacity
When service capacity is insufficient, business traffic changes, or role resources need to be adjusted, click **Scale Out/In** in the service list. Before scaling out, confirm the resource pool quota and available nodes. Before scaling in, ensure that the remaining capacity can handle the current traffic, and pay attention to long-lived connections, streaming requests, and in-flight requests.
| Configuration | Description |
| - | - |
| **Engine Params** | To adjust engine runtime parameters, click **Add more fields**. Changes to engine parameters may affect the startup command, model loading, and API behavior. Before submitting, ensure that the changes are compatible with the current engine, model, and port configuration. |
| **ResourcePool** | Select the resource pool to use for this scale-out or scale-in operation. The resource pool affects available quota, scheduling location, and resource guarantee methods. |
| Role tab | Configure each role displayed on the page separately, such as **worker**. For multi-role services, confirm the number of replicas and resource configuration for each role. |
| **Number of Replicas** | Set the target number of replicas. Changing only the number of replicas typically does not trigger a rolling update. After scaling out, wait until the target and ready replica counts reach the expected values. Before scaling in, confirm that the remaining replicas can handle the current traffic. |
| **Instance Configuration** | Select an instance specification. The page displays information such as CPU, memory, and the number of available nodes for the selected specification. If there are insufficient available nodes, scaling out may be queued or fail. |
| **Image**, **Command** | If these two configurations are displayed on the page, the change may involve the service runtime image or startup command. Before making changes, record the current working configuration and ensure that the new image, command, ports, and model path can still start properly. |
| **Intelligent Routing** | When enabled, configure routing-side resources as required by the page. You can choose whether to use another resource pool and specify the number of routing replicas, instance configuration, and **Request Distribution Policy**, such as `cache_aware_no_queue`. If you are unsure about the meaning of a policy, retain the existing configuration whenever possible. |
After clicking **OK**, go to the details page to view **Event** and **Instance List**, and verify that the target replicas and ready replicas gradually reach the expected numbers. If instances remain unready for an extended period, check **Log** and **Monitoring**. After scaling out is complete, send minimal requests and observe the error rate, latency, and resource usage. After scaling in is complete, verify that the remaining instances can still process requests reliably.
## Manage Services
| Actions | Entry Point and Purpose | Considerations Before Action |
| - | - | - |
| **Update** | In the service list, select **Update > Direct Release** or **Update > Canary Release**. Direct release updates the running version in a single operation. Canary release is used to validate the target version in parallel and to complete full rollout, rollback, or cleanup of the old version within the current canary process. For the complete procedure, see [Release and Roll Back LLM Inference Services](./release-and-rollback-llm-inference-services). | Before modifying the model, engine, image, startup parameters, role structure, or probe, it is recommended that you record the current working configuration, model version, and business baseline. Use canary release for high-risk changes whenever possible. |
| **Take Offline / Bring Online** | For a running service, click **Take Offline** in the list to stop the service. For an offline service, if the **Bring Online** option is available on the page, you can restart the service. | Migrate or stop business traffic before taking the service offline. After bringing it online, wait until the service enters the **Running** state, then verify the endpoint. |
| **Copy** | Select **Copy** from the **More** menu to create a similar service by reusing the current service configuration. | Before submitting, verify the service name, project group, resource pool, access entry, and sensitive settings. Do not directly reuse tokens, paths, or model versions that are unsuitable for the new scenario. |
| **Share** | Select **Share** from the **More** menu to share the service with other users for viewing or use. | Confirm whether the service contains sensitive models, endpoints, or runtime configurations. After sharing, shared users can view it on the **Shared Services** tab. |
| **Make Public to Project Group** | Select **Make Public to Project Group** from the **More** menu to make the service visible within the project group. | Before making the service public, confirm that all project group members are authorized to view or use it. |
| **Create as Template** | Select **Create as Template** from the **More** menu to save the current service configuration as an [LLM Inference Template](./manage-llm-inference-templates). | Before saving, verify that the model path, engine, probe, and gateway configurations are suitable for reuse. |
| **Delete** | Select **Delete** from the **More** menu to delete the service record and related runtime resources. | Before deletion, confirm that no callers depend on the service, and save any required configurations, logs, or troubleshooting information. Deleting services, models, images, and Volumes are separate operations; confirm their dependencies individually. |
## Troubleshoot Service Exceptions
When troubleshooting service unavailability or performance issues, we recommend checking the following in order:
1. Check the service status and events to determine whether there are insufficient resources, image pull failures, probe failures, or gateway configuration issues.
2. Check the instance status to identify affected roles and instances.
3. Check the logs to determine whether there are issues with Model loading, Engine startup, or request processing.
4. Check resource monitoring and Engine monitoring to determine whether GPU, GPU memory, CPU, memory, throughput, or latency is a bottleneck.
5. If you need to verify API correctness, initiate functional testing; if you need to assess capacity, initiate performance stress testing.
## Related Documentation
* [Release and roll back LLM inference services](./release-and-rollback-llm-inference-services)
* [Test LLM inference service functionality](./test-llm-inference-service-functionality)
* [Load test LLM inference services](./load-test-llm-inference-services)
# Manage LLM Inference Templates
Source: https://docs.scitix.ai/siverse/inference/manage-llm-inference-templates
Create, reuse, and manage LLM Inference templates in Siverse to retain Models, Engines, probes, monitoring, and Advanced Config.
LLM inference templates are used to create reusable service configurations. After creating a template, you can enable **Use Recommended Template** when creating an LLM inference service to quickly reuse the Model, Engine, Execute Type, probe, Monitor, and some Advanced Config settings.
## Create Template
### 1. Go to the creation page
1. Go to **Inference > LLM Inference Template**.
2. Select a **Region** and **Cluster**.
3. Click **Create**.
### 2. Enter configuration information
#### Basic Setting
| Configuration | Description |
| - | - |
| **Template Name** | Used to identify and select the template when creating a service. It is recommended to include the model, engine, or deployment type. |
| **Is Public** | Controls whether the template can be viewed or reused by other users. |
#### Model and Engine
| Configuration | Description |
| - | - |
| **Model** | Select the model source, model version, and access path. |
| **LoRA Model** | To load a LoRA Adapter, enable it and configure the corresponding model. |
| **Engine** | Select a configured inference engine and version. To add or maintain engine versions, see [Manage LLM Engine Config](./manage-llm-inference-engine-configurations). |
| **Engine Params** | Add startup parameters for the inference engine. System parameters required for distributed deployment and PD disaggregation are typically generated by the platform and do not need to be entered again. |
| **Served Model Name** | Set the model name exposed by the service. |
#### Probes, Monitor, and Advanced Config
| Configuration | Description |
| - | - |
| **Liveness Probe** | Determines whether the service process is alive. If it fails, the platform can restart the instance according to the policy. |
| **Readiness Probe** | Determines whether the service can receive traffic. If it fails, the platform no longer assigns new requests to the instance. |
| **Metrics** | Configures the metrics collection path and port for monitoring, scaling, or alerts. |
| **Environment Variables** | Injects runtime configuration for the service. |
| **Storage** | Mounts additional volumes. |
| **Service Port** | Configures the port on which the service listens or is exposed. |
| **Auto Scaling Configuration** | Configures service replica scaling policies based on time or metrics. |
| **Gateway Configuration** | Configures the service access entry point, authentication, and routing. |
| **Whether to Send Alerts** | Controls whether service exceptions enter the alerting workflow. |
Probes support check methods such as **HTTP**, **TCP**, and **Exec**. If the service provides a health check endpoint, configure a **Readiness Probe** first to prevent traffic from being routed to the service before the Model has finished loading. If automatic recovery is also required when the process hangs or encounters an error, configure a **Liveness Probe**.
### 3. Submit Creation
Click **Submit**. After it is created, you can select this template and reuse its configuration when creating an LLM inference service.
## Create from a Service Template
If an existing service configuration is suitable for reuse, you can save it as a template from the **Create as Template** entry of the target LLM inference service. Before saving, verify that the model path, engine, probes, monitoring, gateway, and public access scope are suitable for reuse by subsequent services.
## Manage Templates
After locating the target template under **Inference > LLM Inference Templates**, you can edit, clone, or delete it as needed.
| Actions | Description |
| - | - |
| **Edit** | Modify the template configuration. After making changes, recheck the Model, Engine, and Advanced Config before next using the template to create a service. |
| **Clone** | Copy an existing template to create a new one. This is suitable when you want to retain the original template while adjusting the Model, Engine, or Advanced Config. |
| **Delete** | Delete templates that are no longer in use. Before deletion, confirm that your team no longer relies on the template to create services. |
## Next Steps
* [Create an LLM inference service](./create-llm-inference-services)
# Prepare LLM Inference Config
Source: https://docs.scitix.ai/siverse/inference/prepare-llm-inference-configuration
Before creating an LLM inference service, understand the relationship between LLM Engine Config, inference templates, and service creation configurations.
Before creating an LLM inference service, determine whether to reuse existing configurations. If suitable Engine configurations and inference templates already exist, you can select them directly when creating the service. If you need to establish standard configurations for your team, first maintain the corresponding configuration objects.
## Configure Object
| Object | Purpose | When to pay attention |
| - | - | - |
| **LLM Engine Config** | Defines the engine name, version, image, and role rules for different execute types. | Before using a custom engine, a new engine version, a different execute type, or PD-separated deployment. |
| **LLM Inference Template** | Combines the model, engine, execute type, probes, monitoring, and some advanced configurations for reuse when creating services. | When multiple services need to reuse the same configuration, or when the team wants to standardize service creation. |
| **LLM Inference Service** | Starts online service instances based on the model, engine, execute type, and resource configuration. | After confirming the model, resources, ports, gateway, and access method for this deployment. |
Not every service creation requires creating a new Engine configuration or inference template. If an existing configuration meets the deployment requirements, you can proceed directly to [create an LLM inference service](./create-llm-inference-services).
## Configure Large Model Engine
1. Go to **Inference > LLM Engine Config**.
2. Select a **Region** and **Cluster**.
3. Click **Create**.
4. Enter the engine configuration JSON.
5. Click **Submit**.
Common fields are as follows:
| Field | Description |
| - | - |
| `engine` | Engine Name, for example, `vllm`, `sglang`, `dynamo`, or `custom`. |
| `version` | Engine version. |
| `image` | Image used to run the engine. |
| `routerImage` | Image used by the router role. |
| `executeTypeRoles` | Defines the roles that need to be displayed and configured for different execute types. |
| `showRoleRules` | Controls whether fields such as role parameters, commands, images, specifications, and replica count are displayed. |
After creation, you can edit, clone, or delete existing Engine configurations as needed. Before deleting a configuration, ensure that no templates or services depend on it.
## Prepare Inference Templates
If multiple services reuse the same model, engine, probe, monitoring, or advanced configuration, you can first create an LLM inference template. After the template is created, enable **Use Recommended Template** and select the template on the LLM inference service creation form.
For information about creating, reusing, and managing templates, see [Manage LLM Inference Templates](./manage-llm-inference-templates).
## Next steps
* [Create an LLM inference service](./create-llm-inference-services): Continue once the configurations required for your deployment are ready.
* [Manage LLM Inference Templates](./manage-llm-inference-templates): Create or maintain a template when multiple services need to reuse a configuration.
# Deploy and Roll Back General Services
Source: https://docs.scitix.ai/siverse/inference/release-and-rollback-general-inference-services
Choose direct or canary release for a general service, then complete the full release, rollback, or cleanup of old versions based on the validation results.
A general service update can be released directly, or you can first validate the target version through a canary release. During the canary process, the target version and the previous version run in parallel. You can gradually adjust traffic or replicas, observe the target version's performance, and then decide whether to fully switch over, roll back, or remove the previous version.
## Select a Release Method
| Release Method | Suitable Scenarios | Key Considerations |
| - | - | - |
| Direct release | Test environments or small changes with controllable impact. | Once the target version is ready, it takes all traffic. Suitable for low-risk changes. |
| Canary release | Changes to images, resource configurations, storage mounts, startup commands, environment variables, or other runtime configurations that may affect online requests. | The target and previous versions run in parallel, with traffic gradually shifted to the target version. Resources on both sides remain occupied until the canary release is complete. |
Only one canary rollout can be in progress for the same service at a time. After the canary rollout is fully switched to the target version, the old version must still be cleaned up before the rollout is considered complete. You can roll back before cleanup; after cleanup, fast rollback for the current canary rollout is no longer supported.
## Direct Publishing
For verified changes in a test environment or with controlled impact, click **Update > Direct Release** in the service list. After submitting the changes, wait for the instances to be updated and ready, then verify the endpoint, minimal requests, and required dependencies.
A direct release updates the currently running version and does not support parallel validation of the target and previous versions during the canary period. For changes involving images, resource configurations, storage mounts, startup commands, environment variables, or other changes that may affect production requests, prioritize a canary release.
## Canary Release
### 1. Go to the canary release page
In the service list, click **Update > Canary Release**. The **Version Change** section is used to configure information related to the target version.
> [!NOTE]
>
> Before initiating a canary release, we recommend recording the current image, version, access endpoint, target replicas, and business baseline. The service must be **Running** and must not have an ongoing canary release process. Refer to the page restrictions for details.
### 2. Configure the Target Version
| Configuration Area | Information That Can Be Configured During a Canary Release |
| - | - |
| **Resource Information** | Configure the Resource Type, Instance Type, and Resource Priority required for the target version based on the information displayed on the page. The total resources must meet the requirements of both the target version and the old version while they are running concurrently. |
| **Environment Information** | Configure runtime information for the target version, including the Image, storage mounts, mount paths in the Pod, startup commands, and environment variables. The image, ports, and commands must be consistent with the actual application. |
| **Enhanced Features** | Configure runtime behaviors, such as Graceful Exit Delay or Health Check, within the scope supported by the page. |
The following configurations are displayed in the **Cannot Be Modified During Canary Release** section: **Gateway Configuration**, **Monitor Config**, **Metrics Configuration**, **Number of Instances**, and **Scheduled Policy**. **Number of Instances** and **Scheduled Policy** are labeled **Use Direct Release**. To modify these configurations, use the direct release method provided on the service page.
### 3. Select a Canary Release Strategy
| Mode | Page Behavior | Usage Recommendation |
| - | - | - |
| **Simple Mode** | Enter the **Initial Canary Percentage**. After the target version is ready, the page directs traffic and instance percentages according to this initial percentage. | Suitable for standard canary scenarios that begin validation at an initial percentage. |
| **Custom Mode** | Set the target number of instances for the old version and the target version separately; after submission, continue making adjustments in the canary details. | Suitable for scenarios that require independent control of capacity on both sides. |
Both modes require selecting a capacity policy:
* **Start Before Stop**: Start instances of the target version first, then scale down instances of the old version. This avoids capacity reduction during the transition period but requires additional resources.
* **Stop Before Start**: Release part of the old version's capacity first, then start instances of the target version. This is suitable when resources are limited and a capacity reduction during the transition period is acceptable.
The **canary preview** on the right displays the traffic split between the old version and the target version, the number of target instances, the total number of instances, and the capacity policy. Before submitting, ensure that the total number of instances and the capacity policy in the preview meet your resource budget and service load requirements.
### 4. Create and Start the Canary Release
Click **Create and Start Canary Release**. After submission, you will be taken to the canary release details page, where you can view the target replicas, ready replicas, events, logs, monitoring, and the differences introduced by this change for the target version.
## Monitor and Advance the Canary Rollout
| Operational Objective | Applicable Stage | Expected Result |
| - | - | - |
| Continue the canary rollout | The canary rollout is in progress, and traffic or target version capacity needs further adjustment. | The platform gradually adjusts traffic and replicas for the target version and the old version according to the updated target. |
| Fully switch to the target version | The target version has been verified as stable and is ready to handle all traffic. | Traffic is switched to the target version, while the old version is retained for rollback during the observation period. |
| Roll back the current canary rollout | The target version has an issue, insufficient capacity, or business metrics that do not meet expectations. | Traffic is returned to the old version, and target version resources are removed according to the process. |
| Clean up the old version | After the full switch, the target version is stable and rapid rollback is no longer required. | Delete the old version resources, and the canary rollout process is completed. |
After each target adjustment, wait for the instance to become ready and monitor the error rate, latency, business results, and alarms before proceeding. The actual proportion of small-sample requests may differ from the configured weight, so assess it in conjunction with the overall metrics.
## Roll Back the Current Canary Release and Clean Up the Old Version
After the full cutover to the target version, the target version handles all traffic with the current target replica count. The old version is typically retained for a period of time to enable a quick rollback. At this point, both versions may still consume resources. For example, if the old version has `3` replicas and the target version has only `1` replica, after the full cutover, the `1` target-version replica handles all traffic, while the old version’s `3` replicas are retained until the old version is cleaned up.
* If the target version encounters an issue, ensure that the old version has sufficient capacity to handle the traffic, then use the rollback action provided by the current canary rollout process.
* After the target version is stable, use the old-version cleanup action provided on the page to release old-version resources.
* After the old version is cleaned up, this canary rollout is complete, and you can no longer quickly roll back through the current canary rollout process.
## Roll Back to a Historical Version
Historical version rollback is used to restore service configurations that were previously in effect; it is not the same as withdrawing the current canary rollout.
1. In the service version history, select a version that was previously officially active, and verify the image, startup command, and dependencies.
2. Confirm that no canary rollout is in progress and that the resource quota and storage permissions still meet the requirements of the earlier version's configuration.
3. Submit the rollback as prompted, and wait for the instances to be updated and become ready.
4. Revalidate the access endpoint, service requests, and external dependencies.
> [!WARNING]
>
> Rolling back to a historical version restores only the service configuration of that version; it does not restore data in the database or Volume. A canary candidate that has not officially taken effect cannot be used as a historical version rollback point.
## Frequently Asked Questions
> [accordion] Why are other operations disabled during a canary rollout?
>
> The canary rollout process is managing traffic and replicas for the target version and the previous version. To prevent direct updates, scaling, bringing services online or offline, or ingress changes from overriding the canary rollout target, some operations are disabled. To resume regular operations, first complete the cleanup of the previous version or roll back to end the canary rollout.
> [accordion] Why are resources from the old version still in use after a full rollout?
>
> A full rollout only directs traffic to the target version. The old version is retained for rollback during the observation period. After confirming that the target version is stable, use the old version cleanup action provided on the page.
> [accordion] What should I check first if a canary rollout fails?
>
> First, check the alarms, target replicas, and ready replicas in the canary rollout details. Then check the target version events and instance logs. If resources are insufficient, reduce the target for the target version, adjust the capacity policy, or roll back.
## Related Documentation
* [Manage General Services](./manage-general-inference-services)
# Publish and Roll Back LLM Inference Services
Source: https://docs.scitix.ai/siverse/inference/release-and-rollback-llm-inference-services
Directly release or canary release configuration changes to an LLM inference service, and roll back the service if the target version is abnormal.
LLM inference services support direct release and canary release. Direct release is suitable for changes with controllable impact. Canary release retains both the old version and the target version, using a portion of traffic to validate the target version before deciding whether to continue the release or roll back.
## Select a Release Method
| Method | Suitable Scenarios | Key Considerations |
| - | - | - |
| Direct release | Validated in an independent service, or configuration changes with limited impact. | The running version is updated directly after submission. Before release, record the currently available configuration and confirm that resources can support the update process. |
| Canary release | Changes to the inference engine, model, image, startup command, or other configurations that may affect production requests. | The current version and target version run in parallel. Monitor resource usage, instance readiness, and actual request results. |
| Roll back current canary | The canary target version fails to start, request results are abnormal, or performance and resource usage do not meet expectations. | Restore traffic to the previous version during the current canary process, and revalidate the access endpoint and request results after the rollback. |
Only one canary rollout can be in progress for the same service at a time. After the canary rollout is fully switched to the target version, the old version must still be cleaned up before the process is considered complete. You can roll back before cleanup; after cleanup, fast rollback for the current canary rollout is no longer supported.
## Direct Publishing
In the service list, click **Update > Direct Release**, configure and submit the target version. After release, go to the service details to view **Event**, **Instance List**, and **Log**, and wait for the instances to become ready. Then, on the **Service Gateway** tab, confirm the access endpoint and send a minimal request.
When changes involve models, inference engines, images, startup commands, or role configurations, we recommend using a canary release first to validate the target version while the previous version remains available.
## Canary Release
### 1. Configure the Target Version
In the service list, click **Update > Canary Release**. On the canary release page, the **Version Change** section allows you to modify only fields related to the target version.
The service must be **Running** and have no ongoing canary rollout. Before initiating a canary rollout, we recommend recording the current model, inference engine, image, access endpoint, target replicas, and business baseline.
| Configuration Area | Description |
| - | - |
| **Inference Engine** | Select the engine for the target version, and adjust **Engine Params** and **Execute Type** as needed. After making changes, confirm compatibility with the Model, role configuration, and service ports. |
| **Role Configuration** | Configure **Instance Configuration**, image, and **Command** for each role. For multi-role services, verify the runtime configuration of each role individually. |
| **Model Configuration** | Select the model and version for the target version. To use a LoRA model, enable it according to the configuration options provided on the page. |
| **Service Configuration** | Configure the service parameters for the target version within the scope supported by the page. |
| **Advanced Config** | Configure environment variables and storage mounts. Container local disk capacity is limited; data that needs to be persistently stored or shared should be mounted to a Volume. |
The page also includes a **Fields Not Modifiable in Canary Release** section. Expand it to view the fields that cannot be changed in this canary release. To modify these fields, follow the on-screen instructions to use direct release or the corresponding standalone O\&M entry point.
### 2. Select a Canary Deployment Strategy
| Mode | Configuration Method | Suitable Scenario |
| - | - | - |
| **Simple Mode** | Set the **initial canary percentage**. After submission, the platform allocates initial traffic and instances to the target version according to this percentage. | Use a small amount of traffic first to validate the target version. |
| **Custom Mode** | Set the target number of instances for the old version and the target version separately. | Independent control of capacity on both sides is required. |
Select a capacity policy:
* **Start Before Stop**: Start the target version instances before stopping the old version instances. This reduces the risk of capacity reduction during the transition period but requires additional resources.
* **Stop Before Start**: Stop the old version instances before starting the target version instances. This is suitable for scenarios with limited resources where capacity changes during the transition period are acceptable.
### 3. Preview and Start the Canary Rollout
In **Canary Preview**, verify the following information:
* Traffic proportions for the old and target versions.
* The number of target instances on both sides and the total number of instances.
* Current capacity policy.
After confirming that the resource and traffic allocation meets expectations, click **Create and Start Canary**.
## Verify the Target Version
After the canary rollout is started, first confirm that the target version can run stably, and then continue the release:
1. View **Event** and **Instance List** to confirm that the target instance is ready and is not restarting continuously.
2. View **Log** to confirm that model loading, inference engine startup, and request processing are functioning properly.
3. On the **Service Gateway** tab, confirm the access endpoint, send a minimal request, and verify the response.
4. Review resource and engine monitoring to confirm that errors, latency, throughput, and resource utilization, including GPU and GPU memory, meet expectations.
If the target version is not yet stable, do not continue expanding its scope of use.
## Gradual Rollout
After confirming that the target version meets expectations, gradually roll out the canary release based on the validation results.
| Action | Applicable Stage | Result |
| - | - | - |
| **Adjust Target** | Further scale-out, scale-in, or target version capacity adjustments are required. | The platform gradually adjusts traffic and instances for the old version and target version according to the new target. |
| **Switch All Traffic to Target Version** | The target version has been verified as stable and is ready to handle all traffic. | Traffic is switched to the target version, while the old version is retained for rollback during the observation period. |
| **Rollback** | The target version is faulty, has insufficient capacity, or business metrics do not meet expectations. | Traffic is restored to the old version, and target version resources are removed according to the canary release process. |
| **Clean Up Old Version** | After the full traffic switch, the target version is stable and rapid rollback is no longer required. | Delete the old version resources and complete this canary release. |
After each target adjustment, wait for the instance to become ready and monitor errors, latency, throughput, business results, and alarms before proceeding. The actual traffic proportion of small-sample requests may differ from the configured proportion; make judgments based on overall metrics.
## Rollback and Clean Up Old Versions
If the target version encounters an issue, use the rollback action in the current canary rollout process to restore traffic to the earlier version. Before rolling back, ensure that the earlier version’s instances and capacity can continue handling requests.
After the rollback, wait for the service to return to **Running**, then recheck **Event**, **Instance List**, and **Log**. Finally, confirm the access endpoint on the **Service Gateway** tab, send a minimal request, and verify that the service has recovered.
After traffic is fully switched to the target version, the old version is retained for rollback during the observation period and continues to consume the corresponding resources. After confirming that the target version is stable, click **Clean Up Old Version** to release resources and complete this canary rollout. After cleanup, you can no longer quickly roll back through the current canary rollout process.
## Roll Back to a Historical Version
Rolling back to a historical version restores a service configuration that was previously in effect. It is not the same as withdrawing the current canary release.
1. In the service version history, select a version that was previously active in production, and verify the model, inference engine, image, startup command, and related dependencies.
2. Ensure that no canary rollout is currently in progress, and confirm that resource quotas, model access, and storage permissions still meet the requirements of the earlier version’s configuration.
3. Submit the rollback as prompted on the page, then wait for the instance to be updated and ready.
4. Revalidate the access endpoint, minimum request, and required dependencies.
> [!WARNING]
>
> Rolling back to a historical version restores only the service configuration of the corresponding version; it does not restore data in the database or Volume. A canary target version that has not officially taken effect cannot be used as a historical version rollback point.
## Frequently Asked Questions
> [accordion] Why are other operations disabled during the canary release?
>
> The canary release process is managing traffic and instances for the old version and the target version. To prevent direct updates, scaling, bringing services online or offline, or ingress changes from overriding the canary release target, some operations are disabled. To resume normal operations, first clean up the old version or end the canary release by rolling back.
> [accordion] Why are resources of the old version still occupied after a full rollout?
>
> A full rollout only switches traffic to the target version. The old version is retained for rollback during the observation period. After confirming that the target version is stable, perform **Clean Up Old Versions**.
> [accordion] What should I check first if canary rollout progression fails?
>
> First, check the alarms, target instance count, and ready instance count in the canary rollout details, then check the events and instance logs for the target version. If resources are insufficient, reduce the capacity of the target version, adjust the capacity policy, or roll back.
## Related Documentation
* [Manage LLM Inference Services](./manage-llm-inference-services)
* [Test LLM Inference Service Functionality](./test-llm-inference-service-functionality)
* [Load Test LLM Inference Services](./load-test-llm-inference-services)
# Functional Testing of LLM Inference Services
Source: https://docs.scitix.ai/siverse/inference/test-llm-inference-service-functionality
Run functional tests on active LLM inference services to validate API suites, model capabilities, and test report results.
Functional testing is used to verify whether the APIs and capabilities of the LLM inference service meet expectations. The platform sends actual requests to the running service, checks the selected test suite, and outputs results such as passed, failed, warning, and skipped. Testing generates actual requests; please choose an appropriate time to run it.
## Initiate a Dry-run
### 1. Go to the Dry-run page
Go to the details page of the target LLM inference service, open the **Test** tab, and click **Start Feature Test**.
Functional testing requires the service to be **Running**. A service can have only one active test task at a time, and this limit is shared by functional testing and performance stress testing. If functional testing is not enabled for the current cluster, or the test image is not configured, the corresponding entry point may not be displayed on the page.
### 2. Enter the test configuration
| Configuration | Description |
| - | - |
| **Test Suite** | You can select **openai**, **messages**, **gemini**, **embedding**, **audio**, and **image**. By default, only **openai** is run. Select based on the APIs actually supported by the service; test conclusions apply only to the suites selected for this run. For services that provide only OpenAI APIs, do not select **gemini**, as this will produce meaningless failures. |
| **Per-Case Timeout (Seconds)** | The time a single test case waits for a service response. The value ranges from `10` to `600` seconds, with a default of `120` seconds. Increase it as appropriate for larger models or slower initial loading. |
| **Number of function calling Samples** | Controls the number of samples for function calling test cases. If left blank, `10` samples are used; if set to `0`, the full dataset is used. |
| **Token Count for Overlong Text Attacks** | Set to `0` or leave blank to skip this test case. To trigger the test, the value must be greater than the model's context window. For example, when the context window is `32k`, you can enter `131072`. This case belongs to the attack test case group; selecting `skip_long_context` does not skip it. |
| **Skip Test Case Groups** | You can select `skip_long_context`, `skip_attack`, or `skip_sampling_params` to skip test cases related to long context, attacks, or sampling parameters, respectively. Long-context test cases take longer to run and can be skipped when verification is not required to reduce task duration. |
| **Resource Pool** | Select the resource pool that runs the test client. Insufficient resources may cause test tasks to queue or fail. |
| **Instance Spec** | Select the instance specification used by the test client. |
| **Target Endpoint** | By default, requests go through the service's actual gateway endpoint. If the service has multiple gateway endpoints, select the endpoint to be validated in this run. |
### 3. Submit Dry-run
Click **Submit**. The task runs asynchronously. You can view its status in the test task list on the **Test** tab.
## View Dry-run Results
After the Dry-run task reaches a terminal state, click **View Report** in the task list on the **Test** tab to view the overall conclusion and per-case details in the report.
| Item to Review | Interpretation |
| - | - |
| Task status | **Completed** only indicates that the test run has finished; it does not mean the test passed. **Failed** indicates that the test task itself failed to execute, for example, due to a timeout, insufficient resources, or a client exception. |
| Overall conclusion | Refer to the pass or fail result in the report. If any test case fails, the functional test should generally be considered unsuccessful. |
| Four-state counts | `PASS` indicates success, `FAIL` indicates that the result does not meet expectations, `WARN` indicates risks in optional capabilities or fields, and `SKIP` indicates that prerequisites were not met or the test was not executed. |
| Pass rate | Calculated as `PASS / (PASS + FAIL)`. `WARN` and `SKIP` are not included in the denominator. |
| Per-test-case details | Focus on the target endpoint, HTTP status code, latency, failure reason, and supplementary information for failed test cases. |
If you initiate tests as soon as the service enters **Running**, the model may still be loading, which can easily result in numerous gateway errors or failed test cases. It is recommended to first send a minimal request to confirm that the service is truly available before performing functional testing.
## Stop or Delete Dry-run Tasks
| Action | Impact |
| - | - |
| **Stop** | Terminates test clients that are still running. Test results that have already been returned are retained. After stopping, you can troubleshoot issues based on the existing results or initiate the test again. |
| **Delete** | Deletes the test task and its report, and releases the active test task quota for the service. The report cannot be viewed after deletion. |
## Frequently Asked Questions
> [accordion] What should I do if the feature testing entry is unavailable?
>
> The feature testing entry depends on the capabilities of the current Cluster and the test Image configuration. Ensure that the service is in a Cluster that supports this capability and that feature testing is enabled.
> [accordion] What should I do if there are already active tasks?
>
> This service has unfinished functional testing or performance stress testing tasks. Wait for the tasks to finish, or stop the existing tasks before starting a new test.
> [accordion] Does task completion with an overall conclusion of failure indicate that the platform execution failed?
>
> No. Task completion indicates that the Dry-run process ended normally. An overall conclusion of failure indicates that the APIs or capabilities of the service under test did not meet the expectations of the current test case. Check the reasons for the failed test cases.
> [accordion] Why are there many 502 errors or failed test cases?
>
> When the service has just entered the **Running** state, the model may still be loading. First, send a minimal request to confirm that the service can respond normally, then run the functional test again.
## Related Documentation
* [Load Testing LLM Inference Services](./load-test-llm-inference-services)
# Models Overview
Source: https://docs.scitix.ai/siverse/models/models-overview
Learn about preset models, custom models, model versions, and model reference methods in Siverse.
Models is used to register reusable models on the platform, including Preset models maintained by the platform and Custom models that you register. After registration, models can be referenced in Develop, Training, or Inference for model loading, fine-tuning, evaluation, or online deployment.
Model management primarily records the location of model files, version, type, tags, description, and metadata, helping teams consistently find and reuse model assets.
## Applicable Scenarios
* Find platform-maintained public models and reference them in training or inference scenarios.
* Register training artifacts, proprietary models, or third-party models as models that can be referenced on the platform.
* Prepare model paths, versions, and metadata for inference services.
## Model Source
| Source | Description | Suitable Scenarios |
| - | - | - |
| Preset Models | Public models maintained by the platform that can be viewed, referenced, or deployed directly. | Use platform-preconfigured models such as Qwen and DeepSeek. |
| Custom Models | Register your own model files on the platform and specify the Version, storage location, and metadata. | Reuse training artifacts, self-developed models, or external models. |
## Model Information
The model list and details typically include the following information:
| Information | Description |
| - | - |
| Region and Cluster | The scope of resources where the model resides. When creating a development environment, training task, or inference service, select a region and cluster that can access the model. |
| Name and Version | Used to distinguish model assets and model versions. |
| Type | The model task type, such as text generation. |
| Storage location | The storage type, storage resource, and path where the model files are located. |
| Tags and Description | Used to search for, categorize, and describe the intended use of the model. |
| Metadata | Additional information such as model architecture, data type, parameters, and metrics. |
## Usage Procedure
1. Select **Preset** or **Custom** based on the model source.
2. Find an existing model or register a new custom model.
3. Confirm the model name, version, storage path, and metadata.
4. Reference the model in development environments, training tasks, or inference services.
Models only registers the model asset itself. For inference service resource specifications, service access, scaling, and service operations and maintenance, see [Create an LLM inference service](../inference/create-llm-inference-services), [Manage LLM inference services](../inference/manage-llm-inference-services), and [Advanced inference service operations](../inference/advanced-inference-service-operations).
## Next Steps
* [Use Preset Models](./use-built-in-models)
* [Register and Manage Custom Models](./register-and-manage-custom-models)
# Register and manage custom models
Source: https://docs.scitix.ai/siverse/models/register-and-manage-custom-models
Register training artifacts or your own model files as Custom Models in Siverse, and manage registered models.
Custom models are used to register training artifacts, self-developed models, or external model files in Models. When registering a model, Specify its ownership, Version, storage location, tags, Description, and metadata. After registration, the model can be referenced in Develop, Training, or Inference.
## Pre-Operation Confirmation
* The model files have been saved to storage accessible from the target region and cluster.
* The current account has permission to access the storage and path.
* The model name, version, and path have been confirmed to avoid difficulty distinguishing between model assets after registration.
## Register a Custom Model
1. Go to **Models > Custom**.
2. Click **Create**.
3. Enter the model basic information.
| Parameter | Description |
| - | - |
| Region and cluster | Determines the resource scope to which the model is registered and affects the scope of workloads that can subsequently reference the model. |
| Name | A custom model name used to identify the model in the model list and when referencing the model. |
| Type | The model task type. |
| Version | The model version number, used to distinguish different iterations of the same model. |
| Tags | Used to search for and categorize models. |
| Description | Describes the model's source, purpose, training data, or usage considerations. |
4. Configure the model storage location.
| Parameter | Description |
| - | - |
| Storage | Select the storage type where the model files are located. Currently, **volume** can be selected in the creation form. |
| Storage | Select the storage resource for saving the model files. |
| Dir | Enter the relative path of the model files in the storage. |
The model directory must be a relative path. Before registration, ensure that this directory contains the weights, configuration, tokenizer, and other files required to load the model later.
5. Enter metadata.
| Parameter | Description |
| - | - |
| Architecture | Select or enter the model architecture to describe the model structure or series. |
| Data Type | Select the data type used for model weights or inference. |
| Parameters | Enter the number of model parameters, in B. |
| Metrics | Add model evaluation metrics. |
6. Click **Create**.
After submission, return to the custom model list. Search for models by region, cluster, or name, and verify that the model can be found and used in subsequent references.
## Manage Custom Models
In **Models > Custom**, you can query custom models by region, cluster, and name. When managing models, pay particular attention to the model version, storage location, tags, and deployment status.
To delete custom model records that are no longer needed, select one or more models and then delete them. Before deleting, ensure that the model is not depended on by any inference services, development environments, or training tasks that still need to be retained. The **Deployed** information in the list can be used to determine whether the model is in use.
# Using Preset Models
Source: https://docs.scitix.ai/siverse/models/use-built-in-models
Find Preset models maintained by Siverse, view Model Details, or use them for deployment.
Preset models are public models maintained by the platform. You can filter preset models by region, cluster, and name; view their version, type, storage path, tags, and description; and use available models for subsequent development, training, or inference deployment.
## Find Preset Models
1. Go to **Models > Preset**.
2. Select a region and cluster.
3. To locate a specific model, enter keywords in **Name**.
4. Click **Search**.
When locating a model, verify the model name, version, type, storage path, and target cluster.
## View Model Details
1. Find the target model in the preset model list.
2. Click **Details**.
3. View the model version, type, storage path, tags, description, and metadata.
When viewing details, verify that the Region and Cluster where the model resides are consistent with the subsequent workload. If you need to reference the model in Develop, Training, or Inference, also confirm the Model Name, Version, and storage path.
## Deploy a Model
In the Preset Model list, click **Deploy** to proceed to the model deployment workflow.
* The instance resources and resource pool required for the inference service have been prepared.
* The target region and cluster can access the model.
* The model type, model version, and runtime parameters used by the inference service have been confirmed.
To publish a preset model as an online service, see [Create an LLM Inference Service](../inference/create-llm-inference-services).
# Configure Volume Directory-Level Permissions
Source: https://docs.scitix.ai/siverse/resources/configure-volume-directory-permissions
Configure public directories, Custom subdirectories, and user directories for shared volumes to enable subdirectory-based authorization and mount authentication.
In the GPFS shared file system, permissions are granted for the entire Volume by default. Authorized users can usually access all content under the Volume root directory.
If you need least-privilege isolation without splitting the Volume, you can configure directory-level permissions. After directory-level permissions are enabled, newly started workloads no longer mount the entire Volume. Read and write permissions for each subdirectory must be configured separately, and subdirectories without configured permissions will not be mounted to newly started workloads.
## Applicable Scenarios
* Multiple users share the same large-capacity Volume but can access only their own directories.
* Public datasets, team directories, and personal directories need to be managed in the same Volume.
* Some directories need to be made available to other users in read-only mode.
* Training, Develop, or Inference can be mounted only to specified subdirectories.
## Directory Type
Directory-level permissions support three types of directories:
| Directory Type | Applicable Scenario | Permission Mode |
| - | - | - |
| Public Directory | A public data, model, checkpoint, or dependency directory available to all authorized users of the Volume. | Set read-only or read/write permissions uniformly for the directory. |
| Custom Subdirectory | A directory for Project Groups, experiment tasks, or team collaboration. | Set read-only or read/write permissions separately for each user. |
| User Directory | A personal directory automatically created for each authorized user, typically in the form of `/`. | Users have read/write permission for their own directories by default and can also grant access to other users. |
The paths of public directories and Custom subdirectories must be actual subdirectories within the Volume namespace and cannot directly use the Volume root directory. The root path of a user directory can be the Volume root directory or a subdirectory under the Volume root directory.
## Permission Configuration Requirements
* Directory-level permissions are enabled for the target Volume.
* The current account has permission to manage the Volume or the relevant directories.
* Users requiring authorization are within the authorized user scope of the Volume.
* Public directories, custom subdirectories, and user directory root paths have been planned.
* It has been confirmed whether existing development environments, training jobs, or inference services still mount the Volume as a whole.
## Configure Directory Permissions
Go to **Resources > Volume**, open the **Directory Permissions** tab, and select the Volume to configure.
The directory permissions page is organized into Public Directories, Custom Subdirectories, and User Directories. In each section, you can search for directories, view authorized users, permissions, usage, and update times, and perform actions such as granting authorization, setting quotas, or removing access.
### Configure Public Directory
The public directory is suitable for storing shared team data, base models, checkpoints, dependency caches, or read-only reference files.
In the **Public Directory** section, click **Add Public Directory**. When configuring a public directory, Specify:
* Directory path.
* Permission type: read-only or read-write.
* Remark information.
Permissions for the shared directory apply to users authorized for this Volume. After the permissions are modified, users will be validated against the new permissions when they subsequently mount and access the directory.
If a public directory no longer needs to be exposed, you can remove its configuration. Removing the configuration does not guarantee deletion of the underlying directory or data; actual data handling depends on platform behavior.
### Configure a Custom Subdirectory
Custom subdirectories are suitable for Project Groups, experimental tasks, or team collaboration directories.
In the **Custom Subdirectory** section, click **Add Subdirectory**. When creating a custom subdirectory, specify the directory path. After it is created, you can use **User Authorization** to grant specified users read-only or read/write permissions.
When updating the authorization list, the latest configuration prevails.
When you delete a custom subdirectory configuration, its authorization configuration is also removed. Before deleting it, ensure that this will not affect tasks that are using the directory.
### Configure User Directory
The user directory provides each user with a personal dedicated directory.
In the **User Directory** section, click **Modify User Directory** to set the root path for user directories. The system automatically generates a corresponding user directory for each user authorized for the Volume. The path is typically:
```text theme={null}
/
```
Users have read and write permissions for their own directories by default. When collaboration is needed, you can authorize the user directory to other users through **User Authorization**. By default, other users are granted read-only access, which can be configured as read-write as needed.
To limit the size of a user directory, set a quota for the corresponding directory in the user directory list.
User directories are automatically generated by the system for authorized users and do not need to be created manually one by one.
## Authentication Rules When Submitting Tasks
Directory-level permissions take effect when you submit from Develop, Training, or Inference.
The authentication rules are as follows:
* If directory-level permissions are enabled for a Volume, newly launched workloads must be mounted to authorized subdirectories.
* If a subdirectory is mounted but is outside the range that the current user is authorized to mount, the submission will be rejected.
* If read-write mounting is requested for a read-only directory, the submission will be rejected.
* If read-only mounting is requested for a read-write directory, the submission can be accepted.
* Volumes without directory-level permissions enabled are unaffected. Their submission method is the same as for standard whole-volume mounts.
When submitting a task, users can typically select only directories they have permission to access, such as personal directories, authorized directories, and public directories.
## View Directory Usage
The Directory Permissions page displays the usage of public directories, custom subdirectories, and user directories. Based on the usage, you can determine whether to clean up data, adjust directory quotas, or expand the Volume.
If there is a delay in directory usage statistics, refer to the latest refreshed results on the page.
## Impact on Existing Instances
If an existing development environment, training job, or inference service has mounted a Volume as an entire volume, enabling directory-level permissions for that Volume may trigger directory-level authorization checks during subsequent operations such as modification, restart, bringing online, or taking offline.
If the original mount method does not match the directory-level permission policy, the operation may be interrupted because permission validation fails. Before enabling directory-level permissions, adjust existing instances to mount by subdirectory, or confirm that the relevant users will not be affected by directory-level permissions.
## Related Documentation
* [Create and use storage volumes](./create-and-use-storage-volumes)
# Create and use storage volumes
Source: https://docs.scitix.ai/siverse/resources/create-and-use-storage-volumes
After purchasing storage quota, create a Volume and mount it to a development environment, training task, or inference service.
Volume is a persistent storage volume in Siverse. You can Mount a Volume to Develop, Training, and Inference to store code, data, model files, training outputs, and service dependency files.
Using a storage resource typically involves three steps: first, purchase storage quota in Orders; then, create a specific Volume in Volume; finally, authorize and mount the Volume for use in workloads.
## Relationship between storage quota and Volume
Storage quota and Volume are two different objects:
| Item | Description |
| - | - |
| Storage quota | Available storage capacity purchased or renewed through orders. |
| Volume | A specific storage volume created within the storage quota. It can be mounted to Develop, Training, or Inference. |
Storage quota is what you purchase. Before using it, you must create a specific Volume in the Volume section; otherwise, workloads cannot mount it.
After navigating to **Resources > Volume**, you can use the quota, capacity, and utilization charts at the top of the page to assess the current storage usage level:
| Objective | Information to Review |
| - | - |
| Determine whether quota is still available | Check the usage and availability of the storage quota. |
| Identify capacity distribution | Review the capacity share of each Volume to determine whether capacity is concentrated in a small number of Volumes. |
| Investigate high-utilization Volumes | Review Volumes with high utilization. If necessary, adjust capacity, clean up data, or migrate data. |
## Buy Volume
Volume resources must first be purchased as quotas. What you purchase is available capacity; before using it, you must also create a specific Volume.
Before purchasing, please note the following information:
| Item | Description |
| - | - |
| Minimum purchase unit | 1 Gi. |
| Billing method | Billed based on the purchased capacity and number of days used. |
| Quota usage | Storage quota can be used to create or expand Volumes. |
1. Go to **Resources > Order**.
2. Select the **Volume** tab and click **Buy**.
3. Configure the purchase capacity and duration.
4. Submit the purchase.
5. Return to the order list and confirm that the order status changes to `active`.
6. Return to **Resources > Volume** and confirm that the storage quota has increased.
If the available storage quota is insufficient, first purchase or renew storage resources, or delete unused Volumes to release quota. For more information, see [View and Renew Resource Orders](./manage-resource-orders).
## Create Volume
After you create a Volume, Develop, Training, and Inference can mount and use the volume.
Before creating, ensure that your account has permission to create or manage storage volumes and that sufficient storage quota is available in the current region and cluster.
1. Go to **Resources > Volume**.
2. On the **Quota** tab, click **Create**.
3. Configure Volume.
| Parameter | Description |
| - | - |
| Region | The Region where the Volume resides. |
| Cluster | The Cluster to which the Volume belongs. |
| Name | The Volume name, which must be unique within the tenant. |
| Project Group | The Project Group to which the Volume belongs. |
| Public within Project Group | Controls whether the Volume is public within its Project Group. |
| Directory-level Permissions | Controls whether to enable subdirectory-based authorization and mount authorization. After enabling this option, continue to configure directory permissions. |
| Resource Administrator | Specify the user responsible for managing the Volume. |
| Capacity | The Volume capacity. You can select the capacity unit. |
4. Click **Create**.
After creation is complete, when the Volume status changes to `Ready`, you can mount the Volume in Develop, Training, or Inference.
## View Volume Status and Usage
In **Resources > Volume**, you can filter volumes by Name and Project Group, and view their Status, File System Type, authorized users, resource administrators, Capacity, and Used.
| Objective | Information to Check |
| - | - |
| Confirm whether it can be mounted | Check whether the Volume status is `Ready`. |
| Determine whether capacity is sufficient | Compare total capacity with used capacity, and use the utilization chart to determine whether expansion is needed. |
| Confirm the access scope | Check authorized users, resource administrators, and project group visibility. |
If the Volume does not enter the `Ready` state for an extended period, verify that the order and quota are valid. If the issue persists, contact the platform administrator for assistance.
If you need to use an existing Volume but your current account does not have permission, request access to the relevant volume or directory from the storage administrator. After permission is granted, refresh the creation form for Develop, Training, or Inference, and then check whether the Volume can be selected.
## Using Volumes
After a Volume is mounted to a workload, applications access files through the path inside the container. The same Volume can be reused by multiple Develop environments, Training tasks, or Inference services.
### Select a Usage Scenario
| Scenario | Common Use Cases | Path Recommendations |
| - | - | - |
| Development environment | Store code, notebooks, dependency caches, and debugging data. | Use a personal or project directory to avoid overwriting the image's default directories. |
| Training jobs | Read training data and store checkpoints and output model files. | Manage input data and output results in separate directories, and write checkpoints to a writable persistent directory. |
| Inference services | Mount model files, configuration files, or service dependency files. | Use a stable model directory; handle service output and runtime logs separately based on the service configuration. |
### Configure mount path
When mounting, select a Volume or an authorized source directory, and specify the absolute path in the container. If directory-level permissions are Enabled for the Volume, select a subpath based on the mountable directories instead of mounting the entire volume directly.
The source directory indicates the location of files in storage; the container mount path is the entry point for programs to access files within the container. For example, after mounting the source directory `/team-data/users/alice` to the container path `/mnt/work`, the path relationship is as follows:
| Files in storage | Access path in the container |
| - | - |
| `/team-data/users/alice/data.csv` | `/mnt/work/data.csv` |
| `/team-data/users/alice/checkpoints/` | `/mnt/work/checkpoints/` |
When the program is running, use paths inside the container to access files. Relative paths within the underlying volume are handled by the mount configuration, so regular users do not need to construct them manually.
### Verify Read and Write Permissions
When using Volume for the first time, we recommend first verifying in an approved Develop environment or Dry-run task that the directory exists and that read and write permissions meet expectations.
* If files cannot be found after mounting, verify the mapping between the source directory and the container mount path.
* If data can be read but not written, check whether the authorization is read-only or read-write and whether directory-level permissions cover the target directory.
* If the same Volume is used for both input data and output results, separate the shared input data from the task output directory to avoid writing results to the team-shared raw data directory.
### Managing Capacity and Data Protection
The remaining capacity of the Volume and the user directory quota take effect independently. If a write fails, check read/write permissions, the remaining Volume capacity, and the user directory quota. Usage statistics may be delayed due to scanning.
## Manage Volume
Created volumes support the following management actions. Available actions may vary depending on account permissions, volume status, and Project Group visibility.
* **Adjust**: Modify the Project Group visibility, directory-level permissions, resource administrators, or Capacity. Before adjusting Capacity, ensure that sufficient storage quota is available.
* **Bulk Adjust Capacity**: Adjust the capacity of multiple Volumes in bulk. Before making adjustments, ensure that all selected Volumes require the same capacity change.
* **User Authorization**: Grant users within the tenant access to a Volume and optionally set their permissions to read-only. Authorized users not set to read-only have read/write access. In private mode, if the platform needs to create underlying resources after access is granted, the changes may take several minutes to take effect.
* **User Default Quota**: Use the **User Default Quota** option in the upper-right corner of the page to adjust the default quota for user directories.
* **Adjust Project Group**: Modify the Project Group and visibility of a Volume.
* **Delete**: Delete Volumes that are no longer needed and release the occupied quota. Deletion affects development environments, training tasks, or inference services that have mounted the Volume. Before deletion, ensure that the data is no longer needed and has been backed up or migrated.
> [!WARNING]
>
> Persistent data must be managed in accordance with the team’s backup policy. Deleting a Volume, modifying directory permissions, and deleting actual files have different impacts. Before making adjustments, confirm the data retention and recovery plan. After authorization is revoked, old sessions or existing mounts may still require administrator intervention. Do not assume that all access has been terminated solely based on configuration changes.
## Configure Directory-Level Permissions
When multiple users need to share the same large-capacity Volume but can access only certain directories within it, directory-level permissions can be enabled. Directory-level permissions support public directories, Custom subdirectories, and user directories, and can be configured with read-only or read-write permissions for different users.
Directory-level permissions affect mount authorization when tasks are submitted. After this feature is enabled, configure mountable directories and authorized users on the **Directory Permissions** tab. For details, see [Configure Volume Directory-Level Permissions](./configure-volume-directory-permissions).
## FAQ
> [accordion] Why can't I select a Volume from the list when creating a task?
>
> Make sure that the workload and the Volume are in the same Region and Cluster, that the Volume Status is `Ready`, and that the current account has permission to use the relevant volume or directory. If directory-level permissions are enabled for the Volume, make sure that a mount directory is available. After adjusting authorization or directory rules, Refresh the creation form and check again. If the Volume is still unavailable for selection, provide the storage administrator with the user, Volume, and directory information.
> [accordion] What should I do if files cannot be found after mounting, or can only be read but not written?
>
> First, verify that the source directory corresponds to the container mount path. If files can be read but not written, further check whether the authorization is read-only or read-write, whether directory-level permissions cover the target directory, and whether the remaining Volume capacity and user directory quota are sufficient. Shared input directories are generally recommended to be mounted as read-only, while output results should be written to a separate writable directory.
## Related Documentation
* [Configure Volume Directory-Level Permissions](./configure-volume-directory-permissions)
* [View and Renew Resource Orders](./manage-resource-orders)
# View and renew resource orders
Source: https://docs.scitix.ai/siverse/resources/manage-resource-orders
View Instance and Volume order statuses, verify that quotas have taken effect, and renew before resources expire.
Orders record the purchase, billing, and renewal of instance and volume resources. An order is generated after a resource is purchased. The corresponding resource quota becomes available only after the order status changes to `active`.
This topic helps you view order status, confirm that resource quotas have taken effect, and renew resources before they expire. The orders page also provides an entry point for purchasing resources. For specific purchase configurations, follow the applicable procedures for instance resources or storage resources.
## Orders and Quota Activation Mechanism
After you purchase resources, the platform generates an order. Only after the order becomes `active` will the Instance Quota be added to the target Resource Pool, and the storage quota become available for creating Volumes. Develop, Training, and Inference can consume only resource quotas that have taken effect.
After an order expires, its associated quota becomes invalid. This may prevent new tasks from using the corresponding resources, reduce the total quota of the resource pool, or cause tasks to enter the queue due to insufficient quota. If the resources are still in use, renew in advance to avoid affecting task execution after expiration. The availability and handling of Volumes after storage quota expiration are subject to platform rules.
## View Order Status
Go to **Resources > Order**. Select a region and cluster to view orders for instance resources or storage resources.
You can use the order status to determine whether the resource quota has taken effect, is still being processed, or has expired.
| Status | Description |
| - | - |
| `pending` | Billing confirmation is in progress. If this status persists for an extended period, contact technical support. |
| `active` | Purchase successful; the quota is taking effect. |
| `renewing` | Renewal is in progress. |
| `refunding` | Refund is in progress. |
| `expired` | Expired; the associated quota is no longer valid. |
| `failed` | Action failed. |
## Verify That the Resources Have Taken Effect
After the order status becomes `active`, continue to confirm whether the quota has reached the expected level.
| Resource Type | Verification Method |
| - | - |
| Instance | In Instance, verify whether the total quota and available quota of the target resource pool have increased. |
| Volume | In Volume, verify whether the storage quota has increased. If mounting is required, proceed to create a Volume. |
If the order is already `active` but the quota has not increased as expected, confirm that the correct Region, Cluster, target resource pool, or target storage pool has been selected.
## Renew Order
If you need to continue using purchased resources, you can initiate a renewal in Orders.
1. Go to **Resources > Order**.
2. Select the target region and cluster.
3. Locate the order to be renewed and click **Renew**.
4. Specify the renewal period and submit.
5. Return to the order list, confirm that the order status has returned to `active`, and verify that the expiration time has been extended.
Renewal is an asynchronous operation. During renewal, the order may temporarily be in the `renewing` status. Once completed, it returns to `active`.
Renewal extends the resource expiration time based on the original order. The service start time on the Billing record generated by the renewal will follow the end time of the previous order.
## Buy Resources from the Order Page
In **Resources > Order**, click **Buy** to purchase resources.
The Orders page serves only as a purchase entry point. When purchasing Instance resources, configure the instance specification, quantity, and target resource pool based on the intended use of the computing capacity. When purchasing Volume resources, configure the storage capacity and purchase duration based on subsequent Volume creation requirements.
After submitting the purchase, return to the order list to check the order status. Once the order becomes `active`, go to the corresponding resource page to verify that the quota has taken effect.
## Related Documentation
* [Prepare Instance Resources](./prepare-compute-resources)
* [Create and use storage volumes](./create-and-use-storage-volumes)
# Manage compute resource pools and quotas
Source: https://docs.scitix.ai/siverse/resources/manage-resource-pools-and-quotas
Create, edit, and scale instance resource pools, and configure personal quotas, resource administrators, and workload types that can be submitted.
Resource pools are used to organize GPU/CPU instance quotas. Through resource pools, you can allocate computing resources to different teams, users, or task types, and control which resources can be used by development environments, training tasks, and inference services.
## Resource Pool Types and Quota Limits
### Resource Pool Type
Shared resource pools are organized by the platform according to resource type. Dedicated resource pools and exclusive resource pools support creation, editing, and deletion.
| Resource pool type | Management method | Applicable scenarios |
| - | - | - |
| shared resource pool | Quotas are shared among users within the tenant. Authorized users and user-level configurations can be managed on the details page. | General development, debugging, and elastic workloads. |
| dedicated resource pool | Users can be authorized individually and assigned personal quotas. | Reserving resources for specified users or teams, or restricting workload types. |
| exclusive resource pool | Provides exclusive access to entire nodes and displays node health status. | Workloads requiring exclusive use of entire nodes, resource isolation, or more stable scheduling. |
### Dedicated Resource Pool Whole-Machine Validation
Dedicated resource pools require resources to be aligned by whole nodes:
| Resource Type | Whole-Machine Validation Requirement |
| - | - |
| CPU Instance | In whole-machine units of 120 CUs. |
| GPU Instance | In whole-machine units of 8 GPUs. |
When creating, scaling out, scaling in, or purchasing an order with a dedicated resource pool specified, whole-machine validation is required. If the requirements are not met, the operation cannot be submitted.
## Create Resource Pool
Shared resource pools are typically provided by the platform based on resource type. Dedicated resource pools and exclusive resource pools must be created separately according to team usage, isolation requirements, and quota allocation.
Before creating one, ensure that the current account has organization administrator permissions and available instance quota. If you create a dedicated resource pool, the instance quota must also meet the whole-machine validation requirements.
To purchase or check instance quota, see [Prepare Instance Resources](./prepare-compute-resources).
1. Go to **Resources > Instance**.
2. Click **Create Pool**.
3. Configure the resource pool.
| Parameter | Description |
| - | - |
| Region | The region to which the resource pool belongs. |
| Cluster | The compute cluster to which the resource pool belongs. |
| Instance | The instance specification used by the resource pool. |
| Name | The display name of the resource pool. It must be unique within the tenant. |
| Total Resource Pool Quota | The total amount of resources allocated to the resource pool. |
| User Default Quota | The user's default personal quota in this resource pool. |
| Default User Priority | The user's default priority. |
| Project Group | The project group to which the resource pool belongs. |
| Type | Select **Dedicated** or **Exclusive**. |
| Supported Workload Types | The types of tasks that can be submitted to this resource pool. |
| Resource Pool Scheduling Policy | Supported only for exclusive resource pools and configured separately by resource pool and instance type.**BinPack** tends to schedule workloads onto fewer nodes. **Spread** tends to distribute workloads across more nodes. The default is **BinPack**. |
| Description | A description of the resource pool. |
| Automatic Faulty Node Rotation | Configurable only for exclusive resource pools. Controls whether faulty nodes in an exclusive resource pool are automatically rotated. |
| Idle-Time Sharing | Configurable only for exclusive resource pools. Controls whether idle-time sharing is allowed for the exclusive resource pool. |
| Allow Resource Guarantees | Controls whether resource guarantees can be used in this resource pool. When disabled, users of this resource pool cannot set tasks as resource-guaranteed even if they are granted permission separately. |
| Freeze Resource Pool | Controls whether the resource pool is frozen. |
4. Click **Create**.
After creation, the resource pool enters the Creating status. Once its status changes to Ready, authorized users can select the resource pool in Develop, Training, or Inference. If the quota of an exclusive resource pool does not meet the whole-node validation requirements, the creation request cannot be submitted. After the resource pool is ready, you can view node health status in its details.

## View Resource Pool Details
Go to **Resources > Instance**, then click the name of the target resource pool to open its details page.

The details page is suitable for making the following assessments and performing the following actions:
| Objective | Description |
| - | - |
| Confirm resource pool availability | View the resource pool status, supported workload types, quota, used, available, and unavailable resources. |
| Manage resource pool settings | Modify the resource pool name, description, supported workload types, or resource policies through **Edit**. |
| Adjust resource pool capacity | Adjust the total resource pool quota through **Resize Quota**. |
| Manage user-level settings | Add users on the **User Info** tab and configure individual quotas, priorities, and resource guarantees. |
| View current workload usage | View workloads currently running in the resource pool, such as development environments, training jobs, and inference services, on the **Running workloads** tab. To handle abnormal resource usage, filter workloads by name, workload type, or user, and stop or delete them after confirming the impact. |
| Query historical workloads | View workloads submitted within the 14 days before the query time, including completed historical records, on the **All workloads** tab. You can filter by **Workload Type**, **Status**, and **Name**. |
| Analyze capacity trends | View trends in quotas and used resources, CPU scheduling rate, unavailable resources, and more on the **Resource Monitor** tab to determine whether the resource pool has been under sustained pressure and whether it needs to be scaled out or its workload distribution adjusted. |
| Trace configuration changes | Trace management actions, such as resource pool settings and user quotas, by operator and time range on the **Operation History** tab to identify the source of configuration changes. |
Resource pool operations are typically performed asynchronously. After you submit a create, scale, conversion, rename, or delete operation, you can check the resource pool status to determine whether the operation has been completed. You can continue using the resource pool once it is ready. If an operation fails, review the on-screen message to identify the cause and contact the platform administrator if necessary.
Dedicated resource pools also display node health status. When all nodes are functioning properly, the status is `healthy`; if any exceptions occur, the page displays details about the affected nodes.
## Adjust Resource Pool Configuration
After creating a resource pool, you can continue to adjust its configuration as needed.
Only organization administrators or resource administrators of the target resource pool can adjust resource pool configurations. On the resource pool list or resource pool details page, you can perform the following operations. Available operations may vary depending on the resource pool type and account permissions.
* **Edit**: Modify the resource pool name, description, supported workload types, or other resource pool configurations.
* **Allow/Disallow Guarantee**: Control whether users are allowed to use Guarantee in the resource pool. When disabled, users in this resource pool cannot set tasks to Guarantee, even if they have been granted permission individually.
* **Default User Priority**: Adjust the default user priority for the resource pool.
* **User Default Quota**: Adjust the default quota for newly authorized users or users who follow the default configuration in the resource pool.
* **Adjust Project Group**: Modify the Project Group to which the resource pool belongs.
* **Delete**: Delete resource pools that are no longer in use. Before deletion, ensure that the resource pool contains no quotas, user configurations, or workloads that still need to be retained or are in use.
If you only need to add users to the resource pool, click **Create User**. To adjust the configuration of an existing user, go to the **User Info** tab.
**User Default Quota** defines the rules used for subsequent allocations or when following the default configuration. It does not mean that the individual quotas of all existing users have been changed uniformly. To verify an individual user’s actual quota, go to the **User Info** tab.
## Manage Authorized Users and Personal Quotas
Resource pools support user-based authorization management and configuration of individual quotas, priorities, and resource guarantees. Quotas in a shared resource pool are still consumed collectively by users within the tenant; user-level settings control each user’s available quota and scheduling policy in that resource pool.
> [!TIP]
>
> Personal quota limits the amount of resources a user can use in the resource pool. If the total quota of the resource pool is insufficient, tasks may fail to be scheduled even if the user's personal quota has not been fully used.
### View and manage authorized users
Only organization administrators or resource administrators of the target resource pool can manage authorized users and personal quotas. On the resource pool details page, open the **User Info** tab.

When managing user-level configurations, first note the following information:
| Objective | Information to Monitor |
| - | - |
| Control user quotas | View used resources and, based on the **Config Mode** and **Quota**, determine whether the user has reached the available quota limit. |
| Control task scheduling policies | Use **Max Priority** and **Resource Guarantee** to control the scheduling capabilities available to users within the resource pool. Loads created in pay-as-you-go resource pools are non-preemptible by default and do not support editing the resource guarantee configuration. |
| Investigate resource usage | Use **Usage History** to view a user's historical usage in the resource pool and determine whether resources have been occupied for an extended period. |
### Add Resource Pool Authorized Users
Click **Create User**.

Select one of the following methods to add authorized users in batches:
* **Select from user list**: Select the users to authorize and configure individual quotas.
* **Paste name list**: Paste usernames separated by commas or line breaks. Each line corresponds to a group of users and its configuration. You can set **Instance**, **Config Mode**, **User Quota**, **Max Priority**, and **Resource Guarantee**; to use different configurations, add a new line and configure them separately.
User quotas configured in this way are maintained separately by the administrator. Subsequent changes to the resource pool's default quota will not overwrite these users' current quotas.
### Other Actions
After searching for a username on the **User Info** tab, you can also perform the following actions:
* **Batch Update**: Adjust the quota, **Max Priority**, or **Resource Guarantee** settings for multiple users at once.
* **Export**: Select **Export CSV List** to download user information, or select **Copy Names to Clipboard** to copy usernames.
* **Edit**: Modify the quota settings for an individual user.
* **Delete**: Remove authorized users from the resource pool.
## Scaling Resource Pools
You can adjust the total quota of a resource pool by scaling it out or in. Whether scaling is supported depends on the resource pool type, resource pool status, and the current account permissions.
Before making adjustments, ensure that the current account has organization administrator permissions or is a resource administrator for the target resource pool.
In the resource pool list or on the resource pool details page, click **Resize Quota** for the relevant resource pool to adjust its total quota.
Scaling supports **by quantity** or **Specify Nodes**.
* During scale-out, quota is migrated from the shared resource pool by default. You can also specify another resource pool of the same resource type as the quota source. Before submitting, ensure that the source resource pool has sufficient available quota.
* Before scaling down, ensure that the target resource pool does not contain used resources exceeding the total capacity after scale-down. If resources are occupied by Develop, Training, or Inference, the scale-down operation may fail.
Scaling is an asynchronous operation. During the operation, the relevant resource pool enters the updating state and returns to the ready state after completion.
After scaling is complete, check the resource pool status, actual nodes, available resources, and schedulable capacity to confirm that the added or released quota is available for tasks. If the change has not yet been completed, track the result of the current operation first to avoid repeatedly submitting similar scaling operations.
## Convert Resource Pool Type
Dedicated resource pools and exclusive resource pools can be converted into each other.
Before conversion, ensure that the current account has organization administrator permissions or is the resource administrator of the target resource pool, and meets the following conditions:
* No update, delete, or other resource operations are in progress for the target resource pool.
* The converted resource pool type meets the requirements of the use case.
* When converting to a dedicated resource pool, the quota must meet the whole-machine validation requirements.
In the resource pool list or on the resource pool details page, open More Actions and select the conversion action for the corresponding resource pool type.
During the conversion, the resource pool enters the updating state. Once its status returns to Ready, you can continue submitting tasks.
## Consolidate Dedicated Resource Pool Fragments
After a dedicated resource pool has been running for an extended period, resource fragmentation may occur: multiple small workloads become distributed across high-specification nodes, preventing large-scale training or inference tasks from obtaining contiguous resources.
Defragmentation consolidates distributed workloads onto a small number of nodes, freeing up completely idle nodes.
Before the cleanup, you can go to the dedicated resource pool details page to view node and migration information:
* **Node Info**: Locate nodes by idle-first priority, status, node name, or workload name, and view node status, hosted workloads, and resource usage. When resource distribution on a node needs to be addressed, use the available page options to migrate resources, defragment resources, or stop scheduling.
* **Migration Records**: View resource migration records initiated from the node view, including the status, direction, migration mode or node, evicted workloads, and initiator. Resource allocation initiated by directly editing the resource pool quota is not included in these records.
### Filter Criteria
* The resource pool type is dedicated.
* The resource pool status is `ready` or `failed`.
* No cleanup task is currently running in the resource pool.
* The current account is a tenant administrator or resource pool administrator.
### Organizing Process
1. Go to the dedicated resource pool details page.
2. Click the **Node Info** tab, and then click **Defragment**.

3. In the dialog box, select the workload types to be defragmented and the maximum number of rounds.
4. Run a trial preview to review the list of workloads expected to be adjusted.
5. After confirmation, start defragmentation and view the results.
### Risks and Limitations
Defragmentation uses a conservative reserve-first, migrate-later strategy. The platform evicts and recreates the original Pod only after the target node has successfully reserved resources. If reservation fails, the target node encounters an exception, or any other unexpected situation occurs, the platform terminates the migration.
A single consolidation run does not guarantee that all workloads can be migrated successfully. Insufficient resources on target nodes, insufficient quota, Pod status changes, node exceptions, or a timeout during a consolidation round may cause some workloads to remain incomplete or be skipped. Pods that remain incomplete or are skipped do not affect the processing results of other Pods.
If you choose to stop the workload, the stop action terminates the corresponding training task, with the same effect as manually stopping it. If the task is configured with a checkpoint, it can later be resumed from the checkpoint.
## FAQ
> [accordion] Why can't I see a resource pool when creating a task?
>
> Ensure that the current account is authorized to use the resource pool and that the resource pool supports the current task type. A resource pool can restrict the supported workload types. If the current task type is not supported, you may be unable to select the resource pool when creating a task, or the submission may be rejected during quota validation.
> [accordion] Why might a task still fail to be scheduled even when my personal quota is sufficient?
>
> Personal quota only limits the amount of resources a user can use within the resource pool. Whether a task can be scheduled also depends on the resource pool's total quota, available resources, instance specification, workload type restrictions, and resource pool status.
> [accordion] When do I need to scale out a resource pool?
>
> When the target resource pool has insufficient total quota or available quota, resulting in queued tasks, submission failures, or an inability to allocate sufficient personal quota to users, consider scaling out the resource pool. Before scaling out, ensure that the source resource pool has sufficient available quota.
> [accordion] Why does resource auth check failed occur when submitting a task?
>
> Resource pools support workload type configuration. After configuration, only the selected workload types can use the resource pool. If the Task Type is not allowed by the resource pool, the submission will be rejected during quota validation, and an error similar to the following may occur:
>
> ```text theme={null}
> resource auth check failed, workload type XXX is not allowd to use resource pool XXX
> ```
>
> If you need to submit tasks in this resource pool, modify the resource pool's workload type configuration.
## Related Documentation
* [Prepare Instance Resources](./prepare-compute-resources)
* [View Resource Usage](./view-resource-usage)
* [View Task Resource Usage](./view-task-resource-usage)
# Prepare Instance Resources
Source: https://docs.scitix.ai/siverse/resources/prepare-compute-resources
Before creating a development environment, training task, or inference service, confirm the available GPU/CPU instance resources, resource pools, and quotas.
Instance resources provide the GPU/CPU computing power used by development environments, training tasks, and inference services. Before creating a workload, you need to understand the resource pool types, purchase or verify the instance quota, and determine which resource pool the quota will be assigned to. Quotas purchased without a specified target resource pool will be assigned to the shared resource pool and can be adjusted later as needed.
## Applicable Scenarios
* Create JupyterLab or VS Code Server development environments.
* Submit training jobs such as PyTorchJob and RayJob.
* Publish LLM inference services or general services.
* Reserve a fixed amount of computing capacity for your team.
## Learn About Resource Pool Types
When selecting a resource pool, first determine whether your task requires dedicated guarantees or node isolation.
| Resource Pool Type | Recommended Scenarios | Points to Note |
| - | - | - |
| shared resource pool | General development, short-term debugging, elastic tasks, or tasks that do not require guaranteed fixed resources. | Resources are shared among users within the tenant, and tasks may be affected by overall usage. You can manage authorized users and user-level configurations on the details page. |
| dedicated resource pool | Tasks that require fixed resources to be allocated to specified users or teams, or that restrict certain workload types to specific resources. | Pay attention to the total resource pool quota, authorized users, individual quotas, and permitted workload types. |
| exclusive resource pool | Tasks requiring exclusive access to an entire node, resource isolation, or node health monitoring. | The quota must meet the full-node validation requirements. Defragmentation may be required after long-term use. |
## Buy Instance
If you do not have sufficient instance quota, you can first purchase instance resources. Go to **Resources > Order**, and under the **Instance** tab, click **Buy**.
When purchasing an instance, select the Region and Cluster to which the resource belongs, and configure the following parameters:
| Parameter | Description |
| - | - |
| Instance | The purchased instance specification, which must meet the GPU, CPU, and memory requirements of the task. |
| Quantity | The amount of quota to purchase. |
| Runtime | The duration for which the resources are purchased, in days. |
| Target Resource Pool | Specify which resource pool the quota will be added to. If not specified, it will be added to the shared resource pool. |
| Auto-renewal | Whether to automatically renew upon expiration. |
When purchasing instance resources, pay close attention to **Target Pool**. It determines which resource pool the instance quota purchased in this transaction will be allocated to:
| Quota Destination | Applicable Scenario | How to Proceed |
| - | - | - |
| shared resource pool | Resources are shared by users within the tenant, or no dedicated resource pool has been planned yet. | Do not specify a target resource pool when purchasing. The instance quota is allocated to the shared resource pool by default. |
| Existing dedicated resource pool | A fixed quota needs to be assigned to specified users or teams. | Specify the target dedicated resource pool when purchasing. |
| Existing exclusive resource pool | Whole-node exclusivity, resource isolation, or node health monitoring is required. | Specify the target exclusive resource pool when purchasing, and ensure that the purchase quantity meets the whole-machine validation requirements: GPU instances must be aligned to 8 GPUs per machine, and CPU instances must be aligned to 120 CUs per machine. |
| New dedicated or exclusive resource pool | No target resource pool currently meets the requirements. | You can first create a resource pool, then purchase and specify the target resource pool. Alternatively, you can first purchase resources into the shared resource pool and then allocate them through resource pool scaling. For detailed instructions on creating dedicated or exclusive resource pools, see [Manage Resource Pools and Quotas](./manage-resource-pools-and-quotas). |
## Estimate Task Resource Requirements
Before submitting a development environment, training task, or inference service, estimate the required resources based on the instance specification, number of specifications, and number of replicas, then verify the target resource pool and your remaining quota.
**Total task requirements = Resources per instance specification × Instance specifications per replica × Number of replicas.**
For example, an instance specification includes 2 GPUs, 16 vCPUs, and 128 GiB of memory. Each replica in the task uses 3 such specifications, and 4 replicas are running in total. The resource requirements are as follows:
| Resource | Per Specification | Single Replica (× 3 specifications) | Entire Job (× 4 replicas) |
| - | - | - | - |
| GPU | 2 | 6 | 24 |
| CPU | 16 vCPU | 48 vCPU | 192 vCPU |
| Memory | 128 Gi | 384 Gi | 1536 Gi |
This task requires a total of 12 units of the specified configuration. Before submitting, verify this total against **Remaining Quota** and the available capacity in the target resource pool for the selected instance specification.
The computation methods for different task types must also take role differences into account:
* The total number of replicas for a PyTorch job includes the master node and Workers; the master node also consumes resources.
* For a Ray job, calculate the resource requirements for the Head and each type of Worker separately. Aggregate and verify identical specifications; verify quotas separately for different specifications.
* Different GPU models must be checked separately for model and capacity. The number of idle cards of one GPU model cannot offset the resource requirements of another model.
## Check Whether Resources Are Available
After completing the purchase, first verify that the order status is `active` in Orders, then return to Instance or the target resource pool to confirm that the quota has increased.
Go to **Resources > Instance**, then select a region, cluster, and project group. The resource overview summarizes resources within the current scope, including:
| Metrics | Description |
| - | - |
| Instance | Used quantity, total quantity, and utilization of the current instance resources. |
| CPU Cores | Used quantity, total quantity, and utilization of the current CPU cores. |
| GPU Cards | Used quantity, total quantity, and utilization of the current GPU cards. |
| Memory | Used capacity, total capacity, and utilization of the current memory. |
| Number of Resource Pools | Number of shared, dedicated, and exclusive resource pools in the current region and cluster. |
In the resource pool list, continue checking whether the target resource pool meets the task requirements. The list supports custom display columns. Commonly used columns include:
| Information | Purpose |
| - | - |
| Pool Name / Description | Identify the target resource pool and confirm that the expected resource pool has been selected. |
| Spec / Billing | Determine whether the resources match the task configuration and cost expectations. |
| Instance Quota | View the total quota available for allocation in the resource pool. |
| Used / Idle / Unavailable | Determine whether resources are still available for task submission. |
| Tasks (Running / Queued) | Determine whether resources are occupied by existing tasks or whether tasks are waiting to be scheduled. |
| Status | Determine whether the resource pool is available. |
| Personal Quota | Determine the amount of personal resources available to you in the current resource pool. |
| Workload Types | Determine whether development environments, training tasks, or inference services are allowed to use the resource pool. |
| Frozen | Determine whether the resource pool is frozen. |
| Idle-Time Sharing | Check whether idle-time sharing is enabled for the resource pool. |
| Resource Guarantee | Check whether resource guarantee is configured for the resource pool. |
| Default User Priority | View the default scheduling priority used when users submit tasks. |
| User Default Quota | Determine the personal quota granted by default to newly authorized users. |
| Project Group | Determine the project group to which the resource pool belongs. |
| Administrator | Confirm the users who can manage the resource pool. |
| Member Count | View the number of users authorized for the current resource pool. |
If the utilization of a certain type of resource is high, or the target resource pool does not have sufficient available quota, subsequent task creation may be queued or submission may fail. If the resource pool is being updated, deleted, or is in a failed state, wait for the operation to complete or contact the resource administrator for confirmation before submitting the task.
## Request Resource Access Permissions and Quotas
If the target resource pool has not been authorized for the current account, or your remaining personal quota is insufficient, first apply for permission to use the resource pool or request additional quota.
A resource request goes through two stages: approval and activation. After an administrator approves the request, the system must still apply the authorization and quota configuration. Only after the request status changes to **Active** can the newly granted permissions or quotas be used to create Develop environments, Training jobs, or Inference services.
1. Go to **Resources > Instance**.
2. Select the target region, cluster, and project group, then locate the target resource pool.
3. Verify the resource pool’s instance specification, supported workload types, status, and personal quota.
4. If **Request Access** is available, enter the required quota and purpose, then submit the request. If no request option is available, contact the resource pool administrator.
5. View the approval and activation progress in the request records.
6. After the status changes to **Effective**, refresh the resource pool page or the task creation form to confirm that your remaining personal quota has been updated.
Application status descriptions are as follows:
| Status | Description | Recommended Action |
| - | - | - |
| Pending (`pending`) | The request has been submitted and is awaiting administrator review. | Wait for approval. If changes are needed, withdraw the request as permitted on the page and resubmit it. |
| Approved (`approved`) | The request has been approved, and the system is provisioning the authorization and quota. | Wait for it to take effect. |
| Effective (`succeeded`) | The authorization and quota have been configured. | Refresh the page and verify the actual quota. |
| Rejected (`rejected`) | The request did not pass the review. | Check the rejection reason, revise the requirements, or contact an administrator. |
| Withdrawn (`cancelled`) | The request has been cancelled. | If you still need the resources, submit a new request. |
| Activation Failed (`failed`) | The request was approved, but configuration was not completed. | Provide the request ID and error reason to the administrator. |
Approval does not mean that resources are immediately available. After authorization and quota take effect, tasks must still wait for schedulable resources that meet the requirements. If a task remains queued for an extended period, see [Troubleshoot insufficient resources or long task queue times](./troubleshoot-insufficient-resources-or-queued-tasks).
## Related Documentation
* [Manage resource pools and quotas](./manage-resource-pools-and-quotas)
* [View and renew resource orders](./manage-resource-orders)
# Resources Overview
Source: https://docs.scitix.ai/siverse/resources/resources-overview
Learn about the relationships among instance resources, storage resources, resource pools, quotas, and orders in Siverse.
Resources is Siverse's entry point for managing compute and storage. Development environments, training jobs, and inference services consume the instance and storage resources managed here during runtime.
Before starting a task, confirm that sufficient compute capacity, storage volumes, resource pools, and quotas are available. If resources are insufficient, the task may fail to be created, be queued, or be rejected during quota validation.
## Feature Entry
After you access **Resources**, the commonly used entry points are as follows:
| Entry | Primary Use |
| - | - |
| **Instance** | View resource pools, instance specifications, personal quotas, and supported workload types. |
| **Volume** | View volume capacity, authorized users, and directory-level permissions. |
| **Resource Dashboard** | View resource utilization, user usage rankings, and historical trends. |
When comparing resource, quota, or usage data, use the same filter criteria, such as **Region**, **Cluster**, **Resource Type**, **Resource Pool**, and time range.
## Resource Objects
| Object | Description |
| - | - |
| Instance | GPU / CPU computing resources used to run development environments, training tasks, and inference services. |
| Storage resources | Persistent storage volumes (Volume) used to store code, data, model files, training outputs, and service dependency files. |
| Resource pool | A computing resource pool organized by region, cluster, instance specification, and usage scope, including shared, dedicated, and exclusive resource pools. |
| Quota | The amount of resources available to you. Tasks consume quota while running; quota is returned when tasks are stopped or released. |
| Orders | Records of resource purchases and renewals. Orders determine the resource quota amount, validity period, and billing status. |
## Resource Pool Type
Instance resources are organized by resource pool. Different resource pools are suitable for different isolation, cost, and management requirements.
| Resource Pool Type | Applicable Scenario | Description |
| - | - | - |
| shared resource pool | A team jointly uses a set of general-purpose resources. | Quotas are shared and consumed by users within the tenant. Suitable for general development, debugging, and elastic tasks. Authorized users and user-level configurations can be managed in the resource pool details. |
| dedicated resource pool | Resources are reserved for specified users or teams. | Can be used for fixed quotas, user authorization, and workload type restrictions. |
| Exclusive resource pool | Tasks requiring exclusive access to entire nodes or stronger isolation. | Organized by whole-machine resources, with support for node health status and defragmentation. |
## Resource Quotas and Scheduling Boundaries
* Resources are organized by region and cluster. Before creating a task, ensure that the resources, storage volumes, images, datasets, and models are in regions and clusters that you can access.
* Instance resources and storage resources are purchased and consumed as quotas. After purchasing instance resources, ensure that the quota has been added to the available resource pool. After purchasing storage resources, you must also create Volumes within the storage quota.
* A resource pool can be configured with user-level policies, such as authorized users, individual quotas, priorities, and resource guarantees. It can also restrict the workload types that can be submitted. If the current user or task type is not allowed, the submission will be rejected by quota validation.
* Resource requests for training tasks, development environments, inference services, and general services enter a unified queue. Scheduling takes into account the resource pool, instance type, priority, round-robin ordering across users, and submission time. Requests are not scheduled solely by submission time.
* Dedicated resource pools require whole-machine validation. GPU Instances must be allocated in increments of a full 8-GPU machine, while CPU Instances must be allocated in increments of a full 120-CU machine.
* After an order expires, the associated quotas become invalid. Before expiration, confirm whether renewal is required.
## Resource usage workflow
Resources are typically prepared and used as follows:
1. Purchase instance resources or storage resources to generate resource orders. When purchasing instance resources, if the target dedicated or exclusive resource pool already exists, you can directly specify the quota destination. If no destination is specified, the quota is allocated to the shared resource pool.
2. Based on usage scope and isolation requirements, create or adjust dedicated and exclusive resource pools, and adjust the resource pool allocation of existing instance quotas as needed.
3. Create or adjust storage volumes and authorize the users who need to use them.
4. In Develop, Training, or Inference, select the resource pool, instance specification, and storage volume.
5. In Resource Dashboard, view resource usage, scheduling rate, and user usage; in Task Dashboard, view task resource consumption.
6. Before an order expires, renew it in Order to prevent quota expiration from affecting task execution.
## Related Documentation
* [Prepare instance resources](./prepare-compute-resources)
* [View resource usage](./view-resource-usage)
* [Troubleshoot insufficient task resources or long queue times](./troubleshoot-insufficient-resources-or-queued-tasks)
* [Create and use storage volumes](./create-and-use-storage-volumes)
# Troubleshoot insufficient task resources or prolonged queuing
Source: https://docs.scitix.ai/siverse/resources/troubleshoot-insufficient-resources-or-queued-tasks
Troubleshoot tasks that fail to start or remain queued for an extended period by resource, task, resource pool, personal quota, and order status.
When a development environment, training task, or inference service fails to start, remains queued for an extended period, or displays an insufficient resources message upon submission, you typically need to check the total resources, task usage, resource pool configuration, personal quota, and order status.
This document provides a cross-module troubleshooting path to help you first determine whether resources are truly insufficient, and then identify the layer at which the shortage occurs.
## Issue Symptoms
The following issues may occur:
* After creating a development environment, training task, or inference service, its status remains Queued or Waiting for Scheduling for an extended period.
* When submitting a task, a message indicates insufficient resources, insufficient quota, or an unavailable resource pool.
* The resource dashboard shows that resource pool usage is close to the total quota.
* Within the same resource pool, some users can submit tasks while others cannot.
* Large-specification tasks cannot obtain contiguous resources in a dedicated resource pool for an extended period.
## Troubleshoot Total Resource Quantity
First, verify whether capacity is generally constrained in the target region, cluster, resource pool, or instance specification.
1. Go to **Resources > Resource Dashboard**.
2. On the **Resource Pool** tab, select the target region, cluster, resource type, instance specification, and time range.
3. View the total quota, usage, scheduling rate, and unavailable resources.
If usage continues to approach the total quota, the resource pool may be at full capacity. You can scale out the resource pool, purchase more instance resources, or wait for tasks to release resources.
If many resources are unavailable, go to the resource pool details page to check the resource pool and node statuses and determine whether there are any resource issues.
## Distinguish Between Remaining Quota and Schedulable Capacity
If the page shows that quota remains but the task is still queued, further check whether schedulable resources are available that meet the current task configuration.
| Metrics | Question Answered | How to Use |
| - | - | - |
| Remaining Quota | How many resources the current user is still allowed to use. | Compare it with the task's total requirements to confirm whether the quota covers the instance specification, number of specifications, and number of replicas. |
| Schedulable Capacity | How many replicas can still be scheduled at this time, given the current resource pool and task configuration. | Compare it with the number of replicas required by the task, and use task scheduling events to determine whether node status, resource distribution, or the schedule policy is affecting scheduling. |
Remaining quota indicates whether permissions and quota are sufficient; it does not mean that a task can necessarily be scheduled immediately. A single replica typically needs to be placed on a node that meets its resource requirements. If idle resources are distributed across multiple nodes, a replica requiring greater resources on a single node may still fail to start even when the total available resources are sufficient.
Schedulable capacity changes with node status, the schedule policy, and other tasks. Querying schedulable capacity is used only to determine the number of replicas that can be scheduled at the current time; it does not lock or reserve resources.
Resource requests also enter a unified queue. Available schedulable capacity does not guarantee that a task will start immediately. Check the task status and scheduling events to understand why it is waiting.
## Resolving Display Issues with Schedulable Capacity
If the task creation page or resource-related pages display schedulable capacity, first determine whether the resources are truly unschedulable or whether reliable query results are temporarily unavailable.
| Display | Meaning | Next Step |
| - | - | - |
| A valid query returns 0 | Under the current specification and constraints, the number of schedulable replicas is 0. | Continue troubleshooting based on resource pool status, personal quota, workload type, single-node capacity, and scheduling events. |
| Loading | The query has not yet completed. | Wait for the query result; refresh the page if no result is returned for an extended period. |
| `—`, temporarily unavailable, or request error | The page has not obtained a reliable result, and capacity cannot be determined. | Refresh and try again. If the issue persists, retain the resource pool, instance specification, task configuration, and screenshots, and contact platform support. |
If total available resources appear sufficient but the schedulable capacity remains 0, a common reason is that a single replica cannot fit on any node. For example, if a single task replica requires 4 units of the selected specification, while each of two nodes has only 3 units available, the total available capacity is 6 units, but the replica still cannot be started. For role configuration methods, see [Resource Configuration for Training](../training/create-training-tasks#compute-resources). The preceding values are for demonstration purposes only; actual resource quantities depend on the selected specification. In this case, you can wait for a single node to release sufficient resources, or adjust the resource configuration for a single replica after confirming that the program can run properly.
## Troubleshooting Task Occupancy
If total resources are constrained, further verify which tasks are occupying them.
1. Go to **Resources > Task Dashboard**.
2. On the **Running Tasks** tab, filter by Region, Cluster, Resource Pool, Workload Type, or user.
3. View the resource usage and GPU/CPU resource utilization of running tasks.
If you identify tasks that have been running for an extended period with low utilization, go to the relevant task details or business module to determine whether they still need to run. Once you have confirmed that they are no longer needed, you can stop the tasks to release resources.
To further review task execution, go to the task details page to view Monitor and Logs.
## Troubleshoot resource pool configuration
If Resource Dashboard shows that idle resources are still available but the task cannot be started, check whether the resource pool itself allows the current task to use them.
Go to **Resources > Instance**, open the details of the target resource pool, and verify the following:
| Check Item | How to Determine |
| - | - |
| Resource pool status | The resource pool must be available. Resource pools being created, updated, or deleted may not be able to schedule tasks properly. |
| Authorized users | The current user must be authorized to use the resource pool. |
| Personal quota | If the resource pool has user-level quotas configured, confirm that the current user's personal quota and usage allow further task submissions. |
| Workload Types | Confirm that the resource pool allows the current workload type, such as JupyterLab, VSCS, training, inference, or general service. |
| Guarantee | If the task requires a resource guarantee, confirm that both the resource pool and user-level configuration allow the use of resource guarantees. |
If the Task Type is not allowed by the resource pool, submission may be rejected during quota validation, with a message similar to:
```text theme={null}
resource auth check failed, workload type XXX is not allowd to use resource pool XXX
```
If you confirm that you need to submit a task to this resource pool, adjust the resource pool's workload type configuration.
## Troubleshooting Exclusive Resource Pool Fragmentation
When using an exclusive resource pool, large-scale tasks may wait for a long time because they cannot obtain contiguous whole-node resources.
Go to the dedicated resource pool details page to view the following information:
| Check Item | Evaluation Method |
| - | - |
| Whole-Machine Validation | The dedicated resource pool quota must meet whole-machine alignment requirements. GPU Instances are typically aligned to 8 GPUs per machine, while CPU Instances are typically aligned to 120 CUs per machine. |
| Node Information | View node status, load distribution, and resource usage to determine whether resources are distributed across multiple nodes. |
| Defragmentation | If the page provides a defragmentation entry, you can first run a Preview, then confirm whether to proceed with defragmentation. |
Defragmentation may migrate or stop some workloads. Before proceeding, verify that the tasks can be migrated or stopped, and review the defragmentation results.
## Troubleshoot Order and Quota Validity პერიოდ
If resources were previously available but tasks can no longer be submitted, check whether the associated order has expired.
1. Go to **Resources > Order**.
2. Check the status and expiration date of the instance resource order.
3. If the order status is `expired`, renew or purchase the resources again first.
4. After the order status returns to `active`, go back to the instance resources or resource pool to confirm whether the quota has been restored.
After an order expires, the associated quota becomes invalid, which may reduce the total quota of the resource pool or prevent tasks from continuing to use the corresponding resources.
## Still Unable to Resolve
If the cause still cannot be identified after the above checks, retain the following information and contact the platform administrator or technical support:
* Task name, task type, and creation time.
* Region, cluster, resource pool, and instance specification.
* Current task status, status details, or error messages.
* Total quota, usage, and unavailable resources of the target resource pool in the Resource Dashboard.
* Resource usage of related running tasks in the Task Dashboard.
* Authorized users of the resource pool, personal quotas, and workload type configurations.
* Status and expiration time of related resource orders.
## FAQ
> [accordion] Why is my task still queued when quota remains?
>
> Remaining quota indicates how many resources the current account is still allowed to use; it does not mean that the resource pool necessarily has schedulable resources at this time. The task must still match the resource pool status, personal quota, workload type, single-node capacity, and schedule policy. If idle resources are distributed across multiple nodes, replicas that require greater single-node resources may also be unable to start.
> [accordion] What should I do when schedulable capacity displays 0 or —?
>
> * If the effective query returns 0, no replicas are currently schedulable under the selected specifications and constraints. Continue checking the resource pool, quota, workload type, and scheduling events.
>
> * If `—` is displayed, the status is temporarily unavailable, or the request returns an error, the page has not yet obtained reliable results. You can refresh and try again. If the issue persists, retain the resource pool, instance specification, task configuration, and screenshots, and contact platform support.
## Related Documentation
* [View Resource Usage](./view-resource-usage)
* [View Task Resource Usage](./view-task-resource-usage)
* [Manage compute resource pools and quotas](./manage-resource-pools-and-quotas)
# View Resource Usage
Source: https://docs.scitix.ai/siverse/resources/view-resource-usage
View resource pool usage, user GPU usage, idle task duration, node disks, and GPU node failures in the resource dashboard to determine whether resources are constrained.
When you need to determine whether resources are sufficient in a specific region, cluster, instance specification, or resource pool, you can view resource usage in the Resource Dashboard. The Resource Dashboard provides a resource-centric view of quotas, usage, scheduling rates, unavailable resources, user usage, and GPU node failures, making it suitable for capacity assessment, resource allocation, usage reviews, and failure impact assessment.
## Select Tabs by Analysis Target
After navigating to **Resources > Resource Dashboard**, select a tab based on your analysis objective.
| Tab | Purpose |
| - | - |
| **Resource Pool** | View changes in provisioned, occupied, and unavailable resources. |
| **User GPU Usage Ranking** | Compare users' GPU card-hours, GPU utilization, and task composition, and access user resource details to analyze idle-time task duration. |
| **User Usage History** | View user usage trends in the resource pool. |
| **Disk** | View node disk capacity, remaining writable space, top-consuming Pods, and 24-hour eviction status. |
| **GPU Node Fault** | View historical repair durations, failure-duration levels, source contributions, and real-time failed nodes for GPU node failures. |
When comparing different tabs or exported data, ensure that the filter criteria—such as region, cluster, resource type, resource pool, and time range—are consistent. If the page provides a project group filter, use the same project group scope as well to avoid values that cannot be directly compared due to differing statistical scopes.
## View Resource Pool Usage
Go to **Resources > Resource Dashboard**, open the **Resource Pool** tab, and select a region, cluster, resource type, instance specification, and time range to view the information.
The resource pool tab is used to view trends and summary information by resource.

| Information | Purpose |
| - | - |
| Total quota and usage | Determine the resource capacity and utilization of the current resource pool or instance specification. |
| Scheduling rate | Determine whether resources are being scheduled effectively. |
| Unavailable resources | Determine whether any resources cannot be used by tasks. |
| Trends over a time range | Observe whether resource utilization continues to increase or decrease during a specific period. |
| Specification filter | Focus on resource usage for a specific GPU / CPU instance specification. |
If the usage of a resource type remains close to its total quota, or a large number of resources are unavailable, subsequent tasks may be queued or fail to be submitted. You can continue to view the resource pool details to determine whether you need to scale out, adjust the resource pool configuration, or renew resource orders.
## View User GPU Usage Ranking
Go to **Resources > Resource Dashboard** and open the **User GPU Usage Ranking** tab to view resource usage within a specified time range by user. You can filter by user, region, cluster, specification, resource type, resource pool, task type, task scale, and time range.

| Information | Purpose |
| - | - |
| **User** | Identifies the resource consumer. |
| **GPU SM Utilization** | Shows the user's GPU compute utilization. |
| **GPU Hours Used** | Measures GPU hours consumed by the user during the selected period. |
| **Task Type Distribution** | Shows the workload types that account for most of the user's resource consumption. |
| **Scale Distribution** | Shows the scale of the user's workloads. |
| **GPU Type Distribution** | Shows which GPU types the user uses most frequently. |
| **Submitted Tasks** | Shows the number of tasks submitted by the user during the selected period. |
| **Quota** | Shows the user's quota. |
| **Quota Used** | Shows how much of the user's quota has been used. |
Statistics in **User GPU Usage Ranking** are cached for 30 minutes. The page displays the results of the previous calculation. Tasks that have just been submitted or completed may not be included in the statistics immediately.
To analyze the resource consumption of an individual user, click the target user in **User GPU Usage Ranking** to go to the **User Resource Detail** page. When comparing different charts, keep the user, region, cluster, specification, type, resource pool, and time range consistent.

| Information | Purpose |
| - | - |
| **Allocated GPU Hours** | Displays the GPU hours consumed by the user within the selected statistical range. |
| **SM Utilization** | Shows the user's GPU SM utilization. |
| **Submitted Tasks** | Shows the number of tasks submitted by the user. |
| **Resource usage (GPUs)** | Displays changes in the user's resource usage over time. |
| **SM utilization (%)** | Compares SM utilization for guaranteed and idle resources. |
| **Workload scale (GPU hours)** | Displays the distribution of resource consumption by workload scale. You can switch between **GPU hours** and **Workloads**. |
| **Workload type (workloads)** | Shows the number of workloads by type. |
| **Idle task queue duration (minutes)** | Shows the queue duration of idle tasks. |
| **Idle task run duration (minutes)** | Shows the run duration of idle tasks. |
| **Resource pool / GPU model × workload type** | Breaks down usage by resource pool or GPU model and workload type. The table can be switched between **Resource pool** and **GPU model**. |
Data in **User Resource Detail** is also cached for 30 minutes. Tasks that have just been submitted or completed may not be immediately reflected in the aggregated metrics and charts.
## View User Usage History
Go to **Resources > Resource Dashboard**, open the **User Usage History** tab, select one or more users, then select a region, cluster, resource type, resource pool, and time range to view changes in user usage within the specified resource pool.

User usage history displays weighted average usage over the selected time range and is suitable for observing long-term trends. The page provides the following information:
| Information | Purpose |
| - | - |
| User filter | Select one or more users to compare changes in resource usage across users. |
| Resource pool filter | Focus on a specified resource pool to determine whether resources are continuously occupied by a small number of users. |
| **Weighted Avg Usage** | View the selected users' weighted average usage within the selected resource pool. |
| Time range trend | Observe usage changes during capacity expansions, quota adjustments, or team review cycles. |
If you need to confirm real-time changes immediately after a task releases resources, prioritize viewing the task details or resource pool details. If the page prompts you to select a user and resource pool, complete the filtering before viewing historical trends.
## View Disk Usage
Go to **Resources > Resource Dashboard**, open the **Disk** tab, and filter by region, cluster, resource pool, and node to view node disk usage.

The **Disk** tab lists nodes in ascending order of **Writable Remaining** space, making it easier to prioritize nodes with less remaining writable space. The page provides the **Warning Only (>80%)** and **Evicted in 24h** filters to focus on nodes with high utilization or evictions within the last 24 hours.
| Information | Purpose |
| - | - |
| **Node** | Identify the node corresponding to the disk usage. |
| **Resource Pool** | Identify the resource pool that contains the node. |
| **Cluster** | Identify the cluster that contains the node. |
| **RoCE Pod** | Identify the RoCE Pod associated with the node. |
| **Status** | Determine whether the node disks are in a normal state. |
| **Used** | Assess the disk space currently in use. |
| **Capacity** | Check the node disk capacity. |
| **Writable Remaining** | Assess how much writable disk space remains. |
| **Top Consuming Pods** | View the Pods with the highest disk usage; hover to view the top five Pods and their associated users. |
| **24h Evictions** | Check whether any evictions occurred within the past 24 hours. |
If the node has low remaining writable space, or the **24h Evictions** value is not 0, use **Top Consuming Pods**, task details, and task resource usage to further identify the specific workload.
## View GPU Node Faults
Go to **Resources > Resource Dashboard**, open the **GPU Node Fault** tab, and filter by instance specification, region, cluster, and time range to view historical trends and real-time status for GPU node failures.
| Area | Purpose |
| - | - |
| **Historical Trends and Statistics** | Based on the currently selected time window, region, cluster, and resource pool scope, view **Completed Repair Samples**, **Average Repair Duration**, **P90**, and **P95**. |
| **Historical Repair Data** | View time trends for the average, P90, and P95. Historical data is for reference only and does not constitute a repair time commitment. Actual repair duration may be affected by failure type, spare-part availability, and vendor response time. |
| **Failure-Duration Level Trend** | View the failure-duration level for entire machines at 12-hour intervals to determine the proportion of failed machine duration relative to total customer machine duration. Calculation: level = failed machine duration / total customer machine duration. |
| **Failure Duration Contribution** | Break down failure duration by `cordon` source to distinguish between **Automatic Detection** and **Manual Reporting**. Calculation: contribution rate = failure duration for this category / total customer duration. |
| **Real-Time Data Dashboard** | View the latest status of all customer resources, including **Failure Duration Level - Entire Machine Level**, **Number of Failed Machines**, and **Alerted · Pending Clearance Approval**. Real-time data is not affected by the historical filter conditions above. To view the latest status, click **Refresh**. |
| **Failed Node Details** | View the region, cluster, resource pool, node name, instance type, GPU model, failure cause, and failure duration of failed nodes. If there are currently no failed nodes, the table displays an empty state. |
## Determining Whether Resources Are Constrained
When a task cannot start or remains queued for an extended period, the Resource Dashboard can help you first determine whether capacity is constrained or resources are heavily concentrated in use:
| Diagnostic Goal | How to Check |
| - | - |
| Whether the resource pool is full | On the **Resource Pool** tab, view the total quota and used capacity for the target instance specification. |
| Whether unavailable resources exist | On the **Resource Pool** tab, view unavailable resources to determine whether any resources cannot be used by tasks. |
| Whether a small number of users have occupied resources for an extended period | In **User GPU Usage Ranking** and **User Usage History**, view the primary sources of resource consumption and their duration. |
| Whether node disk capacity is constrained | On the **Disk** tab, view **Writable Remaining**, **Top Consuming Pods**, and **24h Evictions**. |
| Whether GPU node failures exist | On the **GPU Node Fault** tab, view historical repair durations, failure-duration levels, and real-time failed nodes. |
For a complete investigation into why a task cannot start or remains queued for a long time, see [Troubleshoot insufficient task resources or long queue times](./troubleshoot-insufficient-resources-or-queued-tasks).
## Export Resource Data
For capacity analysis or team reconciliation, you can export resource usage data from the Resource Dashboard based on filter criteria.
Before exporting, we recommend confirming that the region, cluster, resource type, instance specification, and time range align with the analysis criteria. Retain the filter scope, statistical units, and time window in the analysis records. To explain resource peaks, you can also review task resource utilization. If you only need to verify a recently completed create, stop, or scale operation, prioritize checking the task details, resource pool details, or order status.
## Frequently Asked Questions
> [accordion] Why do the figures in the Resource Dashboard and resource details differ?
>
> First, verify that the region, cluster, resource pool, instance specification, unit of measurement, and time range are consistent across both pages. Some ranking and trend data may be subject to statistical caching, so recently submitted, stopped, or released tasks may not be reflected in the dashboard immediately. If the page is blank, displays an error, or GPU SM utilization is 0, also confirm that monitoring samples are available. If discrepancies remain after aligning the criteria, retain screenshots of both pages, the query time, and field names, and contact platform support.
## Related Documentation
* [View task resource usage](./view-task-resource-usage)
* [Troubleshoot insufficient task resources or long queue times](./troubleshoot-insufficient-resources-or-queued-tasks)
# View Task Resource Usage
Source: https://docs.scitix.ai/siverse/resources/view-task-resource-usage
View resource usage for running and historical tasks in Task Dashboard, and review inference service metrics.
The Task Dashboard provides a workload-based view of resource pools, resource usage, and GPU/CPU utilization. Use it to identify which tasks or users are consuming resources and to investigate low-utilization tasks.
## Select a Tab by Analysis Target
After navigating to **Resources > Task Dashboard**, select a tab based on your analysis objective.
| Tab | Purpose |
| - | - |
| **Running tasks** | View currently running workloads and their resource usage and utilization. You can open task details or stop and delete tasks. |
| **All tasks** | Query tasks submitted within the past 14 days and their history. Find tasks by status, user, resource pool, or other criteria. |
| **Idle Task Monitoring** | Review idle training task submissions, GPU hours, run duration, preemption, and participating users. |
| **Inference Service Monitor** | View trends in latency, requests, throughput, cache hit rate, and token-length distribution for an inference service. |
## View Running Tasks
Open the **Running tasks** tab. Use the region and cluster selectors, the **All Types**, **All Specs**, and **All Users** filters, the resource pool filter, and the task-name search field to find tasks.

### View Resource Usage
The task list provides the following resource and ownership information:
| Information | Purpose |
| - | - |
| **Name**, **Type**, **User** | Identify the task and confirm its type and submitting user. |
| **Region**, **Cluster**, **Resource Pool** | Confirm the resource scope in which the task resides. |
| **Resource Type**, **Instance Spec**, **GPU Model**, **Usage** | View the resource configuration requested and occupied by the task. |
| **GPU Resource Utilization** and **CPU Resource Utilization** | Determine whether the task is fully using its requested resources. |
> [!TIP]
>
> * Use **List Sort** and select **Submit Time: Newest First** to sort by submission time.
> * Under **Utilization Metric**, select **avg**, **min**, or **max**, then choose a time range.
> * Click **Columns** to adjust the fields displayed in the list.
When a task cannot start or remains queued for an extended period, check whether the target resources are occupied by other tasks:
| Objective | How to Check |
| - | - |
| Whether the target resource pool is already occupied by tasks | Filter running tasks by resource pool. |
| Which users are occupying resources | Review the users and resource usage in the task list. |
| Whether there are low-utilization tasks | Compare task resource usage with GPU/CPU utilization. Open task details for further investigation. |
For further troubleshooting of tasks that fail to start or remain queued for an extended period, see [Troubleshoot insufficient task resources or long queue times](./troubleshoot-insufficient-resources-or-queued-tasks).
### Handling Low-Utilization Tasks
If a task is consuming resources but GPU/CPU utilization remains low for an extended period, first check the following:
* Whether the task is still in an active running phase.
* Whether data reading, the network, or storage has become a bottleneck.
* Whether the task specifications significantly exceed actual requirements.
* Whether the training task has communication waits, node exceptions, or uneven load distribution.
* Whether the number of inference service replicas exceeds actual traffic requirements.
After confirming that a task is no longer needed, you can stop it in the task list or the relevant business module. Stopping a task releases the instance resources it occupies, but may interrupt training or online services.
### Manage Running Tasks
| Actions | Description |
| - | - |
| **Detail** | Open the task details page to view real-time utilization and task runtime information. |
| **Stop** | Stop tasks that no longer need to run. Supports single and batch operations. |
| **Delete** | Delete the target tasks. Supports single and batch operations. |
> [!NOTE]
>
> Stopping or deleting affects task execution. Before proceeding, verify the target task to avoid accidental actions.
## View All Tasks
Open the **All tasks** tab to view tasks submitted in the past 14 days and their history. Filter by region, cluster, workload type, resource type, resource pool, instance specification, user, and status, or search by name.

Workload type is single-select. Task status supports multiple selections and displays the corresponding original statuses for the selected workload type. The list provides the following information:
| Information | Purpose |
| - | - |
| **Name**, **Type**, **User** | Identify the task and confirm its type and submitting user. |
| **Resource Pool**, **Resource Type** | Confirm the resource scope and resource type used by the task. |
| **Instance Spec**, **GPU Model**, **Usage** | View the instance specification, GPU model, and quantity used by the task. |
| **Created At (UTC)**, **End time (UTC)**, **Status** | View when the task ran and its result. |
## View Idle Task Monitoring
Open the **Idle Task Monitoring** tab to review resource usage, run duration, and preemption for idle training tasks. This tab reports monitoring data for idle training tasks only.
### Review Key Metrics
First select a region, cluster, and time range. The summary at the top of the page reports key metrics for the selected filters:
| Metric | Purpose |
| - | - |
| Submitted tasks | Number of idle training tasks submitted during the selected period. |
| GPU hours | GPU hours consumed by idle training tasks. |
| Average run duration | Average run duration of idle training tasks. |
| Time to first preemption (P50) | Typical time an idle training task runs before its first preemption. |
| Preempted tasks / total idle tasks | Number of preempted tasks and the total number of idle tasks in the selected period. |
| Preemption rate | Proportion of idle training tasks that were preempted. |
### Review Idle Task Trends
Idle task trends show how idle resources are used during the selected period. The page typically includes these charts:
| Trend | What to Look For |
| - | - |
| Idle task submissions | Changes in idle training task submissions over time, including submission spikes or recurring fluctuations. |
| Mean / P50 run duration before first preemption | How long idle tasks typically run before their first preemption, which can indicate how stable idle resources are. |
Use these trends together with the summary metrics:
* If submissions increase but GPU hours do not rise at the same pace, tasks may be running for shorter periods or being preempted sooner.
* If the preemption rate increases while the time to first preemption decreases, idle resources may be available for shorter periods.
* If the mean and P50 run durations differ significantly, task run durations may vary widely. Review individual tasks for more detail.
Trend data describes overall idle task behavior and does not show the real-time status of an individual task. To confirm whether a task was preempted, open its details or check its status in the training task list.
### Review Participating Users
The participating users list shows which users submitted idle training tasks during the selected period. It typically includes:
| Information | Purpose |
| - | - |
| User | Identify the user who submitted idle training tasks. |
| Submitted tasks | Number of idle training tasks submitted by the user during the selected period. |
| Pod count | Number of Pods used by the user's idle training tasks. |
| Idle resources requested | Scale of idle resources requested by the user. |
If a user's submission count or requested idle resource amount is notably high, review the corresponding tasks under **Running tasks** or **All tasks**. Then determine whether to adjust the submission rate, task specifications, or checkpoint strategy.
## Review Inference Service Metrics
Open the **Inference Service Monitor** tab, select the region, cluster, inference service, and time range to view trends for the following metrics:
| Metric | Purpose |
| - | - |
| Time to First Token (TTFT) (s) | Monitor the latency for a request to receive its first token. |
| Time per Output Token (TPOT) (s) | Monitor the time between tokens during generation. |
| Running requests | View changes in the number of requests being processed by the service. |
| Token throughput (TPM) (tok/min) | View changes in the number of tokens processed per minute. |
| Request rate (RPM) (req/min) | View changes in the number of requests processed per minute. |
| Prefix cache hit rate (%) | Monitor the proportion of prefix cache hits. |
| Input token length distribution | View the distribution of input token lengths. |
| Output token length distribution | View the distribution of output token lengths. |
## Related Documentation
* [View resource usage](./view-resource-usage)
* [Troubleshoot insufficient task resources or long queue times](./troubleshoot-insufficient-resources-or-queued-tasks)
# Training Advanced Config
Source: https://docs.scitix.ai/siverse/training/advanced-training-task-configuration
Learn how to configure low-cost resources, schedule policies, RayJob enhancements, automatic fault tolerance, collaboration, and custom monitoring for training tasks in Siverse.
In addition to the basic creation workflow, Training provides a set of Advanced Config options that can be enabled as needed to control costs, scheduling scope, RayJob behavior, failure recovery, collaborative reuse, and observability. This document focuses on the configurations required when creating a task; links to the relevant documentation are provided for task management and troubleshooting after creation. For the complete task creation workflow, see [Create Training](./create-training-tasks).
## Low-Cost Resources
### Spot Instances
Spot instances are suitable for non-critical tasks that can be interrupted and have checkpointing or retry mechanisms. When using Spot resources, tasks may be evicted when resources are constrained, and the task status may change to Failed.
When creating a training task, go to the **Compute Resources** configuration, select the **Spot** resource type, and then select the Instance Type, instance specification, and Count Per Node as displayed on the page. Spot resource availability varies with cluster machine utilization. If no instances are available on the page, they are currently unavailable within the selected filter scope.
When using Spot, it is recommended to pay attention to the following information:
* Suitable for experimental tasks, batch jobs, or training that can be quickly resubmitted.
* Not suitable for long-running critical training without checkpoints.
* Spot is a non-guaranteed resource. Tasks may be evicted when resources on the host machine are constrained.
* After eviction, the task may enter the failed state. We recommend resubmitting based on the task output and checkpoints; use reserved or pay-as-you-go resources for critical training.
### Idle Tasks
Idle tasks run on the Cluster's currently available resources. When submitting an idle task, you do not need to bind it to a purchased quota. Idle tasks are low-cost, but resources are not guaranteed and may be preempted by tasks with a higher Priority.
When creating a training task, go to the **Compute Resources** configuration and select **Idle Resource**. Then, select the instance type, instance specification, and Count Per Node as displayed on the page, and configure the **Idle Stability Level** as needed.
When using idle-time tasks, we recommend paying attention to the following information:
* Suitable for interruptible, retryable tasks that do not require a fixed completion time.
* The available capacity of idle resources changes dynamically, and tasks may be preempted by higher-priority tasks.
* **Idle Resource Fragments** vary by stability level. Distributed training requires each replica to be placed on an available node; you cannot simply add up fragments across multiple rows to determine whether scheduling is possible.
* Idle resources do not support setting **Task Priority** or **Guarantee**. Refer to the disabled state on the page.
* After a task is preempted, it may enter the failed state, and the status information may include `was preempted by another task`.
* Idle resources are billed according to the actual billing terms and should not be assumed to be free resources.
* We recommend configuring a checkpoint or retry mechanism for training scripts to avoid relying entirely on non-guaranteed resources for critical training workflows.
## Scheduling and Guarantee
### Task Priority and Resource Priority
Training supports the configuration of **Priority** and **Resource Priority**. The former affects the scheduling order during resource contention, while the latter affects the order in which multiple candidate instance configurations within the same task are attempted.
When creating a training task, configure the Priority as displayed on the page. Typically, you can select the task priority based on the task's importance and timeliness:
| Task Type | Recommendation |
| - | - |
| Critical training | Use a higher Priority together with Guarantee to reduce the risk of preemption or prolonged queuing. |
| Routine experiments | Use normal Priority to balance stability and resource fairness. |
| Interruptible experiments or batch processing | Use a lower Priority or Idle Resource to reduce the impact on critical tasks. |
The normal task priority ranges from `1` to `9`; a higher value indicates a higher priority. Task priority does not guarantee resource reservation. Whether a task can start still depends on the resource pool status, personal quota, instance specification, and scheduling conditions.
Resource priority applies when multiple candidate instance configurations are available. The platform first attempts the candidate instances listed earlier. If a preceding candidate is temporarily unavailable, it attempts subsequent candidates. Before configuring multiple candidate instances, ensure that your training code is compatible with the corresponding GPU model, GPU memory, CPU/memory combination, and communication capabilities.
### Guarantee
Resource Guarantee controls whether a task uses non-preemptible resources. When Resource Guarantee is enabled, tasks are more stable; otherwise, they may be preempted during resource contention.
When creating a training task, if the page provides the **Guarantee** configuration, you can choose whether to enable it based on the task's stability requirements. For critical training, long-running training, or tasks with high recovery costs, enabling the guarantee is recommended. For short-term experiments or tasks that can be quickly resubmitted, you can choose not to enable it based on cost and resource availability.
Priority and Guarantee jointly affect scheduling outcomes during resource contention. Guarantee applies to scheduling and preemption; it does not address code exceptions, image pull failures, incorrect data paths, hardware failures, network failures, or stalled programs. These issues must be troubleshot using logs, events, monitoring, and fault-tolerance mechanisms.
### Accept Idle Resource
When using a reserved instance, if **Accept Idle Resource** is available on the page, you can allow the task to use idle resources as an alternative when reserved resources are insufficient. When idle resources are actually used, the task's priority, stability, and reclamation risk are handled according to the idle resource rules.
When configuring this capability, consider the following information:
| Configuration Item | Description |
| - | - |
| **Accept Idle Resource** | Allows the scheduler to attempt to use idle resources when reserved resources are insufficient. The resource pool actually used by the task is determined by the actual resources shown in the task details. |
| **Prioritize Idle Resources** | If this option is available on the page, the task can attempt to use idle resources first. Whether it can be started still depends on the availability of idle resources and the complete task scheduling conditions. |
| **Idle Resource Stability Requirements** | You can select a stability level, such as High, Medium, or Low. Higher stability requirements may result in fewer available idle resources. Lowering the stability requirement does not guarantee a faster startup or any specific runtime duration. |
Enabling idle-resource fallback does not mean that the platform combines reserved resources and idle resources into a single distributed task. The task must still meet the scheduling requirements for the full replica count.
### Node Schedule Policy
Node scheduling policies are centrally maintained under **Config Management > Schedule Policy** and can be applied to training tasks by workload type. You can exclude specified nodes through **Block**, or restrict tasks to run only on specified nodes through **Schedule Only**. Policies can apply to matching workloads by default, or take effect only after being explicitly selected when a workload is created.
Node scheduling policies change the range of nodes available to tasks and may affect whether tasks can be scheduled. Before submitting a task, ensure that the policy’s Schedule Type, Scope, Effect Mode, Workload Type, Node Name, and Expire At meet your expectations. For information about creating, finding, and maintaining policies, see [Manage Node Scheduling Policies](../configuration/manage-node-scheduling-policies).
If a task cannot be scheduled due to a node blacklist policy, the event or error message may contain `quota check failed due to node blacklist: XXX`. In this case, check whether any Schedule Policy applies to the current task.
## RayJob Enhancements
### Shared storage
RayJob can be configured with shared storage by mounting the same Volume to the Head and Worker Pods to share checkpoints, logs, intermediate results, or cached data.
When creating a training task, set **Task Type** to **RayJob**. In the RayJob-specific configuration, enable **Mount Shared Storage** and select the Volume to mount. Choose whether to clear the shared storage data after the task exits, as needed.
After submission, the platform verifies that the current account has permission to access the Volume and mounts the shared storage to each Pod in the RayJob. Task code can read from and write to the shared storage through `/tmp/ray`.
```python theme={null}
import os
import torch
with open("/tmp/ray/checkpoint.pt", "wb") as f:
torch.save(model.state_dict(), f)
state_dict = torch.load("/tmp/ray/checkpoint.pt")
files = os.listdir("/tmp/ray")
```
Shared storage is suitable for the following tasks:
| Task | Description |
| - | - |
| Checkpoint sharing | Multiple Ray Pods need to read from and write to the same checkpoint. |
| Log aggregation | Write the outputs of the Head and Workers to a unified directory. |
| Intermediate result transfer | A multi-stage Ray Pipeline needs to directly read the output of the preceding stage. |
| Data preprocessing cache | After the Head performs preprocessing, Workers reuse the cached results. |
| Debug data collection | Centrally store profiling, trace, or temporary troubleshooting files. |
When using shared storage, pay attention to the following information:
* Shared storage is available only for RayJob. PyTorchJob does not support this capability.
* Shared storage is mounted to the `/tmp/ray` directory of each Pod in a RayJob.
* During debugging, you can leave Clean Up After Exit unchecked to retain data for troubleshooting. For production tasks, cleanup is recommended to prevent storage leaks.
* Shared storage is intended for sharing data across Pods. It does not replace task input datasets or long-term model archives.
* Shared storage does not participate in scheduling decisions. Whether a task can be scheduled successfully still depends on the resource pool, instance specification, node policies, and quota.
* Shared storage requires a Volume that supports read/write access by multiple Pods. The available Volumes are subject to what is displayed on the page and the administrator's configuration.
* Shared storage organizes directories by task. The Head and Worker Pods of the same task can share data under `/tmp/ray`. To reduce data confusion between tasks, use different task name prefixes and clearly defined subdirectories in your code.
* Cleaning up shared storage data after a task exits does not affect the task's final status. If cleanup fails, go to the corresponding Volume and manually delete the directory for the task.
### Auto Scaling
RayJob can automatically adjust the number of Workers based on the workload. When configuring it, pay attention to the minimum scale-down limit, maximum scale-up limit, reclamation time, and scale-up mode.
When creating a training task, select **RayJob** as the Task Type, enable this capability in the Ray autoscaling configuration, and enter the autoscaling parameters.
| Configuration Item | Description |
| - | - |
| **Minimum Scale-In Limit** | The minimum number of Worker replicas, preventing scale-in from reducing the workload below the minimum size required for the task to run. |
| **Maximum Scale-Out Limit** | The maximum number of Worker replicas, used to limit resource consumption. |
| **Reclamation Time** | If a Worker remains idle longer than this period, the platform can reclaim the corresponding Worker. |
| **Scale-Out Mode** | Controls the scale-out pace. Conservative mode is more stable, while aggressive mode reaches the desired number of replicas faster. |
Ray jobs with significant workload fluctuations are well suited for enabling auto scaling. For jobs with high requirements for resource stability, set the scaling limits carefully to avoid frequent scaling operations affecting the training or computation process.
### Runtime Env
Runtime Env is used to configure runtime dependencies, environment variables, and other settings for Ray jobs. Before use, ensure that the image already includes a basic Ray environment and that the Runtime Env configuration format is correct.
When creating a training task, select **RayJob** as the **Task Type** and enter the Runtime Env in the RayJob-specific configuration. Runtime Env uses the YAML format supported by Ray and can be used to declare runtime dependencies, environment variables, and other settings. Leave it blank if no additional runtime configuration is required.
RayJob requires an image that includes the Ray runtime environment. If you use a custom image, ensure that it contains the Ray components and dependencies required for the job; otherwise, Ray processes may fail to start, and the job may be unable to enter the Running state.
### Pod Composition and Logs
After a RayJob is submitted, it typically includes the following Pods:
| Pod Type | Description | Consumes Quota |
| - | - | - |
| Head Pod | The Head node of a Ray cluster. There is one such node. | Yes |
| Worker Pod | Worker nodes of a Ray cluster. The number is determined by the number of worker nodes. | Yes |
| Submitter Pod | Executes Ray submission commands and aggregates user code logs. | Typically does not consume training resource quota. |
The number of Pods ultimately used by a RayJob for training resources is typically `number of Workers + 1`. User code logs are typically viewed through the Submitter Pod, while Ray cluster logs can be viewed in the Head Pod or Worker Pods.
To access the Ray Dashboard, ensure that the image includes the required dependencies, and use the entry point shown on the task details page.
During RayJob execution, if Debug is not enabled, the Ray cluster is typically reclaimed after the Submitter Pod exits. If Debug is enabled, the Ray cluster is retained for the configured retention period, allowing you to access the Head Pod and view the cluster status. Stopping a RayJob that is not in the stopped state releases the associated Pod resources.
## Debugging and Recovery
### Resource Precheck
Resource precheck is used to check the health status of the selected resources before the training command is executed. When enabled, the platform first runs a preset diagnostic script to check NCCL process group initialization, GPU GEMM performance, and AllReduce communication performance. The platform executes the training command only after the checks pass. If a check fails, the training command will not be executed, and the task will be marked as failed.
If you need to pass variables to the diagnostic items, you can add precheck environment variables when creating the task. Precheck environment variables are used only for resource prechecks and are not equivalent to training container environment variables.
### Debug Retry
Debug resubmission is suitable when the cause of a task failure is unclear and you need to enter the container to inspect the environment, paths, dependencies, or node status. It resubmits a new task for troubleshooting based on the original task configuration, typically retaining the original resource requirements, but it does not directly run the original training command.
Perform this action after the task is created. Before you begin, ensure that the checkpoints, logs, or model outputs to be retained have been written to a persistent Volume. For specific access points and troubleshooting steps, see [Troubleshoot Training Tasks](./troubleshoot-training-tasks).
### Automatic Failover
Automatic fault tolerance retries or resumes tasks according to the policy when exceptions occur. It is suitable for tasks that have written checkpoints to a persistent Volume and whose training programs can continue running from the checkpoints.
When creating a training task, enable **Fault Tolerance and Diagnostics** in **Advanced Options**, then configure **Maximum Task Resubmissions** and other settings. Automatic fault tolerance cannot resolve deterministic errors such as an unavailable image, an incorrect startup command, an invalid data path, or insufficient GPU memory.
## Collaboration and Reuse
### Labels
Labels are used to categorize, filter, collect statistics on, and audit training tasks. When creating a task, you can select labels displayed on the page. If the administrator has enabled label validation, you must select from the maintained labels. After a task is created, you can modify its labels from the task list or details page. For more information, see [Find, View, and Manage Training Tasks](./view-and-manage-training-tasks).
### Share
Task owners can make tasks available to other users through Project Group sharing or personal sharing, allowing them to view task details and logs and clone tasks. Task visibility does not automatically grant write permissions for resource pools, volumes, directories, or operations such as stopping and deleting tasks.
For information about the differences between Project Group visibility, personal sharing, cloning and reuse, and storage permissions, see [Managing Training Task Sharing and Project Group Visibility](./share-training-tasks-and-project-group-visibility).
### Environment Variables
Temporary TaskEnv variables specified when creating a task apply only to the current task. Persistent environment variables in Config Management can be automatically injected into Training tasks. If the keys of the two types of environment variables conflict, the temporary TaskEnv variables specified for the current task take precedence.
When submitting a task, the platform validates variable names, variable values, duplicate variable names, the number of variables, and byte size. For rules, see [Create Training](./create-training-tasks#environment-information).
## Custom Monitor
Training monitoring includes platform preset metrics and custom metrics. Platform preset metrics are collected by default. To collect custom metrics exposed by training code, enable **Metrics Monitor** when creating a task and configure metric endpoints.
For end-to-end integration and multi-port collection examples, see [Integrate Custom Metrics into Training](./collect-training-task-custom-metrics). To view collected metrics, see [View Training Task Monitoring](./view-training-task-monitoring).
## Related Documentation
* [Create Training](./create-training-tasks)
* [Find, View, and Manage Training Tasks](./view-and-manage-training-tasks)
* [View Training Task Monitoring](./view-training-task-monitoring)
* [Integrate Custom Metrics into Training](./collect-training-task-custom-metrics)
* [Troubleshoot Training Issues](./troubleshoot-training-tasks)
# Integrate Custom Metrics into Training
Source: https://docs.scitix.ai/siverse/training/collect-training-task-custom-metrics
Expose custom metrics in a training task, configure multi-port collection, and view custom metrics on the training task details page.
If a training task needs to report request counts, queue length, training loss, or other business metrics, you can expose a metrics endpoint in the training code and configure the metric collection endpoint when creating the training task. After the task runs, the platform collects these metrics and displays them under **Monitoring > Custom** on the training task details page.
## 1. Expose a Metrics Endpoint in the Training Code
The training code must expose ports and paths, ensuring that they match the metrics endpoints configured when the task is created. The following example exposes `/metrics` through two ports in the same training task.
| Metrics Port | Metrics Path | Example Metrics |
| - | - | - |
| `8000` | `/metrics` | Application metrics, such as request count, connection count, and queue length. |
| `8001` | `/metrics` | System metrics, such as CPU utilization, memory usage, and uptime. |
**Code example:**
The metric update logic in the example is for demonstration purposes only. In actual integration, replace it with real business data from the training code, and ensure that the port and path exposed by the code are consistent with the metric endpoint specified when creating the task.
> [accordion] View Python Sample Code
>
> ```python theme={null}
> #!/usr/bin/env python3
> # -*- coding: utf-8 -*-
> """
> Prometheus-style metrics exporter with two ports.
>
> - Port 8000: application metrics (app_registry)
> - Port 8001: system metrics (sys_registry)
> """
>
> import time
> import random
> import threading
> import logging
> from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer
> from urllib.parse import urlparse
>
> logging.basicConfig(
> level=logging.INFO,
> format='%(asctime)s %(message)s',
> )
> L = logging.getLogger(__name__)
>
>
> class Metric:
> """Base metric class."""
>
> def __init__(self, name, help_text, mtype, labelnames=None):
> self.name = name
> self.help = help_text
> self.type = mtype
> self.labelnames = labelnames or []
> self._lock = threading.Lock()
>
> def _fmt(self, labels):
> if not labels:
> return ''
> parts = [f'{k}="{str(labels.get(k, ""))}"' for k in self.labelnames]
> return '{' + ','.join(parts) + '}'
>
> def hdr(self):
> return [
> f'# HELP {self.name} {self.help}',
> f'# TYPE {self.name} {self.type}',
> ]
>
>
> class Counter(Metric):
> """Monotonically increasing counter."""
>
> def __init__(self, name, help_text, labelnames=None):
> super().__init__(name, help_text, 'counter', labelnames)
> self._values = {}
>
> def _key(self, labels):
> return tuple(labels.get(k, '') for k in self.labelnames)
>
> def inc(self, amount=1, **labels):
> with self._lock:
> k = self._key(labels)
> self._values[k] = self._values.get(k, 0) + amount
>
> def expose(self):
> lines = self.hdr()
> with self._lock:
> if not self._values and not self.labelnames:
> lines.append(f'{self.name} 0')
> for k, v in self._values.items():
> lbl = dict(zip(self.labelnames, k))
> lines.append(f'{self.name}{self._fmt(lbl)} {v}')
> return lines
>
>
> class Gauge(Metric):
> """Instantaneous value that can increase or decrease."""
>
> def __init__(self, name, help_text, labelnames=None):
> super().__init__(name, help_text, 'gauge', labelnames)
> self._values = {}
>
> def _key(self, labels):
> return tuple(labels.get(k, '') for k in self.labelnames)
>
> def set(self, value, **labels):
> with self._lock:
> self._values[self._key(labels)] = value
>
> def expose(self):
> lines = self.hdr()
> with self._lock:
> if not self._values and not self.labelnames:
> lines.append(f'{self.name} 0')
> for k, v in self._values.items():
> lbl = dict(zip(self.labelnames, k))
> lines.append(f'{self.name}{self._fmt(lbl)} {v}')
> return lines
>
>
> class Registry:
> """Metric registry that collects and exports all metrics in text format."""
>
> def __init__(self):
> self._metrics = []
> self._lock = threading.Lock()
>
> def register(self, metric):
> with self._lock:
> self._metrics.append(metric)
> return metric
>
> def expose(self):
> lines = []
> with self._lock:
> for m in self._metrics:
> lines.extend(m.expose())
> return '\n'.join(lines) + '\n'
>
>
> # ---------- Application metrics ----------
> app_registry = Registry()
> http_requests = app_registry.register(
> Counter('myapp_http_requests_total', 'Total requests', ['method', 'status'])
> )
> active_conns = app_registry.register(
> Gauge('myapp_active_connections', 'Active connections')
> )
> queue = app_registry.register(
> Gauge('myapp_queue_size', 'Queue size')
> )
>
> # ---------- System metrics ----------
> sys_registry = Registry()
> cpu = sys_registry.register(
> Gauge('system_cpu_usage_percent', 'CPU usage', ['core'])
> )
> mem = sys_registry.register(
> Gauge('system_memory_usage_bytes', 'Memory usage', ['type'])
> )
> uptime_metric = sys_registry.register(
> Gauge('system_uptime_seconds', 'Uptime')
> )
>
>
> class MetricsHandler(BaseHTTPRequestHandler):
> registry = None
>
> def do_GET(self):
> path = urlparse(self.path).path
> if path == '/metrics':
> body = self.registry.expose().encode('utf-8')
> self.send_response(200)
> self.send_header('Content-Type', 'text/plain')
> self.send_header('Content-Length', str(len(body)))
> self.end_headers()
> self.wfile.write(body)
> else:
> self.send_response(404)
> self.end_headers()
>
> def log_message(self, fmt, *args):
> # Disable the default access log
> pass
>
>
> def make_handler(registry):
> """Generate a handler class for the specified registry."""
>
> class _Handler(MetricsHandler):
> pass
>
> _Handler.registry = registry
> return _Handler
>
>
> def update_app():
> """Simulate application metric updates."""
> while True:
> try:
> http_requests.inc(
> method=random.choice(['GET', 'POST']),
> status=random.choice(['200', '500']),
> )
> active_conns.set(random.randint(10, 200))
> queue.set(random.randint(0, 50))
> time.sleep(1)
> except Exception as e:
> L.error(f'app:{e}')
> time.sleep(1)
>
>
> def update_sys():
> """Simulate system metric updates."""
> start = time.time()
> while True:
> try:
> for i in range(4):
> cpu.set(random.uniform(0, 100), core=f'cpu{i}')
> total = 16 * 1024 ** 3
> mem.set(total, type='total')
> mem.set(total * random.uniform(0.3, 0.8), type='used')
> uptime_metric.set(time.time() - start)
> time.sleep(2)
> except Exception as e:
> L.error(f'sys:{e}')
> time.sleep(1)
>
>
> def start_server(port, registry):
> """Start an HTTP service that exposes /metrics for the specified registry."""
> httpd = ThreadingHTTPServer(('0.0.0.0', port), make_handler(registry))
> threading.Thread(target=httpd.serve_forever, daemon=True).start()
> L.info(f'Server started: port {port}')
>
>
> def main():
> L.info('Starting dual-port exporter')
> start_server(8000, app_registry)
> start_server(8001, sys_registry)
> threading.Thread(target=update_app, daemon=True).start()
> threading.Thread(target=update_sys, daemon=True).start()
> while True:
> time.sleep(1)
>
>
> if __name__ == '__main__':
> main()
> ```
## 2. Create a Training Task and Configure the Metrics Endpoint
When creating a training task, enable **Metrics Monitor** under **Advanced Options** and configure metrics endpoints for the ports exposed by the training code.
| Configuration Item | Description |
| - | - |
| Metrics Monitor | When enabled, the platform collects custom metrics exposed by the training code. Preset resource metrics are collected by default and do not need to be configured here. |
| Metrics Port | The metrics port exposed by the training container, for example, `8000` or `8001`. |
| Metrics Path | The metrics collection path, for example, `/metrics`. |
If you need to collect data from multiple endpoints, click **Add Metrics Endpoint** to add them one by one. Within the same training task, each combination of **Metrics Port** and **Metrics Path** must be unique. Based on the example above, add the following two endpoints.
| Metrics Port | Metrics Path |
| - | - |
| `8000` | `/metrics` |
| `8001` | `/metrics` |
For other configuration options for creating a training task, see [Create Training](./create-training-tasks).
## 3. Verify the Metrics Endpoint
After the task starts running, access the corresponding metrics endpoint within the training task container and verify that the endpoint can return metric samples.
```bash theme={null}
curl localhost:8000/metrics
curl localhost:8001/metrics
```
> [accordion] View Response Example
>
> ```bash theme={null}
> root@e2e-multiport-v3-7e9039ba-master-0:/workspace# curl localhost:8000/metrics
> # HELP myapp_http_requests_total Total requests
> # TYPE myapp_http_requests_total counter
> myapp_http_requests_total{method="GET",status="500"} 461
> myapp_http_requests_total{method="POST",status="500"} 431
> myapp_http_requests_total{method="GET",status="200"} 423
> myapp_http_requests_total{method="POST",status="200"} 413
> # HELP myapp_active_connections Active connections
> # TYPE myapp_active_connections gauge
> myapp_active_connections 178
> # HELP myapp_queue_size Queue size
> # TYPE myapp_queue_size gauge
> myapp_queue_size 42
>
> root@e2e-multiport-v3-7e9039ba-master-0:/workspace# curl localhost:8001/metrics
> # HELP system_cpu_usage_percent CPU usage
> # TYPE system_cpu_usage_percent gauge
> system_cpu_usage_percent{core="cpu0"} 60.21940599671388
> system_cpu_usage_percent{core="cpu1"} 21.640438681845218
> system_cpu_usage_percent{core="cpu2"} 9.09251066506329
> system_cpu_usage_percent{core="cpu3"} 55.24733876700996
> # HELP system_memory_usage_bytes Memory usage
> # TYPE system_memory_usage_bytes gauge
> system_memory_usage_bytes{type="total"} 17179869184
> system_memory_usage_bytes{type="used"} 6094192600.644531
> # HELP system_uptime_seconds Uptime
> # TYPE system_uptime_seconds gauge
> system_uptime_seconds 1730.1035702228546
> ```
If multiple metrics endpoints are configured, check each port and path separately. If an endpoint returns metric samples, the metrics have been exposed by the training code. If access fails or the expected metrics are not returned, first check the training code, port, and path configuration.
## 4. Configure and View Custom Metrics Charts
After the metrics endpoint collects data, go to the training task details page and open the **Monitoring** tab. Select **Custom** on the left, then configure charts based on the metric name and label to view the corresponding curves. The available modules, submodules, and classes may vary by environment; refer to the console for the actual options.
When configuring, pay particular attention to the following fields.
| Configuration Item | Description |
| - | - |
| Module | Select a module related to the training task. |
| SubModule | Select a submodule for carrying custom metrics. |
| Class | Charts in the same class are grouped and displayed on the business page. We recommend naming them by business scenario or metric type. |
| Legend | The display name of the chart curve. You can use label variables, such as `{{pod}} {{endpoint}}`, to distinguish different Pods, collection endpoints, or business dimensions. |
| PromQL | Enter a query expression that matches the custom metrics. Metric names, labels, and available scopes are based on the data actually exposed by the current task. |
When configuring the Legend and PromQL, you can use the metric’s own business labels or labels added by the platform, such as Pod, scrape endpoint, and container labels. Common labels are as follows.
| Label | Description |
| - | - |
| `pod` | The Pod to which the metric belongs. |
| `endpoint` | The metric collection endpoint. |
| `container` | The container to which the metric belongs. |
| Service label | A label exposed by the training code itself in metrics, such as `method` and `status`. |
Available labels are subject to the metrics actually exposed by the current task and those displayed in the console.
The following example shows how to configure a chart for `myapp_http_requests_total`:
```json theme={null}
[
{
"module": "training",
"subModule": "Custom",
"class": "myapp_http_requests_total",
"format": "TimeSeries",
"title": "HTTP Requests",
"description": "View request metrics exposed by the training task.",
"metrics": [
{
"legend": "{{pod}} {{endpoint}}",
"query": "myapp_http_requests_total{}"
}
]
}
]
```
After configuration is complete, select the metrics or charts you want to view, set the time range as needed, and click **Refresh**.
For more information about creating and updating dashboards, see [Manage monitoring dashboards](../configuration/manage-monitoring-dashboards).
## Troubleshoot No Data for Custom Metrics
If there is no data in **Monitoring > Custom**, troubleshoot in the following order:
1. Ensure that **Metrics Monitor** was enabled when the training task was created, and that the port and path match the training code.
2. Ensure that the training code exposes a metrics endpoint and that metrics are generated while the task is running.
3. Access the corresponding metrics endpoint from within the training task container and verify that the endpoint can return metric samples.
4. If multiple metrics endpoints are configured, check each port and path separately.
5. Refresh later or expand the time range and check again.
## Related Documentation
* [Create Training](./create-training-tasks)
* [Training Advanced Config](./advanced-training-task-configuration)
* [View Training Task Monitoring](./view-training-task-monitoring)
* [Manage monitoring dashboards](../configuration/manage-monitoring-dashboards)
# Create Training
Source: https://docs.scitix.ai/siverse/training/create-training-tasks
Create a PyTorchJob or RayJob training job on Siverse, and configure the image, mounts, resources, schedule policy, startup command, and enhanced capabilities.
After you create a training task, the platform schedules resources based on the selected Region, Cluster, resource pool, and instance specification, and runs the training command in a container. This document uses console-based form creation as an example to describe the complete configuration process.
Before formally submitting a long-running training job, we recommend first using a small-scale task to validate the image, mount path, startup command, and checkpoint writing logic.
## Create Training
### 1. Go to the creation page
1. Go to **Training > Workloads**.
2. On the **Personal Tasks** tab, click **Create**.
### 2. Configure General Settings
First, complete the shared basic settings for **PyTorchJob** and **RayJob**. The task type determines the specific settings that must be added later.
#### Basic information
| Configuration Item | Description |
| - | - |
| **Region and Cluster** | Determines where the task runs and also affects the available resource pools, images, volumes, datasets, and models. |
| **Project Group** | The project group to which the task belongs, used to categorize resources and permissions. |
| **Task Name Prefix** | The prefix for the task name. The platform appends a unique suffix to the task name prefix to generate the final task name. We recommend using lowercase letters, numbers, and hyphens, with the name starting and ending with a letter or number. |
| **Task Type** | Select a task type.**PyTorchJob**: Suitable for running single-node or distributed training jobs based on PyTorch. **RayJob**: Suitable for running distributed training, scheduling, or parallel computing jobs based on Ray. Different task types affect subsequent resource configuration, startup methods, and dedicated settings. |
| **Public within Project Group** | Controls whether the task is visible within the project group. If it is not public, it is generally visible only to the task owner. For the differences between project group visibility and personal sharing, see [Manage Training Task Sharing and Project Group Visibility](./share-training-tasks-and-project-group-visibility). |
| **Labels** | Add labels to the task to facilitate categorization, filtering, and auditing. After an administrator enables label validation, you may need to select maintained labels when submitting a task. |
#### Environment Information
The runtime environment determines which image the training container uses, which inputs it reads, where it writes outputs, and which command it executes after startup. Before creating it, ensure that the image, code path, data path, and output path are ready.
| Configuration Item | Description |
| - | - |
| **Image** | You can select a preset image, a custom image, or enter an image address directly. The image must include the frameworks and dependencies required to run the training script. RayJob requires an image that includes the Ray runtime environment. To use the full Ray Dashboard functionality, the custom image must also include the corresponding dependencies. |
| **Environment Variables** | Click **Add** to add temporary environment variables for the current task. These can be used to pass paths, parameters, switches, or credentials. Note the following when configuring them:Variable names can contain only English letters, digits, and underscores, and cannot start with a digit. They cannot be duplicated or contain `=`, spaces, line breaks, Chinese characters, full-width symbols, zero-width characters, or similar characters. Variable values must be strings. They can be `0`, but cannot be empty or contain NUL characters. You can hide variable values as needed. If a variable has the same name as a persistent environment variable in TaskEnv Management, the configuration for the current task takes precedence. |
| **Volume** | Mount a Volume to store code, checkpoints, training outputs, and model files. You must select storage and enter the **mount path in the Pod**. The same storage volume can be mounted only once at the same mount path. Writable persistent storage is recommended for the output and checkpoint directories. |
| **Dataset** | Mount datasets for the training script to read input data. Datasets are typically used as read-only input, and you must specify the container mount path. |
| **Model** | Mount models for fine-tuning, continued training, or evaluation, and specify the container mount path. |
| **cmd** | The training command executed after the container starts. The platform runs it using `bash -c`. PyTorchJob can use the distributed training environment variables automatically injected by the platform in the command. A RayJob command is typically a Ray entrypoint, such as `python main.py`. |
> [!TIP]
>
> Use separate directories starting with `/volume` or `/mnt` as mount paths for storage, datasets, and models to avoid overwriting default image directories such as `/opt`, `/workspace`, and `/usr`. Path conflicts may render dependencies, code, or startup commands unavailable. Container local disks have limited capacity; writing large amounts of data may slow down the system, and local disk data may also be cleared after a restart or migration. Important files, such as training code, datasets, models, checkpoints, and output results, should be written to mounted volumes.
#### Compute resources
Compute resources determine the type of resources used by a task, the number of replicas to launch, and the CPU/GPU resources requested by each replica. We recommend completing the configuration in the following order: Resource Type -> Replicas -> Instance Spec -> Quota and Scheduling.
**1. Select Resource Type**
Different resource types affect the available instances, quota validation, resource guarantees, and interruption risks. Select a resource type as needed.
| Resource type | Suitable scenarios |
| - | - |
| **Reserved** | Run training tasks using purchased or allocated reserved quota. |
| **Ondemand** | Temporarily start training tasks without reserving quota in advance. |
| **Spot** | Cost-sensitive, interruptible, and retryable training tasks. |
| **Idle Resource** | Tasks that can tolerate unstable run durations and whose training programs support checkpointing or resubmission. |
**2. Configure Replicas**
* **PyTorchJob**
PyTorchJob has a fixed master node count of `1`, while the number of worker nodes can be set to `0`. The master node and worker nodes use the same specifications. For distributed training, the number of worker nodes affects the number of replicas that must be scheduled simultaneously.
For the total number of task replicas, PyTorchJob typically calculates the number of replicas that must be scheduled simultaneously as `1 + number of worker nodes`.
* **RayJob**
RayJob configures the Head and Worker separately. The number of Heads and their resources are specified in the Ray form, while the number of Workers determines the scale of worker nodes.
For the total number of task replicas, RayJob resources are calculated separately for the Head and Worker.
**3. Select Instance Spec**
| Configuration Item | Description |
| - | - |
| **Instance Type** | Select **GPU** or **CPU**, then select a specific instance specification from the instance list. Specification displays the resources included in that specification, such as GPU, vCPU, and memory. |
| **Count Per Node** | Configure the number of selected instance specifications used by each replica. Resource requirements for a single replica = resources in one specification in Specification × **Count Per Node**. |
| **Resource Priority** | When multiple instance specifications are selected, the platform attempts scheduling in descending priority order, giving preference to instances listed first. Select only specifications compatible with the training code to prevent the task from being scheduled to incompatible GPU models or CPU/memory combinations. |
Resource quantities are calculated based on the role configuration. The specification values on the page are for displaying the resources of a single selected instance specification only. Actual resource quantities depend on the selected specification and number of replicas.
| Task type | Compute method |
| - | - |
| **PyTorchJob** | Total replicas = `1 + number of Workers`; total specification units = `total replicas × Count Per Node`; total GPUs = `total specification units × number of GPUs per specification`. CPU and memory are also calculated based on the total specification units. |
| **RayJob** | Resource requirements for the Head and Worker are calculated separately. Quotas are verified collectively for the same specifications and separately for different specifications. |
**4. Confirm Quota and Scheduling**
Before submitting, do not consider only whether an individual instance specification is available; also confirm that the entire task can be scheduled simultaneously.
| Item to Check | How to Assess |
| - | - |
| **Remaining Quota** | The quota that the current account can continue to use for the selected resource type, resource pool, and instance specification. When creating a task, verify against the resource requirements of the entire task, rather than a single replica only. |
| **Pool Available** | A reference value for the capacity currently available from the resource pool. This value changes with other tasks and the status of the resource pool and must not be treated as a resource reservation. |
| **Idle Resource Quantity / Idle Resource Fragmentation** | When using the idle-resource supplementation capability of Reserved instances or directly selecting Idle Resource, check the displayed idle-resource quantity, stability level, and fragmentation. Fragmentation information is for availability reference only; distributed training must still meet overall scheduling requirements. |
| **Guarantee** | Based on the resource type and page capabilities, choose whether to enable a more stable guarantee policy. For critical training, long-running training, or tasks with high recovery costs, configurations that support Guarantee are recommended. |
> [!TIP]
>
> Distributed training uses gang scheduling. The replicas required by a job cannot be assessed solely by summing total resources; it is also necessary to ensure that each replica can be placed on an available node and that all replicas can start simultaneously. If resources are insufficient, the entire job enters the queue and is automatically scheduled once the resource requirements are met, without manual retries.
Priority affects task queuing and scheduling order and may also affect outcomes in resource contention. For more details about low-cost resources, Guarantee, node scheduling policies, and preemption, see [Training Advanced Config](./advanced-training-task-configuration).
#### Advanced Options
| Configuration Item | Description |
| - | - |
| **Resource Precheck** | Supported only by **PyTorchJob**. When enabled, the platform runs a preset resource precheck before training starts. Note the following when configuring it:The checks include NCCL process group initialization, GPU GEMM performance, and AllReduce communication performance. The checks increase task startup time. The platform runs the training command only after the checks pass. If a check fails, the training command will not run and the task will be marked as failed. To pass variables to the checks, click **Add** to add precheck environment variables. |
| **Fault Tolerance and Diagnostics** | When enabled, the platform can retry or recover tasks that encounter exceptions according to the configured policy.**Maximum Task Resubmissions**: The maximum number of times the platform automatically resubmits a task after it fails. This excludes the initial submission, manual resubmissions, and restarts caused by resource replacement. Setting this value to 0 disables automatic resubmission. **Automatic Node Replacement Upon Failure**: When enabled, if a PyTorch task fails due to a machine failure such as a GPU or NIC failure, the platform automatically replaces the node and resumes task execution. Automatic retries cannot resolve issues that require changes to the configuration or scripts, such as code issues, data path issues, or insufficient GPU memory. |
| **Exit Checkpoint Notification** | Supported only by PyTorchJob. When enabled, the Pod notifies the training process to save a checkpoint before exiting. Resources are released only after the checkpoint is saved, with a maximum wait time of 600 seconds. Notifications are sent for preemption reclamation, manual stops, and task deletion, which can slow down task exit. |
| **Metrics Monitor** | When enabled, collects custom metrics exposed by the training code.Preset resource metrics are collected by default and do not need to be configured here. For each metrics collection endpoint, specify **Metrics Port** and **Metrics Path**. To collect multiple endpoints, click **Add Metrics Endpoint** to add them one by one. Within the same task, the combination of **Metrics Port** and **Metrics Path** cannot be duplicated. For detailed examples, see [Integrate Custom Metrics into Training](./collect-training-task-custom-metrics). |
| **Image Pull Tolerance** | Configure the maximum number of retries for failed image pulls to handle temporary pull fluctuations. The default value is subject to the current page display. A value of `0` indicates that the task is considered failed upon the first failure; `-1` disables image pull circuit breaking for this task; a positive integer uses a custom threshold for this task. |
| **Passwordless Login Between Pods** | When this setting is enabled, passwordless SSH login between multiple Pods is automatically enabled, and node information is generated and stored in the `/root/hostfile` and `/root/hostfile.hostname` files, respectively. This feature is available in common operating systems, such as Ubuntu, and common images, such as NGC images. However, it may not be available in certain special environments. If you encounter any issues, contact technical support. |
| **Alarm Subscription** | To configure alarms when creating a task, click **Add Alarm Subscription**. Refer to the Alarm Subscription page for the specific fields. |
### 3. Complete the configuration based on the Task Type
#### PyTorchJob
PyTorchJob is suitable for running single-node or distributed training jobs based on PyTorch. After completing the general configuration, check carefully whether **cmd** can correctly start the training script.
For PyTorchJob multi-node multi-GPU training, you can use the platform-injected distributed training environment variables in the startup command:
| Environment Variable | Description |
| - | - |
| `MASTER_ADDR` | Address of the master node. |
| `MASTER_PORT` | Port of the master node. |
| `WORLD_SIZE` | Total number of machines participating in training. |
| `RANK` | ID of the current node. |
The platform also injects task context-related TaskEnv, such as `X_USER_NAME`, `X_ORG_NAME`, `X_TENANT_ID`, `X_REGION`, `X_CLUSTER`, and `TASK_UUID`. If the training script needs to record the task source, region, cluster, or unique task identifier, it can read these variables.
Example:
```bash theme={null}
torchrun \
--master_addr "$MASTER_ADDR" \
--master_port "$MASTER_PORT" \
--nnodes "$WORLD_SIZE" \
--nproc_per_node 8 \
--node_rank "$RANK" \
train.py
```
Adjust `--nproc_per_node` based on the actual number of GPUs per node, and replace `train.py` with the actual training script.
#### RayJob
RayJob is suitable for running Ray-based distributed training, scheduling, or parallel computing tasks. After completing the general configuration, pay particular attention to the Head / Worker, Runtime Env, shared storage, and autoscaling settings.
| Configuration Item | Description |
| - | - |
| **Head Instance Specification** | Configures the instance specification used by the Head node. If not configured separately, it typically uses the same specification as the Worker nodes. |
| **Runtime Env** | Enter the Ray Runtime Env in a YAML format supported by Ray. It can be used to declare runtime dependencies, environment variables, and more. Leave it blank if no additional runtime configuration is required. |
| **Mount Shared Storage** | Mounts the same Volume to the `/tmp/ray` directory of each RayJob Pod for sharing checkpoints, logs, intermediate results, or cached data across Pods. Shared storage is available only for RayJob, and you must select a Volume that supports read/write access by multiple Pods. |
| **Clean Up Shared Storage Data After Task Exit** | When selected, data generated by this task in the shared storage is deleted when the task ends. If not selected, the data is retained for debugging, but you need to monitor storage usage. |
| **Debug Mode / Cluster Retention Time** | When enabled, the Ray cluster is retained for a period after the RayJob ends, allowing you to access the Head Pod for troubleshooting. The default retention time is typically 600 seconds. The actual value depends on the configuration when creating the task. |
| **Auto Scaling** | When enabled, Ray can adjust the number of Workers based on the workload. When configuring this option, pay attention to the minimum scale-down limit, maximum scale-up limit, idle timeout, and scaling mode to prevent the scaling range from exceeding task expectations or the resource budget. |
After selecting RayJob, pay attention to how Ray is run and its resource usage:
* A RayJob consists of one Head Pod and multiple Worker Pods.
* The number of Worker Pods is determined by the number of Workers specified in the creation form. The total number of resource-consuming Pods is typically `number of Workers + 1`.
* User code logs for a RayJob are typically viewed through the Submitter Pod.
* For Ray cluster logs, view the Head Pod or Worker Pods.
* The startup command for a RayJob is typically a Ray entrypoint, such as `python main.py`.
For more configuration recommendations on shared storage, auto scaling, Runtime Env, or Debug mode, see [Advanced Training Configuration](./advanced-training-task-configuration).
### 4. Submit Creation
Click **Create** to submit a task. After submission, the task enters the queue and waits to be scheduled. You can view its status in the task list or go to the training task details page to view events, logs, and monitoring.
After submitting, return to the task list and search or refresh to verify that the task has been created, then record the task ID. If the creation request has succeeded but the list has not been refreshed in time, search or refresh first to avoid submitting the same task repeatedly.
After opening the training task details page, first verify the actual resources, the status of each replica, and the **Event**. Then review the logs to confirm that training initialization is complete and that training steps are continuing to progress, and check whether outputs and checkpoints are being written to the expected paths. If the task remains queued for an extended period, scheduling fails, or startup fails, first review **Event** on the training task details page, then check the resource quota, image, mount path, and startup command based on the event information.
## Next steps
* [Find, View, and Manage Training Tasks](./view-and-manage-training-tasks)
* [View Training Task Logs](./view-training-task-logs)
* [View Training Task Monitoring](./view-training-task-monitoring)
* [Integrate Custom Metrics into Training](./collect-training-task-custom-metrics)
# Diagnose Training Failure Nodes with Bisect Diagnose
Source: https://docs.scitix.ai/siverse/training/diagnose-training-failures-with-bisect
Use Bisect Diagnose to perform binary diagnosis of hangs, communication anomalies, or slow-node issues in multi-node training, and identify suspected faulty nodes or communication links.
Bisect Diagnose is suitable for identifying problematic nodes in multi-node training when hangs, communication errors, or suspected slow nodes occur. It splits the nodes participating in training into two groups, runs diagnostic tasks for each group, and progressively narrows the scope based on which group reproduces the issue, until the suspected faulty node or abnormal communication link is identified.
## Confirmation Before Diagnosis
* The Task Type is **PyTorchJob**.
* The task runs on two or more nodes.
* The task status is **Running**, **Failed**, **Succeeded**, or **Abnormal**.
* The impact of diagnostics on the current task has been assessed. When diagnostics are initiated for a **Running** task, the platform may first stop the current task and then start a new diagnostic task based on the current machine list. Therefore, ensure that training outputs, checkpoints, or important logs have been written to a persistent Volume.
* After diagnostics are complete, clear the diagnostic session to prevent node locks from affecting subsequent scheduling.
## How It Works
A diagnostic cycle typically includes:
1. **Pre-check and lock nodes**: Check node health, GPU resources, and whether the nodes are occupied by other diagnostic sessions. After the pre-check passes, the platform locks the relevant nodes to prevent other tasks from interfering with the diagnostic process.
2. **Perform bisection**: Split the nodes into Group A and Group B, and create independent subtasks for each group to run the original training command or diagnostic command.
3. **Identify the faulty side**: Determine which group is more likely to contain the fault based on whether the tasks in the two groups reproduce the issue.
4. **Clean up the diagnostic session**: After diagnosis is complete, stop unfinished subtasks and release the node locks.
If an anomaly recurs in a group, the platform continues bisecting the affected group, repeating prechecks, grouped runs, and result evaluations until the scope converges on suspected faulty nodes or can no longer be bisected. Diagnostic details are typically displayed in a tree structure for the subtasks in each round. Each subtask card displays the task name, associated group, status, and a link to details.
The following figure uses four nodes as an example to illustrate how Bisect Diagnose continues bisecting along the side where the anomaly is reproduced.

After diagnostics are complete, clear the diagnostic session; otherwise, node locking may affect subsequent task scheduling.
## Identify the Faulty Side
| Group A | Group B | Determination |
| - | - | - |
| Success | Failure | The fault is more likely in Group B. |
| Failure | Success | The fault is more likely in Group A. |
| Failure | Failure | Issues may exist on both sides, or the issue may stem from non-node factors such as data, configuration, or images. |
| Success | Success | The fault may have been resolved, or it may be an intermittent issue. |
When only one node remains in a group and the issue can still be reproduced, that node can usually be treated as a suspected faulty node for further handling.
## Diagnostic Mode
| Mode | Objective | Result |
| - | - | - |
| fault mode | Identify faulty nodes or faulty communication links. | Outputs suspected faulty nodes or the faulty side and provides handling recommendations; typically used to isolate faulty nodes and reschedule. |
| perf mode | Identify slow nodes with significantly lagging performance. | Determines slow nodes based on metrics such as the average bandwidth, average computing power, or average Model MFU of each round group, helping resume training in place. |
## View Diagnostic Conclusions
Diagnostic results typically display the grouping result for each round, the basis for determination, and handling recommendations. The conclusions distinguish between faulty nodes and slow nodes: faulty nodes usually indicate reproduction failures or exceptions and may be represented as `faultyNode` in the results; slow nodes usually indicate nodes with significantly lagging performance but not necessarily direct failures and may be represented as `slowNode` in the results.
For perf mode, the results may also include performance metrics such as the average bandwidth, average compute power, or average Model MFU for each round group, which can be used to determine whether there are any significantly lagging nodes.
Bisect Diagnose can be initiated manually or triggered as a remediation action for automatic fault tolerance. When automatic fault tolerance needs to further identify the faulty node, the platform may initiate bisect diagnosis through remediation actions such as `NODE_BISECTION`. The specific trigger conditions depend on the current fault-tolerance configuration and platform capabilities.
## Related Documentation
* [Troubleshoot Training issues](./troubleshoot-training-tasks)
* [Use automatic fault tolerance to recover Training](./recover-training-tasks-with-auto-fault-tolerance)
# Orchestrating Training Workflows with Workflows
Source: https://docs.scitix.ai/siverse/training/orchestrate-training-with-workflows
Create and manage workflows in Siverse, orchestrating multiple training or inference nodes into a pipeline based on their dependencies.
Workflows are used to orchestrate multiple task nodes into a process, making them suitable for scenarios that require chaining multiple training, processing, or inference steps based on dependencies.
## Create Workflow
### 1. Go to the creation page
1. Go to **Training > Workflows**.
2. Click **Create** and select **Create with Form** or **Create with Code**.
* **Form Creation**: Suitable for dragging nodes, configuring dependencies, and entering node parameters one by one in the console.
* **Code Creation**: Suitable for scenarios where you already have a DAG configuration, need to reuse templates, or want to maintain workflow definitions uniformly through JSON/YAML.
### 2. Enter Basic information
| Configuration Item | Description |
| - | - |
| **Workflow Name** | The name of the Workflow, used to identify the workflow in the list, details, and run records. |
| **Description** | A description of the Workflow's purpose. Specify the data processed by the workflow and the training or inference stage. |
| **Custom Output Path** | The matching path for Workflow output files. For example, `/etc/output/*/result.json`, used to collect node output results. |
| **Enable Global Variables** | When enabled, global variables can be used within the Workflow, allowing multiple nodes to reuse the same set of parameters. |
| **Enable Scheduled Tasks** | When enabled, the Workflow can be triggered on a schedule, making it suitable for periodic data processing, training, or evaluation workflows. |
### 3. Configure DAG
> [tab] Create by Form
>
> 
>
> 1. In the **DAG** area, drag nodes from the node list on the left to the canvas. **SF Job Node** and **SF Inference Node** are currently supported.
>
> 2. Connect the nodes in workflow order, or click **Auto Layout** to arrange the canvas.
>
> 3. Click the node's edit button to open **Node Configuration**.
>
> 4. Configure upstream dependencies on the **Predecessor Node Dependencies** tab.
>
> 5. Configure the basic node information on the **Common Fields** tab.
>
> | Configuration Item | Description |
> | - | - |
> | **Node Name** | The unique name of the node in the DAG configuration, corresponding to `name` when created in code. |
> | **Display Name** | The display name of the node on the canvas. |
> | **Node Type** | The current node type, such as `sfjob`. |
> | **Service Mode** | Controls whether the node runs in service mode. |
> | **Retry Count** | The number of retries after the node fails. |
> | **Timeout (Seconds)** | The maximum time the node is allowed to run. Any excess is handled as a timeout. |
> | **Labels** | Add labels to the node to distinguish its stage or purpose. |
> | **Environment Variables** | Add runtime environment variables for the current node. |
> | **Input Parameters** | Define the parameters that the current node needs to read. |
> | **Output Parameters** | Define the parameters produced by the current node, which can be referenced by downstream nodes. |
>
> 6. On the **Load Parameters** tab, configure the job or inference workload parameters to be run by the node.
>
> * **SF Job Node**: Configurations for the image, resources, Volume, dataset, model, startup command, and more are generally consistent with those for Training. For details, see [Create a Training Task](./create-training-tasks).
> * **SF Inference Node**: Configurations for the resource pool, inference engine, model, cache, service, and monitoring are generally consistent with those for creating an LLM inference service. For details, see [Create an LLM Inference Service](../inference/create-llm-inference-services).
>
> 7. Click **Save**.
>
> 8. Verify that the nodes and dependencies on the canvas meet expectations.
> [tab] Create with Code
>
> 1. In **Code Format**, select **JSON** or **YAML**.
> 2. In the **Dag** editor, enter or paste the node orchestration configuration.
> 3. In the **Steps** editor, enter or paste the node execution configuration.
> 4. Ensure that the configuration can represent the expected nodes, dependencies, and execution conditions.
>
> **DAG Configuration Structure**
>
> The **Dag** configuration describes the node orchestration, dependencies, and execution conditions of a workflow.
>
> | Field | Description |
> | - | - |
> | `tasks` | List of node orchestration configurations in the workflow. |
> | `name` | Node name, which must correspond to the node name in the Steps configuration. |
> | `template` | The template or node type used by the node. For example, an SF job node can use `sfjob`. |
> | `depends` | Dependencies on preceding nodes. You can reference upstream nodes and their statuses, for example, `data-preprocess.Success`. |
> | `when` | Node execution condition. You can reference output parameters from upstream nodes, for example, `{{tasks.data-preprocess.outputs.parameters.next-step}} == training-1`. |
>
> DAG structure example:
>
> ```yaml theme={null}
> tasks:
> - name: data-preprocess
> template: sfjob
> - name: train-model
> template: sfjob
> depends: data-preprocess.Success
> when: "{{tasks.data-preprocess.outputs.parameters.next-step}} == training"
> ```
>
> **Steps Configure Structure**
>
> The **Steps** configuration describes each node’s runtime parameters, display information, inputs and outputs, and workload configuration.
>
> | Field | Description |
> | - | - |
> | `type` | Node type. For example, an SF job node can use `sfjob`. |
> | `name` | Node name. This must correspond to the node name in the Dag configuration. |
> | `outputs.parameters` | Node output parameters. You can use `valueFrom.path` to read parameter values from files generated during node execution. |
> | `inputs` | Node input parameters. |
> | `displayName` | Display name of the node. |
> | `labels` | Node labels. |
> | `retries` | Number of retries after the node fails. |
> | `timeoutSeconds` | Node timeout period, in seconds. |
> | `env` | Node environment variables. |
> | `spec` | Node workload configuration. The specific structure depends on the node type. |
>
> Steps structure example:
>
> ```yaml theme={null}
> - type: sfjob
> name: data-preprocess
> displayName: Data preprocessing
> retries: 1
> timeoutSeconds: 3600
> outputs:
> parameters:
> - name: next-step
> valueFrom:
> path: /etc/output/data-preprocess/result.json
> env:
> - name: STAGE
> value: preprocess
> spec:
> # Configure node load parameters by node type.
> # For SF job nodes, see Create Training Tasks; for SF inference nodes, see Create an LLM Inference Service.
> ```
### 4. Submit Creation
Click **Create** to submit the workflow. After submission, view the workflow status in the Workflows list or details.
When creating a Workflow, focus on verifying that node dependencies and execution conditions meet the expected workflow requirements. The node configuration must also meet the configuration requirements for the corresponding Training or Inference service.
## View and manage workflows
After navigating to **Training > Workflows**, you can find workflows using the filters provided on the page. When viewing a workflow, focus on:
* The current workflow status and execution progress.
* Which nodes are running, have failed, or are waiting for upstream nodes.
* Whether a node failure is caused by task configuration, resource scheduling, an image, mounting, a command, or upstream dependencies.
* Whether the workflow needs to be rerun or a specific training job needs to be investigated separately.
If the Workflow does not run as expected, first verify the dependencies and failed nodes, then go to the corresponding training task details page to view events, logs, and monitoring.
## Related Documentation
* [Create Training](./create-training-tasks)
# Manage Training sharing and Project Group visibility
Source: https://docs.scitix.ai/siverse/training/share-training-tasks-and-project-group-visibility
Learn how to use Project Group public sharing or personal sharing to let other users view, troubleshoot, or clone Training, and verify resource, volume, and write permissions.
Training task sharing enables collaborators to view training configurations, status, and logs. After recipients are granted access, they can use the task link to troubleshoot issues; computing resources, storage, and write permissions are managed separately.
> [!TIP]
>
> * A task link itself does not grant permissions. Whether recipients can access the task, read data, clone the configuration, or perform actions such as stopping or deleting depends on task visibility, feature permissions, resource permissions, and storage permissions.
> * Before sharing, check whether the startup command, environment variables, logs, mount path, or output path contains credentials, tokens, keys, internal addresses, or personal directories that should not be shared.
## Choose a Collaboration Method
| Collaboration Goal | Recommended Approach | Key Considerations |
| - | - | - |
| Allow other users to view task configurations, status, and logs | Use **Make Project Group Public** or **Personal Share**, depending on what the current environment supports. | Both parties must be in the correct tenant, Region, Cluster, and Project Group. Use task IDs to distinguish tasks with the same name or retried tasks. |
| Allow other users to stop, delete, or manage tasks | Have the task owner perform the action, or request the required feature permissions and data scope. | Visibility controls only whether a task can be viewed; it does not automatically grant write permissions for actions such as Stop or Delete. |
| Reuse a task configuration | After viewing the task, use **Clone** to create a new task. | Cloning carries over the configuration, but the recipient should use their own resources, output directory, and accessible storage. |
| Read data, models, checkpoints, or output files | Request access permissions separately for the Volume, directory, Dataset, or Model. | Task sharing does not automatically grant read/write permissions for storage directories. For Volume directory authorization, see [Configure Volume Directory-Level Permissions](../resources/configure-volume-directory-permissions). |
## Confirm Authorization Mode
The training sharing entry point is affected by the Project Group permission mode. Before you begin configuration, determine which method to use based on the actual entry point on the page.
| Current environment | Available methods | Where to use |
| - | - | - |
| Project Group role-based access control (RBAC) is enabled | Public within Project Group or share with a Project Group. | Configure this when creating a task, or adjust the visibility of an existing task in the task list or training task details page. |
| RBAC is not enabled, and the page provides a personal sharing entry | Share with specified users. | Find the task on the **Personal Tasks** tab and click **Share**. |
In RBAC mode, legacy personal sharing API requests are denied. If the page does not provide the **Personal Sharing** entry, ask the project group administrator to verify the permission mode and data scope. Do not bypass the restrictions by switching tenant configurations.
## Make Public to Project Group
Making a project group public allows users in the same project group with the appropriate viewing permissions to collaboratively troubleshoot tasks. Public status affects only task visibility and does not mean that recipients have been granted access permissions to the resource pool, Volume, datasets, or models.
### Make Public When Creating
1. Go to **Training > Workloads**.
2. On the **Personal Tasks** tab, click **Create**.
3. Select the **Project Group** to which the task belongs.
4. Select **Public within Project Group**.
5. After completing the task configuration, click **Create** to submit the task.
6. In the task list or on the training task details page, verify the actual project group and visibility status.
7. Ask recipients to use their own accounts to access the same tenant, region, cluster, and project group, and confirm that they can view the task details and required logs.
If a task has multiple retries, automatically fault-tolerant associated tasks, or diagnostic tasks, also ensure that the recipient can access the specific attempt that needs investigation.
### Modify Visibility of an Existing Task
1. Go to **Training > Workloads**.
2. On the **Personal Tasks** tab, locate the target task and verify it by task ID, project group, and creation time.
3. As needed, click **Public to Project Group** or **Cancel Publication**.
4. Refresh the list or reopen the training task details page to confirm that the visibility status has been updated.
5. Ask the recipient to revisit the task and verify the actual visible scope.
After canceling public access, if other users can still access the task, further check administrator permissions, broader data-scope permissions, or other authorization sources. Do not rely solely on the public status to determine whether access has been fully revoked.
## Using Personal Shares
Personal sharing is available only in environments where the page provides the legacy **Share** entry. If RBAC is enabled in the current environment, use public Project Group sharing instead.
1. Go to **Training > Workloads**.
2. Open the **Personal Tasks** tab.
3. Locate the target task and click **Share**.
4. Select the recipient users. Saving submits the current complete list. When editing the shared-user list, retain users who still need access.
5. After saving, refresh the list and verify the shared users.
6. Recipients can go to the **Shared Tasks** tab in the same region and cluster to search for and view the task details and logs.
The sharing dialog requires that at least one user be retained. When revoking the last user, ask the Owner or an administrator to use and verify the platform-provided revocation method. Do not select an unrelated user to bypass validation.
A personal share does not mean that authorization has been synchronized for all retry tasks. When investigating a specific retry or diagnostic task, verify access permissions separately using the specific task ID or attempt ID.
## Collaborative Troubleshooting and Task Cloning
When troubleshooting collaboratively, provide the task link, task ID, region, cluster, project group, time of occurrence, latest attempt or container, and a sanitized error message. After obtaining access permissions, the recipient can first review the task details, events, and logs, then decide whether to clone and reproduce the issue.
When reusing a configuration, select **Clone**. Before cloning the task, verify the following information again:
| Check Item | Description |
| - | - |
| Image | Ensure that the image version is correct and that the target Region and Cluster can pull the image. |
| Compute resources | Ensure that the recipient has an available resource pool, instance specification, and the required quota. |
| Data and storage | Ensure that the Volume, directories, Dataset, Model, and checkpoint are accessible to the recipient. |
| Output Path | Use a separate output directory to avoid overwriting the original task results. |
| Startup Command | Replace user-specific paths, credentials, and non-reusable parameters. |
Cloning creates a new task based on the original task configuration. It does not copy Volume data, checkpoint files, or process memory. To resume training, additionally configure the checkpoint access path and the loading logic in the training script.
## Administrator Permissions Reference
In RBAC mode, users typically need functional permissions, authorized Project Groups, and an appropriate data scope to access Training. Write operations, such as stopping or deleting, also require the corresponding functional or API permissions.
| Data Scope | Tasks viewable within the authorized Project Group |
| - | - |
| Personal | Tasks you created. |
| Public | Tasks marked as public. |
| Personal and Public | Tasks you created and public tasks. |
| All (global) | Tasks within the authorized Project Group. |
The scope of `global` is still limited to authorized Project Groups and does not indicate access across all Project Groups.
* Write operations such as stopping and deletion also require authorization for the corresponding features.
* For compatibility scenarios involving tenant administrators, historical tasks, and project group parsing exceptions, the actual server-side validation results shall prevail.
After adjusting permissions, have the recipient verify the task details, logs, and scope of necessary actions. High-risk permissions should first be validated on test resources. Do not verify permissions by stopping or deleting production tasks.
## Frequently Asked Questions
> [accordion] What should I do if the recipient cannot find a task?
>
> First, verify the tenant, Region, Cluster, Project Group, and list filters. Then check whether the task has been made available to the Project Group or whether the recipient is viewing it on the **Shared Tasks** tab. If it is still not visible, ask an administrator to verify role permissions and the data scope.
> [accordion] Why can't users access a task even after receiving its link?
>
> A task link is used only to locate the task and does not grant access permissions. First grant visibility through Project Group sharing or personal sharing, then confirm that the recipient has the required permissions for the corresponding Project Group and data scope.
> [accordion] What should I do if I can view a task but cannot stop or delete it?
>
> This usually indicates that the recipient has view-only permissions. Write operations such as stopping and deleting require the corresponding feature permissions. The task owner can perform these actions, or you can apply through the organizational permission process.
> [accordion] Why can other users still see the task after it is no longer Public?
>
> Other users may still be able to access the task through administrator permissions, a broader data scope, or other authorization sources. After cancelling Public access, continue checking all authorization sources, and ask recipients to sign in again or refresh the page to verify.
> [accordion] Why is the original storage unavailable after cloning a task?
>
> Cloning does not copy the original user's Volume or directory permissions. The recipient must separately request permissions for the Volume, directory, Dataset, or Model, and update the mount path and startup command accordingly.
> [accordion] What should I do if some retry logs are not visible?
>
> Please provide the specific task ID, attempt ID, or associated task ID so that the visibility and log permissions for that attempt can be checked separately. Do not only verify whether the primary task list is visible.
## Related Documentation
* [Create Training](./create-training-tasks)
* [Find, View, and Manage Training Tasks](./view-and-manage-training-tasks)
* [Configure Volume directory-level permissions](../resources/configure-volume-directory-permissions)
# Training Overview
Source: https://docs.scitix.ai/siverse/training/training-tasks-overview
Learn about training jobs, task types, resource configurations, runtime lifecycles, and how Workloads relate to Workflows in Siverse.
Training jobs are used to submit, schedule, and run model training workloads in a GPU cluster. In the console, you can select an image, resource pool, instance specification, storage, dataset, model, and startup command to create a PyTorchJob or RayJob. The platform schedules resources, launches training containers, and provides status, event, log, monitoring, and fault recovery capabilities.
Training supports single-job submission as well as orchestration of multiple training or inference nodes through Workflows. After a task is completed, training artifacts are typically written to the mounted Volume and can then be registered with Models for inference services.
## Applicable Scenarios
* Submit PyTorch multi-node, multi-GPU training, model fine-tuning, or continued training tasks.
* Use Ray to run distributed computing tasks, and configure shared storage, Runtime Env, or auto scaling as needed.
## Task Type
| Task Type | Description | Applicable Scenarios |
| - | - | - |
| PyTorchJob | A task type for PyTorch distributed training. The platform injects distributed environment variables for multi-node training. | Multi-node, multi-GPU pre-training, fine-tuning, and continued training. |
| RayJob | A task type for Ray clusters, including Head, Worker, and Submitter Pods. | Ray distributed workloads and tasks requiring Runtime Env, shared storage, or automatic scaling. |
## Resource Types
Training tasks run on the platform's GPU clusters, with computing resources organized by region and cluster. When submitting a task, you need to request CPU/GPU resources through a resource pool and instance specification. The platform supports the following resource usage methods:
| Usage Type | Requires Advance Purchase | Resource Guarantee | Suitable Scenarios |
| - | - | - | - |
| reserved instance | Requires reserved quota. | Resources are typically guaranteed. | Critical training, long-running training, and tasks with high recovery costs. |
| pay-as-you-go instance | Requires pay-as-you-go quota. | Affected by priority and resource guarantee settings. | Routine training and phased experiments. |
| Spot instance | Does not require reserved or pay-as-you-go quota. | Unguaranteed resources. | Non-critical interruptible tasks with checkpoints. |
| Off-peak task | Not tied to purchased quota. | Unguaranteed resources and may be preempted by higher-priority tasks. | Experimental computing, batch processing, and retryable tasks. |
Both Spot and off-peak tasks are suitable for low-cost, interruptible workloads. Critical training tasks should prioritize reserved or pay-as-you-go resources, together with checkpoints, automatic fault tolerance, and monitoring capabilities.
## Relationships Between Resources, Images, and Data
* **Resource Pool and Instance Spec**: Determine the CPU/GPU computing power available to the task. When the task is submitted, the platform performs quota validation and scheduling based on the resource pool and instance specification.
* **Image**: Determines the task runtime environment, framework version, dependency libraries, and training tools.
* **Volume**: Used to store code, checkpoints, training outputs, and model files.
* **Dataset and Model**: Typically mounted in the training container as read-only inputs.
* **Startup Command**: Defines the training command to be executed after the container starts.
## Training Lifecycle
1. Prepare quotas, images, datasets, models, and Volumes. Spot and Idle Resource do not require quotas to be purchased in advance, but you must confirm that the task can be interrupted.
2. Create a training task in **Training > Workloads**, and configure the basic information, runtime environment, resources, scheduling, and advanced options.
3. The task enters the queue and waits to be scheduled to a resource pool.
4. The platform starts the training container and runs the startup command. PyTorchJob can use the platform-injected distributed training environment variables, while RayJob can use RayJob-specific capabilities.
5. On the training task details page, view the lifecycle timeline, Status details, events, logs, monitoring, and fault-tolerance details.
6. If a task is queued, fails, becomes stuck, or has abnormal resource utilization, troubleshoot the issue based on events, logs, and monitoring, then use automatic fault tolerance, Debug resubmission, or Bisect Diagnose as needed.
7. After a task succeeds, fails, is stopped, or is deleted, clone, resubmit, share, add labels, or register the training artifacts with Models as needed.
To submit training tasks through scripts or automated workflows, see the SDK documentation in the Developer Access module. The Training module primarily describes console navigation and training task operation management.
## Differences Between Workloads and Workflows
* **Workloads**: Designed for individual training jobs, suitable for directly submitting PyTorchJob or RayJob and managing the job lifecycle.
* **Workflows**: Designed for multi-step processes, suitable for orchestrating multiple SF job nodes or SF inference nodes into a DAG, and creating workflows through forms or code.
If you only need to run a training job once, use Workloads. If the training process includes multiple dependent steps or requires a DAG to organize the task execution order, you can use Workflows.
## Related Documentation
* [Create Training](./create-training-tasks)
* [Find, View, and Manage Training Tasks](./view-and-manage-training-tasks)
* [View Training Task Logs](./view-training-task-logs)
* [View Training Task Monitoring](./view-training-task-monitoring)
* [Troubleshoot Training Issues](./troubleshoot-training-tasks)
# Troubleshoot Training Issues
Source: https://docs.scitix.ai/siverse/training/troubleshoot-training-tasks
Troubleshoot Training issues in Siverse, including queuing, startup failures, runtime failures, hangs, preemption, and abnormal resource utilization.
Training jobs may fail because of insufficient resources, image issues, incorrect startup commands, invalid data paths, node exceptions, communication hangs, or resource preemption. When troubleshooting, first check the status, events, logs, and monitoring information on the training task details page to determine whether the issue occurred during scheduling, environment preparation, program execution, or recovery. Then choose Debug resubmission, automatic fault tolerance, or Bisect Diagnose as appropriate.
## Troubleshooting Task Issues
1. Go to **Training > Workloads** and locate the target task.
2. Click the task name to open the training task details page.
3. Review the lifecycle timeline to determine whether the task is stuck in the submission, queuing, environment preparation, running, or completion stage.
4. Review **Status** to verify the overall task status, Pod status, node, exit code, and status description.
5. Review **Event** to check for insufficient resources, image pull failures, Volume mount failures, scheduling blocks, or fault-tolerance-related events.
6. Review **Log** to identify training script errors, missing dependencies, incorrect data paths, or runtime exceptions.
7. Review **Monitoring** to determine whether there are bottlenecks or abnormal fluctuations in GPU, GPU memory, CPU, memory, or network.
## Handle Based on Symptoms
| Issue | Possible Cause | Recommended Action |
| - | - | - |
| Queued for a long time | Insufficient resource pool quota, low priority, unmatched resource guarantee requirements, node scheduling policies restricting available nodes, or inability to place a distributed task as a whole. | Check events, resource pool quota, single-replica specifications, and resource guarantees. If events indicate a node policy, check [Node Scheduling Policies](../configuration/manage-node-scheduling-policies). If necessary, adjust the number of replicas, instance specification, candidate resources, or resource guarantees. |
| The message `quota check failed due to node blacklist: XXX` is displayed | The task matches a node-blocking policy, resulting in insufficient schedulable nodes. | Check whether any [Node Scheduling Policies](../configuration/manage-node-scheduling-policies) apply to the current task, then edit or delete the policies as needed. |
| Startup failure | The image is unavailable, the command is incorrect, the mount path overwrites a system directory, dependencies are missing, or Volume/dataset mounting fails. | Check events and logs. Verify the image address, version, repository authorization, startup command, mount path, environment variables, and input data path. |
| Runtime failure | Training code errors, an incorrect data path, or insufficient memory or GPU memory. | Check user logs and monitoring, then adjust the code, data path, batch size, or instance specification. |
| Task preempted | Spot or Idle Resource is used, or resource guarantees are not enabled. | Resume from a checkpoint, or switch to a more stable resource type and resource guarantee configuration. If the status information contains `was preempted by another task`, the task has typically been preempted by another task. |
| Multi-node training hangs | Communication is stalled, a node is faulty, the network is abnormal, or a node is slow. | Check monitoring and logs. To enable automatic platform recovery, use [Auto Fault Tolerance](./recover-training-tasks-with-auto-fault-tolerance). To identify the faulty node, use [Bisect Diagnose](./diagnose-training-failures-with-bisect). |
| The task is running but training makes no progress | Data loading, distributed initialization, communication waits, a stalled training program, or the task has entered an abnormal stage but has not yet exited. | Compare the status and logs of each Pod, check GPU, CPU, and network metrics, and confirm whether training steps are progressing. |
| Training needs to continue after task interruption | The task was preempted, a node failed, the task was stopped manually, or the fault-tolerance limit was reached. | Check the actual resource pool, preemption or fault events, fault-tolerance records, and related tasks. After locating the latest attempt, confirm that the checkpoint was loaded successfully. |
## Troubleshooting scenarios
### Long Queue Times
Even when total resources appear sufficient, the placement requirements for individual replicas and the overall scheduling requirements for distributed jobs must still be met. We recommend troubleshooting in the following order:
1. Open the task details and check **Status** and **Event** to determine whether the issue is related to quota, the resource pool, node policies, or the instance specification. If an event points to a node policy, check the Schedule Type, Scope, Effect Mode, Workload Type, Node Name, and expiration time in [Node Scheduling Policy](../configuration/manage-node-scheduling-policies).
2. Verify your personal quota, resource pool availability, and resource pool status.
3. Check whether a single replica can fit on an available node. For distributed tasks, all replicas must simultaneously meet the startup requirements.
4. If the task has network group requirements, ensure that the nodes are in compatible groups. RoCE POD on the page or in events refers to a network group, not a Kubernetes Pod.
For more troubleshooting methods for resource queuing, see [Troubleshoot insufficient task resources or long queue times](../resources/troubleshoot-insufficient-resources-or-queued-tasks).
### Running but Training Makes No Progress
Resource allocation does not mean that training computation has started. First, check whether each Pod is ready in **Status**, then use **Log** and **Monitoring** to identify the stage at which the issue occurs:
| Stage | Key Checks |
| - | - |
| Image pull or container startup | Check **Event** and **System Log** to determine whether there are issues with the image, dependencies, or startup process. |
| Storage or data preparation | Check mount events, user logs, and data read paths to verify whether the Volume, Dataset, or Model is accessible. |
| Distributed initialization | Compare logs across Pods to verify that environment variables such as `MASTER_ADDR`, `MASTER_PORT`, `WORLD_SIZE`, and `RANK`, as well as communication initialization, are configured correctly. |
| Training program stall | Check training steps, loss, GPU utilization, CPU, memory, and network metrics to determine whether the program has entered a prolonged state without progress. |
### Failed to Pull Image or Access File
| Issue | Items to Check |
| - | - |
| Image pull failed | Image address, image version, repository authorization, network connectivity, and pull error messages. |
| File not found | The selected source directory, container mount path, paths in the startup command, and the current working directory. |
| Unable to write | `r` / `rw` permissions for the Volume or directory, directory-level permissions, volume capacity, and directory quotas. |
Resubmit the task after fixing the deterministic configuration errors. Simply increasing the number of retries usually cannot resolve an incorrect image address, an invalid path, insufficient permissions, or insufficient capacity.
### Continue Training After an Interruption
After a task is preempted, a node fails, it is manually stopped, or it reaches the fault-tolerance limit, first check whether an automatic recovery action is already in progress, then decide whether to resubmit it manually.
1. View the actual resource pool and preemption, failure, or stop events to identify the cause of the interruption.
2. View **Fault Tolerance Detail** and associated tasks to check whether an in-place restart or automatic resubmission has already occurred.
3. Track the latest attempt and check the checkpoint loading logs, training steps after recovery, and new output.
4. Manual termination, budget exhaustion, or a fail-fast policy may halt automatic recovery. Verify the current attempt before manually resubmitting the task to avoid running two copies simultaneously.
## Resubmit Using Debug
Debug resubmission retains the original task’s resource requirements but does not immediately execute the original training command. Instead, it provides a live environment for troubleshooting.
Locate the target task in the task list, click **Resubmit**, and select Debug mode in the resubmission dialog. Before resubmitting, ensure that any checkpoints, logs, or model outputs to be retained have been written to a persistent Volume.
| Applicable Scenario | Usage Recommendation |
| - | - |
| The reason for task failure is unclear | Use Debug resubmission to enter the container and check the environment, paths, dependencies, and startup command. |
| You want to reuse the original task scheduling location as much as possible | Debug resubmission usually retains the original resource requirements, but starts a new task with a troubleshooting command rather than directly executing the original training command. |
| A RayJob requires investigation of the cluster state | After Debug is enabled for a RayJob, the Ray cluster can be retained for a period of time—typically 600 seconds by default—allowing you to enter the Head Pod and view the cluster status. |
For a RayJob, if the Submitter Pod has completed but the Head/Worker Pods are still retained, the job may be in the `DebugHolding` state. You can access the Head Pod to view the Ray cluster status.
## Related Documentation
* [Find, View, and Manage Training Tasks](./view-and-manage-training-tasks)
* [View Training Task Logs](./view-training-task-logs)
* [View Training Task Monitoring](./view-training-task-monitoring)
* [Use Automatic Fault Tolerance to Recover Training Tasks](./recover-training-tasks-with-auto-fault-tolerance)
* [Use Bisect Diagnose to Diagnose Training Failure Nodes](./diagnose-training-failures-with-bisect)
# Find, View, and Manage Training Tasks
Source: https://docs.scitix.ai/siverse/training/view-and-manage-training-tasks
View the training task list and details in Siverse, including status, configuration, events, and storage information, and perform cloning, resubmission, stopping, deletion, sharing, and label management.
After submitting a training task, you can filter and locate it in the task list. On the training task details page, you can view tabs such as **Status**, **Info**, **Event**, and **Storage**, and clone, resubmit, stop, delete, share, or manage labels for the task.
## Find Training
The task list includes the **Personal Tasks** and **Shared Tasks** tabs. In **Personal Tasks**, you can typically view tasks, view logs, clone, resubmit, stop, delete, share, and add labels. In **Shared Tasks**, you can typically view details, view logs, or clone tasks.
1. Go to **Training > Workloads**.
2. Select a region and cluster.
3. Select the **Personal Tasks** or **Shared Tasks** tab.
4. As needed, enter a name, select a status, label, or project group, or click **View All** to expand the search scope.
Tag filtering typically uses an AND relationship. When multiple tags are selected, the list filters for tasks that match all of the selected tags.
5. Click **Search**.
When viewing search results, focus on the Name, Owner, Project Group Name, Resource Pool, Status, Priority, Instance Spec, creation time, update time, and running time to determine task ownership, execution progress, resource usage, and subsequent handling.
Immediately after submitting a task, if it does not appear in the list, search or refresh first. After confirming that the task has been created and recording its task ID, go to the training task details page to view the actual resources, status of each replica, events, logs, and output path, avoiding repeated submission of the same configuration.
## Determine Task Status
After locating the task, use its status to determine whether to continue waiting, view details, troubleshoot the issue, or perform management actions such as cloning, resubmitting, stopping, or deleting it.
| Status | Description | Recommended Action |
| - | - | - |
| Pending | The task has been submitted and is waiting to be scheduled or initialized. | View **Event** or wait for scheduling. |
| Queued | The task is in the queue, typically due to quota, priority, or scheduling conditions. | View **Event**, resource pool quota, priority, and node scheduling policies. |
| Partially Pending | Some Pods have been scheduled, while others are still pending. | View **Status** and **Event** to identify Pods that are not ready, or node- or resource-related causes. |
| Running | The task is running. | View **Log** and **Monitoring**. |
| Succeeded | The task completed successfully. | View the output or register the model. |
| Failed | The task failed to run. | View **Log** and **Event**, then resubmit or troubleshoot as needed. |
| Error | A platform- or system-side error has occurred. | View **Event** and contact the platform administrator if necessary. |
| Stopping | The task is being stopped. | Wait for the task to stop. |
| Stopped | The task has stopped. | Clone, resubmit, or delete the task. |
Tasks with automatic fault tolerance enabled may display fault-tolerance-related substatuses. When an idle-time task or Spot task is preempted, it may enter the failed state. If the status information shows `was preempted by another task`, this usually indicates that the task was preempted by another task. Determine the specific cause based on **Status** and **Event**.
Queue position represents only a snapshot of resource contention at the current moment and cannot be converted into a stable wait time. Changes in resource pool availability, resources released by other tasks, Priority, Guarantee, or node constraints may affect task ordering and startup conditions.
## View Task Information by Target
After locating the task and opening the training task details page, first select the appropriate tab based on what you want to view.
Recommended use by target:
| Objective | Tab | Information to Review | Next Steps |
| - | - | - | - |
| Determine which stage the task is stuck in | **Status** | Lifecycle timeline, task status, Pod status, and status description. | If the task is stuck in the queuing or scheduling stage, continue reviewing **Event** and resource information. If it is stuck in the running stage, review **Log** and **Monitoring**. |
| Troubleshoot scheduling or startup failures | **Status**, **Event** | Pod status, Pod exit code, node information, status description, and event information. | Based on the event information, check resource quotas, image pulling, Volume mounting, startup commands, and node scheduling policies. |
| Verify the creation configuration and actual resources | **Info** | Basic information, Resource Information, actual resource pool, Environment Information, mounts, startup commands, and advanced feature configurations. | If the configuration does not match expectations, clone the task, modify the configuration, and resubmit it. If the off-peak fallback option is enabled, refer to the actual resource pool shown in the details. |
| View ephemeral storage and node disks | **Storage** | Pod ephemeral storage usage, quota, utilization level, and status, as well as the disk utilization level and remaining writable space of the node where the Pod resides. | If training logs, checkpoints, intermediate data, or model outputs continue to grow, write them to a mounted Volume to prevent the Pod's ephemeral storage from filling up and causing the task to be evicted. For details, see [Best practices for ephemeral storage](../best-practices/use-ephemeral-storage). |
### View Status Details
1. In the task list, click the name of the target task to open the training task details page.
2. Open the **Status** tab.
**Status** is used to view task execution stages and Pod status.

### View Task Details
1. In the task list, click the name of the target task to go to the training task details page.
2. Open the **Info** tab.
**Info** is used to verify the task creation configuration.

### View Events
1. Click the task name to go to the training task details page.
2. Open the **Event** tab.
3. Review events in chronological order to determine whether the task is stuck during scheduling, image pulling, Volume mounting, Pod startup, execution, or fault recovery.
4. If an event points to a Pod, node, resource pool, or mount target, return to the **Status**, **Info**, **Log**, or **Monitoring** tab for further troubleshooting.

Events are used to explain platform-side scheduling and lifecycle changes. Common troubleshooting targets include:
| Troubleshooting Target | Events to Watch |
| - | - |
| Prolonged queuing | Insufficient resources, quota validation failures, matching node scheduling policies, or unavailable resource pools. |
| Startup failure | Image pull failures, Volume mount failures, Pod creation failures, or startup command exceptions. |
| Runtime interruption | Pod restarts, node exceptions, resource preemption, or fault-tolerance recovery actions. |
| Fault-tolerance recovery | Events related to automatic retries, in-place restarts, resubmission, or failed-node avoidance. |
Events are useful for first identifying when an issue occurred. Logs are used to view container and training program output, while monitoring is used to assess resource usage and metric performance.
For distributed tasks, if only some replicas are not ready, first locate the specific Pod or role in **Status**, then use **Event** to determine whether the issue is related to resources, nodes, images, mounts, or startup commands.
### View storage
1. In the task list, click the name of the target task to go to the training task details page.
2. Open the **Storage** tab.

**Storage** is used to view temporary storage for task Pods and disk information for the nodes on which they reside.
* Pod ephemeral storage accounts for local temporary data such as container writable layers, `emptyDir`, and container logs. It does not include mounted datasets, model storage, or other PVC data.
* The disk information of the node where the task Pod resides is used to view the disk watermark and remaining writable space on that node. The data displayed on the page may be subject to collection delays. Please refer to the page prompts.
> [!NOTE]
>
> If training logs, checkpoints, intermediate data, or model outputs continue to grow, write them to a mounted Volume to prevent the Pod's ephemeral storage from filling up and causing the task to be evicted. For details, see [Best practices for ephemeral storage](../best-practices/use-ephemeral-storage).
## Manage Training
After locating the target task in the task list or on the training task details page, you can perform management actions based on the task status and your permissions.
| Action Target | Action | Notes |
| - | - | - |
| Re-create a task using an existing configuration | **Clone** | Loads an existing task configuration into the creation page. Modify it as needed and submit a new task. When cloning a shared task, if it includes a Volume that the current account is not authorized to use, select the storage again and verify the paths in the command. |
| Run an existing task again | **Resubmit** | Resubmits the task with the same configuration. This is suitable for troubleshooting intermittent failures or rerunning experiments. Resubmission supports both normal mode and Debug mode. Debug mode typically retains the original resource requirements but starts a new task with a troubleshooting command, making it easier to investigate issues on site. |
| Interrupt a queued or running task | **Stop** | Stopping a task releases its resources while retaining the task record for subsequent viewing, cloning, or resubmission. Before stopping a task, ensure that the training process can be interrupted and that any checkpoints, logs, or model outputs that must be retained have been written to a persistent Volume. |
| Remove records that are no longer needed | **Delete** | Deletion cannot be undone. If the page supports batch deletion, ensure that none of the selected tasks are needed and that any checkpoints, logs, or model outputs that must be retained have been written to a persistent Volume before performing the batch operation. |
| Allow other users to view or reuse a task | **Share** | Shared users can typically view details and logs, and clone tasks. For differences in task visibility, project group visibility, personal sharing, and storage permissions, see [Manage Training Task Sharing and Project Group Visibility](./share-training-tasks-and-project-group-visibility). |
| Categorize and filter tasks | **Add Labels** | Label validation rules are determined by the Label Management configuration. |
| Adjust visibility within a project group | **Set Visibility** | Public status affects only task visibility; it does not automatically grant read or write permissions for resource pools, Volumes, or directories. For details, see [Manage Training Task Sharing and Project Group Visibility](./share-training-tasks-and-project-group-visibility). |
## Related Documentation
* [View Training Task Logs](./view-training-task-logs)
* [View Training Task Monitoring](./view-training-task-monitoring)
* [Manage Training Task Sharing and Project Group Visibility](./share-training-tasks-and-project-group-visibility)
* [Recover Training Tasks with Automatic Fault Tolerance](./recover-training-tasks-with-auto-fault-tolerance)
* [Troubleshoot Training Tasks](./troubleshoot-training-tasks)
# View Training Task Logs
Source: https://docs.scitix.ai/siverse/training/view-training-task-logs
View user logs and system logs for training tasks in Siverse.
While the task is running or after it is completed, you can view user logs and system logs on the training task details page to troubleshoot issues related to training scripts, images, mounts, and Pod startup.
1. Click the task name to go to the training task details page.
2. Open the **Log** tab.
3. Select **User Log** or **System Log**.
4. Set a time range, or filter for a specific Pod.
5. View the logs.

When viewing logs, you can select the log type and Pod based on your troubleshooting target:
| Troubleshooting goal | What to check |
| - | - |
| Training script errors, missing dependencies, or incorrect data paths | Check **User Log** and use the Pod, Container, and time range to locate the error. |
| Image pulling, Volume mounting, Pod startup, or system-side exceptions | Check **System Log** to identify the failure stage and the reason returned by the platform. If further investigation of scheduling or lifecycle issues is needed, return to the details page and check **Event**. |
| Only some replicas in a multi-Pod task are abnormal | First locate the abnormal Pod in **Status**, then check that Pod's logs. |
| Distributed RayJob logs | User code logs are typically available through the Submitter Pod; Ray cluster logs can be viewed in the Head Pod or Worker Pod. |
| Verify whether the task has actually started training | Check the user logs for completed initialization, checkpoint loading, training-step progress, or business metric output. |
Platform logs currently retain data only for the past 30 days. If the selected start time falls outside the log retention period, logs may not be displayed.
The log viewer supports keyword search, viewing the last lines, automatic refresh, manual refresh, and log downloads. It can be used to locate errors and retain troubleshooting records.
## Related Documentation
* [Find, View, and Manage Training Tasks](./view-and-manage-training-tasks)
* [View Training Task Monitoring](./view-training-task-monitoring)
* [Troubleshoot Training Issues](./troubleshoot-training-tasks)
# View Training Task Monitoring
Source: https://docs.scitix.ai/siverse/training/view-training-task-monitoring
View resource metrics, anomaly metrics, and custom metrics for training tasks in Siverse.
While a task is running or after it is completed, you can view resource metrics, anomaly metrics, and custom metrics on the training task details page to assess resource usage and identify performance bottlenecks.
## Select a Monitoring Perspective
1. Click the task name to go to the training task details page.
2. Open the **Monitoring** tab.
3. Select a monitoring perspective on the left.
| Monitoring Perspective | Description |
| - | - |
| **Task Level** | View overall resource trends for the task. |
| **Pod Level** | Select a specific Pod to view resource usage and anomaly metrics for an individual replica. |
| **Node Level** | Select a specific node to view resource usage and anomaly metrics for the node where the task is running. |
| **Custom** | View custom metrics exposed by the training code. |
4. If you select **Task Level**, **Pod Level**, or **Node Level**, select a metric category, such as **GPU & RDMA**, **CPU System**, or **Anomalies**.
5. If you select **Pod Level** or **Node Level**, select the Pod or node to view.
6. Adjust the time range as needed, and click **Refresh** to get the latest data.
## View Platform Preset Metrics
Resource, system, and anomaly metrics for task-level, Pod-level, and node-level monitoring are collected by default by the platform and do not require additional configuration when creating a task. To view them, first select a monitoring perspective, then choose a metric category based on your troubleshooting objective.
| Diagnostic Objective | How to View |
| - | - |
| Assess the overall task load | Use **Task Level** to view trends related to GPU, GPU memory, CPU, memory, network, disk, and storage. |
| Determine whether a specific replica is abnormal | Use **Pod Level** to select the target Pod and view its GPU, CPU, memory, network, GPFS, or anomaly metrics. Use [logs](./view-training-task-logs) together with these metrics to locate the issue. |
| Determine whether an issue is node-related | Use **Node Level** to select the target node and view node-side GPU, RDMA, CPU, memory, network, disk, GPFS, and anomaly metrics. |
| Analyze GPU and communication links | In **GPU & RDMA**, view metrics such as GPU, GPU memory, SM, NVLink, and RDMA network metrics. |
| Troubleshoot system resource bottlenecks | In **CPU System**, view metrics such as CPU, memory, network, disk, and GPFS. |
| Troubleshoot hardware, network, or congestion anomalies | In **Anomalies**, view metrics such as GPU hardware errors, RDMA or network anomalies, straggler alerts, and ECN or PFC congestion control. |
Monitoring can be used to determine whether tasks are making full use of GPUs, whether CPU, memory, or network resources are becoming bottlenecks, and to inform subsequent adjustments to instance specifications, resource pools, concurrency, or startup parameters. After a task is completed, monitoring data can still be used for post-analysis.
## View Custom Metrics
Custom metrics are used to view business metrics exposed by training code, such as request volume, queue length, training loss, and other business-side statuses. This topic explains how to view integrated custom metrics. To add new metric endpoints, configure multi-port collection, or configure custom metric charts, see [Integrate Custom Metrics into Training](./collect-training-task-custom-metrics).
1. Go to the training task details page and open the **Monitoring** tab.
2. Select **Custom** on the left.
3. Select the metrics or charts you want to view.
4. Adjust the time range as needed, and click **Refresh**.
If custom metrics include business labels, the platform retains these dimensions when displaying them, making it easier to distinguish curves by business status. The platform also adds dimensions such as tasks, Pods, and collection endpoints to associate metrics with specific task instances. Available labels are subject to the current metrics and console display.
## Troubleshoot No Data in Monitor
If the chart shows no data, first ensure that the selected time range covers the period when the task was running, and refresh the page as needed. For different types of monitoring data, continue troubleshooting as follows.
### No Data for Platform Preset Metrics
1. If viewing **Pod Level** or **Node Level** monitoring, ensure that the correct Pod or node is selected.
2. Ensure that the current metric category applies to the selected monitoring perspective and task resource type.
3. Metrics collection and display may be subject to some delay. You can refresh later or expand the time range before viewing.
### No Data for Custom Metrics
1. Ensure that **Metrics Monitor** is enabled when creating the task and that the port and path are configured correctly.
2. Ensure that the training code exposes a metrics endpoint and that metrics are generated while the task is running. For end-to-end integration and endpoint exposure examples, see [Integrate Custom Metrics into Training](./collect-training-task-custom-metrics).
3. For further verification, access the corresponding metrics endpoint from within the training task container.
```bash theme={null}
curl localhost:8000/metrics
curl localhost:8001/metrics
```
4. If multiple metric endpoints are configured, check each port and path separately. If an endpoint can return metric samples, the training code has exposed the metrics. If access fails or the expected metrics are not returned, first check the training code and the port and path configuration.
5. Metric collection and display may be subject to some delay. You can refresh later or expand the time range before viewing.
## Related documentation
* [View Training Task Logs](./view-training-task-logs): Combine logs with metrics to investigate a task or Pod issue.
* [Troubleshoot Training Issues](./troubleshoot-training-tasks): Continue troubleshooting based on the observed symptoms.
* [Find, View, and Manage Training Tasks](./view-and-manage-training-tasks): Check task status and details, or manage the task.
* [Integrate Custom Metrics into Training](./collect-training-task-custom-metrics): Add metric endpoints and configure custom charts.
* [Training Advanced Config](./advanced-training-task-configuration): Review optional configuration for task creation.
* [Create Training](./create-training-tasks): When creating another task, configure its resources and monitoring settings.