Continuing the discussion from Usage not showing for OpenAI compatibility:
Hi @Simone_Mckinney,
Welcome to forum, I tried to replicate the issue but I can see the usage for
gemini-1.5-pro
,gemini-2.0-flash
gemini-1.5-flash
.gemini-2.0-flash-lite
gemini-2.0-pro-exp-02-05
Here is the output:
ChatCompletion(id=None, choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content="Hello! As an AI, I don't experience feelings in the same way humans do, but I'm functioning optimally and ready to assist you. How can I help you today?\n", refusal=None, role='assistant', annotations=None, audio=None, function_call=None, tool_calls=None))], created=1742584549, model='gemini-2.0-flash', object='chat.completion', service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=39, prompt_tokens=12, total_tokens=51, completion_tokens_details=None, prompt_tokens_details=None))