TackleKey
Vercel AI SDK integration

Use TackleKey with Vercel AI SDK's OpenAI-compatible provider

For Vercel AI SDK applications, use the OpenAI-compatible provider package so your app can keep a familiar model interface while TackleKey handles model naming, project keys, request logs, and live pricing.

Minimal configuration example

import { createOpenAICompatible } from "@ai-sdk/openai-compatible";
import { generateText } from "ai";

const tacklekey = createOpenAICompatible({
  name: "tacklekey",
  apiKey: process.env.TACKLEKEY_API_KEY,
  baseURL: "https://api.tacklekey.com/v1",
});

const result = await generateText({
  model: tacklekey("openai/gpt-4o-mini"),
  prompt: "Return one health-check sentence.",
});

console.log(result.text);

Configuration checklist

ItemHow to verify
Provider packageUse @ai-sdk/openai-compatible for OpenAI-compatible providers.
Server environmentStore the project key in server-side environment variables.
Model functionUse a TackleKey model name that exists on the live pricing page.
Small first requestValidate one low-token prompt before streaming or batch usage.
Cost reviewCheck request logs and balance records after the first run.

Next steps

Live pricing

Check input, output, and capability pricing before larger usage.

Examples hub

Copy cURL, Node.js, Python, or client configuration examples.

Troubleshooting

Debug 401, 429, invalid model, base URL, and billing issues.

Try TackleKey with one OpenAI-compatible change

Create an account, generate a project API key, then replace your client base URL with the TackleKey endpoint. Keep keys server-side and verify live pricing before scaling traffic.