> For the complete documentation index, see [llms.txt](https://docs.fastrouter.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastrouter.ai/api-reference/models-x-provider-breakdown.md).

# Models x Provider Breakdown

## Get Model with Provider Breakdown

> Returns the same model object as \*\*GET /api/v1/models\*\* for a single model \*\*plus\*\* a \`provider\_data\` array showing every provider that serves this model, with each provider's own \`provider\_model\_id\`, pricing, supported parameters (and their per-provider schemas via \`supported\_parameters\_v2\`), and provider-specific capabilities.\
> \
> Use this to figure out:\
> \- which providers serve a given model,\
> \- how a provider exposes the model (its \`provider\_model\_id\`, pricing, what parameters it accepts).

```json
{"openapi":"3.1.0","info":{"title":"FastRouter API Reference","version":"1.0.0"},"tags":[{"name":"Models","description":"List and retrieve available AI models with pricing and capability information."}],"servers":[{"url":"https://api.fastrouter.ai","description":"Production API"}],"security":[],"paths":{"/api/v1/modelProviderData":{"get":{"operationId":"getModelProviderData","tags":["Models"],"summary":"Get Model with Provider Breakdown","description":"Returns the same model object as **GET /api/v1/models** for a single model **plus** a `provider_data` array showing every provider that serves this model, with each provider's own `provider_model_id`, pricing, supported parameters (and their per-provider schemas via `supported_parameters_v2`), and provider-specific capabilities.\n\nUse this to figure out:\n- which providers serve a given model,\n- how a provider exposes the model (its `provider_model_id`, pricing, what parameters it accepts).","parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"The model ID in `provider/model` format."}],"responses":{"200":{"description":"Model details with per-provider breakdown","content":{"application/json":{"schema":{"type":"object","description":"Same shape as a single item from GET /api/v1/models, with an extra `provider_data` array.","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"created":{"type":"integer"},"context_length":{"type":"integer"},"architecture":{"type":"object","properties":{"modality":{"type":"string"},"input_modalities":{"type":"array","items":{"type":"string"}},"output_modalities":{"type":"array","items":{"type":"string"}},"tokenizer":{"type":"string"}}},"pricing":{"type":"object","description":"Aggregated/display pricing (see GET /api/v1/models for the full list of pricing fields)."},"top_provider":{"type":"object","properties":{"context_length":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"is_moderated":{"type":"boolean"}}},"provider_data":{"type":"array","description":"One entry per provider that serves this model. Same item shape as GET /api/v1/providerModels.","items":{"$ref":"#/components/schemas/ProviderModelEntry"}},"supported_parameters":{"type":"array","items":{"type":"string"},"description":"Aggregated supported parameters across providers."},"models_extra_params":{"type":"object","properties":{"category":{"type":"array","items":{"type":"string"}}}},"is_active":{"type":"boolean"},"creator":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/BadRequestError"},"404":{"description":"Model not found"},"429":{"$ref":"#/components/responses/RateLimitError"},"500":{"description":"Internal Server Error"}}}}},"components":{"schemas":{},"responses":{"BadRequestError":{"description":"Bad Request - The request is malformed. This could be due to missing parameters, invalid formats, or routing errors.\n\n**Note:** the 400 body shape is not uniform. Validation errors return the structured object below, but routing/model errors may instead return a plain string: `{ \"error\": \"<message>\" }`. A few endpoints (e.g. some file operations) may return a plain-text body rather than JSON.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Structured validation error.","properties":{"error":{"type":"object","properties":{"message":{"type":"string"},"type":{"type":"string"},"code":{"type":"string"}}}}},{"type":"object","description":"Plain-string routing/model error.","properties":{"error":{"type":"string"}}}]}}}},"RateLimitError":{"description":"Rate Limited - You have exceeded your request limits (TPM/RPM). Slow down or increase your limits.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string"},"type":{"type":"string"},"code":{"type":"string"},"status":{"type":"integer"}}}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.fastrouter.ai/api-reference/models-x-provider-breakdown.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
