This commit is contained in:
based
2024-05-12 04:43:35 +10:00
parent 5ff13d4fe3
commit ea61c44dba
2 changed files with 8 additions and 41 deletions
+7
View File
@@ -0,0 +1,7 @@
Copyright (c) 2024 kingbased
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice, this permission notice and the word "NIGGER" shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+1 -41
View File
@@ -1,41 +1 @@
# keychecker not my problem. simple as.
a fast, bulk key checker for various AI services
Currently supports and validates keys for the services below, and checks for the listed attributes a key might have:
- OpenAI - (Best model, key in quota, RPM (catches increase requests), tier, list of organizations if applicable, trial key status)
- Anthropic - (Pozzed status (which is now RNG, so sort of useless) and key tier, along with remaining character quota)
- AI21 - (Trial check)
- Google MakerSuite (Gemini)
- AWS - (Admin status, auto-fetch the region, logging status, username, bedrock status)
- Azure - (Auto-fetch all deployments, auto-fetch best deployment/model, filter status, dall-e deployment)
- Google Cloud Vertex AI - (Requires a key file since oauth tokens expire hourly. Good luck scraping for those.)
- MistralAI - (Subscription status)
- OpenRouter - (Estimated balance, usage in $, credit limit, RPM, has purchased any credits)
- ElevenLabs - (Key tier, remaining characters in plan, detect uncapped char quota, pro voice cloning limit, invoice details on pay as you go plans)
Always open to adding more services, although I think I've covered all the ones people care about. Nonetheless, feel free to open an issue or PR if you want something else added.
# Usage:
`pip install -r requirements.txt`
`python main.py`
# Optional Arguments:
`-proxyoutput`
Outputs keys in a format that can be easily copy pasted into khanon's proxy instead of pretty print
`-nooutput`
Stops outputting and saving keys to the snapshot file (proxyoutput will also do this)
`-file`
Reads keys from a file instead of stdin, place either the absolute or relative path to the file in quotes after the flag.
`-verbose`
Displays an output as keys are being checked real time.