> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ModelResponse

Single model response

## Example Usage

```typescript theme={null}
import { ModelResponse } from "@openrouter/sdk/models";

let value: ModelResponse = {
  data: {
    architecture: {
      inputModalities: [
        "text",
      ],
      modality: "text->text",
      outputModalities: [
        "text",
      ],
    },
    canonicalSlug: "openai/gpt-4",
    contextLength: 8192,
    created: 1692901234,
    defaultParameters: null,
    id: "openai/gpt-4",
    links: {
      details: "/api/v1/models/openai/gpt-4/endpoints",
    },
    name: "GPT-4",
    perRequestLimits: null,
    pricing: {
      completion: "0.00006",
      prompt: "0.00003",
    },
    supportedParameters: [
      "temperature",
      "top_p",
      "max_tokens",
    ],
    supportedVoices: null,
    topProvider: {
      isModerated: true,
    },
  },
};
```

## Fields

| Field  | Type                                | Required             | Description                                           | Example                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------ | ----------------------------------- | -------------------- | ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `data` | [models.Model](../models/model.mdx) | :heavy\_check\_mark: | Information about an AI model available on OpenRouter | \{<br />"architecture": \{<br />"input\_modalities": \[<br />"text"<br />],<br />"instruct\_type": "chatml",<br />"modality": "text-\u003etext",<br />"output\_modalities": \[<br />"text"<br />],<br />"tokenizer": "GPT"<br />},<br />"canonical\_slug": "openai/gpt-4",<br />"context\_length": 8192,<br />"created": 1692901234,<br />"default\_parameters": null,<br />"description": "GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.",<br />"expiration\_date": null,<br />"id": "openai/gpt-4",<br />"knowledge\_cutoff": null,<br />"links": \{<br />"details": "/api/v1/models/openai/gpt-5.4/endpoints"<br />},<br />"name": "GPT-4",<br />"per\_request\_limits": null,<br />"pricing": \{<br />"completion": "0.00006",<br />"image": "0",<br />"prompt": "0.00003",<br />"request": "0"<br />},<br />"reasoning": \{<br />"default\_effort": "medium",<br />"default\_enabled": true,<br />"mandatory": false,<br />"supported\_efforts": \[<br />"high",<br />"medium",<br />"low",<br />"minimal"<br />]<br />},<br />"supported\_parameters": \[<br />"temperature",<br />"top\_p",<br />"max\_tokens"<br />],<br />"supported\_voices": null,<br />"top\_provider": \{<br />"context\_length": 8192,<br />"is\_moderated": true,<br />"max\_completion\_tokens": 4096<br />}<br />} |
