# Anthropic & LLM Token Pricing Registry

**Use case:** 

Access live per-token pricing and context window limits specifically for Anthropic models. This task retrieves detailed data on 1M-token rates and capabilities, helping you understand the associated costs and options for usage. Perfect for AI tool directories and developers looking for precise pricing information.

## Input

```json
{
  "provider": "anthropic",
  "query": "",
  "mode": "chat",
  "maxItems": 50
}
```

## Output

```json
{
  "model": {
    "label": "model",
    "format": "string"
  },
  "provider": {
    "label": "provider",
    "format": "string"
  },
  "mode": {
    "label": "mode",
    "format": "string"
  },
  "maxTokens": {
    "label": "maxTokens",
    "format": "string"
  },
  "maxInputTokens": {
    "label": "maxInputTokens",
    "format": "string"
  },
  "maxOutputTokens": {
    "label": "maxOutputTokens",
    "format": "string"
  },
  "inputCostPerToken": {
    "label": "inputCostPerToken",
    "format": "string"
  },
  "outputCostPerToken": {
    "label": "outputCostPerToken",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The LiteLLM AI Model Pricing & Context Window API Actor is ready to run with the inputs already set for "Anthropic & LLM Token Pricing Registry". [Sign up or log in](https://console.apify.com/create-task-from-example/zabZHXVn6IupuIRgc) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Anthropic & LLM Token Pricing Registry" task

The LiteLLM AI Model Pricing & Context Window API Actor will start running based on the input automatically. You can also change all the input fields, like provider filter, model mode, and more, to match your specific use case.

### 3. Receive the "Anthropic & LLM Token Pricing Registry" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as model, provider, mode, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Anthropic & LLM Token Pricing Registry" task via API](https://apify.com/mehdad-datalabs/litellm-ai-model-pricing-context-api.md).

## FAQ

### What specific data does the Anthropic & LLM Token Pricing Registry task return?

The Anthropic & LLM Token Pricing Registry task returns live per-token pricing, 1M-token rates, and context window limits for Anthropic models.

### What is the input required for this task?

The task requires the input specifying the provider as 'anthropic', the mode as 'chat', and a maximum of 50 items.

### What are the benefits of using this task?

The task is beneficial for AI tool directories, developers, and B2B outbound sales teams needing accurate pricing information for Anthropic models.

### Can I automate the running of this task?

Yes, this task can be automated via the Apify API and integrated into workflows using tools like n8n or Clay.

### What is the cost structure for this task?

The cost follows Apify's usage-based pricing model, with specific charges for task runs and extracted records.

## About this Actor

This example demonstrates how to use [LiteLLM AI Model Pricing & Context Window API](https://apify.com/mehdad-datalabs/litellm-ai-model-pricing-context-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/mehdad-datalabs/litellm-ai-model-pricing-context-api.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/mehdad-datalabs/litellm-ai-model-pricing-context-api.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
