TogetherAI
AI API keyRun inference and fine-tuning against open-source models on Together AI from any Windmill script, flow or app.
Set up in 3 steps
Copy your API key
In the Together AI dashboard, open Settings then API Keys, and copy the key.
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.
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
List job
List file
List all models
List all jobs
List all files
Get file contents
Download model
Delete a file
Create job
Create image
Create embedding
Create completion
Create chat completion
Create audio generation request
Create a rerank request
Cancel job
Resource type
togetherai — the shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|---|---|---|
| api_key | string | Yes | API key retrieved from the dashboard. |
| base_url | string | No | Optional. 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.