# AI Stats Docs > Get started with the AI Stats API in 5 minutes. ## Docs - [Authentication](https://docs.ai-stats.phaseo.app/v1/api-reference/authentication.md): Authenticate requests with bearer API keys and manage key lifecycle safely. - [Get Activity](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/activity.md): Retrieve recent API activity for a team with configurable time range and pagination. - [Anthropic Messages](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/anthropic-messages.md): Anthropic-compatible Messages endpoint at /v1/messages. - [TTS (Text to Speech) (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/audio-speech.md): Generate TTS audio from text using the specified voice and format. - [STT (Speech to Text) (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/audio-transcriptions.md): Convert audio to text (STT) with the selected transcription model. - [Translations (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/audio-translations.md): Translate spoken audio into another language with the specified translation model. - [Batches (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/batches.md): Batch endpoints are currently placeholders and return 501 not_implemented. - [Batch status (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/batches-status.md): Batch status is currently a placeholder endpoint and returns 501 not_implemented. - [Chat Completions](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/chat-completions.md): Generate chat-based completions using the OpenAI-compatible chat endpoint. - [Credits (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/credits.md): How the Gateway tracks and bills for requests. - [Embeddings (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/embeddings.md): How to reason about embedding models and how the Gateway surfaces them. - [Files (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/files.md): Files endpoints are currently placeholders and return 501 not_implemented. - [List files (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/files-list.md): File listing is currently a placeholder endpoint and returns 501 not_implemented. - [Retrieve file (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/files-retrieve.md): File retrieval is currently a placeholder endpoint and returns 501 not_implemented. - [Generation lookup (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/generation.md): Retrieve a specific generation by ID. - [Guardrails](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/guardrails.md): Programmatic guardrails management for workspaces and keys. - [Images Edits (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/images-edits.md): Apply edits to an existing image using the specified model and prompt. - [Image generations (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/images-generations.md): Creates an image given a prompt. - [Get Current API Key](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/key-current.md): Inspect the currently authenticated standard Gateway API key. - [Create API Key](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/keys-create.md): Create a new API key in the authenticated workspace. - [Delete API Key](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/keys-delete.md): Delete an API key in the authenticated workspace. - [Get API Key](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/keys-get.md): Retrieve a single API key by id or hash. - [List API Keys](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/keys-list.md): List API keys for the authenticated workspace. - [Update API Key](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/keys-update.md): Update API key metadata and status. - [Models (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/models.md): Browse gateway-native models currently servable through AI Stats Gateway. - [Moderations (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/moderations.md): Classifies if text violates OpenAI's usage policies. - [Music Generation (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/music-generate.md): Generates music using the requested model and provider settings. - [Music Status (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/music-status.md): Check the status of an asynchronous music generation job. - [OCR (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/ocr.md): Extracts text from an image using the requested model. - [List Providers](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/providers.md): Browse the catalogue of API providers supported by the gateway. - [Responses](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/responses.md): Creates a response using the Responses API. - [Video content (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/video-content.md): Download the rendered video content for a completed generation. - [Video delete (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/video-delete.md): Delete a video generation request and its stored assets. - [Video generation (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/video-generation.md): Creates an async video generation job. Poll the returned `polling_url` every 20 seconds until the job reaches a terminal status. - [Video status (Beta)](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/video-status.md): Check the status of a video generation request. - [Create Workspace](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/workspaces-create.md): Create a new workspace. - [Delete Workspace](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/workspaces-delete.md): Delete a workspace by id or slug. - [Get Workspace](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/workspaces-get.md): Retrieve a workspace by id or slug. - [List Workspaces](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/workspaces-list.md): List workspaces owned by the authenticated management key owner. - [Update Workspace](https://docs.ai-stats.phaseo.app/v1/api-reference/endpoint/workspaces-update.md): Update workspace metadata. - [Errors and Debugging](https://docs.ai-stats.phaseo.app/v1/api-reference/errors.md): Interpret Gateway error responses and use debug controls for faster issue triage. - [Introduction To The AI Gateway](https://docs.ai-stats.phaseo.app/v1/api-reference/introduction.md): Get started with the AI Stats Gateway - [Limits](https://docs.ai-stats.phaseo.app/v1/api-reference/limits.md): Understand provider-driven rate limits and how to build resilient retry behavior. - [Parameters](https://docs.ai-stats.phaseo.app/v1/api-reference/parameters.md): Common request parameters across API endpoints, including routing and debug controls. - [Streaming](https://docs.ai-stats.phaseo.app/v1/api-reference/streaming.md): Stream model output in real time using SSE on core text endpoints. - [Product Changelog](https://docs.ai-stats.phaseo.app/v1/changelog.md): Product updates, releases, and fixes across AI Stats. - [Code of Conduct](https://docs.ai-stats.phaseo.app/v1/community/code-of-conduct.md): Expected behavior for contributors and community members. - [Contact and Support](https://docs.ai-stats.phaseo.app/v1/community/contact-and-support.md): How to get help or report issues with AI Stats. - [FAQ](https://docs.ai-stats.phaseo.app/v1/community/faq.md): Answers to common questions about AI Stats and the Gateway. - [Editing a Model](https://docs.ai-stats.phaseo.app/v1/contributing/editing-a-model.md): Update model metadata, pricing, and capabilities in the AI Stats data set. - [Editing an Organisation](https://docs.ai-stats.phaseo.app/v1/contributing/editing-an-organisation.md): Update organisation records in the AI Stats data set. - [How to Contribute](https://docs.ai-stats.phaseo.app/v1/contributing/how-to-contribute.md): A step-by-step guide on how to make your first contribution to AI Stats - from setting up your environment to submitting a pull request. - [Contributing to AI Stats](https://docs.ai-stats.phaseo.app/v1/contributing/overview.md): Learn how to contribute data, documentation, or improvements to the AI Stats project and help build the world's most comprehensive AI database. - [Repository Structure](https://docs.ai-stats.phaseo.app/v1/contributing/repo-structure.md): Understand how the AI Stats repository is organized - where to find data, documentation, and configuration files. - [Data Changelog](https://docs.ai-stats.phaseo.app/v1/data-changelog.md): Updates to our model and organisation database. - [Authentication](https://docs.ai-stats.phaseo.app/v1/developers/authentication.md): Use API keys to authenticate every request to AI Stats Gateway. - [Best Practices](https://docs.ai-stats.phaseo.app/v1/developers/best-practices.md): Ship reliable AI features by following these architecture, security, and observability guidelines. - [Error Handling](https://docs.ai-stats.phaseo.app/v1/developers/error-handling.md): Understand error types and recovery strategies for reliable Gateway integrations. - [Integrating with the Gateway](https://docs.ai-stats.phaseo.app/v1/developers/integrating-with-the-gateway.md): Connect your application to AI Stats Gateway, start on free models, then scale to paid models. - [Developers Introduction](https://docs.ai-stats.phaseo.app/v1/developers/introduction.md): A practical overview of AI Stats Gateway and the fastest path from first call to production. - [Management API Keys](https://docs.ai-stats.phaseo.app/v1/developers/management-api-keys.md): Create management API keys in the dashboard and use them for elevated administration APIs. - [Rate Limits](https://docs.ai-stats.phaseo.app/v1/developers/rate-limits.md): Learn how rate limits work through our Gateway and providers. - [Exploring API Providers](https://docs.ai-stats.phaseo.app/v1/exploring/api-providers.md): Understand what API providers do and how to evaluate them for reliability, performance, and cost. - [Exploring Benchmarks](https://docs.ai-stats.phaseo.app/v1/exploring/benchmarks.md): Understand how AI model benchmarks are collected, standardised, and visualised on AI Stats. - [Exploring Models](https://docs.ai-stats.phaseo.app/v1/exploring/models.md): Learn how to browse, compare, and understand the AI models listed on AI Stats. - [Exploring Organisations](https://docs.ai-stats.phaseo.app/v1/exploring/organisations.md): Discover the companies, research groups, and communities that develop and publish AI models. - [Overview](https://docs.ai-stats.phaseo.app/v1/exploring/overview.md): Learn how to explore models, benchmarks, providers, and pricing data across the AI ecosystem. - [Pricing & Performance](https://docs.ai-stats.phaseo.app/v1/exploring/pricing-performance.md): Understand how model pricing and performance are measured, compared, and normalised across providers on AI Stats. - [Subscription Plans](https://docs.ai-stats.phaseo.app/v1/exploring/subscription-plans.md): Overview of subscription plans and tiers offered by API providers and how they affect access and pricing. - [App Attribution](https://docs.ai-stats.phaseo.app/v1/guides/app-attribution.md): Attach app metadata to Gateway requests for analytics and auditing. - [Context and Token Budgeting](https://docs.ai-stats.phaseo.app/v1/guides/context-and-token-budgeting.md): How to allocate prompt and output tokens for quality, speed, and cost. - [Examples](https://docs.ai-stats.phaseo.app/v1/guides/examples.md): Copy-paste examples for common Gateway workflows, starting with free-model requests. - [Guides Overview](https://docs.ai-stats.phaseo.app/v1/guides/index.md): A practical map of the AI Stats Guides, from zero-credit free-model start to production operations. - [Inference Parameters](https://docs.ai-stats.phaseo.app/v1/guides/inference-parameters.md): How core request parameters affect quality, determinism, latency, and cost. - [AI SDK](https://docs.ai-stats.phaseo.app/v1/guides/integrations/ai-sdk.md): Use the official AI Stats provider for the Vercel AI SDK. - [Claude Code](https://docs.ai-stats.phaseo.app/v1/guides/integrations/claude-code.md): Connect Claude Code to the AI Stats Gateway via the Anthropic-compatible API. - [Codex](https://docs.ai-stats.phaseo.app/v1/guides/integrations/codex.md): Use the AI Stats Gateway as a custom provider for Codex CLI. - [Integrations Overview](https://docs.ai-stats.phaseo.app/v1/guides/integrations/index.md): Connect the AI Stats Gateway to popular tools and runtimes. - [OpenCode](https://docs.ai-stats.phaseo.app/v1/guides/integrations/opencode.md): Connect OpenCode to the AI Stats Gateway for multi-provider routing. - [Model Quantization](https://docs.ai-stats.phaseo.app/v1/guides/model-quantization.md): Overview of quantization and where to go next in the quantization + parameters guide series. - [Multimodality](https://docs.ai-stats.phaseo.app/v1/guides/multimodality.md): Use text, image, audio, video, and other modalities through the Gateway. - [Presets](https://docs.ai-stats.phaseo.app/v1/guides/presets.md): Save reusable Gateway configurations for your team. - [Principles](https://docs.ai-stats.phaseo.app/v1/guides/principles.md): The core ideas that guide AI Stats and the Gateway. - [Quantization Formats](https://docs.ai-stats.phaseo.app/v1/guides/quantization-formats.md): BF16, FP16, FP8, FP4, INT8, INT4 and what each format means in practice. - [Quantization Methods](https://docs.ai-stats.phaseo.app/v1/guides/quantization-methods.md): How quantization methods differ from numeric formats, and why method choice matters. - [Choosing a Quantization Strategy](https://docs.ai-stats.phaseo.app/v1/guides/quantization-selection.md): A practical framework for selecting BF16/FP8/INT8/INT4 variants by workload. - [Routing and Fallbacks](https://docs.ai-stats.phaseo.app/v1/guides/routing-and-fallbacks.md): How the Gateway selects providers and keeps requests reliable. - [Sampling and Decoding](https://docs.ai-stats.phaseo.app/v1/guides/sampling-and-decoding.md): How decoding strategies and penalties shape model outputs. - [Streaming](https://docs.ai-stats.phaseo.app/v1/guides/streaming.md): Use server-sent events (SSE) for low-latency token delivery. - [Streaming in Production](https://docs.ai-stats.phaseo.app/v1/guides/streaming-production.md): Operational patterns for robust streaming UX and backend reliability. - [Streaming SSE Events](https://docs.ai-stats.phaseo.app/v1/guides/streaming-sse.md): Understand frame structure and parse SSE streams safely. - [Structured Outputs](https://docs.ai-stats.phaseo.app/v1/guides/structured-outputs.md): Return predictable JSON with json_object or json_schema output formats. - [Structured Output Schemas](https://docs.ai-stats.phaseo.app/v1/guides/structured-outputs-schemas.md): How to design practical JSON schemas for model output. - [Structured Output Validation](https://docs.ai-stats.phaseo.app/v1/guides/structured-outputs-validation.md): Server-side validation, retries, and fallback strategies for structured output. - [Tool Calling](https://docs.ai-stats.phaseo.app/v1/guides/tool-calling.md): Use model-driven function calls safely through the Gateway. - [Tool Calling Patterns](https://docs.ai-stats.phaseo.app/v1/guides/tool-calling-patterns.md): Reliable tool-calling loops for chat completions and responses endpoints. - [Tool Calling Safety and Validation](https://docs.ai-stats.phaseo.app/v1/guides/tool-calling-safety.md): Validate tool arguments, harden execution, and avoid unsafe model actions. - [WebSocket Mode](https://docs.ai-stats.phaseo.app/v1/guides/websocket-mode.md): Gateway-first walkthrough for /v1/responses/ws with concrete connection, turn, and recovery flow. - [Start Here](https://docs.ai-stats.phaseo.app/v1/index.md): Get your first successful AI Stats API request in under 5 minutes, including free models that require no deposit. - [Migration Assistant](https://docs.ai-stats.phaseo.app/v1/migration-guides/assistant.md): Interactive migration guide for moving to the AI Stats Gateway. - [Migrating from Anthropic SDK](https://docs.ai-stats.phaseo.app/v1/migration-guides/from-anthropic.md): Step-by-step guide to migrate your Anthropic SDK integration to AI Stats Gateway. - [Migrating from Cloudflare AI Gateway](https://docs.ai-stats.phaseo.app/v1/migration-guides/from-cloudflare.md): Step-by-step guide to migrate your Cloudflare AI Gateway integration to AI Stats Gateway. - [Migrating from Helicone AI Gateway](https://docs.ai-stats.phaseo.app/v1/migration-guides/from-helicone.md): Step-by-step guide to migrate your Helicone AI Gateway integration to AI Stats Gateway. - [Migrating from LiteLLM](https://docs.ai-stats.phaseo.app/v1/migration-guides/from-litellm.md): Step-by-step guide to migrate your LiteLLM integration to AI Stats Gateway. - [Migrating from OpenAI SDK](https://docs.ai-stats.phaseo.app/v1/migration-guides/from-openai.md): Step-by-step guide to migrate your OpenAI SDK integration to AI Stats Gateway. - [Migration from OpenRouter](https://docs.ai-stats.phaseo.app/v1/migration-guides/from-openrouter.md): Move from OpenRouter to AI Stats Gateway with minimal request-shape changes. - [Migrating from Vercel AI Gateway](https://docs.ai-stats.phaseo.app/v1/migration-guides/from-vercel.md): Step-by-step guide to migrate your Vercel AI Gateway integration to AI Stats Gateway. - [Migration Guides](https://docs.ai-stats.phaseo.app/v1/migration-guides/index.md): Guides for moving between platforms or upgrading from one model to a newer model. - [Anthropic: Claude Opus 4.5 to 4.6](https://docs.ai-stats.phaseo.app/v1/model-migrations/anthropic-claude-opus-4-5-to-4-6.md): The concrete API and behavior changes to review when upgrading from Claude Opus 4.5 to Claude Opus 4.6. - [Anthropic: Claude Opus 4.6 to 4.7](https://docs.ai-stats.phaseo.app/v1/model-migrations/anthropic-claude-opus-4-6-to-4-7.md): Model migration notes for upgrading Anthropic Claude Opus 4.6 traffic to Claude Opus 4.7. - [Anthropic: Claude Sonnet 4.5 to 4.6](https://docs.ai-stats.phaseo.app/v1/model-migrations/anthropic-claude-sonnet-4-5-to-4-6.md): The concrete API and behavior changes to review when upgrading from Claude Sonnet 4.5 to Claude Sonnet 4.6. - [Google: Migrating to Gemini 3 and 3.1](https://docs.ai-stats.phaseo.app/v1/model-migrations/google-migrating-to-gemini-3-and-3-1.md): The API and behavior changes to review when upgrading existing Gemini integrations to Gemini 3 or Gemini 3.1. - [Google: Nano Banana 1 to Nano Banana 2](https://docs.ai-stats.phaseo.app/v1/model-migrations/google-nano-banana-1-to-nano-banana-2.md): What actually changes when image workflows move from Nano Banana 1 to Nano Banana 2. - [Model Migrations](https://docs.ai-stats.phaseo.app/v1/model-migrations/index.md): Model-specific upgrade guides for moving production traffic from an older model release to a newer one. - [Mistral: Mistral Small 3.2 to Mistral Small 4](https://docs.ai-stats.phaseo.app/v1/model-migrations/mistral-small-3-2-to-mistral-small-4.md): Gateway migration notes for upgrading Mistral Small traffic to Mistral Small 4, including reasoning_effort behavior. - [OpenAI: Migrating to GPT-5.4](https://docs.ai-stats.phaseo.app/v1/model-migrations/openai-migrating-to-gpt-5-4.md): What materially changes when you move existing OpenAI traffic onto GPT-5.4. - [xAI: Grok 4.20](https://docs.ai-stats.phaseo.app/v1/model-migrations/xai-grok-4-20.md): Gateway-focused migration notes for Grok 4.20, including reasoning toggle and multi-agent effort controls. - [Pricing Tiers](https://docs.ai-stats.phaseo.app/v1/pricing/tiers.md): Understand the flat 5% credit purchase fee and how Gateway billing works - [Quickstart (5 minutes)](https://docs.ai-stats.phaseo.app/v1/quickstart.md): From signup to first successful request in under 5 minutes, starting on a free model. - [Benchmark Methodology](https://docs.ai-stats.phaseo.app/v1/research/benchmark-methodology.md): Learn how AI Stats collects, normalises, and publishes benchmark results. - [Citation](https://docs.ai-stats.phaseo.app/v1/research/citation.md): How to acknowledge AI Stats data, benchmarks, and gateway tooling in your work. - [Submitting Scores](https://docs.ai-stats.phaseo.app/v1/research/submitting-scores.md): Share new benchmark results with the AI Stats community in a structured, reviewable way. - [SDK Changelog](https://docs.ai-stats.phaseo.app/v1/sdk-changelog.md): SDK updates and developer experience improvements across supported languages. - [C++ SDK Installation](https://docs.ai-stats.phaseo.app/v1/sdk-reference/cpp/installation.md): How to use the preview C++ SDK - [C++ SDK (preview)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/cpp/overview.md): Experimental C++ headers for the AI Stats Gateway. - [TTS (Text to Speech)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/audio-speech.md): Call /audio/speech with the C# SDK. - [STT (Speech to Text)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/audio-transcriptions.md): Call /audio/transcriptions with the C# SDK. - [Translations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/audio-translations.md): Call /audio/translations with the C# SDK. - [Batches](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/batches.md): Call /batches with the C# SDK. - [Chat completions](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/chat-completions.md): Call /chat/completions with the C# SDK. - [Embeddings](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/embeddings.md): Call /embeddings with the C# SDK. - [Files](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/files.md): Call /files with the C# SDK. - [Generation lookup](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/generation.md): Call /generations to retrieve a past generation. - [Image edits](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/images-edits.md): Call /images/edits with the C# SDK. - [Image generations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/images-generations.md): Call /images/generations with the C# SDK. - [C# SDK Installation](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/installation.md): Set up the preview C# SDK from source. - [Models](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/models.md): List models with the C# SDK. - [Moderations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/moderations.md): Call /moderations with the C# SDK. - [C# SDK (preview)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/overview.md): Local-preview C# wrapper for the AI Stats API. - [Responses](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/responses.md): Call the Responses API with the C# SDK. - [C# SDK Usage](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/usage.md): Current wrapper methods supported by the preview C# SDK. - [Video generation](https://docs.ai-stats.phaseo.app/v1/sdk-reference/csharp/video-generation.md): Call /video/generation with the C# SDK. - [TTS (Text to Speech)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/audio-speech.md): Use the generated Go client for /audio/speech. - [STT (Speech to Text)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/audio-transcriptions.md): Use the generated Go client for /audio/transcriptions. - [Translations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/audio-translations.md): Use the generated Go client for /audio/translations. - [Batches](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/batches.md): Use the generated Go client for /batches. - [Chat completions](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/chat-completions.md): Call /chat/completions with the Go wrapper. - [Embeddings](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/embeddings.md): Call /embeddings with the Go wrapper. - [Files](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/files.md): Use the generated Go client for /files. - [Generation lookup](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/generation.md): Use the generated Go client for /generations. - [Image edits](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/images-edits.md): Use the generated Go client for /images/edits. - [Image generations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/images-generations.md): Use the generated Go client for /images/generations. - [Go SDK Installation](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/installation.md): Set up the preview Go SDK from source. - [Models](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/models.md): List models with the Go wrapper. - [Moderations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/moderations.md): Call /moderations with the Go wrapper. - [Go SDK (preview)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/overview.md): Local-preview Go wrapper for the AI Stats API. - [Responses](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/responses.md): Call /responses with the Go wrapper. - [Go SDK Usage](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/usage.md): Current wrapper methods supported by the preview Go SDK. - [Video generation](https://docs.ai-stats.phaseo.app/v1/sdk-reference/go/video-generation.md): Use the generated Go client for /videos. - [TTS (Text to Speech)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/audio-speech.md): Call /audio/speech with the Java SDK. - [STT (Speech to Text)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/audio-transcriptions.md): Call /audio/transcriptions with the Java SDK. - [Translations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/audio-translations.md): Call /audio/translations with the Java SDK. - [Batches](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/batches.md): Call /batches with the Java SDK. - [Chat completions](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/chat-completions.md): Call /chat/completions with the Java SDK. - [Embeddings](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/embeddings.md): Call /embeddings with the Java SDK. - [Files](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/files.md): Call /files with the Java SDK. - [Generation lookup](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/generation.md): Call /generations to retrieve a prior generation record. - [Image edits](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/images-edits.md): Call /images/edits with the Java SDK. - [Image generations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/images-generations.md): Call /images/generations with the Java SDK. - [Java SDK Installation](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/installation.md): How to build and use the preview Java SDK - [Models](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/models.md): List /gateway/models with the Java SDK. - [Moderations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/moderations.md): Call /moderations with the Java SDK. - [Java SDK (preview)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/overview.md): Experimental Java client for the AI Stats Gateway. - [Responses](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/responses.md): Call /responses with the Java SDK. - [Java SDK Usage](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/usage.md): How to initialize and call generated Java SDK operations. - [Video generation](https://docs.ai-stats.phaseo.app/v1/sdk-reference/java/video-generation.md): Call /video/generations (alias) with the Java SDK. - [TTS (Text to Speech)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/audio-speech.md): Call /audio/speech with the PHP SDK. - [STT (Speech to Text)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/audio-transcriptions.md): Call /audio/transcriptions with the PHP SDK. - [Translations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/audio-translations.md): Call /audio/translations with the PHP SDK. - [Batches](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/batches.md): Call /batches with the PHP SDK. - [Chat completions](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/chat-completions.md): Call /chat/completions with the PHP SDK. - [Embeddings](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/embeddings.md): Call /embeddings with the PHP SDK. - [Files](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/files.md): Call /files with the PHP SDK. - [Generation lookup](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/generation.md): Call /generation to retrieve a past generation. - [Image edits](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/images-edits.md): Call /images/edits with the PHP SDK. - [Image generations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/images-generations.md): Call /images/generations with the PHP SDK. - [PHP SDK Installation](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/installation.md): Set up the preview PHP SDK from source. - [Models](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/models.md): List models with the PHP SDK. - [Moderations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/moderations.md): Call /moderations with the PHP SDK. - [PHP SDK (preview)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/overview.md): Local-preview PHP wrapper for the AI Stats API. - [Responses](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/responses.md): Call the Responses API with the PHP SDK. - [PHP SDK Usage](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/usage.md): Current wrapper methods supported by the preview PHP SDK. - [Video generation](https://docs.ai-stats.phaseo.app/v1/sdk-reference/php/video-generation.md): Call /video/generation with the PHP SDK. - [TTS (Text to Speech)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/audio-speech.md): Python SDK placeholder for /audio/speech. - [STT (Speech to Text)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/audio-transcriptions.md): Python SDK placeholder for /audio/transcriptions. - [Translations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/audio-translations.md): Python SDK placeholder for /audio/translations. - [Batches](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/batches.md): Python SDK placeholder for /batches. - [Chat completions](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/chat-completions.md): Call /chat/completions with the Python SDK. - [Embeddings](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/embeddings.md): Call /embeddings with the Python SDK. - [Files](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/files.md): Python SDK placeholder for /files. - [Generation lookup](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/generation.md): Python SDK placeholder for /generations lookup. - [Image edits](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/images-edits.md): Python SDK placeholder for /images/edits. - [Image generations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/images-generations.md): Python SDK placeholder for /images/generations. - [Python SDK Installation](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/installation.md): How to install and set up the AI Stats Python SDK - [Models](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/models.md): List models with the Python SDK. - [Moderations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/moderations.md): Call /moderations with the Python SDK. - [Python SDK Overview](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/overview.md): Official Python client for the AI Stats Gateway API - [Responses](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/responses.md): Call the Responses API with the Python SDK. - [Python SDK Usage](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/usage.md): Endpoint-by-endpoint examples using the Python SDK. - [Video generation](https://docs.ai-stats.phaseo.app/v1/sdk-reference/python/video-generation.md): Python SDK placeholder for /videos. - [TTS (Text to Speech)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/audio-speech.md): Call /audio/speech with the Ruby SDK. - [STT (Speech to Text)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/audio-transcriptions.md): Call /audio/transcriptions with the Ruby SDK. - [Translations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/audio-translations.md): Call /audio/translations with the Ruby SDK. - [Batches](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/batches.md): Call /batches with the Ruby SDK. - [Chat completions](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/chat-completions.md): Call /chat/completions with the Ruby SDK. - [Embeddings](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/embeddings.md): Call /embeddings with the Ruby SDK. - [Files](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/files.md): Call /files with the Ruby SDK. - [Generation lookup](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/generation.md): Call /generation to retrieve a past generation. - [Image edits](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/images-edits.md): Call /images/edits with the Ruby SDK. - [Image generations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/images-generations.md): Call /images/generations with the Ruby SDK. - [Ruby SDK Installation](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/installation.md): Set up the preview Ruby SDK from source. - [Models](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/models.md): List models with the Ruby SDK. - [Moderations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/moderations.md): Call /moderations with the Ruby SDK. - [Ruby SDK (preview)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/overview.md): Local-preview Ruby wrapper for the AI Stats API. - [Responses](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/responses.md): Call the Responses API with the Ruby SDK. - [Ruby SDK Usage](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/usage.md): Current wrapper methods supported by the preview Ruby SDK. - [Video generation](https://docs.ai-stats.phaseo.app/v1/sdk-reference/ruby/video-generation.md): Call /video/generation with the Ruby SDK. - [Rust SDK Installation](https://docs.ai-stats.phaseo.app/v1/sdk-reference/rust/installation.md): How to build and use the preview Rust SDK - [Rust SDK (preview)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/rust/overview.md): Experimental Rust client for the AI Stats Gateway. - [AI SDK (Vercel) Overview](https://docs.ai-stats.phaseo.app/v1/sdk-reference/sdk/ai-sdk.md): Use the official AI Stats provider with Vercel AI SDK v6. - [TTS / STT (AI SDK)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/sdk/audio/index.md): Speech-to-text (STT) and text-to-speech (TTS) with AI Stats provider models. - [Embeddings (AI SDK)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/sdk/embeddings/index.md): Create embeddings with AI Stats provider models in Vercel AI SDK. - [Generate Text (AI SDK)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/sdk/generate-text/index.md): Non-streaming text generation with Vercel AI SDK and AI Stats. - [Model Discovery (AI SDK)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/sdk/get-models/index.md): How to fetch live model IDs for use with the AI SDK provider. - [Images (AI SDK)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/sdk/images/index.md): Generate images with Vercel AI SDK and the AI Stats provider. - [Stream Text (AI SDK)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/sdk/stream-text/index.md): Streaming text generation with Vercel AI SDK and AI Stats. - [Structured Output (AI SDK)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/sdk/structured-output/index.md): Generate schema-validated JSON objects with AI Stats and Vercel AI SDK. - [Tool Calling (AI SDK)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/sdk/tool-calling/index.md): Function/tool calling with Vercel AI SDK and AI Stats provider. - [TTS (Text to Speech)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/audio-speech.md): Call /audio/speech with the TypeScript SDK. - [STT (Speech to Text)](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/audio-transcriptions.md): Call /audio/transcriptions with the TypeScript SDK. - [Translations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/audio-translations.md): Call /audio/translations with the TypeScript SDK. - [Batches](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/batches.md): Call /batches with the TypeScript SDK. - [Chat completions](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/chat-completions.md): Call /chat/completions with the TypeScript SDK. - [Embeddings](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/embeddings.md): Call /embeddings with the TypeScript SDK. - [Files](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/files.md): Call /files with the TypeScript SDK. - [Generation lookup](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/generation.md): Call /generation to retrieve a past generation. - [Image edits](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/images-edits.md): Call /images/edits with the TypeScript SDK. - [Image generations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/images-generations.md): Call /images/generations with the TypeScript SDK. - [TypeScript SDK Installation](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/installation.md): How to install and set up the AI Stats TypeScript SDK - [Models](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/models.md): List models with the TypeScript SDK. - [Moderations](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/moderations.md): Call /moderations with the TypeScript SDK. - [TypeScript SDK Overview](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/overview.md): Official TypeScript client for the AI Stats Gateway API - [Responses](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/responses.md): Call the Responses API with the TypeScript SDK. - [TypeScript SDK Usage](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/usage.md): Endpoint-by-endpoint examples using the TypeScript SDK. - [Video generation](https://docs.ai-stats.phaseo.app/v1/sdk-reference/typescript/video-generation.md): Call /video/generation with the TypeScript SDK. ## OpenAPI Specs - [openapi](https://docs.ai-stats.phaseo.app/api-reference/openapi.json) ## Optional - [GitHub](https://github.com/AI-Stats/AI-Stats) - [Discord](https://discord.gg/aQyywCvgZ5)