# Electron Hub API - [Introduction](https://docs.electronhub.ai/getting-started/introduction.md): Welcome to Electron Hub API - Your unified gateway to 450+ AI models - [Quickstart](https://docs.electronhub.ai/getting-started/quickstart.md): Get started with Electron Hub API in minutes - [Authentication](https://docs.electronhub.ai/getting-started/authentication.md): Learn how to authenticate with the Electron Hub API - [Rate Limits](https://docs.electronhub.ai/getting-started/rate-limits.md): Understanding rate limits and how to handle them effectively - [Error Handling](https://docs.electronhub.ai/getting-started/errors.md): Common errors and how to handle them gracefully - [List Models](https://docs.electronhub.ai/api-reference/models.md): List all available models - [Chat Completions](https://docs.electronhub.ai/api-reference/chat/completions.md): Create a chat completion - [Messages API](https://docs.electronhub.ai/api-reference/messages.md): Create a message with the Anthropic Messages format - [Responses API](https://docs.electronhub.ai/api-reference/responses.md): Create a model response with the OpenAI Responses format - [Image Generations](https://docs.electronhub.ai/api-reference/images/generations.md): Generate images using AI models - [Image Edits](https://docs.electronhub.ai/api-reference/images/edits.md): Edit existing images using AI - [Video Generations](https://docs.electronhub.ai/api-reference/videos/generations.md): Generate videos from text prompts via Server-Sent Events (SSE) - [Text-to-Speech](https://docs.electronhub.ai/api-reference/audio/speech.md): Generate natural-sounding speech from text using AI voice models - [Speech-to-Text](https://docs.electronhub.ai/api-reference/audio/transcriptions.md): Transcribe audio to text - [Moderations](https://docs.electronhub.ai/api-reference/moderations.md): Classify text content for safety violations - [Decisions (Jev)](https://docs.electronhub.ai/api-reference/systemone.md): Get structured judgments your code can act on - [Embeddings](https://docs.electronhub.ai/api-reference/embeddings.md): Generate vector embeddings for text - [Get Usage](https://docs.electronhub.ai/api-reference/usage.md): Get current user usage statistics and account information - [Get Model Breakdown](https://docs.electronhub.ai/api-reference/user-models.md): Retrieve a per-model cost and usage breakdown for the authenticated user, including request counts, token usage, total cost, and provider information for every model used. - [Get User Logs](https://docs.electronhub.ai/api-reference/user-logs.md): Get recent API request logs for the authenticated user - [List Proxy Keys](https://docs.electronhub.ai/api-reference/proxy-keys.md): Retrieve all proxy keys for the authenticated user - [Lookup Proxy Key](https://docs.electronhub.ai/api-reference/proxy-lookup.md): Retrieve metadata about a single proxy key you own - [Create Proxy Key](https://docs.electronhub.ai/api-reference/proxy-create.md): Create a new proxy key with specified permissions and limits - [Update Proxy Key](https://docs.electronhub.ai/api-reference/proxy-update.md): Update an existing proxy key's configuration - [Toggle Proxy Key Status](https://docs.electronhub.ai/api-reference/proxy-toggle.md): Enable or disable a proxy key without deleting it - [Delete Proxy Key](https://docs.electronhub.ai/api-reference/proxy-delete.md): Delete a specific proxy key you own - [Delete All Proxy Keys](https://docs.electronhub.ai/api-reference/proxy-delete-all.md): Delete all proxy keys for the authenticated user - [Validate Proxy Key Access](https://docs.electronhub.ai/api-reference/proxy-validate.md): Validate if a proxy key can access a specific model from the current IP - [Regenerate API Key](https://docs.electronhub.ai/api-reference/regenerate-key.md): Generate a new API key for the authenticated user - [Best Practices](https://docs.electronhub.ai/guides/best-practices.md): Essential guidelines for using Electron Hub API effectively - [OpenAI SDKs](https://docs.electronhub.ai/guides/openai-sdks.md): Learn how to use OpenAI SDKs with Electron Hub as your base URL - [Anthropic SDKs](https://docs.electronhub.ai/guides/anthropic-sdks.md): Learn how to use Anthropic SDKs with Electron Hub as your base URL - [Prompt Caching](https://docs.electronhub.ai/guides/prompt-caching.md): Use prompt caching with Anthropic Claude models to reduce costs and improve performance - [In-chat Image Generation](https://docs.electronhub.ai/guides/in-chat-image-generation.md): Generate images inline during chat using model suffix syntax - [Chat Examples](https://docs.electronhub.ai/examples/chat-examples.md): Real-world examples using chat completion models - [Image Examples](https://docs.electronhub.ai/examples/image-examples.md): Image generation and editing examples - [Embedding Examples](https://docs.electronhub.ai/examples/embedding-examples.md): Text embeddings for semantic search and recommendations - [Billing & Credits Overview](https://docs.electronhub.ai/billing/overview.md): Everything you need to know about billing, credits, subscriptions, and payments - [Subscriptions](https://docs.electronhub.ai/billing/subscriptions.md): Subscription tiers, benefits, and how to subscribe - [Coding Plan (DevPass)](https://docs.electronhub.ai/billing/coding-plan.md): Flat monthly plan for coding agents. Unlimited tokens, no credits. - [Pay-as-You-Go](https://docs.electronhub.ai/billing/pay-as-you-go.md): Purchase permanent credits that never expire - [Understanding Credits](https://docs.electronhub.ai/billing/credits.md): Learn about all credit types and how they work - [Model Types & Access](https://docs.electronhub.ai/billing/model-access.md): Understanding which models you can access and how they are billed - [Advanced Billing Topics](https://docs.electronhub.ai/billing/advanced.md): Rate limits, caching, token pricing, and cost optimizations - [Billing Troubleshooting](https://docs.electronhub.ai/billing/troubleshooting.md): Common billing issues and how to resolve them - [Privacy & Security](https://docs.electronhub.ai/billing/privacy-security.md): Data protection, moderation, and privacy policies ## OpenAPI Specs - [openapi](/api-reference/openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.