---
title: "Pydantic AI - Dashboard builder"
description: "A request for a dashboard, built by choosing how to show each metric, the layout, the period and the filters. One of the Decision models benchmarks; not part of the intelligence index."
canonical: https://pydantic.dev/models/benchmarks/ui_compose/
---

# Pydantic AI - Dashboard builder

> A request for a dashboard, built by choosing how to show each metric, the layout, the period and the filters. One of the Decision models benchmarks; not part of the intelligence index.
>
> Markdown copy of [https://pydantic.dev/models/benchmarks/ui_compose/](https://pydantic.dev/models/benchmarks/ui_compose/). Index for agents: [llms.txt](https://pydantic.dev/models/llms.txt)

**Agents: use the API for model information.** It answers a question in one request, where the pages need several.

- Choose a model for an agent: `GET https://pydantic.dev/models/api/select?description=<what the agent does>`. It returns up to five ranked models with reasons; POST a JSON body instead to send code. Format: [select.md](https://pydantic.dev/models/select.md)
- Search models by name: `GET https://pydantic.dev/models/api/search?query=<text>`
- List, filter and sort models: `GET https://pydantic.dev/models/api/models`, for example `?weights=open&max_price=2&sort=efficiency`
- One model in full: `GET https://pydantic.dev/models/api/models/<slug>`
- Any other question about the models: `GET https://pydantic.dev/models/api/ask?query=<question>`

Add `intent=<intent>&stack=<stack>&harness=<harness>` to the query string of all but the single model. An `OPTIONS` request to any endpoint returns its schema. The same five are tools of the MCP server at `https://pydantic.dev/models/mcp`. More: [usage.md](https://pydantic.dev/models/usage.md)

Dashboard builder measures how well a model turns a user's request for a dashboard into the dashboard, by answering typed questions: how to show each of six metrics, the layout, the period, the filters and a few switches.

- **Created by:** [Pydantic](https://pydantic.dev)
- **All Pydantic AI decision benchmarks:** [/models/benchmarks/pydantic_ai_decision/](/models/benchmarks/pydantic_ai_decision/)
- **Decision models:** [/models/list/?kind=decision](/models/list/?kind=decision)
- **Scores from:** [Pydantic (CC BY 4.0)](/models/benchmarks/ui_compose/), results updated 2026-12-04

## Description

It follows [json-render](https://github.com/vercel-labs/json-render), where a model writes a JSON spec held to a catalogue of components.
A decision model writes no text, so the application supplies every element already configured and the model only chooses between them; the choices are then turned into a json-render spec.
The 40 requests are generated from a fixed seed, 8 in each of 5 tiers, from requests that name each choice to ones that take choices back or leave them to be worked out.

A case passes only when every choice is right.

### Caveats

- The benchmark is at its ceiling: five decision models and all four language models score 95 or more. It will be made harder.
- The requests are synthetic.
- 40 cases, one run each, so the score moves by 2.5 points per case.
- Decision models were called on their vendor's own API where we have a key, and otherwise on OpenRouter's decisions endpoint, whose time is then part of the model time shown.

## Results

The best result per model, with the reasoning setting it was run at where the source gives one. Blended price is US dollars per million tokens, three input to one output, from the provider the model's page leads with.

| Rank | Model                                                                                | Setting | Score  | Cost per case | Model time per case | Blended price |
| ---- | ------------------------------------------------------------------------------------ | ------- | ------ | ------------- | ------------------- | ------------- |
| 1    | [Gemini 3.8 Flash](https://pydantic.dev/models/list/gemini-3.8-flash.md)             | –       | 100.0% | $0.0062       | 11.2 s              | $1.5          |
| 1    | [d1.2-ultra](https://pydantic.dev/models/list/liquid-d1.2-ultra.md)                  | –       | 100.0% | $0.00019      | 0.4 s               | $0.032        |
| 1    | [Decider V1.2](https://pydantic.dev/models/list/pplx-decider-v1.2.md)                | –       | 100.0% | $0.000086     | 0.6 s               | $0.015        |
| 4    | [DeepSeek V4.1 Flash](https://pydantic.dev/models/list/deepseek-v4.1-flash.md)       | –       | 97.5%  | $0.00070      | 7.1 s               | $0.26         |
| 4    | [d1.3-ultra](https://pydantic.dev/models/list/liquid-d1.3-ultra.md)                  | –       | 97.5%  | $0.00019      | 0.4 s               | $0.032        |
| 4    | [Decider V1.3](https://pydantic.dev/models/list/pplx-decider-v1.3.md)                | –       | 97.5%  | $0.00         | 1.1 s               | $0.015        |
| 7    | [Claude Haiku 5.5](https://pydantic.dev/models/list/claude-haiku-5.5.md)             | –       | 95.0%  | $0.00029      | 2.0 s               | $0.2          |
| 7    | [GPT-6 Luna](https://pydantic.dev/models/list/gpt-6-luna.md)                         | –       | 95.0%  | $0.00024      | 2.5 s               | $0.2          |
| 9    | [Gemini Decision 1](https://pydantic.dev/models/list/gemini-decision-1.md)           | –       | 82.5%  | $0.00046      | 0.5 s               | $0.075        |
| 9    | [d1.2](https://pydantic.dev/models/list/liquid-d1.2.md)                              | –       | 82.5%  | $0.000089     | 0.3 s               | $0.015        |
| 11   | [Clef](https://pydantic.dev/models/list/clef.md)                                     | –       | 80.0%  | $0.0012       | 3.6 s               | $0.18         |
| 12   | [Jev 1.13](https://pydantic.dev/models/list/jev-1.13.md)                             | –       | 75.0%  | $0.00019      | 0.2 s               | $0.032        |
| 13   | [Jev 1.14](https://pydantic.dev/models/list/jev-1.14.md)                             | –       | 72.5%  | $0.00019      | 0.2 s               | $0.032        |
| 14   | [GPT-6 Luna Decisions](https://pydantic.dev/models/list/gpt-6-luna-decisions.md)     | –       | 65.0%  | $0.00060      | 0.6 s               | $0.075        |
| 15   | [Microsoft-Decision-1.1](https://pydantic.dev/models/list/microsoft-decision-1.1.md) | –       | 62.5%  | $0.00017      | 0.4 s               | $0.032        |
| 16   | [Clef-flash](https://pydantic.dev/models/list/clef-flash.md)                         | –       | 50.0%  | $0.00019      | 0.6 s               | $0.029        |
| 17   | [Clef Omni](https://pydantic.dev/models/list/clef-omni.md)                           | –       | 35.0%  | $0.00077      | 0.4 s               | $0.11         |
| 18   | [Decider Flash V1.2](https://pydantic.dev/models/list/pplx-decider-flash-v1.2.md)    | –       | 27.5%  | $0.000043     | 0.4 s               | $0.007        |
| 18   | [Decider Flash V1.3](https://pydantic.dev/models/list/pplx-decider-flash-v1.3.md)    | –       | 27.5%  | $0.00         | 0.3 s               | $0.007        |
