The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
import PriceDataReload from "@/components/price_data_reload";
import React from "react";
import useAuthorized from "@/app/(dashboard)/hooks/useAuthorized";
import { useQueryClient } from "@tanstack/react-query";
import { modelCostMapKeys } from "../../hooks/models/useModelCostMap";
const PriceDataManagementTab = () => {
const { accessToken } = useAuthorized();
const queryClient = useQueryClient();
return (
<div>
<div className="p-6">
<div className="mb-6">
<h2 className="text-lg font-semibold">Price Data Management</h2>
<p className="text-sm text-muted-foreground">
Manage model pricing data and configure automatic reload schedules
</p>
</div>
<PriceDataReload
accessToken={accessToken}
onReloadSuccess={() => {
queryClient.invalidateQueries({ queryKey: modelCostMapKeys.all });
}}
buttonText="Reload Price Data"
size="middle"
type="primary"
className="w-full"
/>
</div>
</div>
);
};
export default PriceDataManagementTab;