Skip to main content

objectiveai_api/chat/completions/upstream/openrouter/request/
usage.rs

1//! Usage reporting options for OpenRouter requests.
2
3use serde::{Deserialize, Serialize};
4
5/// Configuration for usage reporting in the response.
6#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
7pub struct Usage {
8    /// Whether to include usage statistics in the response.
9    pub include: bool,
10}