Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Information about the top provider for this model

Example Usage

import { TopProviderInfo } from "@openrouter/sdk/models";

let value: TopProviderInfo = {
  isModerated: true,
};

Fields

FieldTypeRequiredDescriptionExample
contextLengthnumber:heavy_minus_sign:Context length from the top provider8192
isModeratedboolean:heavy_check_mark:Whether the top provider moderates contenttrue
maxCompletionTokensnumber:heavy_minus_sign:Maximum completion tokens from the top provider4096