def METHOD_NAME(
    self,
    model_response: ModelProviderModelResponse,
) -> None:
    """Update the usage and cost of the provider."""
    model_info = model_response.model_info
    self.usage.update_usage(model_response)
    incremental_cost = (
        model_response.completion_tokens_used * model_info.completion_token_cost
        + model_response.prompt_tokens_used * model_info.prompt_token_cost
    ) / 1000.0
    self.total_cost += incremental_cost
    self.remaining_budget -= incremental_cost