← Blog

2026-10-28 · 5 min read

Enabling AI Inference with Air Credits and Marketplace Access

Discover how developers can enable AI models, purchase Air Credits, and utilize the Air Inference marketplace to call the /api/v1 chat completions endpoint effectively.

Enabling AI Inference with Air Credits and Marketplace Access

As artificial intelligence (AI) continues to evolve, developers are increasingly looking for ways to leverage powerful AI models for their applications. Air Inference is here to facilitate this journey by providing a two-sided marketplace for AI inference. In this blog post, we will explore how developers can enable AI models, purchase Air Credits, and efficiently utilize the Air Inference marketplace to call the /api/v1 chat completions endpoint.

Understanding Air Inference

Air Inference is a dynamic platform that connects developers with AI model providers. It allows developers to access a variety of OpenAI-compatible APIs, including those hosted on different frameworks such as vLLM, llama.cpp wrappers, and RunPod. By creating a marketplace for these endpoints, Air Inference simplifies the process of integrating advanced AI capabilities into applications.

The platform operates on a credit system, called Air Credits, which developers use to pay for API calls. This unique approach not only streamlines transactions but also encourages a diverse range of providers to list their models. With an efficient payment system and an expanding array of models, Air Inference stands out as an essential resource for developers seeking to implement AI inference in their projects.

Step 1: Purchasing Air Credits

Before you can utilize the Air Inference marketplace, you need to purchase Air Credits. Here’s how to do it:

  1. Create an Account: Start by signing up for an account on the Air Inference website. This process typically involves providing an email address and creating a password.

  2. Top Up Air Credits: Once your account is set up, navigate to the payment section. Here, you can select the amount of Air Credits you wish to purchase. Payments are processed securely, and you’ll receive your credits instantly upon completion of the transaction.

  3. Check Your Balance: After purchasing, you can easily check your Air Credits balance in your account dashboard. This balance will reflect the credits available for making API calls.

Air Credits are essential for accessing the various AI models available on the platform. It's important to keep track of your balance to ensure that you can continuously make requests to the APIs you need.

Step 2: Exploring the Marketplace

With your Air Credits ready, the next step is to explore the Air Inference marketplace. The marketplace is where you can find a variety of OpenAI-compatible endpoints provided by different providers. Here’s how to navigate it:

  1. Browse Available Endpoints: The marketplace features a list of providers and their respective endpoints. You can filter the results based on criteria like model type, performance metrics, and user ratings.

  2. Read Documentation: Each endpoint comes with detailed documentation. It’s crucial to read through this information to understand the capabilities and limitations of the model you are interested in. Look for details on input requirements, output formats, and any specific parameters you can adjust.

  3. Select an Endpoint: Once you find an endpoint that meets your needs, you can select it to view more detailed information, including pricing per request in Air Credits and any usage guidelines.

  4. Check Provider Ratings: Since the marketplace features multiple providers, take a moment to review their ratings and feedback from other developers. This can help you choose reliable models that perform well in real-world applications.

Step 3: Calling the /api/v1 Chat Completions Endpoint

After selecting an endpoint from the marketplace, you are ready to make your first API call. The /api/v1 chat completions endpoint is one of the core functionalities available through Air Inference. Here’s how to make a request effectively:

  1. Set Up Your API Call: To interact with the endpoint, you will need to construct your API request. This typically involves specifying the endpoint URL, HTTP method, headers, and body parameters. The body will usually contain the prompt you want to send to the model.

  2. Use Your Air Credits: When making an API call, the system automatically deducts the required number of Air Credits from your balance. Be sure that you have enough credits before making a request.

  3. Handle API Responses: Once you send your request, you’ll receive a response from the model. This response will contain the output generated by the AI based on the input prompt. It’s important to handle this response appropriately in your application.

Here’s a simple example of how to call the /api/v1 chat completions endpoint:

curl -X POST https://api.airinference.com/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
  "prompt": "What are the benefits of using AI in healthcare?",
  "max_tokens": 150
}'

In this example, replace YOUR_API_KEY with your actual API key provided by Air Inference. The prompt asks about the benefits of AI in healthcare, and max_tokens defines the maximum length of the response.

Best Practices for Using Air Inference

To make the most out of your experience with Air Inference, consider the following best practices:

Optimize Your Prompts

The quality of the responses you receive from AI models heavily depends on the prompts you provide. Experiment with different phrasings and structures to see which yields the best results. Clear and specific prompts often lead to more relevant and useful outputs.

Monitor Usage

Keep an eye on your Air Credits balance and usage patterns. This will help you manage your budget effectively and ensure that you can continue making requests without interruption. Set up alerts if possible, so you are notified when your credits are running low.

Engage with the Community

Join the Air Inference community to connect with other developers and model providers. Engaging in forums and discussions can provide valuable insights, tips, and support as you work on your projects.

Stay Updated

Air Inference is continuously evolving, with new models and features being added regularly. Stay informed about updates and changes to the platform by subscribing to newsletters or following Air Inference on social media. This will help you take advantage of new opportunities as they arise.

Conclusion

Enabling AI inference through Air Inference is a straightforward process that empowers developers to integrate sophisticated AI capabilities into their applications. By purchasing Air Credits, exploring the marketplace, and effectively calling the /api/v1 chat completions endpoint, developers can unlock the potential of AI for a variety of use cases.

As the landscape of AI continues to expand, platforms like Air Inference will play a crucial role in making these technologies accessible to developers of all skill levels. Embrace the opportunities presented by Air Inference and take your AI projects to new heights.