V2 in progressBuilding a new, better, faster BlazeAPI V2. This website's model list and older UI issues will not be fully fixed while work shifts to V2.

Code Examples

class=class="token string">"token comment"># Install: pip install openai

from openai import OpenAI

client = OpenAI(
    base_url=class="token string">"https:class="token commentclass="token string">">//ai.boxu.dev/v1",
    api_key=class="token string">"YOUR_API_KEY"  class=class="token string">"token comment"># Get from dashboard
)

response = client.chat.completions.create(
    model=class="token string">"deepseek-v3.class="token number">1",
    messages=[
        {class="token string">"role": class="token string">"system", class="token string">"content": class="token string">"You are helpful."},
        {class="token string">"role": class="token string">"user", class="token string">"content": class="token string">"Hello!"}
    ]
)

print(response.choices[class="token number">0].message.content)

Notice

We moved to BlazeAPI V2

Please use the new URL:

https://blazeai.boxu.dev/