Skip to content

Use Together AI in your terminal

Use Together AI models with your own key. You pay Together AI directly; kunji never sees your bill.

  1. Create an API key at https://api.together.ai/settings/api-keys.
  2. Run kunji keys add together and paste the key. kunji checks it works, then stores it in your OS keychain.
  3. Pick a default model from the list (type to search).
  4. Run kunji and start chatting.
Provider id together
Type OpenAI-compatible API
API address https://api.together.xyz/v1
Key variable TOGETHER_API_KEY
Terminal window
kunji models together # see available models
kunji use together:<model> # make one your default
kunji chat -m together:<model> # or chat with it once

Inside a chat, switch to it with /model together:<model>; the conversation carries over.

For CI or scripts you can skip the keychain:

Terminal window
export TOGETHER_API_KEY=your-key-here
kunji ask -m together:<model> "Hello"