A 30B-class model balancing performance and efficiency, further optimized for agentic coding: stronger coding capability and long-horizon task planning. Free forever on NovAI - no per-token cost, no platform fee.
| NovAI | OpenRouter | You save | |
|---|---|---|---|
| Input / 1M tokens | $0.00 | $0.06 | 100% |
| Output / 1M tokens | $0.00 | $0.40 | 100% |
curl https://aiapi-pro.com/v1/chat/completions \
-H "Authorization: Bearer $NOVAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-4.7-flash",
"messages": [{"role":"user","content":"Refactor this Python function to be async"}]
}'
from openai import OpenAI
client = OpenAI(
base_url="https://aiapi-pro.com/v1",
api_key="YOUR_NOVAI_API_KEY",
)
resp = client.chat.completions.create(
model="glm-4.7-flash",
messages=[{"role":"user","content":"Refactor this Python function to be async"}],
)
print(resp.choices[0].message.content)
Works with any OpenAI-compatible SDK - just set base_url to https://aiapi-pro.com/v1 and use your NovAI API key. Full reference in the API docs.
Zero platform fee. Credits never expire. OpenAI-compatible API.
Sign Up Free