> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-5b6e02fd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Model - Go SDK

> Model type definition

<Warning>
  The Go SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/go-sdk/issues).
</Warning>

Information about an AI model available on OpenRouter

## Fields

| Field                 | Type                                                                                     | Required             | Description                                                                                                | Example                                                                                                                                   |
| --------------------- | ---------------------------------------------------------------------------------------- | -------------------- | ---------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| `Architecture`        | [components.ModelArchitecture](/client-sdks/go/api-reference/models/modelarchitecture)   | :heavy\_check\_mark: | Model architecture information                                                                             | `{"input_modalities": ["text"],"instruct_type": "chatml","modality": "text-\u003etext","output_modalities": ["text"],"tokenizer": "GPT"}` |
| `CanonicalSlug`       | `string`                                                                                 | :heavy\_check\_mark: | Canonical slug for the model                                                                               | openai/gpt-4                                                                                                                              |
| `ContextLength`       | `*int64`                                                                                 | :heavy\_check\_mark: | Maximum context length in tokens                                                                           | 8192                                                                                                                                      |
| `Created`             | `int64`                                                                                  | :heavy\_check\_mark: | Unix timestamp of when the model was created                                                               | 1692901234                                                                                                                                |
| `DefaultParameters`   | [\*components.DefaultParameters](/client-sdks/go/api-reference/models/defaultparameters) | :heavy\_check\_mark: | Default parameters for this model                                                                          | `{"frequency_penalty": 0,"presence_penalty": 0,"repetition_penalty": 1,"temperature": 0.7,"top_k": 0,"top_p": 0.9}`                       |
| `Description`         | `*string`                                                                                | :heavy\_minus\_sign: | Description of the model                                                                                   | GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.                                                |
| `ExpirationDate`      | optionalnullable.OptionalNullable\[`string`]                                             | :heavy\_minus\_sign: | The date after which the model may be removed. ISO 8601 date string (YYYY-MM-DD) or null if no expiration. | 2025-06-01                                                                                                                                |
| `HuggingFaceID`       | optionalnullable.OptionalNullable\[`string`]                                             | :heavy\_minus\_sign: | Hugging Face model identifier, if applicable                                                               | microsoft/DialoGPT-medium                                                                                                                 |
| `ID`                  | `string`                                                                                 | :heavy\_check\_mark: | Unique identifier for the model                                                                            | openai/gpt-4                                                                                                                              |
| `KnowledgeCutoff`     | optionalnullable.OptionalNullable\[`string`]                                             | :heavy\_minus\_sign: | The date up to which the model was trained on data. ISO 8601 date string (YYYY-MM-DD) or null if unknown.  | 2024-10-01                                                                                                                                |
| `Links`               | [components.ModelLinks](/client-sdks/go/api-reference/models/modellinks)                 | :heavy\_check\_mark: | Related API endpoints and resources for this model.                                                        | `{"details": "/api/v1/models/openai/gpt-5.4/endpoints"}`                                                                                  |
| `Name`                | `string`                                                                                 | :heavy\_check\_mark: | Display name of the model                                                                                  | GPT-4                                                                                                                                     |
| `PerRequestLimits`    | [\*components.PerRequestLimits](/client-sdks/go/api-reference/models/perrequestlimits)   | :heavy\_check\_mark: | Per-request token limits                                                                                   | `{"completion_tokens": 1000,"prompt_tokens": 1000}`                                                                                       |
| `Pricing`             | [components.PublicPricing](/client-sdks/go/api-reference/models/publicpricing)           | :heavy\_check\_mark: | Pricing information for the model                                                                          | `{"completion": "0.00006","image": "0","prompt": "0.00003","request": "0"}`                                                               |
| `SupportedParameters` | \[][components.Parameter](/client-sdks/go/api-reference/models/parameter)                | :heavy\_check\_mark: | List of supported parameters for this model                                                                |                                                                                                                                           |
| `SupportedVoices`     | \[]`string`                                                                              | :heavy\_check\_mark: | List of supported voice identifiers for TTS models. Null for non-TTS models.                               | `<nil>`                                                                                                                                   |
| `TopProvider`         | [components.TopProviderInfo](/client-sdks/go/api-reference/models/topproviderinfo)       | :heavy\_check\_mark: | Information about the top provider for this model                                                          | `{"context_length": 8192,"is_moderated": true,"max_completion_tokens": 4096}`                                                             |
