更智能的图表、内联SVG与实时用量统计
Smarter Charts, Inline SVGs, and Live Usage Accounting
OpenRouter平台上线三项核心更新。分析功能推出更智能的交互式图表,支持深入钻取数据。预览体验得到优化,现已支持内联SVG渲染,展示更流畅。平台新增实时用量统计功能,为用户提供即时的成本消耗可见性,便于监控API使用开销。这些改进旨在提升用户在模型使用分析与费用管理方面的操作体验。
Quality-of-Life Updates
We’ve rolled out three quality-of-life updates to improve transparency and usability across the board.
🔹 Activity Chart Filtering
You can now filter the chart on the Activity page simply by applying filters to the table.
Whether you’re narrowing by model, API key, or provider, the chart updates to match—making trends and spikes easier to analyze.
🖼️ Chatroom SVG Previews
SVG files now preview inline in the chatroom, so you can instantly review diagrams, icons, and vector designs without downloading anything.
📊 In-Stream Usage Accounting
Developers can now receive real-time token and cost data directly in each streamed response.
Just set "usage": { "include": true } in your request and you’ll get details like:
"usage": {
"completion_tokens": 2000,
"completion_tokens_details": { "reasoning_tokens": 100 },
"cost": 0.2,
"prompt_tokens": 194,
"prompt_tokens_details": { "cached_tokens": 20 },
"total_tokens": 2194
}
No additional API calls required.
来源:OpenRouter:Announcements · openrouter.ai