Store the key safely
Use AIWAVE_API_KEY in the environment. Never paste it into browser code or source control.
Create a key, choose one verified model ID, send one representative request, and keep the response shape and charge evidence together.
This launch set uses the OpenAI-compatible route and three verified text-model IDs.
Use AIWAVE_API_KEY in the environment. Never paste it into browser code or source control.
Set https://aiwave.live/v1 and send the request to /v1/chat/completions.
Choose deepseek-v4-pro, glm-5.1, or kimi-k3 and keep it in the acceptance note.
Record status, usage, request ID when available, effective group, and charge before scaling traffic.
Use the protocol that belongs to the selected family. This prevents a model ID from being sent to a path that returns a misleading 404 or an unreadable response envelope.
Route matrix checked 2026-09-10| Family | Route | Protocol | Boundary |
|---|---|---|---|
| GPT | /v1/chat/completions | OpenAI-compatible | Route facts recorded; public price pending |
| Chinese models | /v1/chat/completions | OpenAI-compatible | Public rate card available |
| Claude | /v1/messages | Anthropic native | Native route; compatible path is model-dependent |
| Gemini | /v1beta/models/{id}:generateContent | Gemini native | Native route; image IDs do not use /v1/images/generations |
| Image routes | /v1/images/generations or provider-native | Route-specific | Check the model-family contract before sending media |
See Models for exact IDs and Request Recovery when the route and model do not agree.
Use one model first. The route matrix above is discovery context, not a substitute for a verified model and published rate.
curl "https://aiwave.live/v1/chat/completions" \
+ -H "Authorization: Bearer $AIWAVE_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{"model":"deepseek-v4-pro","messages":[{"role":"user","content":"Reply with one sentence."}]}'curl "https://aiwave.live/v1/chat/completions" \
+ -H "Authorization: Bearer $AIWAVE_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{"model":"glm-5.1","messages":[{"role":"user","content":"Reply with one sentence."}]}'curl "https://aiwave.live/v1/chat/completions" \
+ -H "Authorization: Bearer $AIWAVE_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{"model":"kimi-k3","messages":[{"role":"user","content":"Reply with one sentence."}]}'OpenClaw, WorkBuddy, and a custom agent can use the same AIWave key and USD balance. Start with an OpenAI-compatible model and exact model ID, then use the native route when the model family requires it.