# OpenRouter APIs — Nace.AI: Drex v1.5 (nace-ai/drex-v1.5)

Guide for calling every confirmed OpenRouter API that serves `nace-ai/drex-v1.5`.

Model page: https://openrouter.ai/nace-ai/drex-v1.5
Create an API key: https://openrouter.ai/settings/keys

## Pricing

Standard-variant prices for `nace-ai/drex-v1.5`, per provider, in the unit each provider bills (tokens, images, seconds of video, or characters of audio). Pay-as-you-go with no markup on the provider's price.

- DeepInfra: $0.04/M tokens input, $0/M tokens output

Full price table, including other variants and per-request charges: https://openrouter.ai/nace-ai/drex-v1.5
How OpenRouter prices requests: https://openrouter.ai/pricing

## EU in-region routing

`nace-ai/drex-v1.5` is not currently available through EU in-region routing.

Docs: https://openrouter.ai/docs/guides/features/in-region-routing

## Authentication

Send this header with every request:

- Authorization: Bearer $OPENROUTER_API_KEY

## Decisions API

Get typed choices and scores instead of free text with `nace-ai/drex-v1.5` through OpenRouter's Decisions API.

Docs: https://openrouter.ai/docs/guides/features/decisions

### Endpoint

POST https://openrouter.ai/api/alpha/decisions

Headers:
- Content-Type: application/json

### Request fields (nace-ai/drex-v1.5)

- model: string (required) — `"nace-ai/drex-v1.5"`
- state: string | object | array (required) — the content to evaluate
- questions: object (required) — at least one question, keyed by question ID; each has a `type` (`noul`, `choice` or `score`), `instructions` and `criteria`; see the example and the docs for the full schema

### Response

JSON with one typed result per requested decision. See the docs for the response schema.

### Examples

#### Make a decision

```bash
curl https://openrouter.ai/api/alpha/decisions \
            -H "Content-Type: application/json" \
            -H "Authorization: Bearer $OPENROUTER_API_KEY" \
            -d '{
              "model": "nace-ai/drex-v1.5",
              "state": "Help! My payouts have been failing for 3 days.",
              "questions": {
                "is_urgent": {
                  "type": "noul",
                  "instructions": "Does this message convey urgency?",
                  "criteria": {
                    "true": "Explicitly time-sensitive",
                    "false": "No urgency expressed"
                  }
                },
                "department": {
                  "type": "choice",
                  "instructions": "Which team should handle this?",
                  "criteria": {
                    "billing": "Payments, invoicing, refunds",
                    "technical": "Bugs, outages, integrations",
                    "sales": "Pricing, upgrades, new accounts"
                  }
                },
                "frustration": {
                  "type": "score",
                  "instructions": "How frustrated is the customer?",
                  "criteria": ["Calm", "Frustrated", "Very angry"]
                }
              }
            }'
```

## Errors

Failures return `{"error": {"code": <number>, "message": <string>}}` with the HTTP status:

- 400 — malformed request or an unsupported parameter
- 401 — missing or invalid API key
- 402 — insufficient credits
- 403 — spend limit reached, key disabled, or access blocked
- 404 — unknown model or no provider can serve the request
- 429 — rate limited; retry with backoff
- 502 — the operation failed upstream; failed generations are not billed

---

Canonical version of this document: https://openrouter.ai/nace-ai/drex-v1.5/llms.txt
