Flowpig gives your agent one OpenAI-compatible endpoint for reasoning, fast inference, memory, hearing and voice. Choose a stable capability alias and keep the rest of your stack small.
https://api.flowpig.dev/v1Keep your existing client and change the base URL. Flowpig owns the account, routing and pacing behind the endpoint.
import OpenAI from "openai";
const client = new OpenAI({
apiKey: FLOWPIG_KEY,
baseURL: "https://api.flowpig.dev/v1",
});
const response = await client.chat
.completions.create({
model: "flow-main",
messages,
});One account exposes the capabilities your agent actually uses.
GET/v1/modelsStable capability catalogPOST/v1/chat/completionsOpenAI-compatible text genPOST/v1/embeddingsMemory and retrieval vectorsPOST/v1/audio/transcriptionsSpeech recognitionPOST/v1/audio/speechVoice synthesisCapability names stay stable. Infrastructure underneath can evolve.
flow-mainMain intelligenceReasoning and codingflow-fastFast inferenceAgent loops and utility callsflow-embedMemoryEmbeddings and retrievalflow-sttHearingSpeech recognitionflow-ttsVoiceText-to-speech outputCreate a Flowpig API key from the account flow, then keep it on the server side. Never ship it to a browser.
curl https://api.flowpig.dev/v1/models \ -H "Authorization: Bearer ***"