Parses Poe API usage response and fetches current balance for AI SDK.
// Source: https://github.com/thibautrey/multivibe | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import type { SdkCatalogModel } from "./catalog.js";
import type { UsageSnapshot } from "../types.js";
/** Reviewed against Poe's official OpenAI-compatible API documentation. */
export const POE_PROVIDER = {
id: "poe",
name: "Poe",
adapter: "compatible",
baseURL: "https://api.poe.com/v1",
modelsDevId: "poe",
} as const;
/**
* Model IDs used in Poe's official API examples as of 2026-09-09.
* Poe's available bots can change, so accounts may still enable custom IDs.
*/
export const POE_MODELS: SdkCatalogModel[] = [
{ id: "GPT-5.4", name: "GPT-5.4", input: ["text"] },
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key