# OpenAI Billing — MCP server on mcp.ai > OpenAI organization usage and cost reporting through an admin API key connected by the user. By: mcp.ai · official Page: https://mcp.ai/openai_billing ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_openai_billing?ms=1781045820000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/openai_billing/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/openai_billing/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/openai_billing/skill.md Postman collection (v2.1): https://mcp.ai/openai_billing/postman.json ## Tools - openai_billing_cost(days_back?: integer, start_time?: integer, end_time?: integer, bucket_width?: string, group_by?: string, limit?: integer, account?: string) — Get normalized OpenAI organization costs for a date range. Returns compact totals and daily costs. - openai_billing_list_accounts(account?: string) — List OpenAI Billing admin API connections linked to this install. - openai_billing_usage(kind?: string, days_back?: integer, start_time?: integer, end_time?: integer, bucket_width?: string, group_by?: string, limit?: integer, account?: string) — Get normalized OpenAI organization usage for completions, embeddings, images, audio, vector stores, or code interpreter sessions. ## Example prompts - "Show OpenAI costs for the last 30 days" - "Break down OpenAI completion usage by day" - "Compare OpenAI usage across embeddings and completions" ## Links Docs: https://mcp.ai/docs/mcps/openai_billing Website: https://mcp.ai/mcps/openai_billing