> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Chat Completions text generation model (openrouter/chat-completions): where to run it and pricing

> Chat Completions is a text generation model from OpenRouter. Run it with Comfy Router; templates, files, nodes, and pricing.

Model ID: openrouter/chat-completions
Provider: openrouter
Product: router
Input: text, image
Output: text
License: closed

Chat Completions is a text generation model from OpenRouter. It takes text and image as input and produces text. It has no open weights. It runs on OpenRouter's servers, so you use it through Comfy Router.

## Where you can run it

| Where | Page | Use it when |
| - | - | - |
| Comfy Router (API) | [Chat Completions with Comfy Router](https://docs.comfy.org/development/comfy-router/models/openrouter/chat-completions/code.md) | You call `openrouter/chat-completions` from your own code with `COMFY_API_KEY` |

## Call it with Comfy Router

* `POST https://api.comfy.org/v2/models/openrouter/chat-completions`. Live request schema: `GET /v2/models/openrouter/chat-completions/openapi.json`.

## Pricing

Comfy Router charges the model maker's list price, billed from your workspace credits (211 credits = \$1 USD). Current per-model prices are on [router.comfy.org](https://router.comfy.org).

* Price a call before you run it: `POST https://api.comfy.org/v2/models/openrouter/chat-completions/estimate`.
* Billing facts, such as whether a refused request is charged: the `billing` field from `GET https://api.comfy.org/v2/models/openrouter/chat-completions`.

See [Comfy Router pricing](https://docs.comfy.org/development/comfy-router/pricing.md) and [Billing](https://docs.comfy.org/development/comfy-router/billing.md#model-billing-facts).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.