npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

rhachet-brains-togetherai

v0.1.0

Published

rhachet brain.atom adapter for together ai open-source models

Downloads

182

Readme

rhachet-brains-togetherai

rhachet brain.atom adapter for together ai open-source models

install

npm install rhachet-brains-togetherai

usage

import { genBrainAtom } from 'rhachet-brains-togetherai';
import { z } from 'zod';

// create a brain atom for direct model inference
const brainAtom = genBrainAtom({ slug: 'together/qwen3/coder-next' });

// simple string output
const { output: explanation } = await brainAtom.ask({
  role: { briefs: [] },
  prompt: 'explain this code',
  schema: { output: z.string() },
});

// structured object output
const { output: { summary, issues } } = await brainAtom.ask({
  role: { briefs: [] },
  prompt: 'analyze this code',
  schema: { output: z.object({ summary: z.string(), issues: z.array(z.string()) }) },
});

available brains

atoms (via genBrainAtom)

stateless inference without tool use.

| slug | model id | context | swe-bench | input | output | | --- | --- | --- | --- | --- | --- | | together/qwen3/coder-next | Qwen/Qwen3-Coder-Next-FP8 | 262K | 74.2% | $0.50/1M | $1.20/1M | | together/qwen3/coder-480b | Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8 | 262K | 69.6% | $2.00/1M | $2.00/1M | | together/qwen3/235b | Qwen/Qwen3-235B-A22B-Instruct-2507-tput | 131K | — | $0.20/1M | $0.60/1M | | together/deepseek/v3.1 | deepseek-ai/DeepSeek-V3.1 | 128K | — | $1.25/1M | $1.25/1M | | together/deepseek/r1 | deepseek-ai/DeepSeek-R1 | 128K | — | $3.00/1M | $7.00/1M | | together/kimi/k2 | moonshotai/Kimi-K2-Instruct | 128K | — | $1.00/1M | $3.00/1M | | together/kimi/k2.5 | moonshotai/Kimi-K2.5 | 128K | 76.8% | $0.50/1M | $2.80/1M | | together/llama4/maverick | meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8 | 1M | — | $0.27/1M | $0.85/1M | | together/llama3.3/70b | meta-llama/Llama-3.3-70B-Instruct-Turbo | 128K | — | $0.88/1M | $0.88/1M | | together/glm/4.7 | zai-org/GLM-4.7 | 128K | 73.8% | $0.45/1M | $2.00/1M |

why together ai

together ai rates include managed fine-tune access ($6-10/1M tokens) and high-throughput serverless infrastructure. some model authors offer cheaper direct apis for inference-only:

| model | together ai (in/out) | author direct (in/out) | author api | | --- | --- | --- | --- | | deepseek v3 | $1.25/$1.25 | $0.28/$0.42 (3-4x cheaper) | api.deepseek.com | | deepseek r1 | $3.00/$7.00 | $0.28/$0.42 (10-17x cheaper) | api.deepseek.com | | kimi k2 | $1.00/$3.00 | $0.60/$2.50 (~35% cheaper) | platform.moonshot.ai | | kimi k2.5 | $0.50/$2.80 | $0.60/$3.00 (at parity) | platform.moonshot.ai | | qwen3 coder-next | $0.50/$1.20 | $1.00/$5.00 (together ai cheaper) | alibabacloud.com | | glm-4.7 | $0.45/$2.00 | $0.60/$2.20 (together ai cheaper) | z.ai | | llama 4 maverick | $0.27/$0.85 | ~$0.27/$0.85 (at parity) | llama.com |

tldr: deepseek's direct api is dramatically cheaper. kimi k2 is modestly cheaper via moonshot. the rest are at parity or more expensive than together ai. together ai's premium buys fine-tune access and unified multi-model infrastructure.

environment

requires TOGETHER_API_KEY environment variable.

get your api key at https://api.together.xyz/settings/api-keys

sources