View your OpenSearch charges in the Expenses and Costs console, filtered by product and service. Each bill line item includes an instance ID that encodes the invoked service, usage volume, and workspace.
View your bills
Log on to the Expenses and Costs console.
In the left-side navigation pane, choose Billing > Bill Details.
Set the following filters: To narrow results further, search by resource name, instance ID, or order number.
Decode the instance ID
Each bill line item has an instance ID that encodes the invoked service, usage, and workspace. The format is:
opensearch_<identifier>:<service-path>/<model-or-service-name>/<metric>;<usage>;<workspace>| Segment | Description |
|---|---|
service-path/model-or-service-name | The service category and specific model or service invoked |
metric | The billing unit (for example, output token or token) |
usage | The usage amount in thousands |
workspace | The workspace that invoked the service |
The following examples show how to read a line item and verify the calculated cost.
Example 1: Qwen-Plus output tokens
Instance ID segment: text-generation/qwen-plus/output token:0.278
| Field | Value | Description |
|---|---|---|
| Service | text-generation/qwen-plus | Qwen-Plus model, text generation |
| Metric | output token | Billed by output tokens |
| Usage | 0.278 | 0.278 thousand tokens |
| Workspace | rag0509 | The workspace that invoked the service |
Cost calculation:
Price: USD 0.0012 per 1,000 tokens
Cost: 0.0012 × 0.278 = USD 0.0003336
Example 2: Sparse text embedding
Instance ID: opensearch__xxxx_xxxx_xxx-xxwb3rOrvi001:text-sparse-embedding/ops-text-sparse-embedding-001/token;0.011;rag0509
| Field | Value | Description |
|---|---|---|
| Service | text-sparse-embedding/ops-text-sparse-embedding-001 | OpenSearch sparse text embedding-001 |
| Metric | token | Billed by tokens |
| Usage | 0.011 | 0.011 thousand tokens |
| Workspace | rag0509 | The workspace that invoked the service |
Cost calculation:
Price: USD 0.0009 per 1,000 tokens
Cost: 0.0009 × 0.011 = USD 0.0000099
Displayed cost: USD 0.000010 (rounded to six decimal places)