Providers

Get a single provider

get/api/v1/providers/:id

Request

Path parameters

idstring required

Provider ID

Query parameters

projectstring

Comma-separated list of fields to return

format'json' | 'csv' | 'jsonl'

Response format (json or csv)

headersstring

Include headers in CSV output (defaults to false, use headers=true to include)

fill-with-zerosstring

Replace null values with 0 (true/false, defaults to true)

prettystring

Pretty print JSON output with indentation (presence of parameter enables it)

Response

Provider models

provider_idstring

Provider identifier (e.g., "openai")

provider_namestring

Human-friendly display name

model_idstring

Clean model identifier (e.g., "gpt-4-turbo")

model_namestring

Human-friendly display name

max_input_tokensnumber nullable

Maximum input tokens

max_output_tokensnumber nullable

Maximum output tokens per request

input_cost_per_tokennumber nullable

Input cost per token in USD

input_cost_per_millionnumber nullable

Input cost per million tokens in USD

output_cost_per_tokennumber

Output cost per token in USD

output_cost_per_millionnumber

Output cost per million tokens in USD

cache_read_cost_per_tokennumber nullable
cache_read_cost_per_millionnumber nullable
cache_write_cost_per_tokennumber nullable
cache_write_cost_per_millionnumber nullable
supports_function_callingboolean
supports_visionboolean
supports_json_modeboolean
supports_parallel_functionsboolean
model_typestring

Model type (e.g., chat, completion, embedding)

deprecation_datestring nullable

Date when the model becomes deprecated (YYYY-MM-DD format)

Changes

No recorded changes to this operation across all 1 revision of this API.