Together AI MCP by usefulapi
v1.41.1Run Together AI chat, embeddings and images; manage fine-tunes, batches and endpoints.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
together_whoami Who am I
Identify the API key: its organization, project and project slug. The project slug forms the `<project_slug>/<endpoint_slug>` model name for dedicated-endpoint inference. A cheap way to confirm the key works. Together: GET /whoami.
together_list_models List models
List Together's models with type (chat, language, code, image, embedding, moderation, rerank), context length, organization, license and per-token pricing. Together: GET /models.
| Parameter | Type | Description |
|---|---|---|
dedicated | boolean | Only return models that can run on dedicated endpoints. |
together_list_files List files
List uploaded data files (fine-tune, eval and batch-api inputs, plus job outputs) with size, type, purpose and validation status. Together: GET /files.
together_get_file Get one file
Fetch one file's metadata, including its processing_status and validation_report (why a fine-tune training file was rejected). Together: GET /files/{id}.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The file id, e.g. file-abc123. |
together_list_fine_tunes List fine-tuning jobs
List fine-tuning jobs with status, base model, output model name and training settings. Together: GET /fine-tunes.
together_get_fine_tune Get one fine-tuning job
Fetch one fine-tuning job: status, progress, hyperparameters, token counts, cost and the output model name. Together: GET /fine-tunes/{id}.
| Parameter | Type | Description |
|---|---|---|
fine_tune_id * | string | The job id, e.g. ft-abc123. |
together_list_fine_tune_events List a fine-tuning job's events
List the event log of one fine-tuning job (queued, started, checkpoint saved, epoch completed, errors). The first place to look when a job failed. Together: GET /fine-tunes/{id}/events.
| Parameter | Type | Description |
|---|---|---|
fine_tune_id * | string | The job id, e.g. ft-abc123. |
together_list_batches List batch jobs
List batch inference jobs with status, progress, model and input/output/error file ids. Together: GET /batches.
together_get_batch Get one batch job
Fetch one batch job: status (VALIDATING, IN_PROGRESS, COMPLETED, FAILED, EXPIRED, CANCELLED), progress, and the output_file_id / error_file_id once done. Together: GET /batches/{id}.
| Parameter | Type | Description |
|---|---|---|
batch_id * | string | The batch job id. |
together_list_endpoints List endpoints
List endpoints with model, owner and state (PENDING, STARTING, STARTED, STOPPING, STOPPED, ERROR). Use mine=true and type=dedicated to see what is running on your account and billing by the minute. Together: GET /endpoints.
| Parameter | Type | Description |
|---|---|---|
mine | boolean | Only endpoints owned by the caller. |
type | string | Filter by endpoint type. |
usage_type | string | Filter by usage type. |
together_get_endpoint Get one endpoint
Fetch one dedicated endpoint: state, model, hardware, autoscaling bounds and display name. Together: GET /endpoints/{endpointId}.
| Parameter | Type | Description |
|---|---|---|
endpoint_id * | string | The endpoint id, e.g. endpoint-d23901de-.... |
together_list_hardware List hardware
List hardware configurations for dedicated endpoints with GPU type/count/memory and price in cents per minute. Pass a model to get only compatible configurations with live availability. Together: GET /hardware.
| Parameter | Type | Description |
|---|---|---|
model | string | Only hardware compatible with this model, with availability. |
together_list_evaluations List evaluation jobs
List LLM-as-a-judge evaluation jobs (classify, score, compare) with status, parameters and results once completed. Together: GET /evaluation.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of jobs to return. |
status | string | Filter by status: pending, queued, running, completed, error, user_error. |
together_chat_completion Chat completion
Run a chat completion on a Together model (billed per token). Non-streaming. For a dedicated endpoint pass its `<project_slug>/<endpoint_slug>` as the model. Together: POST /chat/completions.
| Parameter | Type | Description |
|---|---|---|
messages * | array | The conversation so far. |
model * | string | Model name, e.g. meta-llama/Llama-3.3-70B-Instruct-Turbo. |
max_tokens | integer | Maximum tokens to generate. |
reasoning_effort | string | Reasoning effort for reasoning models that support it. |
repetition_penalty | number | |
seed | integer | Seed for reproducible sampling. |
stop | array | Stop sequences. |
temperature | number | |
top_k | integer | |
top_p | number |
together_create_embeddings Create embeddings
Generate vector embeddings for one or more texts (billed per token). Together: POST /embeddings.
| Parameter | Type | Description |
|---|---|---|
input * | A text, or a list of texts, to embed. | |
model * | string | Embedding model, e.g. BAAI/bge-large-en-v1.5. |
together_generate_image Generate an image
Generate images from a prompt (billed per image/megapixel). Returns image URLs by default rather than base64, to keep responses small. Together: POST /images/generations.
| Parameter | Type | Description |
|---|---|---|
model * | string | Image model, e.g. black-forest-labs/FLUX.1-schnell. |
prompt * | string | What to draw. |
guidance_scale | number | Prompt adherence; higher is more literal. |
height | integer | Height in pixels. |
image_url | string | Input image URL, for models that support editing. |
n | integer | Number of images. |
negative_prompt | string | What to steer away from. |
output_format | string | |
response_format | string | url (default here) or base64. base64 can be very large. |
seed | integer | |
steps | integer | Number of generation steps. |
width | integer | Width in pixels. |
together_create_fine_tune Create a fine-tuning job
Start a fine-tuning job on an uploaded training file (billed per token processed). Stop it with together_cancel_fine_tune. Together: POST /fine-tunes.
| Parameter | Type | Description |
|---|---|---|
model * | string | Base model to fine-tune. |
training_file * | string | File id of an uploaded training file (purpose fine-tune). |
batch_size | Batch size, or 'max' (the default). | |
from_checkpoint | string | Continue from a previous job: <job_id>, <output_model_name>, optionally with :<step>. |
learning_rate | number | |
max_seq_length | integer | |
n_checkpoints | integer | Intermediate checkpoints to save. |
n_epochs | integer | Passes over the training data. |
n_evals | integer | Evaluations on the validation set during training. |
suffix | string | Suffix for the fine-tuned model's name (max 64 chars). |
training_method | Supervised fine-tuning (sft, the default) or preference tuning (dpo). | |
training_type | Full fine-tune or LoRA. Together defaults to LoRA when omitted. | |
validation_file | string | File id of an uploaded validation file. |
warmup_ratio | number |
together_cancel_fine_tune Cancel a fine-tuning job
Cancel a running fine-tuning job. Cannot be resumed, but a new job can continue from its last checkpoint via from_checkpoint. Together: POST /fine-tunes/{id}/cancel.
| Parameter | Type | Description |
|---|---|---|
fine_tune_id * | string | The job id, e.g. ft-abc123. |
together_create_batch Create a batch job
Start an asynchronous batch job over an uploaded JSONL input file (purpose batch-api), at a discount to real-time inference. Together: POST /batches.
| Parameter | Type | Description |
|---|---|---|
endpoint * | string | The API each line of the input file is sent to. |
input_file_id * | string | File id of the uploaded JSONL request file. |
completion_window | string | Time window for completion, e.g. 24h. |
model_id | string | Model to process the requests with. |
priority | integer | Processing priority. |
together_cancel_batch Cancel a batch job
Cancel a batch job that has not finished. Together: POST /batches/{id}/cancel.
| Parameter | Type | Description |
|---|---|---|
batch_id * | string | The batch job id. |
together_create_endpoint Create a dedicated endpoint
Deploy a model on dedicated GPUs. The endpoint STARTS AUTOMATICALLY and bills per minute of uptime until stopped — set inactive_timeout to auto-stop it, and use together_list_hardware for valid hardware ids. Together: POST /endpoints.
| Parameter | Type | Description |
|---|---|---|
autoscaling * | object | Replica bounds for autoscaling. |
hardware * | string | Hardware id, e.g. 1x_nvidia_a100_80gb_sxm. |
model * | string | The model to deploy. |
availability_zone | string | Availability zone, e.g. us-central-4b. |
disable_speculative_decoding | boolean | |
display_name | string | Human-readable name. |
inactive_timeout | integer | Minutes of inactivity before auto-stop; 0 disables it. |
state | string | Initial state. Pass STOPPED to create without starting (and without billing). |
together_start_endpoint Start a dedicated endpoint
Start a stopped dedicated endpoint. It bills per minute of uptime until stopped. Reversible with together_stop_endpoint. Together: PATCH /endpoints/{endpointId} with state=STARTED.
| Parameter | Type | Description |
|---|---|---|
endpoint_id * | string | The endpoint id. |
together_stop_endpoint Stop a dedicated endpoint
Stop a running dedicated endpoint, which stops its per-minute billing. Requests to it fail until it is started again. Together: PATCH /endpoints/{endpointId} with state=STOPPED.
| Parameter | Type | Description |
|---|---|---|
endpoint_id * | string | The endpoint id. |