Harness benefits

Updated at:

Token Plan Personal Edition Standard and Pro plans include Harness benefits: monthly free quotas and post-paid discounts for AgentStudio tools, called with the Model Studio API Key and separate from plan Credits.

Benefit overview

Standard and Pro plans include Harness benefits in addition to model Credits:

  • Monthly free quota: Covers AgentStudio tools such as web search, image generation, and text-to-speech. Quotas are issued monthly.
  • Post-paid discount: After the free quota is exhausted, excess usage is billed at 88% of the list price.
  • No Credits consumed: Harness benefit usage is metered separately and is not deducted from plan Credits or top-up packs.

The Lite and Essential plans do not include Harness benefits; Team Edition does not support Harness benefits.

Tools and monthly free quota

The table below lists the monthly free quota for each tool under Standard and Pro plans. Tools without a free quota only receive the post-paid discount.

Category

Tool

Standard monthly quota

Pro monthly quota

Self-developed tools

Enhanced web search

100 times

500 times

Vertical search

100 times

500 times

Web page parsing

1,000 times

5,000 times

Image generation

20 images

50 images

Text-to-speech

10,000 characters

10,000 characters

Speech recognition

5 hours

5 hours

Video generation

—

—

Code interpreter

100 times

500 times

Knowledge Base

RAG service

—

—

Memory

Memory

—

—

Managed Agent

Managed Agent

—

—

Sandbox

Sandbox

—

—

"—" indicates no monthly free quota for that tool; the post-paid discount still applies. Quota values and discounts are subject to the console subscription page.

Billing and deduction

  • Harness benefit usage is metered separately and is not deducted from plan Credits or top-up packs.
  • The free quota is consumed first; after it is exhausted, excess usage is billed at 88% of the list price.
  • Harness benefits and model Credits deduction are independent and not mixed.
  • API Key: Harness benefits tools are called through the Model Studio API Key (format: sk-xxx) to invoke MCP services, and consumption counts toward the Harness benefits quota and discount. This differs from the Token Plan-specific API Key (format: sk-sp-xxx, used for model calls and deducted from Credits); the two cannot be used interchangeably.

ImportantTo view the discounted unit price and discount details of each tool, go to the Harness benefits tab in the console and click "View details" on the corresponding tool.

Quota upgrade

After upgrading your plan (for example, from Standard to Pro), the remaining Harness benefits quota is calculated as follows:

remaining quota = (original tier total quota − used quota) + (new tier total quota − original tier total quota) × remaining days ÷ 30
  • original tier total quota − used quota: the remaining quota from the original tier, carried over.
  • (new tier total quota − original tier total quota) × remaining days ÷ 30: the extra quota from the higher tier, prorated by remaining days.

Rounded up. Subject to the console upgrade page.

For example: Standard at 100 calls/month (20 used), Pro at 500 calls/month, 10 days remaining: remaining = (100−20) + (500−100)×10÷30 ≈ 214 calls.

Connect Harness tools

The Harness benefits included with Standard and Pro plans provide AgentStudio tools such as web search, image generation, text-to-speech, and Knowledge Base. Each tool supports MCP, CLI, API, and SDK integration; refer to the Harness benefits tab in the console for the methods available per tool.

Integration flow:

  1. On the My Subscriptions page of the Model Studio console, switch to the Harness benefits tab to view available tools.
  2. On a tool card, click Documentation or AI Native integration to view the tool's integration method.
  3. Click Go to console to obtain the credentials for the service.

This example uses Enhanced web search to show the integration flow for Harness benefits tools. Enhanced web search is included with Standard and Pro plans: subscribing grants a monthly free quota and post-paid billing at 88% of the list price, with no separate activation and no Credits consumption. Quotas and discounts are described above.

Prerequisites

  1. Subscribed to Token Plan Personal Edition Standard or Pro.
  2. Completed integration in an AI coding tool (such as Claude Code or Qwen Code) and able to chat normally; see Connect clients/development tools.
  3. Obtained a Model Studio API Key (format sk-xxx) for calling MCP services; it differs from the Token Plan-specific API Key (format sk-sp-xxx).

AI Native integration

The full configuration instruction for Enhanced web search is below. Copy it and send it to your local Agent (supports Qoder, QwenWork, Claude Code, Codex):

## Harness service local configuration guide

Follow these steps to configure Harness services for your local Agent.

### Prerequisite installation and checks
1. Check whether the Bailian CLI is installed; if not, install it per https://bailian.aliyun.com/cli/install.md
2. Log in with the Bailian CLI: bl auth login --console
3. Run bl config show, obtain the config_file path, and read the api_key inside the file.

