Calculates OpenAI API costs for GPT-4o, o1, embeddings, Whisper, TTS, and DALL-E.
Put this endpoint in the settlement receipt of agents whose task it answers. You pay only when the recommendation converts on-chain.