1 USD ≈ 27,000 credits · display only
Reference rate may change over time.
1 USD ≈ 27,000 credits · display only
Reference rate may change over time.
Gommo Developer client
Official Gommo Developer TypeScript client — npm alias @ai-gateway/client. Calls Gommo public API (api.gommo.net, v2.api.gommo.net).
GommoClient (official Gommo client) exposes namespaced resources:
import { GommoClient } from '@ai-gateway/client';
const client = new GommoClient({
accessToken: process.env.GOMMO_ACCESS_TOKEN,
domain: process.env.GOMMO_DOMAIN ?? 'YOUR_REGISTRATION_DOMAIN',
});| Resource | Methods |
|---|---|
client.auth | login(), me() |
client.models | list({ type }) |
client.jobs | create(), poll(), createAndWait(), pollUntilDone(), createAndPoll() |
client.chat | send(), stream() |
client.upload | image(), video() |
client.audio | searchVoices(), tts(), lists() |
client.billing | self-hosted gateway only — status(), packages(), createPayment() |
client.byok | self-hosted gateway only — see BYOK reference |
client | health(), transport, v2BaseUrl, authBaseUrl, setAccessToken() |
See Installation to get started.