### Services to configure — self-developed tools
Write the following MCP server configuration into your local global config (identify the correct directory). Call directly over MCP, without routing through bailian-cli. Common information for all services:
- Type: HTTP Streamable
- Header: Authorization: Bearer ${DASHSCOPE_API_KEY}

Service list:

| Service | URL |
|---|---|
| Enhanced web search | https://dashscope.aliyuncs.com/api/v1/mcps/EnhancedSearch/mcp |

For other tools, go to the My Subscriptions page in the console, switch to the Harness benefits tab, click Quick connect, and select tools to copy their configuration instructions.

NoteWith AI Native integration, resources are created in the default workspace.

Manual integration

Write the MCP configuration directly into your local Agent's global config. Get each tool's MCP address from the tool card on the console My Subscriptions > Harness benefits tab; use the Model Studio API Key (sk-xxx) from the prerequisites.

Using Enhanced web search as an example: URL https://dashscope.aliyuncs.com/api/v1/mcps/EnhancedSearch/mcp, header Authorization: Bearer YOUR_API_KEY, type HTTP Streamable. Examples for several tools:

OpenCode

opencode mcp add EnhancedSearch --url https://dashscope.aliyuncs.com/api/v1/mcps/EnhancedSearch/mcp --header "Authorization=Bearer YOUR_API_KEY"

After entering OpenCode, run /mcps to confirm EnhancedSearch is connected.

Codex

codex mcp add EnhancedSearch --url https://dashscope.aliyuncs.com/api/v1/mcps/EnhancedSearch/mcp

Codex cannot set the auth header via the command line; add the following under [mcp_servers.EnhancedSearch] in ~/.codex/config.toml:

[mcp_servers.EnhancedSearch]
url = "https://dashscope.aliyuncs.com/api/v1/mcps/EnhancedSearch/mcp"
bearer_token_env_var = "DASHSCOPE_API_KEY"

Set the environment variable:

macOS / Linux

export DASHSCOPE_API_KEY=YOUR_API_KEY

Windows PowerShell

$env:DASHSCOPE_API_KEY="YOUR_API_KEY"

Reference the variable as $env:DASHSCOPE_API_KEY.

Windows CMD

set DASHSCOPE_API_KEY=YOUR_API_KEY

Claude Code

claude mcp add EnhancedSearch https://dashscope.aliyuncs.com/api/v1/mcps/EnhancedSearch/mcp -t http -H "Authorization: Bearer YOUR_API_KEY"

After entering Claude Code, run /mcp to confirm EnhancedSearch is connected.

Qwen Code

Add the following under mcpServers in ~/.qwen/settings.json:

"EnhancedSearch": {
  "httpUrl": "https://dashscope.aliyuncs.com/api/v1/mcps/EnhancedSearch/mcp",
  "headers": { "Authorization": "Bearer YOUR_API_KEY" }
}

For other Harness benefits tools, get the MCP address from the tool card on the console My Subscriptions > Harness benefits tab; the configuration method is the same.

Notes

  • Eligibility: Harness benefits are included with Standard and Pro plans and issued per subscription cycle. Benefit provisioning rules upon renewal or upgrade are subject to the console.
  • Quota refresh: Monthly free quotas are issued per subscription cycle and do not carry over. Refresh rules are subject to the console.
  • Unsubscription: Personal Edition does not support self-service unsubscription; Harness benefits terminate when the subscription expires.
  • Region: Token Plan Personal Edition currently supports only the China (Beijing) region.

FAQ

What is the deduction order for Harness benefits?

The service's own free quota (such as trial or new-user quotas) is deducted first, then the Token Plan included benefits quota; after the benefits quota is exhausted, excess usage is billed at the service's discounted price on a pay-as-you-go basis.

Which API Key does Harness use?

Harness services (web search, image generation, code interpreter, RAG, Memory, Managed Agent, Sandbox, etc.) use the Model Studio API Key (starting with sk-) and the standard Model Studio Base URL. The system automatically identifies the Token Plan subscription under your account and applies the included benefits; you do not need to switch to the Token Plan-specific credentials. The Token Plan-specific API Key (starting with sk-sp-) is only for model calls deducted from Credits, not for Harness services.

Does calling Harness consume plan Credits?

No. Harness benefits are metered separately. Calls only deduct their own benefit quota; excess usage is billed at the discounted price on a pay-as-you-go basis and does not consume plan Credits or usage bundles.

Where can I view the remaining Harness benefits quota?

On the My Subscriptions page of the Model Studio console, switch to the Harness benefits tab to view each tool's free quota provisioning status, remaining quota, and expiry time.

Can usage bundles be used to pay for Harness services?

No. Usage bundles only supplement the model Credits quota of the Token Plan. Harness benefits are metered separately; excess usage is billed at the service's discounted price on a pay-as-you-go basis and does not consume usage bundles.