TogetherAI

AI API key

Run inference and fine-tuning against open-source models on Together AI from any Windmill script, flow or app.

Set up in 3 steps

1

Copy your API key

In the Together AI dashboard, open Settings then API Keys, and copy the key.

2

Add the resource in Windmill

Open Resources, add a resource of type togetherai, and paste it into api_key. base_url only needs setting to reach a dedicated endpoint.

3

Run your first script

Fork any script below and read before writing anything.

Scripts

Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.

List job events

Script togetherai Verified

List job

Script togetherai Verified

List file

Script togetherai Verified

List all models

Script togetherai Verified

List all jobs

Script togetherai Verified

List all files

Script togetherai Verified

Get file contents

Script togetherai Verified

Download model

Script togetherai Verified

Delete a file

Script togetherai Verified

Create job

Script togetherai Verified

Create image

Script togetherai Verified

Create embedding

Script togetherai Verified

Create completion

Script togetherai Verified

Create chat completion

Script togetherai Verified

Create audio generation request

Script togetherai Verified

Create a rerank request

Script togetherai Verified

Cancel job

Script togetherai Verified

Resource type

togetherai — the shape of the credential every script on this page expects.

View raw schema →
FieldTypeRequiredWhat it is
api_keystringYesAPI key retrieved from the dashboard.
base_urlstringNoOptional. Only needed to overwrite the default base URL.

Questions

Can it power Windmill AI?

Together AI exposes an OpenAI-compatible endpoint, so an openai resource with base_url pointed at it works as an AI provider. This resource is for the scripts here.

Inference is billed per token

Every call draws on your Together balance. Cap retries in a flow that loops.

Is my key stored on the hub?

Never. It lives only in your own Windmill workspace, encrypted at rest.