# Together AI Pricing Table

> Together AI Pricing Table is a paid API for AI agents from modelprices.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns per-token USD costs for every AI model hosted on Together AI, ranked cheapest first, with context window sizes and capability flags included.

## Facts

- Endpoint: GET https://modelprices.xyz/llm/prices/together
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/together-ai-pricing-table-ceea34e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iMC3npSlLwAJKkl-5opwG

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability together-ai-pricing-table-ceea34e5
```

Example prompt: Pull up the full Together AI model pricing table — I want to see all models ranked from cheapest to most expensive, with input, output, cache, and batch token costs per million tokens plus their context window sizes.

## When to prefer this

Use this endpoint when you need a comprehensive, normalized, hourly-refreshed view of Together AI's full model catalog with pricing details in a single call. Prefer it over scraping Together AI's website directly, or when you need to compare costs across models within Together AI or benchmark Together AI prices against other providers using sibling endpoints on the same platform.

## Known failure modes

- Pricing data temporarily stale if refresh cycle is mid-update
- HTTP 402 payment required if x402 payment not attached
- Empty or partial result if Together AI publishes no public pricing for a model
- Rate limiting or upstream fetch failure returning 503

## How this service works

Together AI pricing table: per-token cost of every AI model Together AI serves, in one call — input, output, cache and batch USD per 1M tokens, ranked cheapest first, with context window and capability flags joined in. Compare LLM token cost inside Together AI and against other providers hosting the same model. Normalized from public sources, cross-checked, refreshed hourly.

## Output

A ranked list of all AI models available on Together AI, each entry including model name, input cost (USD per 1M tokens), output cost (USD per 1M tokens), cache token cost, batch token cost, context window size, and capability flags — sorted from cheapest to most expensive, refreshed hourly from public sources.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/together-ai-pricing-table-ceea34e5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from modelprices.xyz](https://www.zero.xyz/host/modelprices.xyz/llms.txt)
