# Models

## List Available Models

> Returns a list of 300+ available AI models with pricing, capabilities, context lengths, and provider information. No authentication required.

```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/models":{"get":{"operationId":"listModels","tags":["Models"],"summary":"List Available Models","description":"Returns a list of 300+ available AI models with pricing, capabilities, context lengths, and provider information. No authentication required.","parameters":[],"responses":{"200":{"description":"List of all available models","content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string","description":"Object type, always 'list'"},"data":{"type":"array","description":"Array of model objects","items":{"type":"object","properties":{"id":{"type":"string","description":"Model ID in provider/model format"},"name":{"type":"string","description":"Human-readable model name"},"object":{"type":"string","description":"Object type"},"created":{"type":"integer","description":"Unix timestamp of model creation/addition"},"owned_by":{"type":"string","description":"Provider/owner of the model"},"context_length":{"type":"integer","description":"Maximum context window size in tokens"},"max_completion_tokens":{"type":"integer","description":"Maximum tokens that can be generated"},"pricing":{"type":"object","description":"Pricing information","properties":{"prompt":{"type":"string","description":"Cost per prompt token (in USD)"},"completion":{"type":"string","description":"Cost per completion token (in USD)"},"image":{"type":"string","description":"Cost per image (if applicable)"},"request":{"type":"string","description":"Cost per request (if applicable)"}}},"architecture":{"type":"object","description":"Model architecture details","properties":{"modality":{"type":"string","description":"Supported modalities (text, image, audio, video, etc.)"},"tokenizer":{"type":"string","description":"Tokenizer used by the model"},"instruct_type":{"type":"string","description":"Instruction format type"}}},"top_provider":{"type":"object","description":"Information about the model's provider"},"per_request_limits":{"type":"object","description":"Request limits and constraints"}}}}}}}}},"429":{"$ref":"#/components/responses/RateLimitError"},"500":{"description":"Internal Server Error"}}}}},"components":{"responses":{"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: 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:

```
GET https://docs.fastrouter.ai/api-reference/models.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
