---
title: "Pydantic AI Geo Analyst"
description: "Spatial questions and SVG maps from raw earthquake, fire and place data in DuckDB. One of the Pydantic AI benchmarks; not part of the intelligence index."
canonical: https://models.pydantic.dev/benchmarks/geo_analyst/
---

# Pydantic AI Geo Analyst

> Spatial questions and SVG maps from raw earthquake, fire and place data in DuckDB. One of the Pydantic AI benchmarks; not part of the intelligence index.
>
> Markdown copy of https://models.pydantic.dev/benchmarks/geo_analyst/. Index for agents: https://models.pydantic.dev/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: `POST https://models.pydantic.dev/api/select` with a JSON body such as `{"description": "what the agent does"}`. It returns up to five ranked models with reasons. Format: https://models.pydantic.dev/select.md
- Search models by name: `GET https://models.pydantic.dev/api/search?query=<text>`
- List, filter and sort models: `GET https://models.pydantic.dev/api/models`, for example `?weights=open&max_price=2&sort=efficiency`
- One model in full: `GET https://models.pydantic.dev/api/models/<slug>`

Add `intent=<intent>&stack=<stack>&harness=<harness>` to the query string of the first three. An `OPTIONS` request to any endpoint returns its schema. The same four are tools of the MCP server at `https://models.pydantic.dev/mcp`. More: https://models.pydantic.dev/usage.md

Pydantic AI Geo Analyst measures how well an agent answers spatial questions from raw data.
The agent gets a read-only directory of raw files and a data dictionary, and loads what it needs into DuckDB.
The data is real: earthquakes from USGS and GFZ GEOFON, fire detections from NASA FIRMS, places from GeoNames and boundaries from Natural Earth, from October and November 2026, after the tested models' training cutoffs.

Eight of the 10 cases are questions, such as counting earthquakes within a distance of a town or fires inside a region, checked against reference queries with tolerances.
Two ask for an SVG map: Chrome renders it, and every marked feature must be within 2 pixels of where it belongs.

In code mode the data is mounted read-only in the sandbox and SQL is the only tool; with tool calling the agent also has tools to list and read files.

- **Created by:** [Pydantic](https://pydantic.dev)
- **USGS earthquake feeds:** https://earthquake.usgs.gov/earthquakes/feed/
- **NASA FIRMS:** https://firms.modaps.eosdis.nasa.gov
- **GeoNames:** https://www.geonames.org
- **All Pydantic AI benchmarks:** /benchmarks/pydantic_ai/
- **Scores from:** Pydantic (CC BY 4.0) (/benchmarks/geo_analyst/), results updated 2026-11-26

## Caveats

- Near saturation: in our runs every case was passed in at least 31 of 40 runs.
- 10 cases, one run each, so the score moves by 10 points per case.

## 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  | Code mode | Cost per run | Cost per run, code mode | Blended price |
| ---- | -------------------------------------------------------------------------------- | ------- | ------ | --------- | ------------ | ----------------------- | ------------- |
| 1    | [Claude Fable 5.2](https://models.pydantic.dev/models/claude-fable-5.2.md)       | –       | 100.0% | 100.0%    | $0.27        | $0.21                   | $16           |
| 1    | [Claude Opus 5.5](https://models.pydantic.dev/models/claude-opus-5.5.md)         | –       | 100.0% | 100.0%    | $0.11        | $0.076                  | $8            |
| 1    | [Gemini 4 Argon](https://models.pydantic.dev/models/gemini-4-argon.md)           | –       | 100.0% | 100.0%    | $0.12        | $0.084                  | $4            |
| 1    | [Gemini 4 Carbon](https://models.pydantic.dev/models/gemini-4-carbon.md)         | –       | 100.0% | 100.0%    | $0.23        | $0.17                   | $4            |
| 1    | [Gemini 4 Hydrogen](https://models.pydantic.dev/models/gemini-4-hydrogen.md)     | –       | 100.0% | 100.0%    | $0.15        | $0.12                   | $3            |
| 1    | [Gemini 4 Neon](https://models.pydantic.dev/models/gemini-4-neon.md)             | –       | 100.0% | 100.0%    | $0.42        | $0.30                   | $6            |
| 1    | [GPT-6 Luna](https://models.pydantic.dev/models/gpt-6-luna.md)                   | –       | 100.0% | 90.0%     | $0.0059      | $0.0039                 | $0.2          |
| 1    | [GPT-6.1 Sol](https://models.pydantic.dev/models/gpt-6.1-sol.md)                 | –       | 100.0% | 100.0%    | $0.040       | $0.025                  | $4            |
| 1    | [GPT-6.1 Terra](https://models.pydantic.dev/models/gpt-6.1-terra.md)             | –       | 100.0% | 100.0%    | $0.024       | $0.020                  | $2            |
| 1    | [GPT-6.2 Astra](https://models.pydantic.dev/models/gpt-6.2-astra.md)             | –       | 100.0% | 100.0%    | $0.11        | $0.083                  | $16           |
| 1    | [Kimi K3.1 Pro](https://models.pydantic.dev/models/kimi-k3.1-pro.md)             | –       | 100.0% | 100.0%    | $0.13        | $0.13                   | $4            |
| 12   | [Claude Sonnet 5.5](https://models.pydantic.dev/models/claude-sonnet-5.5.md)     | –       | 90.0%  | 100.0%    | $0.056       | $0.035                  | $4            |
| 12   | [GLM 5.3](https://models.pydantic.dev/models/glm-5.3.md)                         | –       | 90.0%  | 100.0%    | $0.29        | $0.33                   | $2.15         |
| 12   | [GPT-6.2 Sol](https://models.pydantic.dev/models/gpt-6.2-sol.md)                 | –       | 90.0%  | 100.0%    | $0.037       | $0.025                  | $4            |
| 15   | [DeepSeek V4 Pro 0423](https://models.pydantic.dev/models/deepseek-v4-pro.md)    | –       | 80.0%  | 80.0%     | $0.20        | $0.17                   | $2.17         |
| 15   | [Gemini 3.8 Flash](https://models.pydantic.dev/models/gemini-3.8-flash.md)       | –       | 80.0%  | 100.0%    | $0.22        | $0.18                   | $1.5          |
| 17   | [Claude Haiku 5.5](https://models.pydantic.dev/models/claude-haiku-5.5.md)       | –       | 70.0%  | 80.0%     | $0.0048      | $0.0034                 | $0.2          |
| 17   | [GLM 5.3 Flash](https://models.pydantic.dev/models/glm-5.3-flash.md)             | –       | 70.0%  | 30.0%     | $0.056       | $0.0086                 | $0.24         |
| 19   | [DeepSeek V4.1 Flash](https://models.pydantic.dev/models/deepseek-v4.1-flash.md) | –       | 60.0%  | 80.0%     | $0.011       | $0.0094                 | $0.26         |
| 19   | [Qwen3.8 27B](https://models.pydantic.dev/models/qwen3.8-27b.md)                 | –       | 60.0%  | 20.0%     | $0.16        | $0.036                  | $1.09         |
