---
title: "Get a single provider"
method: GET
path: "/api/v1/providers/:id"
tags: ["Providers"]
---

# Get a single provider

`GET /api/v1/providers/:id`

## Request

- Base URL: `https://modeldb.axiom.co` (the document declares no server; this is the origin it was published from)
- URL: `https://modeldb.axiom.co/api/v1/providers/:id`
- Auth: none declared
- TypeScript: <https://skmtc.dev/axiom/apis/modeldb-api/docs/api/v1/providers/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required: Provider ID

## Query parameters

- `project` string: Comma-separated list of fields to return
- `format` 'json' | 'csv' | 'jsonl': Response format (json or csv)
- `headers` string: Include headers in CSV output (defaults to false, use headers=true to include)
- `fill-with-zeros` string: Replace null values with 0 (true/false, defaults to true)
- `pretty` string: Pretty print JSON output with indentation (presence of parameter enables it)

## Response `200`

Provider models

- object[]
  - `provider_id` string: Provider identifier (e.g., "openai")
  - `provider_name` string: Human-friendly display name
  - `model_id` string: Clean model identifier (e.g., "gpt-4-turbo")
  - `model_name` string: Human-friendly display name
  - `max_input_tokens` number, nullable: Maximum input tokens
  - `max_output_tokens` number, nullable: Maximum output tokens per request
  - `input_cost_per_token` number, nullable: Input cost per token in USD
  - `input_cost_per_million` number, nullable: Input cost per million tokens in USD
  - `output_cost_per_token` number: Output cost per token in USD
  - `output_cost_per_million` number: Output cost per million tokens in USD
  - `cache_read_cost_per_token` number, nullable
  - `cache_read_cost_per_million` number, nullable
  - `cache_write_cost_per_token` number, nullable
  - `cache_write_cost_per_million` number, nullable
  - `supports_function_calling` boolean
  - `supports_vision` boolean
  - `supports_json_mode` boolean
  - `supports_parallel_functions` boolean
  - `model_type` string: Model type (e.g., chat, completion, embedding)
  - `deprecation_date` string, nullable: Date when the model becomes deprecated (YYYY-MM-DD format)

## Other responses

- `404`: Provider not found

---

[API](https://skmtc.dev/axiom/apis/modeldb-api.md) - [All operations](https://skmtc.dev/axiom/apis/modeldb-api/llms.txt) - [OpenAPI document](https://skmtc.dev/axiom/apis/modeldb-api/revisions/86de3f9773eb?raw)
