Example Usage
import { UpdatePrivateEndpointPricingRequest } from "@openrouter/sdk/models";
let value: UpdatePrivateEndpointPricingRequest = {
pricing: {
completion: "0.00001",
prompt: "0.0000025",
},
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
pricing | models.PrivateEndpointPricing | ✔️ | Negotiated per-token rates reported for requests routed to this endpoint. | { “cache_read”: “0.00000025”, “cache_write”: “0.000003125”, “completion”: “0.00001”, “prompt”: “0.0000025” } |