Skip to main content

Important Note on Usage Limits

The IO Intelligence API provides the following free daily limits (measured in LLM tokens) per account, per day, per model..

Column Definitions:

  • LLM Model Name: The name of the large language model (LLM) available for use.
  • Daily Chat Quota: The maximum number of tokens you can use in chat-based interactions with this model per day.
  • Daily API Quota: The maximum number of tokens allowed for API-based interactions per day.
  • Daily Embeddings Quota: The maximum number of tokens available for embedding operations per day.
  • Context Length: The maximum number of tokens the model can process in a single request (including both input and output).
Please refer to the table below for model-specific limits: This limit is designed to ensure fair and balanced usage for all users. If you anticipate needing a higher request limit, please consider optimizing your implementation or reach out to us for assistance.

Introduction

You can interact with the API using HTTP requests from any programming language or by using the official Python and Node.js libraries. To install the official Python library, run the following command:
To install the official Node.js library, run this command in your Node.js project directory:

Example: Using the IO Intelligence API with Python

Here’s an example of how you can use the openai Python library to interact with the IO Intelligence API:
This snippet demonstrates how to configure the client, send a chat completion request using the Llama-3.3-70B-Instruct model, and retrieve a response.

Authentication

API keys

IO Intelligence APIs authenticate requests using API keys. You can generate API keys from your user account:
Always treat your API key as a secret! Do not share it or expose it in client-side code (e.g., browsers or mobile apps). Instead, store it securely in an environment variable or a key management service on your backend server.
Include the API key in an Authorization HTTP header for all API requests:

Example: List Available Models

Here’s an example curl command to list all models available in IO Intelligence:
This request should return a response like this:

Making requests

To test the API, use the following curl command. Replace $IOINTELLIGENCE_API_KEY with your actual API key.
This command queries the meta-llama/Llama-3.3-70B-Instruct model to generate a chat completion for the input: “Say this is a test!”.:

Example Response

The API should return a response like this:

Key Details in the Response

  • finish_reason: Indicates why the generation stopped (e.g., “stop”).
  • choices: Contains the generated response(s). Adjust the n parameter to generate multiple response choices.
With these steps, you’ve successfully made your first request to the IO Intelligence API.