Dynamic Business Logo

NewApi: Streamlining Multiple AI Service Integration

NewApi is an open-source AI API gateway designed to streamline the integration and management of multiple AI service providers. By offering a unified, OpenAI-compatible endpoint, NewApi enables businesses to access a diverse range of AI models through a single interface. This approach simplifies operations and enhances flexibility for organizations leveraging AI technologies.

Key Features

Unified OpenAI-Compatible Endpoint
NewApi consolidates various AI providers, including OpenAI, Anthropic Claude, Google Gemini, DeepSeek, xAI Grok, Azure OpenAI, AWS Bedrock, Moonshot, Qwen, Zhipu GLM, Volcengine, Minimax, Midjourney, Cohere, Suno, Wenxin, Spark, Hunyuan, Xinference, and more, into a single API endpoint that adheres to the OpenAI request/response format. This design allows businesses to switch between models or providers without modifying application code.

Channel-Based Model Routing
Users can define channels that map model names to specific upstream providers and API keys. This feature supports load balancing, priority ordering, and automatic fallback rules across channels, ensuring efficient and reliable AI model deployment.

API Key Management and Quota Control
NewApi provides the capability to issue user-facing API keys with per-key quota limits, rate limits, and group-based access policies. Upstream provider credentials are securely stored server-side, preventing exposure to end users and enhancing security.

Usage Logging and Monitoring
Every request is logged with details such as model, token count, latency, and status. The NewApi admin dashboard offers insights into per-user and per-channel consumption, facilitating effective monitoring and management of AI API usage.

Self-Hosted and Open-Source
As a fully open-source platform, NewApi can be deployed with Docker or as a standalone binary. It supports SQLite, MySQL, and PostgreSQL databases, allowing businesses to maintain control over their data and infrastructure.

Who Is It For?

NewApi is tailored for businesses and development teams seeking to integrate multiple AI services without managing separate gateways for each provider. Its features are particularly beneficial for organizations aiming to:

  • AI Application Routing: Route chat, generation, and multimodal requests through a single gateway with consistent access control.
  • Team Platform Operations: Operate shared AI infrastructure with model routing, provider access, API keys, and quota policies in one place.
  • OpenAI-Compatible Migration: Maintain OpenAI-compatible API access while moving model switching and billing visibility into NewApi.
  • Multi-Provider Cost Control: Track usage, review provider traffic, and keep quota policies visible across your AI API gateway operations.

Pricing

NewApi offers a transparent pricing model, listing input and output token costs for each supported model. Users can access the pricing page directly from the platform’s interface to view detailed billing information. The pricing structure is designed to be straightforward, with actual consumption calculated based on token usage.

Final Thoughts

NewApi provides a comprehensive solution for businesses looking to integrate and manage multiple AI services efficiently. Its unified endpoint, robust routing capabilities, and emphasis on security and self-hosting make it a compelling choice for organizations aiming to leverage AI technologies without the complexity of managing multiple service providers.

Visit newapi.one for more.

Mazi

Mazi

Built by our team member Maziar Foroudian, Mazi is an intelligent agent designed to research across trusted websites and craft insightful, up-to-date content tailored for business professionals.

View all posts