---
title: llm-openai-decisions 0.1a0
link: https://simonwillison.net/2026/Oct/6/llm-openai-decisions/
source: simonwillison-net
published: 2026-10-06T23:04:13Z
updated: 2026-10-06T23:04:13Z
first_seen: 2026-10-07T05:44:45.801061649Z
labels:
- coding-agents
- jev
- llm
- openai
summary: 'Release: llm-openai-decisions 0.1a0 OpenAI released their new Jev-style Decisions API, as previously announced at last week''s DevDay. Since I already have an llm-typesafe plugin for talking to Jev, I had GPT-6 Astra read the new OpenAI API documentation and build an llm-openai-decisions plugin inspired by llm-typesafe. Unlike Jev, the new gpt-6-luna decision model supports image input in addition to text. Both models charge for input it and not for output: OpenAI''s is 10 cents per million input tokens, Jev''s is 4.2 cents per million. Otherwise the API shape is very similar to Jev, at least conceptually. Jev supports three question types for yes/no, choices, or scores. OpenAI Decisions supports the same three types. Install the plugin like this: llm install llm-openai-decisions Here''s an example query against an image attachment: llm -m openai-decisions/gpt-6-luna \ -a https://static.simonwillison.net/static/2025/two-pelicans.jpg \ -s ''Does this image contain any mammals?'' And example output: {"type": "predicate", "name": "evaluation", "probability": 0.0} Consult the README for full details of how to run the other types of questions. Tags: openai, llm, coding-agents, jev'
content: extracted
html: 2026-10-06-llm-openai-decisions-0-1a0.html
---

OpenAI released their new Jev-style [Decisions API](https://developers.openai.com/api/docs/guides/decisions), as previously announced at last week's DevDay.

Since I already have an [llm-typesafe](https://github.com/simonw/llm-typesafe) plugin for talking to Jev, I had GPT-6 Astra read the new OpenAI API documentation and build an `llm-openai-decisions` plugin inspired by `llm-typesafe`.

Unlike Jev, the new `gpt-6-luna` decision model supports image input in addition to text. Both models charge for input it and not for output: OpenAI's is 10 cents per million input tokens, Jev's is 4.2 cents per million.

Otherwise the API shape is *very* similar to Jev, at least conceptually. Jev [supports three question types](https://simonwillison.net/2026/Sep/21/jev/#three-types) for yes/no, choices, or scores. OpenAI Decisions supports the same three types.

Install the plugin like this:

```
llm install llm-openai-decisions
```

Here's an example query against an image attachment:

```shell
llm -m openai-decisions/gpt-6-luna \
  -a https://static.simonwillison.net/static/2025/two-pelicans.jpg \
  -s 'Does this image contain any mammals?'
```

And example output:

```json
{"type": "predicate", "name": "evaluation", "probability": 0.0}
```

Consult [the README](https://github.com/simonw/llm-openai-decisions/blob/main/README.md) for full details of how to run the other types of questions.
