Quickstart
First response in under 2 minutes. Pick the SDK you already have.
Step 1 — Install the SDK
Prerequisites
Node 18+ or Python 3.9+. An API key from your dashboard.
Install
# Pythonpip install openaipip install anthropic # Node.jsnpm i openainpm i @anthropic-ai/sdkStep 2 — Set your API key
Get a key from the dashboard, then set it in your environment. Onetf-key works for both endpoints.
Env var
export IQX_API_KEY="tf-your-api-key-here"Step 3 — Make your first request
First call
from openai import OpenAIimport os client = OpenAI( base_url="https://api.IQXtokenfactory.com/openai/v1/", api_key=os.environ["IQX_API_KEY"],) response = client.chat.completions.create( model="meta-llama/Llama-3.3-70B-Instruct", messages=[{"role": "user", "content": "Hello from IQx Token Factory!"}],)print(response.choices[0].message.content)Choose a model
Browse the full 33-model catalog with pricing, context length, and TPS on the Models page.