Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

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

let value: ResponseOutputTextTopLogprob = {
  token: "<value>",
  bytes: [
    3036.17,
    344.14,
  ],
  logprob: 1976.4,
};

Fields

FieldTypeRequiredDescription
tokenstring:heavy_check_mark:N/A
bytesnumber[]:heavy_check_mark:N/A
logprobnumber:heavy_check_mark:N/A