# OpenRouter APIs — OpenAI: GPT-6 Luna Decisions (openai/gpt-6-luna-decisions)

Guide for calling every confirmed OpenRouter API that serves `openai/gpt-6-luna-decisions`.

Model page: https://openrouter.ai/openai/gpt-6-luna-decisions
Create an API key: https://openrouter.ai/settings/keys

## Pricing

Standard-variant prices for `openai/gpt-6-luna-decisions`, 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.

- OpenAI: $0.10/M tokens input, $0/M tokens output (plus 2 more; see the model page for the full price list)
- Azure: $0.10/M tokens input, $0/M tokens output (plus 2 more; see the model page for the full price list)
- Azure: $0.12/M tokens input, $0/M tokens output (plus 2 more; see the model page for the full price list)

Full price table, including other variants and per-request charges: https://openrouter.ai/openai/gpt-6-luna-decisions
How OpenRouter prices requests: https://openrouter.ai/pricing

## EU in-region routing

`openai/gpt-6-luna-decisions` is available through EU in-region routing. Requests sent to eu.openrouter.ai are decrypted in the EU and routed only to shared provider endpoints in Europe (the EU/EEA, the UK, and Switzerland).

- Providers in Europe: Azure
- Prices in Europe:
  - Azure: $0.12/M tokens input, $0/M tokens output
- Base URL: https://eu.openrouter.ai/api/v1
- Plan: requires Business or Enterprise. Self-serve on Business: no contract, no monthly minimum. https://openrouter.ai/business/eu
- Fails closed: if no shared provider endpoint in Europe is available, the request errors instead of leaving the region. Requests served by your own BYOK key go to your deployment’s region, which you control.

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 `openai/gpt-6-luna-decisions` 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 (openai/gpt-6-luna-decisions)

- model: string (required) — `"openai/gpt-6-luna-decisions"`
- 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
IMAGE_BASE64=$(base64 < image.png | tr -d '\n')
          
          curl https://openrouter.ai/api/alpha/decisions \
            -H "Content-Type: application/json" \
            -H "Authorization: Bearer $OPENROUTER_API_KEY" \
            -d '{
              "model": "openai/gpt-6-luna-decisions",
              "state": [
                "Listing: vintage red bicycle, light scratches on the frame",
                {"type": "image_url", "image_url": {"url": "data:image/png;base64,'"$IMAGE_BASE64"'"}}
              ],
              "questions": {
                "matches_listing": {
                  "type": "noul",
                  "instructions": "Does the attached media show the listed item?",
                  "criteria": {
                    "true": "The listed item is shown",
                    "false": "Something else or nothing is shown"
                  }
                },
                "category": {
                  "type": "choice",
                  "instructions": "Which category fits this listing?",
                  "criteria": {
                    "bikes": "Complete bicycles",
                    "parts": "Components and accessories",
                    "apparel": "Clothing and gear"
                  }
                },
                "condition": {
                  "type": "score",
                  "instructions": "How worn is the item?",
                  "criteria": ["Like new", "Light wear", "Heavy wear"]
                }
              }
            }'
```

## 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/openai/gpt-6-luna-decisions/llms.txt
