opencost

Cost monitoring for Kubernetes workloads and cloud costs

A new way for AI to search for data
View on GitHub
6,797GitHub stars
5,171commits on develop
915forks
v1.121.3latest release, 2026-09-16

Go 99.9%, Just 0.1%, Starlark 0%, Shell 0% · created 2019-03-27 · last push 2026-10-29

What XERJ indexed

Snapshot

Whole repository

Only pkg/cloud/alibaba, pkg/cloud/aws, pkg/cloud/azure, pkg/cloud/digitalocean, pkg/cloud/gcp, pkg/cloud/models, pkg/cloud/oracle, pkg/cloud/otc, pkg/cloud/ovh, pkg/cloud/provider, pkg/cloud/scaleway, pkg/cloud/stackit, pkg/costmodel, pkg/mcp at commit 547f5dfd83 (2026-10-22). develop is 12 commits ahead.

Selected work

Tushar-Verma
@vtushar06

“Enhance pricing data refresh and cache management in settings”. 25 files, 506 lines in pkg/cloud, pkg/costmodel, pkg/mcp.

Licence

The repository

NOASSERTION

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

NOASSERTION, with credit

The author agreed by email on 2026-10-23. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

kubernetesopencostawsazurecncfcostcost-optimizationgcp

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported Apache-2.0 for opencost/opencost on 2026-10-31, but the LICENSE file at commit 547f5dfd83 was reviewed as NOASSERTION. The corpus is the pinned commit, so answers from it follow NOASSERTION.

Contributors

Tushar-Verma (@vtushar06) has 1 selected repository on the hub.

Using XERJ with opencost

The prompt

Paste it into your AI agent. It clones opencost/opencost at the pinned commit and indexes it on your machine.

Search the GitHub repository opencost/opencost with XERJ (https://hub.xerj.org/corpus/opencost--opencost).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/opencost/opencost opencost && git -C opencost checkout 547f5dfd831fa046160956b0c28af256466c6b7a
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./opencost --url http://127.0.0.1:9200 --prefix opencost --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: check the LICENSE file. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.