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