Upload article_6614209.json with huggingface_hub
Browse files- article_6614209.json +1 -0
article_6614209.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"text": "There are two main options for checking your token usage:\n\n\n\n**1. [Usage dashboard](https://beta.openai.com/account/usage)**\n---------------------------------------------------------------\n\n\nThe [usage dashboard](https://beta.openai.com/account/usage) displays your API usage during the current and past monthly billing cycles. To display the usage of a particular user of your organizational account, you can use the dropdown next to \"Daily usage breakdown\".\n\n\n\n\n**2. Usage data from the API response**\n---------------------------------------\n\n\nYou can also access token usage data through the API. Token usage information is now included in responses from completions, edits, and embeddings endpoints. Information on prompt and completion tokens is contained in the \"usage\" key:\n\n\n\n```\n{ \"id\": \"cmpl-uqkvlQyYK7bGYrRHQ0eXlWia\", \n\"object\": \"text_completion\", \n\"created\": 1589478378, \n\"model\": \"text-davinci-003\", \n\"choices\": [ { \"text\": \"\\n\\nThis is a test\", \"index\": 0, \"logprobs\": null, \"finish_reason\": \"length\" } ], \n\"usage\": { \"prompt_tokens\": 5, \"completion_tokens\": 5, \"total_tokens\": 10 } } \n\n```\n", "title": "How do I check my token usage?", "article_id": "6614209", "url": "https://help.openai.com/en/articles/6614209-how-do-i-check-my-token-usage"}
|