[Question]: Unexpected, phantom calls to Claude API #4696
-
What is your question?How can I check if a call to Claude API actually came from my Librechat deployment? More DetailsI have LibreChat running via the docker compose deployment. It is running under Ubuntu linux, behind nginx, which does the ssl termination. Sometimes, but not always, I see entries in anthropic dashboard's log section with time stamps corresponding to times when I was not using Librechat. During some of these even the computer is not on, but the requests are there and they are costing me. The API key used by LibreChat is not used anywhere else. I deleted the key, recreated it and done this a few times now. Some of the log entries are pointing at My Librechat deployment will ask for a login when the deployment url is visited, so I cannot see how some random bot can find it and use it. This is driving me mad. Is is the anthropic dashboard that is lying to me? Am I being charged by them incorrectly, even if the requests are not made by my Librechat deployment? I'd love to know how I can keep track of my calls on the Librechat side so that I can at least confirm the calls were made from Librechat. Any other suggestions are most welcome. What is the main subject of your question?Other ScreenshotsNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
There are a couple of ways to check if this is actually from LibreChat or not. For quick details, you can check the debug logs within
It may be useful to run a quick snapshot of user activity with Lastly, you can take a look at the Please make sure to secure the configuration of LibreChat if you are accessing it remotely, there is some discussion on this topic here: #4620 (comment) |
Beta Was this translation helpful? Give feedback.
There are a couple of ways to check if this is actually from LibreChat or not.
For quick details, you can check the debug logs within
./logs
directory at project root, in particular the logs starting withdebug-
in the name. These logs are created by date and are timestamped to help you correspond what Anthropic is reporting. Maybe a CTRL+F ofclaude-3-haiku-20240307
may good to start off with.claude-3-haiku-20240307
is the default title model, it is used ifANTHROPIC_TITLE_MODEL
is not set; in my opinion, I believe all that's happening is that your conversati…