Agent skill

Together Cost Tuning

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Reduce Together AI spend using measured token usage, live per-model prices, cached-input evidence, batch discounts, model evaluation, and dedicated break-even analysis.

MITAuto-check passedData & Analytics

Install Together Cost Tuning

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill together-cost-tuning -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace together-cost-tuning --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/together-cost-tuning .claude/skills/together-cost-tuning && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
together-cost-tuning
GitHub stars
2.8k
Token cost
~1k tokens
SKILL.md length
389 words
Files
2 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Reduce Together AI spend using measured token usage, live per-model prices, cached-input evidence, batch discounts, model evaluation, and dedicated break-even analysis.

  • Works in 6 steps: Group measured requests by model,… → Fetch current pricing and batch… → Reconcile calculated cost with Together… → …
  • Optimizing Together workloads
  • SKILL.md covers Overview, Prerequisites, Tool Discipline and Current Contract, plus 7 more sections
  • Needs TOGETHER_API_KEY

What it does

Together Cost Tuning is an agent skill from jeremylongshore/tons-of-skills-marketplace. Reduce Together AI spend using measured token usage, live per-model prices, cached-input evidence, batch discounts, model evaluation, and dedicated break-even analysis. Use when forecasting or optimizing Together workloads. Trigger with "Together cost", "optimize Together spend", or "Together batch savings".

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/official-docs.md`). Compatibility notes: Designed for Claude Code; current estimates require Together AI pricing and usage data

It sits in Data & Analytics, covering Forecasting and time series and Machine learning. It works with Together AI. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Optimizing Together workloads
  • With Together cost
  • Optimize Together spend
  • Together batch savings

Example prompts

  • “Together cost”
  • “optimize Together spend”
  • “Together batch savings”
  • “/together-cost-tuning”

Requirements

  • A credential in TOGETHER_API_KEY
  • Compatibility (from SKILL.md): Designed for Claude Code; current estimates require Together AI pricing and usage data
  • Pre-approved tools (allowed-tools): Read, Glob, Grep, WebFetch, Write, Edit

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Group measured requests by model, workload, token class, latency, and success state.
  2. Fetch current pricing and batch eligibility, recording retrieval time and source.
  3. Reconcile calculated cost with Together billing analytics before proposing savings.
  4. Evaluate output bounds, prompt reuse/caching, smaller models, and asynchronous batch in that order.
  5. Benchmark quality and latency before shifting models or endpoint type.
  6. Compare steady utilization with dedicated per-minute capacity, then publish forecast, risk, rollback, and owner.

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep
    • WebFetch
    • Write
    • Edit

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.together.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • TOGETHER_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code; current estimates require Together AI pricing and usage data

    From compatibility in the SKILL.md frontmatter.

Context cost

Together Cost Tuning loads about 1k tokens when it runs, and up to ~1.8k if it reads all its reference files. Until then it costs about 83 tokens; SKILL.md has 389 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~83
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 389 words, ~1,004 tokens.

Download SKILL.mdSave it as .claude/skills/together-cost-tuning/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
together-cost-tuning
description
Reduce Together AI spend using measured token usage, live per-model prices, cached-input evidence, batch discounts, model evaluation, and dedicated break-even analysis. Use when forecasting or optimizing Together workloads. Trigger with "Together cost", "optimize Together spend", or "Together batch savings".
allowed-tools
Read, Glob, Grep, WebFetch, Write, Edit
compatibility
Designed for Claude Code; current estimates require Together AI pricing and usage data
argument-hint
[repository-path] [usage-window] [budget]
version
1.9.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
saas, together-ai, cost-optimization
model
inherit
effort
high

Together AI Cost Tuning

Overview

This skill builds a reproducible cost model from actual usage and current pricing rather than embedding a price table that will drift.

Prerequisites

  • A representative usage window with input, cached-input, output, and request counts
  • Current model catalog/pricing and billing analytics access
  • Quality, latency, context, and availability requirements
  • A monthly budget and an owner for model or capacity changes

Tool Discipline

Use Read, Glob, and Grep to find model selection, token bounds, caching, batch, and telemetry logic. Use WebFetch only for current official pricing and eligibility. Use Write or Edit for an approved cost model, instrumentation, or configuration change.

Current Contract

  • Serverless models bill from current per-model input/output rates; some expose discounted cached input.
  • Eligible batch work can cost up to 50% less, but eligibility and discount vary by model.
  • Dedicated Model Inference bills per minute per running replica and hardware, not per token.
  • Usage and prices change; snapshot retrieval time and source with every forecast.

Authentication

Billing and usage views require authorized Together project access. API workloads use TOGETHER_API_KEY; record aggregate usage and project alias only, not the credential or sensitive request content.

Instructions

  1. Group measured requests by model, workload, token class, latency, and success state.
  2. Fetch current pricing and batch eligibility, recording retrieval time and source.
  3. Reconcile calculated cost with Together billing analytics before proposing savings.
  4. Evaluate output bounds, prompt reuse/caching, smaller models, and asynchronous batch in that order.
  5. Benchmark quality and latency before shifting models or endpoint type.
  6. Compare steady utilization with dedicated per-minute capacity, then publish forecast, risk, rollback, and owner.
Show full SKILL.md (124 more words)Show less

Approval Boundaries

Do not change a production model, reduce quality/safety controls, submit batch jobs, or provision dedicated replicas solely from a spreadsheet estimate.

Output

Return source-stamped prices, usage baseline, reconciled cost, option-by-option savings, quality/latency evidence, break-even assumptions, recommendation, and rollback.

Error Handling

ConditionResponse
Usage lacks token fieldsAdd measurement before estimating savings.
Catalog and invoice divergeUse billed data for history and current catalog for forward scenarios.
Batch model ineligiblePrice synchronous or another explicitly tested model.
Dedicated utilization uncertainRun a bounded capacity test; do not provision from peak guesses.

Examples

The example below shows the minimum redacted evidence expected from a successful invocation of this operator workflow.

text
baseline=reconciled; prices=live-snapshot; option=batch; savings=modeled; quality=gate-required

Resources

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/.curated/together-cost-tuning of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/official-docs.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Together Cost Tuning next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Together Cost Tuning compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Together Cost Tuning this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1kAutomated safety check: PassMIT
Senior Data ScientistRaidriar7170/hermes-skilleval1255 repos~1.4kAutomated safety check: PassMIT
Time Series Analytics Useropen-edge-platform/edge-ai-libraries171—~3.1kAutomated safety check: PassApache-2.0
Aeon Time Series Machine Learningdavila7/claude-code-templates33k13 repos~2.6kAutomated safety check: PassMIT
Data Scientistdavila7/claude-code-templates33k8 repos~2.6kAutomated safety check: PassMIT
Longbridge Quanthelsome/folio2711 repos~1.6kAutomated safety check: PassMIT

Similar skills

  • Senior Data Scientist

    Raidriar7170/hermes-skilleval

    World-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics.

    125 GitHub starsUsed in 5 repos~1.4k tokens
    Data & AnalyticsAuto-check passed
  • Time Series Analytics User

    open-edge-platform/edge-ai-libraries

    Build a new time-series analytics use case on top of the deployed Time Series Analytics microservice — bring it up with Docker Compose (from a repo clone, or by fetching the compose files from…

    171 GitHub stars~3.1k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Aeon Time Series Machine Learning

    davila7/claude-code-templates

    Guides time series machine learning with the aeon toolkit: classification, regression, clustering, forecasting, anomaly detection, segmentation and similarity search.

    33k GitHub starsUsed in 13 repos~2.6k tokens
    Data & AnalyticsAuto-check passed
  • Data Scientist

    davila7/claude-code-templates

    Expert data scientist for advanced analytics, machine learning, and statistical modeling.

    33k GitHub starsUsed in 8 repos~2.6k tokens
    Data & AnalyticsAuto-check passed
  • Longbridge Quant

    helsome/folio

    Quantitative strategy frameworks: pairs trading/cointegration, volatility regime strategies, seasonality/calendar effects, multi-factor models (IC/IR), factor research and screening, correlation…

    271 GitHub starsUsed in 1 repo~1.6k tokens
    Data & AnalyticsAuto-check passed
  • Scientific Toolkit Skill

    zLanqing/codex-claude-academic-skills

    Research computing toolkit for optoelectronic information science and engineering, MATLAB/Octave, Python scientific analysis, signal processing, image processing, statistics, simulation…

    4.7k GitHub stars~1.2k tokensUpdated 5 mo ago
    Data & AnalyticsAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Questions about Together Cost Tuning

What does Together Cost Tuning do?

Reduce Together AI spend using measured token usage, live per-model prices, cached-input evidence, batch discounts, model evaluation, and dedicated break-even analysis. Together Cost Tuning is an agent skill from jeremylongshore/tons-of-skills-marketplace. Reduce Together AI spend using measured token usage, live per-model prices, cached-input evidence, batch discounts, model evaluation, and dedicated break-even analysis.

When should I use Together Cost Tuning?

Together Cost Tuning fits situations like: optimizing Together workloads; with Together cost; optimize Together spend; together batch savings.

How do I install Together Cost Tuning in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill together-cost-tuning -a claude-code`. Or copy the skill folder (skills/.curated/together-cost-tuning in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/together-cost-tuning in your project. Claude Code loads it when a task matches its description.

How do I install Together Cost Tuning in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill together-cost-tuning -a codex`. Or copy the skill folder (skills/.curated/together-cost-tuning in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/together-cost-tuning in your project. Codex loads it when a task matches its description.

Can I use Together Cost Tuning in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill together-cost-tuning -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/together-cost-tuning, .gemini/skills/together-cost-tuning, .github/skills/together-cost-tuning and .opencode/skills/together-cost-tuning in your project.

What does Together Cost Tuning need to run?

Going by SKILL.md and its folder, Together Cost Tuning needs credentials named TOGETHER_API_KEY. Our summary lists: A credential in TOGETHER_API_KEY. Its frontmatter pre-approves these tools: Read, Glob, Grep, WebFetch, Write, Edit. Compatibility (from SKILL.md): Designed for Claude Code; current estimates require Together AI pricing and usage data.

Does Together Cost Tuning access the network?

SKILL.md names 1 domain. As links in the text: docs.together.ai. This is read from the text; nothing was executed.

Is Together Cost Tuning safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Together Cost Tuning use?

Together Cost Tuning is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Together Cost Tuning use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 758 tokens, read only when the agent opens those files.

What are the alternatives to Together Cost Tuning?

Skills that share tags, products or a category with Together Cost Tuning: Senior Data Scientist (Raidriar7170/hermes-skilleval, 125 stars), Time Series Analytics User (open-edge-platform/edge-ai-libraries, 171 stars), Aeon Time Series Machine Learning (davila7/claude-code-templates, 33k stars) and Data Scientist (davila7/claude-code-templates, 33k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Together Cost Tuning?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.