# Current LLM API prices across seven providers

**Use case:** 

Reads the official pricing pages of OpenAI, Anthropic, Google Gemini, Mistral, Groq, Together AI and DeepSeek and returns one row per current model with input, output, cache and batch prices normalised to USD per million tokens, plus context window, max output and source URL. Legacy and deprecated models are left out. Schedule it to log price changes.

## Input

```json
{
  "providers": [],
  "includeLegacyModels": false,
  "useProxy": false
}
```

## Output

```json
{
  "provider": {
    "label": "Provider"
  },
  "model_id": {
    "label": "Model"
  },
  "input_usd_per_1m": {
    "label": "Input $/1M"
  },
  "output_usd_per_1m": {
    "label": "Output $/1M"
  },
  "context_window_tokens": {
    "label": "Context"
  },
  "scraped_at": {
    "label": "Scraped at"
  }
}
```

## How it works

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

The LLM API Pricing Monitor Actor is ready to run with the inputs already set for "Current LLM API prices across seven providers". [Sign up or log in](https://console.apify.com/create-task-from-example/327OJh8Raxc5JJVTS) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Current LLM API prices across seven providers" task

The LLM API Pricing Monitor Actor will start running based on the input automatically. You can also change all the input fields, like providers, include legacy models, and more, to match your specific use case.

### 3. Receive the "Current LLM API prices across seven providers" 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 provider, model, input $/1m, 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 "Current LLM API prices across seven providers" task via API](https://apify.com/devilscrapes/llm-pricing-monitor.md).

## About this Actor

This example demonstrates how to use [LLM API Pricing Monitor](https://apify.com/devilscrapes/llm-pricing-monitor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/devilscrapes/llm-pricing-monitor.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/devilscrapes/llm-pricing-monitor.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`).
