├── .changeset ├── README.md └── config.json ├── .github └── workflows │ ├── ci.yml │ └── sync-models-dev.yml ├── .gitignore ├── LICENSE ├── README.md ├── apps ├── web-demo │ ├── .gitignore │ ├── README.md │ ├── components.json │ ├── next.config.ts │ ├── package.json │ ├── postcss.config.mjs │ ├── public │ │ ├── file.svg │ │ ├── globe.svg │ │ ├── next.svg │ │ ├── vercel.svg │ │ └── window.svg │ ├── src │ │ ├── app │ │ │ ├── api │ │ │ │ └── chat │ │ │ │ │ └── route.ts │ │ │ ├── favicon.ico │ │ │ ├── globals.css │ │ │ ├── layout.tsx │ │ │ └── page.tsx │ │ ├── components │ │ │ ├── ai-elements │ │ │ │ ├── actions.tsx │ │ │ │ ├── branch.tsx │ │ │ │ ├── code-block.tsx │ │ │ │ ├── context.tsx │ │ │ │ ├── conversation.tsx │ │ │ │ ├── image.tsx │ │ │ │ ├── inline-citation.tsx │ │ │ │ ├── loader.tsx │ │ │ │ ├── message.tsx │ │ │ │ ├── prompt-input.tsx │ │ │ │ ├── reasoning.tsx │ │ │ │ ├── response.tsx │ │ │ │ ├── sources.tsx │ │ │ │ ├── suggestion.tsx │ │ │ │ ├── task.tsx │ │ │ │ ├── tool.tsx │ │ │ │ └── web-preview.tsx │ │ │ ├── chat.tsx │ │ │ └── ui │ │ │ │ ├── avatar.tsx │ │ │ │ ├── badge.tsx │ │ │ │ ├── button.tsx │ │ │ │ ├── carousel.tsx │ │ │ │ ├── collapsible.tsx │ │ │ │ ├── hover-card.tsx │ │ │ │ ├── input.tsx │ │ │ │ ├── scroll-area.tsx │ │ │ │ ├── select.tsx │ │ │ │ ├── separator.tsx │ │ │ │ ├── textarea.tsx │ │ │ │ └── tooltip.tsx │ │ └── lib │ │ │ └── utils.ts │ └── tsconfig.json └── web │ └── package.json ├── assets └── tokenlens.png ├── biome.jsonc ├── docs └── package-setup-comparison.md ├── lefthook.yml ├── package.json ├── packages ├── core │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── catalog.ts │ │ ├── id.ts │ │ ├── index.ts │ │ ├── registry.ts │ │ └── types.ts │ ├── tests │ │ ├── id.test.ts │ │ └── registry.test.ts │ ├── tsconfig.json │ └── vitest.config.ts ├── fetch │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.ts │ ├── tests │ │ ├── fetch-models.spec.ts │ │ └── fetch-overloads.spec.ts │ ├── tsconfig.json │ └── vitest.config.ts ├── helpers │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── context.ts │ │ ├── conversation.ts │ │ ├── index.ts │ │ ├── simple.ts │ │ └── source.ts │ ├── tests │ │ ├── helpers-basic.spec.ts │ │ ├── helpers-live.spec.ts │ │ ├── helpers-overloads.spec.ts │ │ └── usage-focused.spec.ts │ ├── tsconfig.json │ └── vitest.config.ts ├── models │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── scripts │ │ └── sync-models-dev.mjs │ ├── src │ │ ├── api.ts │ │ ├── index.ts │ │ ├── providers │ │ │ ├── alibaba-cn.ts │ │ │ ├── alibaba.ts │ │ │ ├── amazon-bedrock.ts │ │ │ ├── anthropic.ts │ │ │ ├── azure.ts │ │ │ ├── baseten.ts │ │ │ ├── cerebras.ts │ │ │ ├── chutes.ts │ │ │ ├── cloudflare-workers-ai.ts │ │ │ ├── deepinfra.ts │ │ │ ├── deepseek.ts │ │ │ ├── fastrouter.ts │ │ │ ├── fireworks-ai.ts │ │ │ ├── github-copilot.ts │ │ │ ├── github-models.ts │ │ │ ├── google-vertex-anthropic.ts │ │ │ ├── google-vertex.ts │ │ │ ├── google.ts │ │ │ ├── groq.ts │ │ │ ├── huggingface.ts │ │ │ ├── inception.ts │ │ │ ├── inference.ts │ │ │ ├── llama.ts │ │ │ ├── lmstudio.ts │ │ │ ├── mistral.ts │ │ │ ├── modelscope.ts │ │ │ ├── moonshotai-cn.ts │ │ │ ├── moonshotai.ts │ │ │ ├── morph.ts │ │ │ ├── nvidia.ts │ │ │ ├── openai.ts │ │ │ ├── opencode.ts │ │ │ ├── openrouter.ts │ │ │ ├── perplexity.ts │ │ │ ├── requesty.ts │ │ │ ├── submodel.ts │ │ │ ├── synthetic.ts │ │ │ ├── togetherai.ts │ │ │ ├── upstage.ts │ │ │ ├── v0.ts │ │ │ ├── venice.ts │ │ │ ├── vercel.ts │ │ │ ├── wandb.ts │ │ │ ├── xai.ts │ │ │ ├── zai-coding-plan.ts │ │ │ ├── zai.ts │ │ │ └── zhipuai.ts │ │ └── types.ts │ ├── tests │ │ ├── get-model-meta.spec.ts │ │ └── get-models.spec.ts │ ├── tsconfig.json │ └── vitest.config.ts ├── provider-tests │ ├── benchmarks │ │ └── tokenlens-benchmark.json │ ├── package.json │ ├── scripts │ │ └── benchmark.ts │ ├── tests │ │ └── ai-sdk-usage.spec.ts │ ├── tsconfig.json │ └── vitest.config.ts └── tokenlens │ ├── .gitignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── benchmarks │ └── lookup │ │ ├── lookup_v1.1.3_20250910-053840Z_n5000_multi-3.json │ │ ├── lookup_v1.2.0_20250910-063205Z_n500000_multi-3.json │ │ ├── lookup_v1.3.0-canary.5_20250916-073803Z_n5000_multi-3.json │ │ ├── lookup_v1.3.0_20250919-092823Z_n5000_multi-3.json │ │ └── lookup_v1.3.1_20250919-132923Z_n5000_multi-3.json │ ├── lefthook.yml │ ├── package.json │ ├── scripts │ ├── bench-lookup.mjs │ └── gen-providers.mjs │ ├── src │ ├── async.ts │ ├── context.ts │ ├── conversation.ts │ ├── exports │ │ ├── core.ts │ │ ├── fetch.ts │ │ ├── helpers.ts │ │ ├── models.ts │ │ └── providers │ │ │ ├── alibaba-cn.ts │ │ │ ├── alibaba.ts │ │ │ ├── amazon-bedrock.ts │ │ │ ├── anthropic.ts │ │ │ ├── azure.ts │ │ │ ├── baseten.ts │ │ │ ├── cerebras.ts │ │ │ ├── chutes.ts │ │ │ ├── cloudflare-workers-ai.ts │ │ │ ├── deepinfra.ts │ │ │ ├── deepseek.ts │ │ │ ├── fastrouter.ts │ │ │ ├── fireworks-ai.ts │ │ │ ├── github-copilot.ts │ │ │ ├── github-models.ts │ │ │ ├── google-vertex-anthropic.ts │ │ │ ├── google-vertex.ts │ │ │ ├── google.ts │ │ │ ├── groq.ts │ │ │ ├── huggingface.ts │ │ │ ├── inception.ts │ │ │ ├── index.ts │ │ │ ├── inference.ts │ │ │ ├── llama.ts │ │ │ ├── lmstudio.ts │ │ │ ├── mistral.ts │ │ │ ├── modelscope.ts │ │ │ ├── moonshotai-cn.ts │ │ │ ├── moonshotai.ts │ │ │ ├── morph.ts │ │ │ ├── nvidia.ts │ │ │ ├── openai.ts │ │ │ ├── opencode.ts │ │ │ ├── openrouter.ts │ │ │ ├── perplexity.ts │ │ │ ├── requesty.ts │ │ │ ├── submodel.ts │ │ │ ├── synthetic.ts │ │ │ ├── togetherai.ts │ │ │ ├── upstage.ts │ │ │ ├── v0.ts │ │ │ ├── venice.ts │ │ │ ├── vercel.ts │ │ │ ├── wandb.ts │ │ │ ├── xai.ts │ │ │ ├── zai-coding-plan.ts │ │ │ ├── zai.ts │ │ │ └── zhipuai.ts │ ├── index.ts │ ├── models │ │ └── models_dev.ts │ ├── registry.ts │ ├── simple.ts │ ├── source.ts │ └── types.ts │ ├── tests │ ├── catalog-builders.spec.ts │ ├── fetch-models.integration.spec.ts │ ├── fetch-models.spec.ts │ ├── fetch-overloads.spec.ts │ ├── registry.test.ts │ └── summarize-usage.test.ts │ ├── tsconfig.json │ └── vitest.config.ts ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── scripts └── sync-readmes.mjs └── turbo.json /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/sync-models-dev.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/.github/workflows/sync-models-dev.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .turbo 2 | node_modules 3 | dist -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/README.md -------------------------------------------------------------------------------- /apps/web-demo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/.gitignore -------------------------------------------------------------------------------- /apps/web-demo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/README.md -------------------------------------------------------------------------------- /apps/web-demo/components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/components.json -------------------------------------------------------------------------------- /apps/web-demo/next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/next.config.ts -------------------------------------------------------------------------------- /apps/web-demo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/package.json -------------------------------------------------------------------------------- /apps/web-demo/postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/postcss.config.mjs -------------------------------------------------------------------------------- /apps/web-demo/public/file.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/public/file.svg -------------------------------------------------------------------------------- /apps/web-demo/public/globe.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/public/globe.svg -------------------------------------------------------------------------------- /apps/web-demo/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/public/next.svg -------------------------------------------------------------------------------- /apps/web-demo/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/public/vercel.svg -------------------------------------------------------------------------------- /apps/web-demo/public/window.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/public/window.svg -------------------------------------------------------------------------------- /apps/web-demo/src/app/api/chat/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/app/api/chat/route.ts -------------------------------------------------------------------------------- /apps/web-demo/src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/app/favicon.ico -------------------------------------------------------------------------------- /apps/web-demo/src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/app/globals.css -------------------------------------------------------------------------------- /apps/web-demo/src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/app/layout.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/app/page.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/actions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/actions.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/branch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/branch.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/code-block.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/code-block.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/context.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/context.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/conversation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/conversation.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/image.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/image.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/inline-citation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/inline-citation.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/loader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/loader.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/message.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/message.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/prompt-input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/prompt-input.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/reasoning.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/reasoning.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/response.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/response.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/sources.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/sources.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/suggestion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/suggestion.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/task.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/task.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/tool.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/tool.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ai-elements/web-preview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ai-elements/web-preview.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/chat.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ui/avatar.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ui/badge.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ui/button.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ui/carousel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ui/carousel.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ui/collapsible.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ui/collapsible.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ui/hover-card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ui/hover-card.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ui/input.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ui/select.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ui/separator.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/components/ui/tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/components/ui/tooltip.tsx -------------------------------------------------------------------------------- /apps/web-demo/src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/src/lib/utils.ts -------------------------------------------------------------------------------- /apps/web-demo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web-demo/tsconfig.json -------------------------------------------------------------------------------- /apps/web/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/apps/web/package.json -------------------------------------------------------------------------------- /assets/tokenlens.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/assets/tokenlens.png -------------------------------------------------------------------------------- /biome.jsonc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/biome.jsonc -------------------------------------------------------------------------------- /docs/package-setup-comparison.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/docs/package-setup-comparison.md -------------------------------------------------------------------------------- /lefthook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/lefthook.yml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/package.json -------------------------------------------------------------------------------- /packages/core/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/core/CHANGELOG.md -------------------------------------------------------------------------------- /packages/core/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/core/README.md -------------------------------------------------------------------------------- /packages/core/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/core/package.json -------------------------------------------------------------------------------- /packages/core/src/catalog.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/core/src/catalog.ts -------------------------------------------------------------------------------- /packages/core/src/id.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/core/src/id.ts -------------------------------------------------------------------------------- /packages/core/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/core/src/index.ts -------------------------------------------------------------------------------- /packages/core/src/registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/core/src/registry.ts -------------------------------------------------------------------------------- /packages/core/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/core/src/types.ts -------------------------------------------------------------------------------- /packages/core/tests/id.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/core/tests/id.test.ts -------------------------------------------------------------------------------- /packages/core/tests/registry.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/core/tests/registry.test.ts -------------------------------------------------------------------------------- /packages/core/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/core/tsconfig.json -------------------------------------------------------------------------------- /packages/core/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/core/vitest.config.ts -------------------------------------------------------------------------------- /packages/fetch/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/fetch/CHANGELOG.md -------------------------------------------------------------------------------- /packages/fetch/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/fetch/README.md -------------------------------------------------------------------------------- /packages/fetch/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/fetch/package.json -------------------------------------------------------------------------------- /packages/fetch/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/fetch/src/index.ts -------------------------------------------------------------------------------- /packages/fetch/tests/fetch-models.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/fetch/tests/fetch-models.spec.ts -------------------------------------------------------------------------------- /packages/fetch/tests/fetch-overloads.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/fetch/tests/fetch-overloads.spec.ts -------------------------------------------------------------------------------- /packages/fetch/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/fetch/tsconfig.json -------------------------------------------------------------------------------- /packages/fetch/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/fetch/vitest.config.ts -------------------------------------------------------------------------------- /packages/helpers/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/helpers/CHANGELOG.md -------------------------------------------------------------------------------- /packages/helpers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/helpers/README.md -------------------------------------------------------------------------------- /packages/helpers/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/helpers/package.json -------------------------------------------------------------------------------- /packages/helpers/src/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/helpers/src/context.ts -------------------------------------------------------------------------------- /packages/helpers/src/conversation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/helpers/src/conversation.ts -------------------------------------------------------------------------------- /packages/helpers/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/helpers/src/index.ts -------------------------------------------------------------------------------- /packages/helpers/src/simple.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/helpers/src/simple.ts -------------------------------------------------------------------------------- /packages/helpers/src/source.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/helpers/src/source.ts -------------------------------------------------------------------------------- /packages/helpers/tests/helpers-basic.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/helpers/tests/helpers-basic.spec.ts -------------------------------------------------------------------------------- /packages/helpers/tests/helpers-live.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/helpers/tests/helpers-live.spec.ts -------------------------------------------------------------------------------- /packages/helpers/tests/helpers-overloads.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/helpers/tests/helpers-overloads.spec.ts -------------------------------------------------------------------------------- /packages/helpers/tests/usage-focused.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/helpers/tests/usage-focused.spec.ts -------------------------------------------------------------------------------- /packages/helpers/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/helpers/tsconfig.json -------------------------------------------------------------------------------- /packages/helpers/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/helpers/vitest.config.ts -------------------------------------------------------------------------------- /packages/models/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/CHANGELOG.md -------------------------------------------------------------------------------- /packages/models/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/README.md -------------------------------------------------------------------------------- /packages/models/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/package.json -------------------------------------------------------------------------------- /packages/models/scripts/sync-models-dev.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/scripts/sync-models-dev.mjs -------------------------------------------------------------------------------- /packages/models/src/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/api.ts -------------------------------------------------------------------------------- /packages/models/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/index.ts -------------------------------------------------------------------------------- /packages/models/src/providers/alibaba-cn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/alibaba-cn.ts -------------------------------------------------------------------------------- /packages/models/src/providers/alibaba.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/alibaba.ts -------------------------------------------------------------------------------- /packages/models/src/providers/amazon-bedrock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/amazon-bedrock.ts -------------------------------------------------------------------------------- /packages/models/src/providers/anthropic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/anthropic.ts -------------------------------------------------------------------------------- /packages/models/src/providers/azure.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/azure.ts -------------------------------------------------------------------------------- /packages/models/src/providers/baseten.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/baseten.ts -------------------------------------------------------------------------------- /packages/models/src/providers/cerebras.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/cerebras.ts -------------------------------------------------------------------------------- /packages/models/src/providers/chutes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/chutes.ts -------------------------------------------------------------------------------- /packages/models/src/providers/cloudflare-workers-ai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/cloudflare-workers-ai.ts -------------------------------------------------------------------------------- /packages/models/src/providers/deepinfra.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/deepinfra.ts -------------------------------------------------------------------------------- /packages/models/src/providers/deepseek.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/deepseek.ts -------------------------------------------------------------------------------- /packages/models/src/providers/fastrouter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/fastrouter.ts -------------------------------------------------------------------------------- /packages/models/src/providers/fireworks-ai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/fireworks-ai.ts -------------------------------------------------------------------------------- /packages/models/src/providers/github-copilot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/github-copilot.ts -------------------------------------------------------------------------------- /packages/models/src/providers/github-models.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/github-models.ts -------------------------------------------------------------------------------- /packages/models/src/providers/google-vertex-anthropic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/google-vertex-anthropic.ts -------------------------------------------------------------------------------- /packages/models/src/providers/google-vertex.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/google-vertex.ts -------------------------------------------------------------------------------- /packages/models/src/providers/google.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/google.ts -------------------------------------------------------------------------------- /packages/models/src/providers/groq.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/groq.ts -------------------------------------------------------------------------------- /packages/models/src/providers/huggingface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/huggingface.ts -------------------------------------------------------------------------------- /packages/models/src/providers/inception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/inception.ts -------------------------------------------------------------------------------- /packages/models/src/providers/inference.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/inference.ts -------------------------------------------------------------------------------- /packages/models/src/providers/llama.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/llama.ts -------------------------------------------------------------------------------- /packages/models/src/providers/lmstudio.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/lmstudio.ts -------------------------------------------------------------------------------- /packages/models/src/providers/mistral.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/mistral.ts -------------------------------------------------------------------------------- /packages/models/src/providers/modelscope.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/modelscope.ts -------------------------------------------------------------------------------- /packages/models/src/providers/moonshotai-cn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/moonshotai-cn.ts -------------------------------------------------------------------------------- /packages/models/src/providers/moonshotai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/moonshotai.ts -------------------------------------------------------------------------------- /packages/models/src/providers/morph.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/morph.ts -------------------------------------------------------------------------------- /packages/models/src/providers/nvidia.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/nvidia.ts -------------------------------------------------------------------------------- /packages/models/src/providers/openai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/openai.ts -------------------------------------------------------------------------------- /packages/models/src/providers/opencode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/opencode.ts -------------------------------------------------------------------------------- /packages/models/src/providers/openrouter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/openrouter.ts -------------------------------------------------------------------------------- /packages/models/src/providers/perplexity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/perplexity.ts -------------------------------------------------------------------------------- /packages/models/src/providers/requesty.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/requesty.ts -------------------------------------------------------------------------------- /packages/models/src/providers/submodel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/submodel.ts -------------------------------------------------------------------------------- /packages/models/src/providers/synthetic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/synthetic.ts -------------------------------------------------------------------------------- /packages/models/src/providers/togetherai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/togetherai.ts -------------------------------------------------------------------------------- /packages/models/src/providers/upstage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/upstage.ts -------------------------------------------------------------------------------- /packages/models/src/providers/v0.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/v0.ts -------------------------------------------------------------------------------- /packages/models/src/providers/venice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/venice.ts -------------------------------------------------------------------------------- /packages/models/src/providers/vercel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/vercel.ts -------------------------------------------------------------------------------- /packages/models/src/providers/wandb.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/wandb.ts -------------------------------------------------------------------------------- /packages/models/src/providers/xai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/xai.ts -------------------------------------------------------------------------------- /packages/models/src/providers/zai-coding-plan.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/zai-coding-plan.ts -------------------------------------------------------------------------------- /packages/models/src/providers/zai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/zai.ts -------------------------------------------------------------------------------- /packages/models/src/providers/zhipuai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/providers/zhipuai.ts -------------------------------------------------------------------------------- /packages/models/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/src/types.ts -------------------------------------------------------------------------------- /packages/models/tests/get-model-meta.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/tests/get-model-meta.spec.ts -------------------------------------------------------------------------------- /packages/models/tests/get-models.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/tests/get-models.spec.ts -------------------------------------------------------------------------------- /packages/models/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/tsconfig.json -------------------------------------------------------------------------------- /packages/models/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/models/vitest.config.ts -------------------------------------------------------------------------------- /packages/provider-tests/benchmarks/tokenlens-benchmark.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/provider-tests/benchmarks/tokenlens-benchmark.json -------------------------------------------------------------------------------- /packages/provider-tests/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/provider-tests/package.json -------------------------------------------------------------------------------- /packages/provider-tests/scripts/benchmark.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/provider-tests/scripts/benchmark.ts -------------------------------------------------------------------------------- /packages/provider-tests/tests/ai-sdk-usage.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/provider-tests/tests/ai-sdk-usage.spec.ts -------------------------------------------------------------------------------- /packages/provider-tests/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/provider-tests/tsconfig.json -------------------------------------------------------------------------------- /packages/provider-tests/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/provider-tests/vitest.config.ts -------------------------------------------------------------------------------- /packages/tokenlens/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | .tmp 4 | -------------------------------------------------------------------------------- /packages/tokenlens/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/CHANGELOG.md -------------------------------------------------------------------------------- /packages/tokenlens/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/LICENSE -------------------------------------------------------------------------------- /packages/tokenlens/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/README.md -------------------------------------------------------------------------------- /packages/tokenlens/benchmarks/lookup/lookup_v1.1.3_20250910-053840Z_n5000_multi-3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/benchmarks/lookup/lookup_v1.1.3_20250910-053840Z_n5000_multi-3.json -------------------------------------------------------------------------------- /packages/tokenlens/benchmarks/lookup/lookup_v1.2.0_20250910-063205Z_n500000_multi-3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/benchmarks/lookup/lookup_v1.2.0_20250910-063205Z_n500000_multi-3.json -------------------------------------------------------------------------------- /packages/tokenlens/benchmarks/lookup/lookup_v1.3.0-canary.5_20250916-073803Z_n5000_multi-3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/benchmarks/lookup/lookup_v1.3.0-canary.5_20250916-073803Z_n5000_multi-3.json -------------------------------------------------------------------------------- /packages/tokenlens/benchmarks/lookup/lookup_v1.3.0_20250919-092823Z_n5000_multi-3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/benchmarks/lookup/lookup_v1.3.0_20250919-092823Z_n5000_multi-3.json -------------------------------------------------------------------------------- /packages/tokenlens/benchmarks/lookup/lookup_v1.3.1_20250919-132923Z_n5000_multi-3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/benchmarks/lookup/lookup_v1.3.1_20250919-132923Z_n5000_multi-3.json -------------------------------------------------------------------------------- /packages/tokenlens/lefthook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/lefthook.yml -------------------------------------------------------------------------------- /packages/tokenlens/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/package.json -------------------------------------------------------------------------------- /packages/tokenlens/scripts/bench-lookup.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/scripts/bench-lookup.mjs -------------------------------------------------------------------------------- /packages/tokenlens/scripts/gen-providers.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/scripts/gen-providers.mjs -------------------------------------------------------------------------------- /packages/tokenlens/src/async.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/fetch"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/src/context.ts -------------------------------------------------------------------------------- /packages/tokenlens/src/conversation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/src/conversation.ts -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/core.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/core"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/fetch.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/fetch"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/helpers.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/helpers"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/models.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/alibaba-cn.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/alibaba-cn"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/alibaba.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/alibaba"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/amazon-bedrock.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/amazon-bedrock"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/anthropic.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/anthropic"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/azure.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/azure"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/baseten.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/baseten"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/cerebras.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/cerebras"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/chutes.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/chutes"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/cloudflare-workers-ai.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/cloudflare-workers-ai"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/deepinfra.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/deepinfra"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/deepseek.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/deepseek"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/fastrouter.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/fastrouter"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/fireworks-ai.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/fireworks-ai"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/github-copilot.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/github-copilot"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/github-models.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/src/exports/providers/github-models.ts -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/google-vertex-anthropic.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/google-vertex-anthropic"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/google-vertex.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/google-vertex"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/google.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/google"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/groq.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/groq"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/huggingface.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/huggingface"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/inception.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/inception"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/src/exports/providers/index.ts -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/inference.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/inference"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/llama.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/llama"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/lmstudio.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/lmstudio"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/mistral.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/mistral"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/modelscope.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/src/exports/providers/modelscope.ts -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/moonshotai-cn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/src/exports/providers/moonshotai-cn.ts -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/moonshotai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/src/exports/providers/moonshotai.ts -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/morph.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/src/exports/providers/morph.ts -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/nvidia.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/nvidia"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/openai.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/openai"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/opencode.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/opencode"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/openrouter.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/openrouter"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/perplexity.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/perplexity"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/requesty.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/requesty"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/submodel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/src/exports/providers/submodel.ts -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/synthetic.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/synthetic"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/togetherai.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/togetherai"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/upstage.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/upstage"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/v0.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/v0"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/venice.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/venice"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/vercel.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/vercel"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/wandb.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/wandb"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/xai.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/xai"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/zai-coding-plan.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/zai-coding-plan"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/zai.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/zai"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/exports/providers/zhipuai.ts: -------------------------------------------------------------------------------- 1 | export * from "@tokenlens/models/zhipuai"; 2 | -------------------------------------------------------------------------------- /packages/tokenlens/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/src/index.ts -------------------------------------------------------------------------------- /packages/tokenlens/src/models/models_dev.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/src/models/models_dev.ts -------------------------------------------------------------------------------- /packages/tokenlens/src/registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/src/registry.ts -------------------------------------------------------------------------------- /packages/tokenlens/src/simple.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/src/simple.ts -------------------------------------------------------------------------------- /packages/tokenlens/src/source.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/src/source.ts -------------------------------------------------------------------------------- /packages/tokenlens/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/src/types.ts -------------------------------------------------------------------------------- /packages/tokenlens/tests/catalog-builders.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/tests/catalog-builders.spec.ts -------------------------------------------------------------------------------- /packages/tokenlens/tests/fetch-models.integration.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/tests/fetch-models.integration.spec.ts -------------------------------------------------------------------------------- /packages/tokenlens/tests/fetch-models.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/tests/fetch-models.spec.ts -------------------------------------------------------------------------------- /packages/tokenlens/tests/fetch-overloads.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/tests/fetch-overloads.spec.ts -------------------------------------------------------------------------------- /packages/tokenlens/tests/registry.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/tests/registry.test.ts -------------------------------------------------------------------------------- /packages/tokenlens/tests/summarize-usage.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/tests/summarize-usage.test.ts -------------------------------------------------------------------------------- /packages/tokenlens/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/tsconfig.json -------------------------------------------------------------------------------- /packages/tokenlens/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/packages/tokenlens/vitest.config.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /scripts/sync-readmes.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/scripts/sync-readmes.mjs -------------------------------------------------------------------------------- /turbo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/turbo.json --------------------------------------------------------------------------------